import Tablet.Preamble import Tablet.DecimalLiteral import Tablet.F64_Insts_CoreOpsArithDivF64F64 import Tablet.F64_Insts_CoreOpsArithMulF64F64 import Tablet.F64_Insts_CoreOpsArithNegF64 import Tablet.F64_Insts_Dec2flt_modelNumImpDec2fltLemireU64 import Tablet.num_imp_dec2flt_dec2flt open Aeneas Aeneas.Std Result ControlFlow Error set_option autoImplicit false namespace dec2flt_model -- [TABLET NODE: ParserNumericSign] theorem ParserNumericSign : ∀ (s : Str) (n : DecimalLiteral) (f : F64), n.bytes = s.val → num.imp.dec2flt.dec2flt F64.Insts.Dec2flt_modelNumImpDec2fltLemireU64 F64.Insts.CoreOpsArithDivF64F64 F64.Insts.CoreOpsArithMulF64F64 F64.Insts.CoreOpsArithNegF64 s = .ok (.Ok f) → f.val / 2 ^ 63 = if n.negative then 1 else 0 := by -- BODY sorry end dec2flt_model