ParserSlowMantissaBound

Lean checked

Statement

This explanation was written alongside the formalization to describe the statement and its reasoning.

Lemma

For every byte slice s whose length is at most \mathtt{isize::MAX}=2^{63}-1 (that is, satisfying SourceValidByteSlice) and every biased pair b, if the concrete binary64 slow converter parse_long_mantissa returns b on s, then
b.m.\mathit{val}<2^{52}.

Lean statement

Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.

import Tablet.ParserExponentConstants
import Tablet.ParserSlowLoopZeroResult
import Tablet.ParserSlowLoopInfinityResult
import Tablet.ParserSlowLoopMinimumExponent
import Tablet.SourceValidByteSlice
import Tablet.ModelU64BitAnd
import Tablet.ModelU64Shl
import Tablet.num_imp_dec2flt_common_BiasedFp_zero_pow2
import Tablet.num_imp_dec2flt_decimal_seq_DecimalSeq_left_shift
import Tablet.num_imp_dec2flt_decimal_seq_DecimalSeq_right_shift
import Tablet.num_imp_dec2flt_decimal_seq_DecimalSeq_round
import Tablet.num_imp_dec2flt_decimal_seq_parse_decimal_seq
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: ParserSlowMantissaBound]
theorem ParserSlowMantissaBound (s : Slice U8)
    (b : num.imp.dec2flt.common.BiasedFp)
    (hvalid : SourceValidByteSlice s)
    (h : num.imp.dec2flt.slow.parse_long_mantissa
      F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s = ok b) :
    b.m.val < 2 ^ 52 := by
Proof

Natural-language proof

The status above describes the Lean proof. Its explanatory prose may remain a sketch after that proof closes.

Explanatory prose status

Prose retained as authored. The explanatory prose is preserved as it stood when captured.

Proof

The source-validity premise fixes the concrete Rust byte-slice domain. The mask argument below does not use the length bound and therefore proves the mantissa conclusion on the stronger unrestricted model domain as well.
Put U=2^{52}. From ParserExponentConstants, the concrete binary64 instance has SIG_BITS=52, infinite power 2047, and minimum exponent -1022. Unfold num imp dec2flt slow parse long mantissa. Its zero and infinity pairs, constructed by num imp dec2flt common BiasedFp zero pow2, have mantissa zero. Thus an empty parsed digit sequence, decimal point below -324, decimal point at least 310, either loop sentinel, and either post-loop infinity guard all satisfy the strict bound.
More explicitly, a failure of num imp dec2flt decimal seq parse decimal seq propagates and cannot produce the assumed successful result. For the first extracted loop, ParserSlowLoopZeroResult says that the result option is either none or the original zero pair. Hence a some exit has mantissa zero. If it is none, the corresponding invariant ParserSlowLoopInfinityResult says that the second loop's result is either none or the original infinity pair, so its some exit also has mantissa zero. These two closed certificates account for all iteration counts and all successful calls to the decimal right- and left-shift operations; any checked cast, exponent update, or called decimal operation which fails has already propagated through the result monad.
When both loop-result options are none, the third loop must return normally. The lower-exponent certificate ParserSlowLoopMinimumExponent gives -1022\leq\texttt{exp23}. The checked subtraction of the concrete minimum and the following addition therefore have their ordinary integer meanings. If the resulting exponent reaches 2047, the function returns the zero-mantissa infinity pair. Otherwise 52 casts exactly to usize, the checked addition forms 53, and the call to num imp dec2flt decimal seq DecimalSeq left shift followed by num imp dec2flt decimal seq DecimalSeq round must succeed.
The carry threshold is the legal shift 1\mathbin{\mathtt{<<}}53=2^{53}. If the first rounded word reaches it, the call to num imp dec2flt decimal seq DecimalSeq right shift, the checked exponent increment, the second rounding call, and the second exponent guard must all succeed; that guard may again return the infinity pair. Otherwise the code proceeds directly with the first rounded word. In both the carrying and noncarrying ordinary-return branches, including both subbranches of the comparison against U, the final two checked operations are exactly
M=1\mathbin{\mathtt{<<}}52=U, \qquad K=M-1=U-1.
The shift is legal by ModelU64Shl, and the subtraction cannot underflow. The stored mantissa is the rounded word conjoined with K. By ModelU64BitAnd, its value is at most K=U-1, hence is strictly less than U. The Lean proof performs this same mask calculation at all four post-loop ordinary returns. Together with the sentinel cases above, this exhausts every successful result of the slow converter.

