import Tablet.DecimalGoalVocabularyDefault import Tablet.P9_T1_ActualDispatchOperations import Tablet.num_imp_dec2flt_dec2flt import Tablet.P347_T1_SpecialDispatch import Tablet.SpecialHelperNan open Aeneas Aeneas.Std Result ControlFlow Error set_option autoImplicit false namespace dec2flt_model -- [TABLET NODE: P13_T1_ParserNanAcceptance] theorem P13_T1_ParserNanAcceptance : forall (s : Str) (sign : Option Bool), DecimalGoalVocabularyDefault.sourceString s -> DecimalGoalVocabularyDefault.specialLiteral (DecimalGoalVocabularyDefault.bytes s) sign true -> 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.isNan f := by -- BODY intro s sign _ hspecial obtain ⟨body, hbody, hdispatch⟩ := P347_T1_SpecialDispatch s sign true hspecial obtain ⟨f, hf, hnan⟩ := SpecialHelperNan body (decide (sign = some true)) hbody exact ⟨f, hdispatch f hf, hnan⟩ end dec2flt_model