import Tablet.Preamble import Tablet.Binary64MagnitudeTarget import Tablet.DecimalLiteral import Tablet.F64_Insts_Dec2flt_modelNumImpTraitsFloatU64 import Tablet.num_imp_dec2flt_slow_parse_long_mantissa open Aeneas Aeneas.Std Result ControlFlow Error set_option autoImplicit false namespace dec2flt_model -- [TABLET NODE: SlowAccumulatedRounding] theorem SlowAccumulatedRounding : ∀ (s : Slice Std.U8) (n : DecimalLiteral) (fp : num.imp.dec2flt.common.BiasedFp), n.bytes = s.val → n.sign = none → num.imp.dec2flt.slow.parse_long_mantissa F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s = .ok fp → Binary64MagnitudeTarget |n.accumulatedValue| (fp.m.bv ||| (fp.p_biased.bv.signExtend 64 <<< 52)).toNat := by -- BODY sorry end dec2flt_model