import Tablet.DecimalGoalVocabularyDefault import Tablet.P9_T1_ActualDispatchOperations import Tablet.num_imp_dec2flt_dec2flt import Tablet.P347_T1_SpecialDispatch import Tablet.SpecialHelperInfinity open Aeneas Aeneas.Std Result ControlFlow Error set_option autoImplicit false namespace dec2flt_model -- [TABLET NODE: P13_T1_ParserInfinity] theorem P13_T1_ParserInfinity : forall (s : Str) (sign : Option Bool), DecimalGoalVocabularyDefault.sourceString s -> DecimalGoalVocabularyDefault.specialLiteral (DecimalGoalVocabularyDefault.bytes s) sign false -> exists f : F64, num.imp.dec2flt.dec2flt F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64 F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64 F64.Insts.CoreOpsArithNegF64 s = ok (core.result.Result.Ok f) ∧ DecimalGoalVocabularyDefault.isInfinity (decide (sign = some true)) f := by -- BODY intro s sign _ hspecial obtain ⟨body, hbody, hdispatch⟩ := P347_T1_SpecialDispatch s sign false hspecial obtain ⟨f, hf, hinfinity⟩ := SpecialHelperInfinity body (decide (sign = some true)) hbody exact ⟨f, hdispatch f hf, hinfinity⟩ end dec2flt_model