Lean proof


  have bind_ok_inv : ∀ {α β : Type} (r : Result α) (f : α → Result β) y,
      Bind.bind r f = ok y → ∃ x, r = ok x ∧ f x = ok y := by
    intro α β r f y hr
    cases r with
    | fail err => simp [Bind.bind, Aeneas.Std.bind] at hr
    | div => simp [Bind.bind, Aeneas.Std.bind] at hr
    | ok x => exact ⟨x, rfl, hr⟩
  have mask_bound (base mask x : U64)
      (hbase : (1#u64 <<< 52#u32) = ok base)
      (hmask : base - 1#u64 = ok mask) :
      (x &&& mask).val < 2 ^ 52 := by
    have hs : (1#u64 <<< 52#u32) = ok 4503599627370496#u64 := by rfl
    rw [hs] at hbase
    cases hbase
    have hm := UScalar.sub_equiv (4503599627370496#u64) (1#u64)
    rw [hmask] at hm
    have hmval : mask.val = 4503599627370495 := by
      norm_num at hm ⊢
      omega
    change (x.bv &&& mask.bv).toNat < 2 ^ 52
    rw [BitVec.toNat_and]
    change x.val &&& mask.val < 2 ^ 52
    rw [hmval]
    exact lt_of_le_of_lt Nat.and_le_right (by norm_num)
  rcases ParserExponentConstants with
    ⟨hbits, htotal, hsig, hexpbits, hexpsat, hinf, hbias, hmin,
      hsmall, hlarge, hroundmin, hroundmax⟩
  have hzero : num.imp.dec2flt.common.BiasedFp.zero_pow2 0#i32 =
      ok { m := 0#u64, p_biased := 0#i32 } := by rfl
  have hinfFp : num.imp.dec2flt.common.BiasedFp.zero_pow2 2047#i32 =
      ok { m := 0#u64, p_biased := 2047#i32 } := by rfl
  unfold num.imp.dec2flt.slow.parse_long_mantissa at h
  rw [hzero, hinf] at h
  simp only [bind_tc_ok] at h
  rw [hinfFp] at h
  simp only [bind_tc_ok] at h
  obtain ⟨d, hd, h⟩ := bind_ok_inv _ _ _ h
  by_cases hempty : d.num_digits = 0#usize
  · simp only [hempty, if_true] at h
    cases h
    norm_num
  simp only [hempty, if_false] at h
  by_cases hsmallp : d.decimal_point < (-324)#i32
  · simp only [hsmallp, if_true] at h
    cases h
    norm_num
  simp only [hsmallp, if_false] at h
  by_cases hlargep : d.decimal_point ≥ 310#i32
  · simp only [hlargep, if_true] at h
    cases h
    norm_num
  simp only [hlargep, if_false] at h
  obtain ⟨out0, hout0, h⟩ := bind_ok_inv _ _ _ h
  rcases out0 with ⟨i1, i2, t, a, exp2, lr0⟩
  have hlr0 := ParserSlowLoopZeroResult
    F64.Insts.Dec2flt_modelNumImpTraitsFloatU64
    ({ m := 0#u64, p_biased := 0#i32 } :
      num.imp.dec2flt.common.BiasedFp)
    d.num_digits d.decimal_point d.truncated d.digits 0#i32
    (i1, i2, t, a, exp2, lr0) hout0
  cases lr0 with
  | some result =>
    rcases hlr0 with hnone | hsome
    · contradiction
    · simp only [Option.some.injEq] at hsome
      subst result
      cases h
      norm_num
  | none =>
    obtain ⟨out1, hout1, h⟩ := bind_ok_inv _ _ _ h
    rcases out1 with ⟨i3, i4, t1, a1, exp21, lr1⟩
    have hlr1 := ParserSlowLoopInfinityResult
      F64.Insts.Dec2flt_modelNumImpTraitsFloatU64
      ({ m := 0#u64, p_biased := 2047#i32 } :
        num.imp.dec2flt.common.BiasedFp)
      i1 i2 t a exp2 (i3, i4, t1, a1, exp21, lr1) hout1
    cases lr1 with
    | some result =>
      rcases hlr1 with hnone | hsome
      · contradiction
      · simp only [Option.some.injEq] at hsome
        subst result
        cases h
        norm_num
    | none =>
      obtain ⟨exp22, hexp22, h⟩ := bind_ok_inv _ _ _ h
      obtain ⟨out2, hout2, h⟩ := bind_ok_inv _ _ _ h
      rcases out2 with ⟨d1, exp23⟩
      have hexp23 : -1022 ≤ exp23.val :=
        ParserSlowLoopMinimumExponent _ _ _ hout2
      change (do
        let i5 ← F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.EXP_MIN
        _) = ok b at h
      rw [hmin] at h
      simp only [bind_tc_ok] at h
      obtain ⟨i6, hi6, h⟩ := bind_ok_inv _ _ _ h
      obtain ⟨i7, hi7, h⟩ := bind_ok_inv _ _ _ h
      have hi6v : i6.val = exp23.val - (-1022) := by
        have he := IScalar.sub_equiv exp23 ((-1022)#i32)
        rw [hi6] at he
        exact he.2.1
      have hi7v : i7.val = i6.val + 1 := by
        have he := IScalar.add_equiv i6 (1#i32)
        rw [hi7] at he
        exact he.2.1
      by_cases hsat : i7 ≥ 2047#i32
      · simp only [hsat, if_true] at h
        cases h
        norm_num
      · simp only [hsat, if_false] at h
        change (do
          let i8 ← F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.SIG_BITS
          _) = ok b at h
        rw [hsig] at h
        simp only [lift, bind_tc_ok] at h
        obtain ⟨i9, hi9, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨i10, hi10, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨d2, hd2, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨mantissa, hmantissa, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨i11, hi11, h⟩ := bind_ok_inv _ _ _ h
        by_cases hcarry : d2 ≥ i11
        · simp only [hcarry, if_true] at h
          obtain ⟨d3, hd3, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨exp24, hexp24, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨mantissa1, hmantissa1, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨i13, hi13, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨i14, hi14, h⟩ := bind_ok_inv _ _ _ h
          by_cases hsat2 : i14 ≥ 2047#i32
          · simp only [hsat2, if_true] at h
            cases h
            norm_num
          · simp only [hsat2, if_false] at h
            obtain ⟨i15, hi15, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨power2, hpower2, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i16, hi16, h⟩ := bind_ok_inv _ _ _ h
            by_cases hlow : mantissa1 < i16
            · simp only [hlow, if_true] at h
              obtain ⟨power21, hpower21, h⟩ := bind_ok_inv _ _ _ h
              obtain ⟨i17, hi17, h⟩ := bind_ok_inv _ _ _ h
              obtain ⟨i18, hi18, h⟩ := bind_ok_inv _ _ _ h
              cases h
              exact mask_bound i17 i18 mantissa1 hi17 hi18
            · simp only [hlow, if_false, bind_tc_ok] at h
              obtain ⟨i17, hi17, h⟩ := bind_ok_inv _ _ _ h
              obtain ⟨i18, hi18, h⟩ := bind_ok_inv _ _ _ h
              cases h
              exact mask_bound i17 i18 mantissa1 hi17 hi18
        · simp only [hcarry, if_false] at h
          obtain ⟨i13, hi13, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨power2, hpower2, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨i14, hi14, h⟩ := bind_ok_inv _ _ _ h
          by_cases hlow : d2 < i14
          · simp only [hlow, if_true] at h
            obtain ⟨power21, hpower21, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i15, hi15, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i16, hi16, h⟩ := bind_ok_inv _ _ _ h
            cases h
            exact mask_bound i15 i16 d2 hi15 hi16
          · simp only [hlow, if_false, bind_tc_ok] at h
            obtain ⟨i15, hi15, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i16, hi16, h⟩ := bind_ok_inv _ _ _ h
            cases h
            exact mask_bound i15 i16 d2 hi15 hi16

end dec2flt_model

Download Lean source · Download TeX source

Complete Lean module
import Tablet.ParserExponentConstants
import Tablet.ParserSlowLoopZeroResult
import Tablet.ParserSlowLoopInfinityResult
import Tablet.ParserSlowLoopMinimumExponent
import Tablet.SourceValidByteSlice
import Tablet.ModelU64BitAnd
import Tablet.ModelU64Shl
import Tablet.num_imp_dec2flt_common_BiasedFp_zero_pow2
import Tablet.num_imp_dec2flt_decimal_seq_DecimalSeq_left_shift
import Tablet.num_imp_dec2flt_decimal_seq_DecimalSeq_right_shift
import Tablet.num_imp_dec2flt_decimal_seq_DecimalSeq_round
import Tablet.num_imp_dec2flt_decimal_seq_parse_decimal_seq
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: ParserSlowMantissaBound]
theorem ParserSlowMantissaBound (s : Slice U8)
    (b : num.imp.dec2flt.common.BiasedFp)
    (hvalid : SourceValidByteSlice s)
    (h : num.imp.dec2flt.slow.parse_long_mantissa
      F64.Insts.Dec2flt_modelNumImpTraitsFloatU64 s = ok b) :
    b.m.val < 2 ^ 52 := by
-- BODY
  have bind_ok_inv : ∀ {α β : Type} (r : Result α) (f : α → Result β) y,
      Bind.bind r f = ok y → ∃ x, r = ok x ∧ f x = ok y := by
    intro α β r f y hr
    cases r with
    | fail err => simp [Bind.bind, Aeneas.Std.bind] at hr
    | div => simp [Bind.bind, Aeneas.Std.bind] at hr
    | ok x => exact ⟨x, rfl, hr⟩
  have mask_bound (base mask x : U64)
      (hbase : (1#u64 <<< 52#u32) = ok base)
      (hmask : base - 1#u64 = ok mask) :
      (x &&& mask).val < 2 ^ 52 := by
    have hs : (1#u64 <<< 52#u32) = ok 4503599627370496#u64 := by rfl
    rw [hs] at hbase
    cases hbase
    have hm := UScalar.sub_equiv (4503599627370496#u64) (1#u64)
    rw [hmask] at hm
    have hmval : mask.val = 4503599627370495 := by
      norm_num at hm ⊢
      omega
    change (x.bv &&& mask.bv).toNat < 2 ^ 52
    rw [BitVec.toNat_and]
    change x.val &&& mask.val < 2 ^ 52
    rw [hmval]
    exact lt_of_le_of_lt Nat.and_le_right (by norm_num)
  rcases ParserExponentConstants with
    ⟨hbits, htotal, hsig, hexpbits, hexpsat, hinf, hbias, hmin,
      hsmall, hlarge, hroundmin, hroundmax⟩
  have hzero : num.imp.dec2flt.common.BiasedFp.zero_pow2 0#i32 =
      ok { m := 0#u64, p_biased := 0#i32 } := by rfl
  have hinfFp : num.imp.dec2flt.common.BiasedFp.zero_pow2 2047#i32 =
      ok { m := 0#u64, p_biased := 2047#i32 } := by rfl
  unfold num.imp.dec2flt.slow.parse_long_mantissa at h
  rw [hzero, hinf] at h
  simp only [bind_tc_ok] at h
  rw [hinfFp] at h
  simp only [bind_tc_ok] at h
  obtain ⟨d, hd, h⟩ := bind_ok_inv _ _ _ h
  by_cases hempty : d.num_digits = 0#usize
  · simp only [hempty, if_true] at h
    cases h
    norm_num
  simp only [hempty, if_false] at h
  by_cases hsmallp : d.decimal_point < (-324)#i32
  · simp only [hsmallp, if_true] at h
    cases h
    norm_num
  simp only [hsmallp, if_false] at h
  by_cases hlargep : d.decimal_point ≥ 310#i32
  · simp only [hlargep, if_true] at h
    cases h
    norm_num
  simp only [hlargep, if_false] at h
  obtain ⟨out0, hout0, h⟩ := bind_ok_inv _ _ _ h
  rcases out0 with ⟨i1, i2, t, a, exp2, lr0⟩
  have hlr0 := ParserSlowLoopZeroResult
    F64.Insts.Dec2flt_modelNumImpTraitsFloatU64
    ({ m := 0#u64, p_biased := 0#i32 } :
      num.imp.dec2flt.common.BiasedFp)
    d.num_digits d.decimal_point d.truncated d.digits 0#i32
    (i1, i2, t, a, exp2, lr0) hout0
  cases lr0 with
  | some result =>
    rcases hlr0 with hnone | hsome
    · contradiction
    · simp only [Option.some.injEq] at hsome
      subst result
      cases h
      norm_num
  | none =>
    obtain ⟨out1, hout1, h⟩ := bind_ok_inv _ _ _ h
    rcases out1 with ⟨i3, i4, t1, a1, exp21, lr1⟩
    have hlr1 := ParserSlowLoopInfinityResult
      F64.Insts.Dec2flt_modelNumImpTraitsFloatU64
      ({ m := 0#u64, p_biased := 2047#i32 } :
        num.imp.dec2flt.common.BiasedFp)
      i1 i2 t a exp2 (i3, i4, t1, a1, exp21, lr1) hout1
    cases lr1 with
    | some result =>
      rcases hlr1 with hnone | hsome
      · contradiction
      · simp only [Option.some.injEq] at hsome
        subst result
        cases h
        norm_num
    | none =>
      obtain ⟨exp22, hexp22, h⟩ := bind_ok_inv _ _ _ h
      obtain ⟨out2, hout2, h⟩ := bind_ok_inv _ _ _ h
      rcases out2 with ⟨d1, exp23⟩
      have hexp23 : -1022 ≤ exp23.val :=
        ParserSlowLoopMinimumExponent _ _ _ hout2
      change (do
        let i5 ← F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.EXP_MIN
        _) = ok b at h
      rw [hmin] at h
      simp only [bind_tc_ok] at h
      obtain ⟨i6, hi6, h⟩ := bind_ok_inv _ _ _ h
      obtain ⟨i7, hi7, h⟩ := bind_ok_inv _ _ _ h
      have hi6v : i6.val = exp23.val - (-1022) := by
        have he := IScalar.sub_equiv exp23 ((-1022)#i32)
        rw [hi6] at he
        exact he.2.1
      have hi7v : i7.val = i6.val + 1 := by
        have he := IScalar.add_equiv i6 (1#i32)
        rw [hi7] at he
        exact he.2.1
      by_cases hsat : i7 ≥ 2047#i32
      · simp only [hsat, if_true] at h
        cases h
        norm_num
      · simp only [hsat, if_false] at h
        change (do
          let i8 ← F64.Insts.Dec2flt_modelNumImpTraitsFloatU64.SIG_BITS
          _) = ok b at h
        rw [hsig] at h
        simp only [lift, bind_tc_ok] at h
        obtain ⟨i9, hi9, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨i10, hi10, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨d2, hd2, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨mantissa, hmantissa, h⟩ := bind_ok_inv _ _ _ h
        obtain ⟨i11, hi11, h⟩ := bind_ok_inv _ _ _ h
        by_cases hcarry : d2 ≥ i11
        · simp only [hcarry, if_true] at h
          obtain ⟨d3, hd3, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨exp24, hexp24, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨mantissa1, hmantissa1, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨i13, hi13, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨i14, hi14, h⟩ := bind_ok_inv _ _ _ h
          by_cases hsat2 : i14 ≥ 2047#i32
          · simp only [hsat2, if_true] at h
            cases h
            norm_num
          · simp only [hsat2, if_false] at h
            obtain ⟨i15, hi15, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨power2, hpower2, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i16, hi16, h⟩ := bind_ok_inv _ _ _ h
            by_cases hlow : mantissa1 < i16
            · simp only [hlow, if_true] at h
              obtain ⟨power21, hpower21, h⟩ := bind_ok_inv _ _ _ h
              obtain ⟨i17, hi17, h⟩ := bind_ok_inv _ _ _ h
              obtain ⟨i18, hi18, h⟩ := bind_ok_inv _ _ _ h
              cases h
              exact mask_bound i17 i18 mantissa1 hi17 hi18
            · simp only [hlow, if_false, bind_tc_ok] at h
              obtain ⟨i17, hi17, h⟩ := bind_ok_inv _ _ _ h
              obtain ⟨i18, hi18, h⟩ := bind_ok_inv _ _ _ h
              cases h
              exact mask_bound i17 i18 mantissa1 hi17 hi18
        · simp only [hcarry, if_false] at h
          obtain ⟨i13, hi13, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨power2, hpower2, h⟩ := bind_ok_inv _ _ _ h
          obtain ⟨i14, hi14, h⟩ := bind_ok_inv _ _ _ h
          by_cases hlow : d2 < i14
          · simp only [hlow, if_true] at h
            obtain ⟨power21, hpower21, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i15, hi15, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i16, hi16, h⟩ := bind_ok_inv _ _ _ h
            cases h
            exact mask_bound i15 i16 d2 hi15 hi16
          · simp only [hlow, if_false, bind_tc_ok] at h
            obtain ⟨i15, hi15, h⟩ := bind_ok_inv _ _ _ h
            obtain ⟨i16, hi16, h⟩ := bind_ok_inv _ _ _ h
            cases h
            exact mask_bound i15 i16 d2 hi15 hi16

end dec2flt_model

Proof structure

Follow the declared dependencies to read the supporting statements and proofs.

Explore this dependency tree

Inspect related source (152)
More program dependencies (110)
Standard-library dependencies (39)

Related source and models come from the extraction records and declared dependencies.

Proof assumptions and review

Lean checks the formal proof. Trellis also reviews how the statement corresponds to the intended requirement.

Transitive assumptions

This list combines the assumptions recorded for this declaration and its dependencies. It may include assumptions used by auxiliary declarations in those modules.

Helper theorems included
All 108 entries
Technical checking records
Local closure summary
{
  "node": "ParserSlowMantissaBound",
  "closure_version": "patch_c_v1",
  "active_decl_hash": "b0ab2ebdf212bdeaad7c0f8e09096ec9ed0ae0d57a0ed56ac2a5f7b050b183ab",
  "active_statement_hash": "9ea8d17be2fb612bb7417a1c5a02e2234838365644e9dab31e3b21b703d13bc6",
  "kernel_axioms": [
    "Classical.choice",
    "Quot.sound",
    "propext"
  ],
  "toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
  "lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
  "checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
  "approved_axioms_hash": "576e6bf9480cfd32f53c309c7ac8fb115c1ba6e413f299ed5ff9fa7c647e6769",
  "axcheck_status": "Agreed",
  "accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-181",
  "boundary_theorems": {},
  "strict_theorem_deps": {
    "ParserExponentConstants": "e2a30a7b0c5e9c91",
    "ParserSlowLoopInfinityResult": "aa891aefb58dedf9",
    "ParserSlowLoopMinimumExponent": "276f4842202df35f",
    "ParserSlowLoopZeroResult": "9260d2d32b2b038c",
    "num_imp_dec2flt_slow_parse_long_mantissa": "0eb6fb2627d0ff5c",
    "num_imp_traits_Float_EXP_BIAS_default": "39417be39e20ce5d",
    "num_imp_traits_Float_EXP_BITS_default": "9ab622d85ef04d94",
    "num_imp_traits_Float_EXP_MIN_default": "39417be39e20ce5d",
    "num_imp_traits_Float_EXP_SAT_default": "9ab622d85ef04d94",
    "num_imp_traits_Float_SIG_BITS_default": "9ab622d85ef04d94"
  },
  "strict_definition_deps": {
    "F64": "ec4e25fbaf4e11d4",
    "F64_Insts_Dec2flt_modelNumImpTraitsFloatU64": "94095c9bf79da164",
    "F64_Insts_Dec2flt_modelNumImpTraitsFloatU64_BITS": "d9fd91641cb78c5e",
    "F64_Insts_Dec2flt_modelNumImpTraitsFloatU64_SIG_TOTAL_BITS": "887b52d84a3fc9c4",
    "SourceValidByteSlice": "3dc42716a6378d26",
    "num_imp_dec2flt_common_BiasedFp": "31d81cf1cf22709f",
    "num_imp_dec2flt_common_BiasedFp_zero_pow2": "0f99ae12c6707137",
    "num_imp_dec2flt_decimal_seq_DecimalSeq": "6799fe6525ddb761",
    "num_imp_dec2flt_decimal_seq_DecimalSeq_left_shift": "fd298e37d5ae4f86",
    "num_imp_dec2flt_decimal_seq_DecimalSeq_right_shift": "1aaf1bb11c0b6a49",
    "num_imp_dec2flt_decimal_seq_DecimalSeq_round": "8ea3c058fea09978",
    "num_imp_dec2flt_decimal_seq_parse_decimal_seq": "f7442f2664cfd5f2",
    "num_imp_dec2flt_slow_parse_long_mantissa": "f4b1825aa46c08b9",
    "num_imp_traits_Float": "426bf608517697dc"
  }
}
Prose assessment
{
  "label": "Lean proof closed; predictive prose review no longer required",
  "assessment_status": null,
  "fingerprint_relation": "unknown",
  "assessment_fingerprint": null,
  "current_fingerprint": "sound-v2:69d752134edd4a02ad1aa26105fab89b7de104112ae3d317ae85bacfd342e595",
  "superseded_for_theorem_closure": false
}
Review verdicts
{
  "corr_status": "Pass",
  "substantiveness_status": "Pass"
}