Statement
This explanation was written alongside the formalization to describe the statement and its reasoning.
Lemma · Saved-count finalization and exact fill
final_decimal_point with the ORIGINAL
scan count, f,e, fill loop 1 from the selected count to 19, and construct
the result from that count, point, flag, and array.Lean statement
Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.
import Tablet.P495_T1_FillExact
import Tablet.P9_T1_FinalPointExact
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: P495_T1_FinalizationExact]
theorem P495_T1_FinalizationExact (start rest : Slice Std.U8)
(scan : num.imp.dec2flt.decimal_seq.DecimalSeq)
(f : Std.Usize) (e : Std.I64) (consumed zeros : Std.Usize)
(C T : List Nat)
(hcount : scan.num_digits.val = C.length)
(hn : scan.num_digits.val <= 9223372036854775807)
(hf : f.val <= 9223372036854775807)
(hflag : scan.truncated = false)
(hsplit : C = T ++ List.replicate zeros.val 0)
(hconsumed : Slice.len start - Slice.len rest = ok consumed)
(hzeros : C ≠ [] ->
num.imp.dec2flt.decimal_seq.count_trailing_zeros start consumed = ok zeros)
(hstored : (scan.digits.val.take (min C.length 768)).map (fun b => b.val) =
C.take (min C.length 768))
(hdigits : forall b, b ∈ scan.digits.val -> b.val < 10) :
let finish : Result num.imp.dec2flt.decimal_seq.DecimalSeq := do
let (r, flag) <-
if scan.num_digits != 0#usize then do
let consumed <- Slice.len start - Slice.len rest
let zeros <- num.imp.dec2flt.decimal_seq.count_trailing_zeros start consumed
let kept <- scan.num_digits - zeros
if kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS then
ok (num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS, true)
else ok (kept, scan.truncated)
else ok (scan.num_digits, scan.truncated)
let point <- num.imp.dec2flt.decimal_seq.final_decimal_point scan.num_digits f e
let a <- num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop1
{ start := r, «end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
scan.digits
ok { num_digits := r, decimal_point := point, truncated := flag, digits := a }
exists d : num.imp.dec2flt.decimal_seq.DecimalSeq,
finish = ok d /\
num.imp.dec2flt.decimal_seq.final_decimal_point scan.num_digits f e =
ok d.decimal_point /\
d.decimal_point.val = (if C.length = 0 then 0 else
max (-2047) (min 2047 ((C.length : Int) - f.val + e.val))) /\
d.num_digits.val = min T.length 768 /\
(d.digits.val.take d.num_digits.val).map (fun b => b.val) =
T.take d.num_digits.val /\
(d.truncated = true <-> 768 < T.length) /\
d.digits.val.take d.num_digits.val = scan.digits.val.take d.num_digits.val /\
(forall j, j < 768 -> d.digits.val[j]? =
if d.num_digits.val <= j /\ j < 19 then some 0#u8 else scan.digits.val[j]?) /\
(forall b, b ∈ d.digits.val -> b.val < 10) := 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
Lean proof
dsimp only
have hlength : C.length = T.length + zeros.val := by
simpa using congrArg List.length hsplit
let selected : Result (Std.Usize × Bool) := do
if scan.num_digits != 0#usize then do
let consumed <- Slice.len start - Slice.len rest
let zeros <- num.imp.dec2flt.decimal_seq.count_trailing_zeros start consumed
let kept <- scan.num_digits - zeros
if kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS then
ok (num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS, true)
else ok (kept, scan.truncated)
else ok (scan.num_digits, scan.truncated)
have hselected : exists (r : Std.Usize) (flag : Bool),
selected = ok (r, flag) /\
r.val = min T.length 768 /\
(flag = true <-> 768 < T.length) := by
by_cases hC : C = []
· have hT : T.length = 0 := by
have hsum : T.length + zeros.val = 0 := by
simpa only [hC, List.length_nil] using hlength.symm
omega
have hnzero : scan.num_digits = 0#usize :=
UScalar.eq_of_val_eq (by simpa [hC] using hcount)
refine ⟨scan.num_digits, false, ?_, ?_, ?_⟩
· simp [selected, hnzero, hflag]
· simp [hnzero, hT]
· simp [hT]
· have hnnonzero : scan.num_digits != 0#usize := by
simp only [bne_iff_ne]
intro hz
have hlenzero : C.length = 0 := by simpa [hz] using hcount.symm
exact hC (List.eq_nil_of_length_eq_zero hlenzero)
have hsubbound : zeros.val <= scan.num_digits.val := by omega
obtain ⟨kept, hkept, hkeptval⟩ := WP.spec_imp_exists
(UScalar.sub_spec (x := scan.num_digits) (y := zeros) hsubbound)
have hkeptlen : kept.val = T.length := by omega
by_cases hlarge : 768 < T.length
· have hcap : kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS := by
simpa [UScalar.lt_equiv,
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS.eq_def,
hkeptlen] using hlarge
refine ⟨num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS,
true, ?_, ?_, ?_⟩
· simp only [selected, hnnonzero, if_true, hconsumed, bind_tc_ok,
hzeros hC, hkept, hcap]
· simp [num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS.eq_def]
omega
· simp [hlarge]
· have hcap : ¬ kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS := by
simpa [UScalar.lt_equiv,
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS.eq_def,
hkeptlen] using hlarge
refine ⟨kept, false, ?_, ?_, ?_⟩
· simp only [selected, hnnonzero, if_true, hconsumed, bind_tc_ok,
hzeros hC, hkept, hcap, if_false, hflag]
· rw [hkeptlen, Nat.min_eq_left (by omega)]
· simp [hlarge]
obtain ⟨r, flag, hselect, hr, hflagout⟩ := hselected
obtain ⟨point, hpoint, hpointval⟩ := P9_T1_FinalPointExact scan.num_digits f e hn hf
obtain ⟨out, hfill, hprefix, hcells, houtdigits⟩ :=
P495_T1_FillExact r scan.digits
have hrT : r.val <= T.length := by rw [hr]; exact Nat.min_le_left _ _
have hr768 : r.val <= 768 := by rw [hr]; exact Nat.min_le_right _ _
have hrC : r.val <= C.length := by omega
have hrstored : r.val <= min C.length 768 := le_min hrC hr768
have hstoredr : (scan.digits.val.take r.val).map (fun b => b.val) = C.take r.val := by
have ht := congrArg (fun xs : List Nat => xs.take r.val) hstored
simpa only [← List.map_take, List.take_take, Nat.min_eq_left hrstored] using ht
have hCT : C.take r.val = T.take r.val := by
rw [hsplit, List.take_append_of_le_length hrT]
let d : num.imp.dec2flt.decimal_seq.DecimalSeq :=
{ num_digits := r, decimal_point := point, truncated := flag, digits := out }
refine ⟨d, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
· simp only [selected] at hselect
simp only [hselect, bind_tc_ok, hpoint]
change (do
let a <- num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop1
{ start := r, «end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
scan.digits
ok { num_digits := r, decimal_point := point, truncated := flag, digits := a }) = ok d
simp only [hfill, bind_tc_ok]
rfl
· exact hpoint
· simpa only [d, hcount] using hpointval
· exact hr
· change (out.val.take r.val).map (fun b => b.val) = T.take r.val
rw [hprefix, hstoredr, hCT]
· exact hflagout
· exact hprefix
· exact hcells
· exact houtdigits hdigits
end dec2flt_model
Download Lean source · Download TeX source
Complete Lean module
import Tablet.P495_T1_FillExact
import Tablet.P9_T1_FinalPointExact
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: P495_T1_FinalizationExact]
theorem P495_T1_FinalizationExact (start rest : Slice Std.U8)
(scan : num.imp.dec2flt.decimal_seq.DecimalSeq)
(f : Std.Usize) (e : Std.I64) (consumed zeros : Std.Usize)
(C T : List Nat)
(hcount : scan.num_digits.val = C.length)
(hn : scan.num_digits.val <= 9223372036854775807)
(hf : f.val <= 9223372036854775807)
(hflag : scan.truncated = false)
(hsplit : C = T ++ List.replicate zeros.val 0)
(hconsumed : Slice.len start - Slice.len rest = ok consumed)
(hzeros : C ≠ [] ->
num.imp.dec2flt.decimal_seq.count_trailing_zeros start consumed = ok zeros)
(hstored : (scan.digits.val.take (min C.length 768)).map (fun b => b.val) =
C.take (min C.length 768))
(hdigits : forall b, b ∈ scan.digits.val -> b.val < 10) :
let finish : Result num.imp.dec2flt.decimal_seq.DecimalSeq := do
let (r, flag) <-
if scan.num_digits != 0#usize then do
let consumed <- Slice.len start - Slice.len rest
let zeros <- num.imp.dec2flt.decimal_seq.count_trailing_zeros start consumed
let kept <- scan.num_digits - zeros
if kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS then
ok (num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS, true)
else ok (kept, scan.truncated)
else ok (scan.num_digits, scan.truncated)
let point <- num.imp.dec2flt.decimal_seq.final_decimal_point scan.num_digits f e
let a <- num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop1
{ start := r, «end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
scan.digits
ok { num_digits := r, decimal_point := point, truncated := flag, digits := a }
exists d : num.imp.dec2flt.decimal_seq.DecimalSeq,
finish = ok d /\
num.imp.dec2flt.decimal_seq.final_decimal_point scan.num_digits f e =
ok d.decimal_point /\
d.decimal_point.val = (if C.length = 0 then 0 else
max (-2047) (min 2047 ((C.length : Int) - f.val + e.val))) /\
d.num_digits.val = min T.length 768 /\
(d.digits.val.take d.num_digits.val).map (fun b => b.val) =
T.take d.num_digits.val /\
(d.truncated = true <-> 768 < T.length) /\
d.digits.val.take d.num_digits.val = scan.digits.val.take d.num_digits.val /\
(forall j, j < 768 -> d.digits.val[j]? =
if d.num_digits.val <= j /\ j < 19 then some 0#u8 else scan.digits.val[j]?) /\
(forall b, b ∈ d.digits.val -> b.val < 10) := by
-- BODY
dsimp only
have hlength : C.length = T.length + zeros.val := by
simpa using congrArg List.length hsplit
let selected : Result (Std.Usize × Bool) := do
if scan.num_digits != 0#usize then do
let consumed <- Slice.len start - Slice.len rest
let zeros <- num.imp.dec2flt.decimal_seq.count_trailing_zeros start consumed
let kept <- scan.num_digits - zeros
if kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS then
ok (num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS, true)
else ok (kept, scan.truncated)
else ok (scan.num_digits, scan.truncated)
have hselected : exists (r : Std.Usize) (flag : Bool),
selected = ok (r, flag) /\
r.val = min T.length 768 /\
(flag = true <-> 768 < T.length) := by
by_cases hC : C = []
· have hT : T.length = 0 := by
have hsum : T.length + zeros.val = 0 := by
simpa only [hC, List.length_nil] using hlength.symm
omega
have hnzero : scan.num_digits = 0#usize :=
UScalar.eq_of_val_eq (by simpa [hC] using hcount)
refine ⟨scan.num_digits, false, ?_, ?_, ?_⟩
· simp [selected, hnzero, hflag]
· simp [hnzero, hT]
· simp [hT]
· have hnnonzero : scan.num_digits != 0#usize := by
simp only [bne_iff_ne]
intro hz
have hlenzero : C.length = 0 := by simpa [hz] using hcount.symm
exact hC (List.eq_nil_of_length_eq_zero hlenzero)
have hsubbound : zeros.val <= scan.num_digits.val := by omega
obtain ⟨kept, hkept, hkeptval⟩ := WP.spec_imp_exists
(UScalar.sub_spec (x := scan.num_digits) (y := zeros) hsubbound)
have hkeptlen : kept.val = T.length := by omega
by_cases hlarge : 768 < T.length
· have hcap : kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS := by
simpa [UScalar.lt_equiv,
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS.eq_def,
hkeptlen] using hlarge
refine ⟨num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS,
true, ?_, ?_, ?_⟩
· simp only [selected, hnnonzero, if_true, hconsumed, bind_tc_ok,
hzeros hC, hkept, hcap]
· simp [num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS.eq_def]
omega
· simp [hlarge]
· have hcap : ¬ kept > num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS := by
simpa [UScalar.lt_equiv,
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS.eq_def,
hkeptlen] using hlarge
refine ⟨kept, false, ?_, ?_, ?_⟩
· simp only [selected, hnnonzero, if_true, hconsumed, bind_tc_ok,
hzeros hC, hkept, hcap, if_false, hflag]
· rw [hkeptlen, Nat.min_eq_left (by omega)]
· simp [hlarge]
obtain ⟨r, flag, hselect, hr, hflagout⟩ := hselected
obtain ⟨point, hpoint, hpointval⟩ := P9_T1_FinalPointExact scan.num_digits f e hn hf
obtain ⟨out, hfill, hprefix, hcells, houtdigits⟩ :=
P495_T1_FillExact r scan.digits
have hrT : r.val <= T.length := by rw [hr]; exact Nat.min_le_left _ _
have hr768 : r.val <= 768 := by rw [hr]; exact Nat.min_le_right _ _
have hrC : r.val <= C.length := by omega
have hrstored : r.val <= min C.length 768 := le_min hrC hr768
have hstoredr : (scan.digits.val.take r.val).map (fun b => b.val) = C.take r.val := by
have ht := congrArg (fun xs : List Nat => xs.take r.val) hstored
simpa only [← List.map_take, List.take_take, Nat.min_eq_left hrstored] using ht
have hCT : C.take r.val = T.take r.val := by
rw [hsplit, List.take_append_of_le_length hrT]
let d : num.imp.dec2flt.decimal_seq.DecimalSeq :=
{ num_digits := r, decimal_point := point, truncated := flag, digits := out }
refine ⟨d, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
· simp only [selected] at hselect
simp only [hselect, bind_tc_ok, hpoint]
change (do
let a <- num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop1
{ start := r, «end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
scan.digits
ok { num_digits := r, decimal_point := point, truncated := flag, digits := a }) = ok d
simp only [hfill, bind_tc_ok]
rfl
· exact hpoint
· simpa only [d, hcount] using hpointval
· exact hr
· change (out.val.take r.val).map (fun b => b.val) = T.take r.val
rw [hprefix, hstoredr, hCT]
· exact hflagout
· exact hprefix
· exact hcells
· exact houtdigits hdigits
end dec2flt_model
Proof structure
Follow the declared dependencies to read the supporting statements and proofs.
Inspect related source (79)
- final_decimal_point · dec2flt/decimal_seq.rs:269 Program Rust
- DECIMAL_POINT_RANGE · dec2flt/decimal_seq.rs:68 Program Rust
- parse_decimal_seq · dec2flt/decimal_seq.rs:288 Program Rust
More program dependencies (46)
- parse_decimal_seq_loop0 · dec2flt/decimal_seq.rs:296 Program Rust
- body · dec2flt/decimal_seq.rs:296 Program Rust
- parse_decimal_seq_loop1 · dec2flt/decimal_seq.rs:368 Program Rust
- body · dec2flt/decimal_seq.rs:368 Program Rust
- parse_decimal_seq_loop2 · dec2flt/decimal_seq.rs:309 Program Rust
- body · dec2flt/decimal_seq.rs:309 Program Rust
- parse_decimal_seq_loop3 · dec2flt/decimal_seq.rs:313 Program Rust
- body · dec2flt/decimal_seq.rs:313 Program Rust
- parse_decimal_seq_loop4 · dec2flt/decimal_seq.rs:368 Program Rust
- body · dec2flt/decimal_seq.rs:368 Program Rust
- parse_decimal_seq_loop5 · dec2flt/decimal_seq.rs:313 Program Rust
- body · dec2flt/decimal_seq.rs:313 Program Rust
- parse_decimal_seq_loop6 · dec2flt/decimal_seq.rs:368 Program Rust
- body · dec2flt/decimal_seq.rs:368 Program Rust
- parse_decimal_seq_loop7 · dec2flt/decimal_seq.rs:368 Program Rust
- body · dec2flt/decimal_seq.rs:368 Program Rust
- from_u64 · dec2flt/mod.rs:263 Program Rust
- read_u64 · dec2flt/common.rs:22 Program Rust
- write_u64 · dec2flt/common.rs:29 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
- is_8digits · dec2flt/common.rs:44 Program Rust
- Decimal · dec2flt/decimal.rs:32 Program Rust
- DecimalSeq · dec2flt/decimal_seq.rs:22 Program Rust
- default · dec2flt/decimal_seq.rs:34 Program Rust
- MAX_DIGITS · dec2flt/decimal_seq.rs:64 Program Rust
- MAX_DIGITS_WITHOUT_OVERFLOW · dec2flt/decimal_seq.rs:67 Program Rust
- count_trailing_zeros · dec2flt/decimal_seq.rs:236 Program Rust
- count_trailing_zeros_loop · dec2flt/decimal_seq.rs:240 Program Rust
- body · dec2flt/decimal_seq.rs:240 Program Rust
- parse_digits_into_seq · dec2flt/decimal_seq.rs:257 Program Rust
- parse_digits_into_seq_loop · dec2flt/decimal_seq.rs:259 Program Rust
- body · dec2flt/decimal_seq.rs:259 Program Rust
- parse_scientific · dec2flt/parse.rs:121 Program Rust
- parse_scientific_loop · dec2flt/parse.rs:145 Program Rust
- body · dec2flt/parse.rs:145 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
- try_add_digit · dec2flt/decimal_seq.rs:74 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
- Dec2Flt.P340_T1_selected_target_numBits
- 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
All 47 entries
- Binary64Model
- Binary64ModelDefault
- F64
- ModelF64Classify
- ModelF64Clone
- ModelF64Div
- ModelF64ExponentMask
- ModelF64FromBits
- ModelF64FromU64
- ModelF64Infinity
- ModelF64MantissaDigits
- ModelF64MantissaMask
- ModelF64Mul
- ModelF64Nan
- ModelF64Neg
- ModelF64NegInfinity
- ModelF64ToBits
- ModelOptionBranch
- ModelOptionFromResidual
- ModelSliceFirst
- ModelSliceSplitFirst
- ModelStrAsBytes
- ModelU64BitAnd
- ModelU64BitOr
- ModelU64Shl
- ModelU64Shr
- ModelU8IsAsciiDigit
- FillExact
- FinalizationExact
- FinalPointArithmetic
- FinalPointExact
- Preamble
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice read u64
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice write u64
- core num FpCategory
- num imp dec2flt common is 8digits
- num imp dec2flt decimal seq DecimalSeq
- num imp dec2flt decimal seq DecimalSeq DECIMAL POINT RANGE
- num imp dec2flt decimal seq DecimalSeq Insts CoreDefaultDefault default
- num imp dec2flt decimal seq DecimalSeq MAX DIGITS
- num imp dec2flt decimal seq DecimalSeq MAX DIGITS WITHOUT OVERFLOW
- num imp dec2flt decimal seq DecimalSeq try add digit
- num imp dec2flt decimal seq count trailing zeros
- num imp dec2flt decimal seq final decimal point
- num imp dec2flt decimal seq parse decimal seq
- num imp dec2flt decimal seq parse digits into seq
- num imp dec2flt parse parse scientific
Technical checking records
Local closure summary
{
"node": "P495_T1_FinalizationExact",
"closure_version": "patch_c_v1",
"active_decl_hash": "a35ea7343312f97179d0b8546d7075915da089b51aad5f6c275e21478e84c8fc",
"active_statement_hash": "735e65c62c90560163df9f99e853fb97499e9786fbcae85a15f54bc7ff06abcd",
"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": {
"P495_T1_FillExact": "68ceb8da9a285852",
"P9_T1_FinalPointExact": "00b8def1a58eb426",
"num_imp_dec2flt_decimal_seq_DecimalSeq_MAX_DIGITS": "0eb6fb2627d0ff5c"
},
"strict_definition_deps": {
"num_imp_dec2flt_decimal_seq_DecimalSeq": "b0286c42454b158d",
"num_imp_dec2flt_decimal_seq_DecimalSeq_MAX_DIGITS": "39f6cb231ef80388",
"num_imp_dec2flt_decimal_seq_DecimalSeq_MAX_DIGITS_WITHOUT_OVERFLOW": "65634ac95536dcca",
"num_imp_dec2flt_decimal_seq_count_trailing_zeros": "7a77bc9e01c1a09b",
"num_imp_dec2flt_decimal_seq_final_decimal_point": "4f8088dec06d629a",
"num_imp_dec2flt_decimal_seq_parse_decimal_seq": "9f2c4f5675cad683"
}
}Prose assessment
{
"label": "Recorded Sound: VerifierPass",
"assessment_status": "VerifierPass",
"fingerprint_relation": "matches current fingerprint",
"assessment_fingerprint": "sound-v2:9c761741c7bc52f01f2b07ff578429538f44dabc98ac448aab9b1caf140466bf",
"current_fingerprint": "sound-v2:9c761741c7bc52f01f2b07ff578429538f44dabc98ac448aab9b1caf140466bf",
"superseded_for_theorem_closure": false
}Review verdicts
{
"corr_status": "Pass",
"sound_status": "Pass",
"substantiveness_status": "Pass"
}