Statement
This explanation was written alongside the formalization to describe the statement and its reasoning.
Lemma · Safe and exact digit scanning
try_parse_digits returns normally, and
its returned slice is exactly that tail.Lean statement
Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.
import Tablet.Assumptions
import Tablet.NumberHelperEightDigitWord
import Tablet.NumberHelperEightDigitWordAccepted
import Tablet.NumberHelperParseEightDigitsSafe
import Tablet.NumberHelperReadEightBytes
import Tablet.SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64
import Tablet.num_imp_dec2flt_common_is_8digits
import Tablet.num_imp_dec2flt_parse_parse_8digits
import Tablet.num_imp_dec2flt_parse_try_parse_digits
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: NumberHelperDigitScanSourceLength]
theorem NumberHelperDigitScanSourceLength :
forall (s : Slice Std.U8) (initial : Std.U64)
(digits tail : List Std.U8),
s.val = digits ++ tail ->
(forall b, List.Mem b digits -> 48 <= b.val /\ b.val <= 57) ->
(forall b rest, tail = b :: rest ->
Not (48 <= b.val /\ b.val <= 57)) ->
s.val.length <= 9223372036854775807 ->
exists (value : Std.U64) (rest : Slice Std.U8),
num.imp.dec2flt.parse.try_parse_digits s initial = ok (rest, value) /\
rest.val = tail := 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
usize and
isize; in particular L\leq C<2^{63}<2^{64}. We audit the two
loops in num imp dec2flt parse try parse digits.0x30, induct from the least significant byte. The
incoming borrow is initially zero. If b_i<48, the result byte is in
[208,255], contradicting the accepted word's zero 0x80 bit.
Consequently b_i\geq48, no borrow leaves that byte, and the result-byte
high bit further gives b_i\leq175. In the wrapping addition by eight
copies of 0x46, the incoming carry is likewise initially zero.
Under the preceding bound, b_i\geq58 would produce a byte in [128,245],
again contradicting the zero high bit. Hence b_i\leq57 and no carry
leaves the byte. Both inductions cross all seven byte boundaries, so there
is no false positive. Conversely, bytes in [48,57] plainly create neither
a borrow nor a high bit in either operation, so the test accepts them.u32 succeeds. The outer accumulator update is
wrapping. The continuing branch then drops exactly the eight bytes just
read. Each continuation strictly reduces the remaining length, so the
first loop terminates after consuming whole eight-byte blocks contained in
the stated digit prefix. It cannot cross into the tail, because a block
containing its nondigit first byte fails the exact test.u64 cast is
exact, the accumulator multiplication and addition are wrapping, and the
checked increment gives j+1 no larger than the suffix length and hence no
larger than L<2^{64}. It therefore consumes all remaining bytes of the
given digit prefix. At the first tail byte the digit test fails, or at an
empty tail the length guard fails. The final slice begins at this bounded
count, so it succeeds and equals the unconsumed tail. This proves both the
normal return and the asserted exact remainder for every initial
accumulator.Lean proof
intro s initial digits tail hs hdigits htail hlen
have fast : forall (t : Slice Std.U8) (a : Std.U64) (ds : List Std.U8),
t.val = ds ++ tail ->
(forall b, List.Mem b ds -> 48 <= b.val /\ b.val <= 57) ->
t.val.length <= 9223372036854775807 ->
num.imp.dec2flt.parse.try_parse_digits_loop0 t a
⦃ p => exists rem : List Std.U8,
p.1.val = rem ++ tail /\
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
p.1.val.length <= 9223372036854775807 ⦄ := by
intro t a ds htds hds htlen
unfold num.imp.dec2flt.parse.try_parse_digits_loop0
apply Aeneas.Std.loop.spec_decr_nat
(fun p : Slice Std.U8 × Std.U64 => p.1.length)
(fun p => exists rem : List Std.U8,
p.1.val = rem ++ tail /\
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
p.1.val.length <= 9223372036854775807)
(fun p => exists rem : List Std.U8,
p.1.val = rem ++ tail /\
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
p.1.val.length <= 9223372036854775807)
(fun p => num.imp.dec2flt.parse.try_parse_digits_loop0.body p.1 p.2)
(t, a)
· intro p hp
rcases p with ⟨u, x⟩
rcases hp with ⟨rem, hurem, hrem, hulen⟩
change u.val = rem ++ tail at hurem
change u.val.length <= 9223372036854775807 at hulen
simp [num.imp.dec2flt.parse.try_parse_digits_loop0.body, WP.spec_ok,
Slice.length]
split
· rename_i h8
obtain ⟨chunk, hread, hbyte⟩ := NumberHelperReadEightBytes u h8
rw [hread]
simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift]
split
· rename_i haccepted
have haccepted :
num.imp.dec2flt.common.is_8digits chunk = ok true := by
simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift,
haccepted]
have hrem8 : 8 <= rem.length := by
by_contra hn
have hrem_lt : rem.length < 8 := by omega
have htail_pos : 0 < tail.length := by
by_contra hzero
have ht0 : tail = [] := List.eq_nil_of_length_eq_zero (by omega)
have heq := congrArg List.length hurem
simp [ht0] at heq
omega
obtain ⟨b, rest, htail_eq⟩ :=
List.exists_cons_of_length_pos htail_pos
have hindex : rem.length < u.val.length := by omega
have hbyte_eq := hbyte rem.length hrem_lt
have hword_digit :=
NumberHelperEightDigitWord chunk haccepted rem.length hrem_lt
have hu_digit :
48 <= (u.val[rem.length]'hindex).val /\
(u.val[rem.length]'hindex).val <= 57 := by
omega
have hu_eq : (u.val[rem.length]'hindex) = b := by
simp [hurem, htail_eq]
rw [hu_eq] at hu_digit
exact (htail b rest htail_eq) hu_digit
obtain ⟨z, hparse⟩ :=
NumberHelperParseEightDigitsSafe chunk haccepted
rw [hparse]
simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
Slice.drop, Slice.length, WP.spec_ok, h8]
constructor
· refine ⟨rem.drop 8, ?_, ?_, ?_⟩
· rw [hurem, List.drop_append_of_le_length hrem8]
· intro b hb
exact hrem b (List.mem_of_mem_drop hb)
· omega
· omega
· simp [WP.spec_ok]
exact ⟨rem, hurem, hrem, hulen⟩
· exact ⟨rem, hurem, hrem, hulen⟩
· exact ⟨ds, htds, hds, htlen⟩
have scalar : forall (t : Slice Std.U8) (a : Std.U64) (rem : List Std.U8),
t.val = rem ++ tail ->
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) ->
t.val.length <= 9223372036854775807 ->
num.imp.dec2flt.parse.try_parse_digits_loop1 t a 0#usize
⦃ p => p.2.val = rem.length ⦄ := by
intro t a rem htrem hrem htlen
unfold num.imp.dec2flt.parse.try_parse_digits_loop1
apply Aeneas.Std.loop.spec_decr_nat
(fun p : Std.U64 × Std.Usize => rem.length - p.2.val)
(fun p => p.2.val <= rem.length)
(fun p => p.2.val = rem.length)
(fun p =>
num.imp.dec2flt.parse.try_parse_digits_loop1.body t p.1 p.2)
(a, 0#usize)
· intro p hp
rcases p with ⟨x, count⟩
change count.val <= rem.length at hp
simp [num.imp.dec2flt.parse.try_parse_digits_loop1.body, WP.spec_ok,
Slice.length]
split
· rename_i hcount_t
step
by_cases hinside : count.val < rem.length
· have hi_mem : List.Mem i1 rem := by
have hi_eq : i1 = rem[count.val]'hinside := by
rw [i1_post]
simp [htrem, hinside]
rw [hi_eq]
exact List.getElem_mem _
have hi_digit := hrem i1 hi_mem
step
have hi2_val : i2.val = i1.val - 48 := by
rw [i2_post]
rw [core.num.U8.wrapping_sub_val_eq]
simp only [UScalar.size_UScalarTyU8, U8.size_eq]
norm_num
omega
have hi2_lt : i2.val < 10 := by omega
simp [hi2_lt]
step
step
step
step
step
omega
· have hcount_eq : count.val = rem.length := by omega
have htail_pos : 0 < tail.length := by
have hlen_eq := congrArg List.length htrem
simp at hlen_eq
omega
obtain ⟨b, rest, htail_eq⟩ :=
List.exists_cons_of_length_pos htail_pos
have hi_eq : i1 = b := by
rw [i1_post]
simp [htrem, htail_eq, hcount_eq]
have hb_not := htail b rest htail_eq
step
have hi2_not : Not (i2.val < 10) := by
rw [i2_post, hi_eq]
rw [core.num.U8.wrapping_sub_val_eq]
simp only [UScalar.size_UScalarTyU8, U8.size_eq]
norm_num
scalar_tac
simp [hi2_not, WP.spec_ok, hcount_eq]
· rename_i hcount_not
simp [WP.spec_ok]
have hlen_eq := congrArg List.length htrem
simp at hlen_eq
omega
· simp
unfold num.imp.dec2flt.parse.try_parse_digits
have hf := fast s initial digits hs hdigits hlen
obtain ⟨p, hfast, hfp⟩ := Aeneas.Std.WP.spec_imp_exists hf
rcases p with ⟨s1, x1⟩
rcases hfp with ⟨rem, hs1, hrem, hs1len⟩
change s1.val = rem ++ tail at hs1
change s1.val.length <= 9223372036854775807 at hs1len
have hsc := scalar s1 x1 rem hs1 hrem hs1len
obtain ⟨q, hscalar, hcount⟩ := Aeneas.Std.WP.spec_imp_exists hsc
rcases q with ⟨x2, count⟩
change count.val = rem.length at hcount
have hcount_le : count.val <= s1.val.length := by
rw [hcount, hs1]
simp
simp [hfast, hscalar]
simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
Slice.drop, Slice.length, hcount_le]
rw [hcount, hs1, List.drop_append_of_le_length (Nat.le_refl _)]
simp
end dec2flt_model
Download Lean source · Download TeX source
Complete Lean module
import Tablet.Assumptions
import Tablet.NumberHelperEightDigitWord
import Tablet.NumberHelperEightDigitWordAccepted
import Tablet.NumberHelperParseEightDigitsSafe
import Tablet.NumberHelperReadEightBytes
import Tablet.SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64
import Tablet.num_imp_dec2flt_common_is_8digits
import Tablet.num_imp_dec2flt_parse_parse_8digits
import Tablet.num_imp_dec2flt_parse_try_parse_digits
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: NumberHelperDigitScanSourceLength]
theorem NumberHelperDigitScanSourceLength :
forall (s : Slice Std.U8) (initial : Std.U64)
(digits tail : List Std.U8),
s.val = digits ++ tail ->
(forall b, List.Mem b digits -> 48 <= b.val /\ b.val <= 57) ->
(forall b rest, tail = b :: rest ->
Not (48 <= b.val /\ b.val <= 57)) ->
s.val.length <= 9223372036854775807 ->
exists (value : Std.U64) (rest : Slice Std.U8),
num.imp.dec2flt.parse.try_parse_digits s initial = ok (rest, value) /\
rest.val = tail := by
-- BODY
intro s initial digits tail hs hdigits htail hlen
have fast : forall (t : Slice Std.U8) (a : Std.U64) (ds : List Std.U8),
t.val = ds ++ tail ->
(forall b, List.Mem b ds -> 48 <= b.val /\ b.val <= 57) ->
t.val.length <= 9223372036854775807 ->
num.imp.dec2flt.parse.try_parse_digits_loop0 t a
⦃ p => exists rem : List Std.U8,
p.1.val = rem ++ tail /\
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
p.1.val.length <= 9223372036854775807 ⦄ := by
intro t a ds htds hds htlen
unfold num.imp.dec2flt.parse.try_parse_digits_loop0
apply Aeneas.Std.loop.spec_decr_nat
(fun p : Slice Std.U8 × Std.U64 => p.1.length)
(fun p => exists rem : List Std.U8,
p.1.val = rem ++ tail /\
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
p.1.val.length <= 9223372036854775807)
(fun p => exists rem : List Std.U8,
p.1.val = rem ++ tail /\
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) /\
p.1.val.length <= 9223372036854775807)
(fun p => num.imp.dec2flt.parse.try_parse_digits_loop0.body p.1 p.2)
(t, a)
· intro p hp
rcases p with ⟨u, x⟩
rcases hp with ⟨rem, hurem, hrem, hulen⟩
change u.val = rem ++ tail at hurem
change u.val.length <= 9223372036854775807 at hulen
simp [num.imp.dec2flt.parse.try_parse_digits_loop0.body, WP.spec_ok,
Slice.length]
split
· rename_i h8
obtain ⟨chunk, hread, hbyte⟩ := NumberHelperReadEightBytes u h8
rw [hread]
simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift]
split
· rename_i haccepted
have haccepted :
num.imp.dec2flt.common.is_8digits chunk = ok true := by
simp [num.imp.dec2flt.common.is_8digits, Aeneas.Std.lift,
haccepted]
have hrem8 : 8 <= rem.length := by
by_contra hn
have hrem_lt : rem.length < 8 := by omega
have htail_pos : 0 < tail.length := by
by_contra hzero
have ht0 : tail = [] := List.eq_nil_of_length_eq_zero (by omega)
have heq := congrArg List.length hurem
simp [ht0] at heq
omega
obtain ⟨b, rest, htail_eq⟩ :=
List.exists_cons_of_length_pos htail_pos
have hindex : rem.length < u.val.length := by omega
have hbyte_eq := hbyte rem.length hrem_lt
have hword_digit :=
NumberHelperEightDigitWord chunk haccepted rem.length hrem_lt
have hu_digit :
48 <= (u.val[rem.length]'hindex).val /\
(u.val[rem.length]'hindex).val <= 57 := by
omega
have hu_eq : (u.val[rem.length]'hindex) = b := by
simp [hurem, htail_eq]
rw [hu_eq] at hu_digit
exact (htail b rest htail_eq) hu_digit
obtain ⟨z, hparse⟩ :=
NumberHelperParseEightDigitsSafe chunk haccepted
rw [hparse]
simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
Slice.drop, Slice.length, WP.spec_ok, h8]
constructor
· refine ⟨rem.drop 8, ?_, ?_, ?_⟩
· rw [hurem, List.drop_append_of_le_length hrem8]
· intro b hb
exact hrem b (List.mem_of_mem_drop hb)
· omega
· omega
· simp [WP.spec_ok]
exact ⟨rem, hurem, hrem, hulen⟩
· exact ⟨rem, hurem, hrem, hulen⟩
· exact ⟨ds, htds, hds, htlen⟩
have scalar : forall (t : Slice Std.U8) (a : Std.U64) (rem : List Std.U8),
t.val = rem ++ tail ->
(forall b, List.Mem b rem -> 48 <= b.val /\ b.val <= 57) ->
t.val.length <= 9223372036854775807 ->
num.imp.dec2flt.parse.try_parse_digits_loop1 t a 0#usize
⦃ p => p.2.val = rem.length ⦄ := by
intro t a rem htrem hrem htlen
unfold num.imp.dec2flt.parse.try_parse_digits_loop1
apply Aeneas.Std.loop.spec_decr_nat
(fun p : Std.U64 × Std.Usize => rem.length - p.2.val)
(fun p => p.2.val <= rem.length)
(fun p => p.2.val = rem.length)
(fun p =>
num.imp.dec2flt.parse.try_parse_digits_loop1.body t p.1 p.2)
(a, 0#usize)
· intro p hp
rcases p with ⟨x, count⟩
change count.val <= rem.length at hp
simp [num.imp.dec2flt.parse.try_parse_digits_loop1.body, WP.spec_ok,
Slice.length]
split
· rename_i hcount_t
step
by_cases hinside : count.val < rem.length
· have hi_mem : List.Mem i1 rem := by
have hi_eq : i1 = rem[count.val]'hinside := by
rw [i1_post]
simp [htrem, hinside]
rw [hi_eq]
exact List.getElem_mem _
have hi_digit := hrem i1 hi_mem
step
have hi2_val : i2.val = i1.val - 48 := by
rw [i2_post]
rw [core.num.U8.wrapping_sub_val_eq]
simp only [UScalar.size_UScalarTyU8, U8.size_eq]
norm_num
omega
have hi2_lt : i2.val < 10 := by omega
simp [hi2_lt]
step
step
step
step
step
omega
· have hcount_eq : count.val = rem.length := by omega
have htail_pos : 0 < tail.length := by
have hlen_eq := congrArg List.length htrem
simp at hlen_eq
omega
obtain ⟨b, rest, htail_eq⟩ :=
List.exists_cons_of_length_pos htail_pos
have hi_eq : i1 = b := by
rw [i1_post]
simp [htrem, htail_eq, hcount_eq]
have hb_not := htail b rest htail_eq
step
have hi2_not : Not (i2.val < 10) := by
rw [i2_post, hi_eq]
rw [core.num.U8.wrapping_sub_val_eq]
simp only [UScalar.size_UScalarTyU8, U8.size_eq]
norm_num
scalar_tac
simp [hi2_not, WP.spec_ok, hcount_eq]
· rename_i hcount_not
simp [WP.spec_ok]
have hlen_eq := congrArg List.length htrem
simp at hlen_eq
omega
· simp
unfold num.imp.dec2flt.parse.try_parse_digits
have hf := fast s initial digits hs hdigits hlen
obtain ⟨p, hfast, hfp⟩ := Aeneas.Std.WP.spec_imp_exists hf
rcases p with ⟨s1, x1⟩
rcases hfp with ⟨rem, hs1, hrem, hs1len⟩
change s1.val = rem ++ tail at hs1
change s1.val.length <= 9223372036854775807 at hs1len
have hsc := scalar s1 x1 rem hs1 hrem hs1len
obtain ⟨q, hscalar, hcount⟩ := Aeneas.Std.WP.spec_imp_exists hsc
rcases q with ⟨x2, count⟩
change count.val = rem.length at hcount
have hcount_le : count.val <= s1.val.length := by
rw [hcount, hs1]
simp
simp [hfast, hscalar]
simp [core.slice.index.SliceIndexRangeFromUsizeSlice.index,
Slice.drop, Slice.length, hcount_le]
rw [hcount, hs1, List.drop_append_of_le_length (Nat.le_refl _)]
simp
end dec2flt_model
Proof structure
Follow the declared dependencies to read the supporting statements and proofs.
Inspect related source (55)
- read_u64 · dec2flt/common.rs:22 Program Rust
- is_8digits · dec2flt/common.rs:44 Program Rust
- parse_8digits · dec2flt/parse.rs:18 Program Rust
More program dependencies (22)
- try_parse_digits · dec2flt/parse.rs:30 Program Rust
- try_parse_digits_loop0 · dec2flt/parse.rs:33 Program Rust
- body · dec2flt/parse.rs:33 Program Rust
- try_parse_digits_loop1 · dec2flt/parse.rs:50 Program Rust
- body · dec2flt/parse.rs:50 Program Rust
- MASK · dec2flt/parse.rs:19 Program Rust
- MUL1 · dec2flt/parse.rs:20 Program Rust
- MUL2 · dec2flt/parse.rs:21 Program Rust
- from_u64 · dec2flt/mod.rs:263 Program Rust
- FloatErrorKind · num/mod.rs:18 Program Rust
- ParseFloatError · num/mod.rs:13 Program Rust
- Dec2FltAssemblyTrace · dec2flt/mod.rs:329 Program Rust
- Dec2FltTrace · dec2flt/mod.rs:295 Program Rust
- Lemire · dec2flt/mod.rs:115 Program Rust
- BiasedFp · dec2flt/common.rs:56 Program Rust
- ByteSlice · dec2flt/common.rs:4 Program Rust
- Decimal · dec2flt/decimal.rs:32 Program Rust
- DecimalSeq · dec2flt/decimal_seq.rs:22 Program Rust
- CastInto · traits.rs:18 Program Rust
- Float · traits.rs:74 Program Rust
- FloatExt · traits.rs:170 Program Rust
- Int · traits.rs:27 Program Rust
Standard-library dependencies (30)
- clone · core/src/clone.rs:698 Rust library
- div · core/src/ops/arith.rs:515 Rust library
- mul · core/src/ops/arith.rs:350 Rust library
- neg · core/src/ops/arith.rs:719 Rust library
- bitand · core/src/ops/bit.rs:178 Rust library
- bitor · core/src/ops/bit.rs:282 Rust library
- shl · core/src/ops/bit.rs:489 Rust library
- shr · core/src/ops/bit.rs:612 Rust library
- EXPONENT_MASK · core/src/num/f64.rs:615 Rust library
- INFINITY · core/src/num/f64.rs:512 Rust library
- MANTISSA_DIGITS · core/src/num/f64.rs:412 Rust library
- MANTISSA_MASK · core/src/num/f64.rs:637 Rust library
- NAN · core/src/num/f64.rs:509 Rust library
- NEG_INFINITY · core/src/num/f64.rs:515 Rust library
- classify · core/src/num/f64.rs:782 Rust library
- from_bits · core/src/num/f64.rs:1269 Rust library
- to_bits · core/src/num/f64.rs:1223 Rust library
- is_ascii_digit · core/src/num/mod.rs:958 Rust library
- from_residual · core/src/option.rs:2793 Rust library
- branch · core/src/option.rs:2779 Rust library
- first · core/src/slice/mod.rs:155 Rust library
- split_first · core/src/slice/mod.rs:198 Rust library
- as_bytes · core/src/str/mod.rs:498 Rust library
- FpCategory · core/src/num/mod.rs:1522 Rust library
- Div · core/src/ops/arith.rs:460 Rust library
- Mul · core/src/ops/arith.rs:322 Rust library
- Neg · core/src/ops/arith.rs:690 Rust library
- BitOr · core/src/ops/bit.rs:254 Rust library
- Shl · core/src/ops/bit.rs:461 Rust library
- Shr · core/src/ops/bit.rs:584 Rust library
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
- Classical.choice
- Quot.sound
- propext
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
- NumberHelperDigitScanSourceLength
- NumberHelperEightDigitWord
- NumberHelperParseEightDigitsSafe
- NumberHelperReadEightBytes
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice read u64
- num imp dec2flt common is 8digits
All 11 entries
- NumberHelperDigitScanSourceLength
- NumberHelperEightDigitWord
- NumberHelperParseEightDigitsSafe
- NumberHelperReadEightBytes
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice read u64
- num imp dec2flt common is 8digits
- num imp dec2flt parse parse 8digits
- num imp dec2flt parse parse 8digits MASK
- num imp dec2flt parse parse 8digits MUL1
- num imp dec2flt parse parse 8digits MUL2
- num imp dec2flt parse try parse digits
Technical checking records
Local closure summary
{
"node": "NumberHelperDigitScanSourceLength",
"closure_version": "patch_c_v1",
"active_decl_hash": "81911ed86867bd5a61f582e8edc83178166b550957097d34dd71bc18c797e687",
"active_statement_hash": "f31c34144c2a5fd9f9f9c71927a264ad71a59f2caae1563e80e73cf0643db163",
"kernel_axioms": [
"Classical.choice",
"Quot.sound",
"propext"
],
"toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
"lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
"checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
"approved_axioms_hash": "d5c04ffa333d9b33b238a527f5beaa2be82e021d3e9c0bbe01b1310280f7f55a",
"axcheck_status": "Agreed",
"accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-68",
"boundary_theorems": {},
"strict_theorem_deps": {
"NumberHelperEightDigitWord": "a61cba9606484373",
"NumberHelperParseEightDigitsSafe": "9fe8ed9fecf3320d",
"NumberHelperReadEightBytes": "8738e3b807b9b2d9",
"num_imp_dec2flt_common_is_8digits": "effb8a26907859a5",
"num_imp_dec2flt_parse_try_parse_digits": "bcad6df678c024ae"
},
"strict_definition_deps": {
"SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_read_u64": "279b0c1cd8ec9e39",
"num_imp_dec2flt_common_is_8digits": "53e9de5212d69bf5",
"num_imp_dec2flt_parse_parse_8digits": "ae610d45d88851c6",
"num_imp_dec2flt_parse_try_parse_digits": "2b12615e16e91640"
}
}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:d707619b67fdf9744f01288bd9e5afbbe7cec177a804230c5ed44268199ebc34",
"superseded_for_theorem_closure": false
}Review verdicts
{
"corr_status": "Pass",
"substantiveness_status": "Pass"
}