Statement
This explanation was written alongside the formalization to describe the statement and its reasoning.
Lemma · All-zero integer state with an exponent
SourceValidByteSlice and its natural
byte values are
Lean statement
Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.
import Tablet.DecimalDigitTrimDecomposition
import Tablet.DecimalSeqDuplicateLoops
import Tablet.DecimalSeqExponentEval
import Tablet.DecimalSeqExponentSuffixExact
import Tablet.DecimalSeqFillPrefixPreserved
import Tablet.DecimalSeqLeadingZeroLoopExact
import Tablet.DecimalSeqScalarScanExact
import Tablet.DecimalGoalVocabularyDefault
import Tablet.SourceValidByteSlice
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
set_option maxHeartbeats 2000000
set_option maxRecDepth 10000
namespace dec2flt_model
-- [TABLET NODE: DecimalSeqIntegerExponentZeroState]
theorem DecimalSeqIntegerExponentZeroState (s : Slice Std.U8) (I : List Nat)
(upper : Bool) (sign : Option Bool) (expDigits : List Nat)
(d : num.imp.dec2flt.decimal_seq.DecimalSeq)
(hsource : SourceValidByteSlice s)
(hIdigits : forall z, z ∈ I -> z < 10)
(hExpNe : expDigits ≠ [])
(hExpDigits : forall z, z ∈ expDigits -> z < 10)
(hSigZero : I.dropWhile (fun digit => digit == 0) = [])
(hbytes : s.val.map (fun b => b.val) =
I.map (fun z => 48 + z) ++
(if upper then 69 else 101) ::
(match sign with
| none => []
| some negative => [if negative then 45 else 43]) ++
expDigits.map (fun z => 48 + z))
(hparse : num.imp.dec2flt.decimal_seq.parse_decimal_seq s = ok d) :
let significant := I.dropWhile (fun digit => digit == 0)
let trimmed :=
(significant.reverse.dropWhile (fun digit => digit == 0)).reverse
let E : Int :=
let n : Nat := expDigits.foldl
(fun n digit => if n < 65536 then 10 * n + digit else n) 0
match sign with | some true => -(n : Int) | _ => (n : Int)
(d.num_digits.val = min trimmed.length 768 /\
(d.digits.val.take d.num_digits.val).map (fun z => z.val) =
trimmed.take d.num_digits.val /\
(d.truncated = true <-> 768 < trimmed.length)) /\
exists k : Int,
d.decimal_point.val = (significant.length : Int) + E +
k * 4294967296 := 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
let tail :=
(if upper then 69 else 101) ::
(match sign with
| none => []
| some negative => [if negative then 45 else 43]) ++
expDigits.map (fun z => 48 + z)
let E : Int :=
let n : Nat := expDigits.foldl
(fun n digit => if n < 65536 then 10 * n + digit else n) 0
match sign with | some true => -(n : Int) | _ => (n : Int)
change (_ /\ _ /\ _) /\ exists k : Int,
d.decimal_point.val =
(I.dropWhile (fun digit => digit == 0)).length + E +
k * 4294967296
obtain ⟨z, q, hz, hq, hI, hsig, hsigstop, htrimstop⟩ :=
DecimalDigitTrimDecomposition I
have hIzeros : I = List.replicate z 0 := by
simpa [hSigZero] using hI
have hbytesLead : s.val.map (fun b => b.val) =
List.replicate z 48 ++ tail := by
rw [hbytes, hIzeros]
simp [tail]
have htailStop : tail[0]? ≠ some 48 := by
cases upper <;> simp [tail]
obtain ⟨s1, hlead, hs1⟩ := DecimalSeqLeadingZeroLoopExact s z tail
hbytesLead (Or.inr htailStop)
let d0 : num.imp.dec2flt.decimal_seq.DecimalSeq := {
num_digits := 0#usize
decimal_point := 0#i32
truncated := false
digits := Array.repeat 768#usize 0#u8 }
obtain ⟨rest, d1, hscan, hrest, hd1count, hd1point, hd1trunc,
hd1old, hd1written, hd1outside⟩ :=
DecimalSeqScalarScanExact s1 d0 [] tail (by simpa using hs1)
(by simp) (by cases upper <;> simp [tail]) (by simp [d0])
have hrestTail : rest.val.map (fun b => b.val) = tail := hrest
have hrestNe : rest.val ≠ [] := by
intro hr
have hh := congrArg List.length hrestTail
simp [tail, hr] at hh
have hd10 : d1.num_digits = 0#usize := by
apply UScalar.eq_of_val_eq
simpa [d0] using hd1count
have hpoint0 : d1.decimal_point = 0#i32 := by
simpa [d0] using hd1point
have hmarkerIndex : Slice.index_usize rest 0#usize =
ok (if upper then 69#u8 else 101#u8) := by
cases hr : rest.val with
| nil => exact (hrestNe hr).elim
| cons b bs =>
have hbval : b.val = if upper then 69 else 101 := by
have hh := congrArg List.head? hrestTail
simp [hr, tail] at hh
exact hh
have hb : b = if upper then 69#u8 else 101#u8 := by
cases upper <;> apply UScalar.eq_of_val_eq <;> simpa using hbval
simp [Slice.index_usize, hr, hb]
have hmarkerNe : (if upper then 69#u8 else 101#u8) ≠ 46#u8 := by
cases upper <;> decide
obtain ⟨afill, hfill, hpref⟩ :=
DecimalSeqFillPrefixPreserved 0#usize d1.digits
have hfill7 :
num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop7
{ start := 0#usize,
«end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
d1.digits = ok afill := by
rw [DecimalSeqDuplicateLoops.2.2.2.2]
exact hfill
obtain ⟨signed, hsignedVal, hsuffixEval⟩ :=
DecimalSeqExponentSuffixExact rest upper sign expDigits
(by
unfold SourceValidByteSlice at hsource ⊢
have hslen := congrArg List.length hbytesLead
have hrlen := congrArg List.length hrestTail
simp [tail] at hslen hrlen
omega)
hExpNe hExpDigits (by simpa [tail] using hrestTail)
have hsignedE : signed.val = E := by
cases sign with
| none => dsimp only [E]; exact hsignedVal
| some negative =>
cases negative <;> dsimp only [E] <;> exact hsignedVal
have hsuffixValue : forall base result,
DecimalSeqExponentEval rest base = ok result ->
result.val = base.val + E := by
intro base result heval
rw [show DecimalSeqExponentEval rest base = base + signed by
simpa [DecimalSeqExponentEval, core.slice.Slice.is_empty, hrestNe]
using hsuffixEval base] at heval
have hadd := IScalar.add_equiv base signed
rw [heval] at hadd
rw [hadd.2.1, hsignedE]
unfold num.imp.dec2flt.decimal_seq.parse_decimal_seq at hparse
rw [show num.imp.dec2flt.decimal_seq.DecimalSeq.Insts.CoreDefaultDefault.default =
ok d0 by rfl] at hparse
simp only [bind_tc_ok] at hparse
rw [hlead] at hparse
simp only [bind_tc_ok] at hparse
rw [hscan] at hparse
simp only [bind_tc_ok] at hparse
have hcore :
(do
let finalPoint <- DecimalSeqExponentEval rest d1.decimal_point
let a <- num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop7
{ start := 0#usize,
«end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
d1.digits
ok (num.imp.dec2flt.decimal_seq.DecimalSeq.mk
0#usize finalPoint d1.truncated a)) = ok d := by
cases upper <;>
simpa [core.slice.Slice.is_empty, hrestNe, hmarkerIndex, hmarkerNe,
hd10, DecimalSeqExponentEval] using hparse
cases he : DecimalSeqExponentEval rest d1.decimal_point with
| fail err => rw [he] at hcore; simp at hcore
| div => rw [he] at hcore; simp at hcore
| ok finalPoint =>
have hpointVal : finalPoint.val = E := by
have hh := hsuffixValue d1.decimal_point finalPoint he
rw [hpoint0] at hh
simpa using hh
rw [he] at hcore
simp only [bind_tc_ok] at hcore
rw [hfill7] at hcore
simp at hcore
subst d
refine ⟨?_, ?_⟩
· constructor
· simp [hSigZero]
constructor
· simp [hSigZero]
· simp [hSigZero, d0, hd1trunc]
· refine ⟨0, ?_⟩
simp [hSigZero, hpointVal]
end dec2flt_model
Download Lean source · Download TeX source
Complete Lean module
import Tablet.DecimalDigitTrimDecomposition
import Tablet.DecimalSeqDuplicateLoops
import Tablet.DecimalSeqExponentEval
import Tablet.DecimalSeqExponentSuffixExact
import Tablet.DecimalSeqFillPrefixPreserved
import Tablet.DecimalSeqLeadingZeroLoopExact
import Tablet.DecimalSeqScalarScanExact
import Tablet.DecimalGoalVocabularyDefault
import Tablet.SourceValidByteSlice
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
set_option maxHeartbeats 2000000
set_option maxRecDepth 10000
namespace dec2flt_model
-- [TABLET NODE: DecimalSeqIntegerExponentZeroState]
theorem DecimalSeqIntegerExponentZeroState (s : Slice Std.U8) (I : List Nat)
(upper : Bool) (sign : Option Bool) (expDigits : List Nat)
(d : num.imp.dec2flt.decimal_seq.DecimalSeq)
(hsource : SourceValidByteSlice s)
(hIdigits : forall z, z ∈ I -> z < 10)
(hExpNe : expDigits ≠ [])
(hExpDigits : forall z, z ∈ expDigits -> z < 10)
(hSigZero : I.dropWhile (fun digit => digit == 0) = [])
(hbytes : s.val.map (fun b => b.val) =
I.map (fun z => 48 + z) ++
(if upper then 69 else 101) ::
(match sign with
| none => []
| some negative => [if negative then 45 else 43]) ++
expDigits.map (fun z => 48 + z))
(hparse : num.imp.dec2flt.decimal_seq.parse_decimal_seq s = ok d) :
let significant := I.dropWhile (fun digit => digit == 0)
let trimmed :=
(significant.reverse.dropWhile (fun digit => digit == 0)).reverse
let E : Int :=
let n : Nat := expDigits.foldl
(fun n digit => if n < 65536 then 10 * n + digit else n) 0
match sign with | some true => -(n : Int) | _ => (n : Int)
(d.num_digits.val = min trimmed.length 768 /\
(d.digits.val.take d.num_digits.val).map (fun z => z.val) =
trimmed.take d.num_digits.val /\
(d.truncated = true <-> 768 < trimmed.length)) /\
exists k : Int,
d.decimal_point.val = (significant.length : Int) + E +
k * 4294967296 := by
-- BODY
dsimp only
let tail :=
(if upper then 69 else 101) ::
(match sign with
| none => []
| some negative => [if negative then 45 else 43]) ++
expDigits.map (fun z => 48 + z)
let E : Int :=
let n : Nat := expDigits.foldl
(fun n digit => if n < 65536 then 10 * n + digit else n) 0
match sign with | some true => -(n : Int) | _ => (n : Int)
change (_ /\ _ /\ _) /\ exists k : Int,
d.decimal_point.val =
(I.dropWhile (fun digit => digit == 0)).length + E +
k * 4294967296
obtain ⟨z, q, hz, hq, hI, hsig, hsigstop, htrimstop⟩ :=
DecimalDigitTrimDecomposition I
have hIzeros : I = List.replicate z 0 := by
simpa [hSigZero] using hI
have hbytesLead : s.val.map (fun b => b.val) =
List.replicate z 48 ++ tail := by
rw [hbytes, hIzeros]
simp [tail]
have htailStop : tail[0]? ≠ some 48 := by
cases upper <;> simp [tail]
obtain ⟨s1, hlead, hs1⟩ := DecimalSeqLeadingZeroLoopExact s z tail
hbytesLead (Or.inr htailStop)
let d0 : num.imp.dec2flt.decimal_seq.DecimalSeq := {
num_digits := 0#usize
decimal_point := 0#i32
truncated := false
digits := Array.repeat 768#usize 0#u8 }
obtain ⟨rest, d1, hscan, hrest, hd1count, hd1point, hd1trunc,
hd1old, hd1written, hd1outside⟩ :=
DecimalSeqScalarScanExact s1 d0 [] tail (by simpa using hs1)
(by simp) (by cases upper <;> simp [tail]) (by simp [d0])
have hrestTail : rest.val.map (fun b => b.val) = tail := hrest
have hrestNe : rest.val ≠ [] := by
intro hr
have hh := congrArg List.length hrestTail
simp [tail, hr] at hh
have hd10 : d1.num_digits = 0#usize := by
apply UScalar.eq_of_val_eq
simpa [d0] using hd1count
have hpoint0 : d1.decimal_point = 0#i32 := by
simpa [d0] using hd1point
have hmarkerIndex : Slice.index_usize rest 0#usize =
ok (if upper then 69#u8 else 101#u8) := by
cases hr : rest.val with
| nil => exact (hrestNe hr).elim
| cons b bs =>
have hbval : b.val = if upper then 69 else 101 := by
have hh := congrArg List.head? hrestTail
simp [hr, tail] at hh
exact hh
have hb : b = if upper then 69#u8 else 101#u8 := by
cases upper <;> apply UScalar.eq_of_val_eq <;> simpa using hbval
simp [Slice.index_usize, hr, hb]
have hmarkerNe : (if upper then 69#u8 else 101#u8) ≠ 46#u8 := by
cases upper <;> decide
obtain ⟨afill, hfill, hpref⟩ :=
DecimalSeqFillPrefixPreserved 0#usize d1.digits
have hfill7 :
num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop7
{ start := 0#usize,
«end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
d1.digits = ok afill := by
rw [DecimalSeqDuplicateLoops.2.2.2.2]
exact hfill
obtain ⟨signed, hsignedVal, hsuffixEval⟩ :=
DecimalSeqExponentSuffixExact rest upper sign expDigits
(by
unfold SourceValidByteSlice at hsource ⊢
have hslen := congrArg List.length hbytesLead
have hrlen := congrArg List.length hrestTail
simp [tail] at hslen hrlen
omega)
hExpNe hExpDigits (by simpa [tail] using hrestTail)
have hsignedE : signed.val = E := by
cases sign with
| none => dsimp only [E]; exact hsignedVal
| some negative =>
cases negative <;> dsimp only [E] <;> exact hsignedVal
have hsuffixValue : forall base result,
DecimalSeqExponentEval rest base = ok result ->
result.val = base.val + E := by
intro base result heval
rw [show DecimalSeqExponentEval rest base = base + signed by
simpa [DecimalSeqExponentEval, core.slice.Slice.is_empty, hrestNe]
using hsuffixEval base] at heval
have hadd := IScalar.add_equiv base signed
rw [heval] at hadd
rw [hadd.2.1, hsignedE]
unfold num.imp.dec2flt.decimal_seq.parse_decimal_seq at hparse
rw [show num.imp.dec2flt.decimal_seq.DecimalSeq.Insts.CoreDefaultDefault.default =
ok d0 by rfl] at hparse
simp only [bind_tc_ok] at hparse
rw [hlead] at hparse
simp only [bind_tc_ok] at hparse
rw [hscan] at hparse
simp only [bind_tc_ok] at hparse
have hcore :
(do
let finalPoint <- DecimalSeqExponentEval rest d1.decimal_point
let a <- num.imp.dec2flt.decimal_seq.parse_decimal_seq_loop7
{ start := 0#usize,
«end» :=
num.imp.dec2flt.decimal_seq.DecimalSeq.MAX_DIGITS_WITHOUT_OVERFLOW }
d1.digits
ok (num.imp.dec2flt.decimal_seq.DecimalSeq.mk
0#usize finalPoint d1.truncated a)) = ok d := by
cases upper <;>
simpa [core.slice.Slice.is_empty, hrestNe, hmarkerIndex, hmarkerNe,
hd10, DecimalSeqExponentEval] using hparse
cases he : DecimalSeqExponentEval rest d1.decimal_point with
| fail err => rw [he] at hcore; simp at hcore
| div => rw [he] at hcore; simp at hcore
| ok finalPoint =>
have hpointVal : finalPoint.val = E := by
have hh := hsuffixValue d1.decimal_point finalPoint he
rw [hpoint0] at hh
simpa using hh
rw [he] at hcore
simp only [bind_tc_ok] at hcore
rw [hfill7] at hcore
simp at hcore
subst d
refine ⟨?_, ?_⟩
· constructor
· simp [hSigZero]
constructor
· simp [hSigZero]
· simp [hSigZero, d0, hd1trunc]
· refine ⟨0, ?_⟩
simp [hSigZero, hpointVal]
end dec2flt_model
Proof structure
Follow the declared dependencies to read the supporting statements and proofs.
Uses
Used by
Inspect related source (77)
- parse_decimal_seq · dec2flt/decimal_seq.rs:283 Program Rust
- parse_decimal_seq_loop0 · dec2flt/decimal_seq.rs:290 Program Rust
- body · dec2flt/decimal_seq.rs:290 Program Rust
More program dependencies (44)
- parse_decimal_seq_loop1 · dec2flt/decimal_seq.rs:361 Program Rust
- body · dec2flt/decimal_seq.rs:361 Program Rust
- parse_decimal_seq_loop2 · dec2flt/decimal_seq.rs:303 Program Rust
- body · dec2flt/decimal_seq.rs:303 Program Rust
- parse_decimal_seq_loop3 · dec2flt/decimal_seq.rs:307 Program Rust
- body · dec2flt/decimal_seq.rs:307 Program Rust
- parse_decimal_seq_loop4 · dec2flt/decimal_seq.rs:361 Program Rust
- body · dec2flt/decimal_seq.rs:361 Program Rust
- parse_decimal_seq_loop5 · dec2flt/decimal_seq.rs:307 Program Rust
- body · dec2flt/decimal_seq.rs:307 Program Rust
- parse_decimal_seq_loop6 · dec2flt/decimal_seq.rs:361 Program Rust
- body · dec2flt/decimal_seq.rs:361 Program Rust
- parse_decimal_seq_loop7 · dec2flt/decimal_seq.rs:361 Program Rust
- body · dec2flt/decimal_seq.rs:361 Program Rust
- parse_digits_into_seq · dec2flt/decimal_seq.rs:256 Program Rust
- parse_digits_into_seq_loop · dec2flt/decimal_seq.rs:258 Program Rust
- body · dec2flt/decimal_seq.rs:258 Program Rust
- from_u64 · dec2flt/mod.rs:263 Program Rust
- read_u64 · dec2flt/common.rs:18 Program Rust
- write_u64 · dec2flt/common.rs:25 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:52 Program Rust
- ByteSlice · dec2flt/common.rs:4 Program Rust
- is_8digits · dec2flt/common.rs:40 Program Rust
- Decimal · dec2flt/decimal.rs:32 Program Rust
- DecimalSeq · dec2flt/decimal_seq.rs:21 Program Rust
- default · dec2flt/decimal_seq.rs:33 Program Rust
- MAX_DIGITS · dec2flt/decimal_seq.rs:63 Program Rust
- MAX_DIGITS_WITHOUT_OVERFLOW · dec2flt/decimal_seq.rs:66 Program Rust
- try_add_digit · dec2flt/decimal_seq.rs:73 Program Rust
- count_trailing_zeros · dec2flt/decimal_seq.rs:235 Program Rust
- count_trailing_zeros_loop · dec2flt/decimal_seq.rs:239 Program Rust
- body · dec2flt/decimal_seq.rs:239 Program Rust
- parse_decimal_exponent · dec2flt/decimal_seq.rs:269 Program Rust
- parse_decimal_exponent_loop · dec2flt/decimal_seq.rs:272 Program Rust
- body · dec2flt/decimal_seq.rs:272 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
- Dec2Flt.configured_x86_64_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
- DecimalDigitTrimDecomposition
- DecimalGoalVocabulary
- DecimalGoalVocabularyDefault
- DecimalLexeme
- DecimalSeqDuplicateLoops
- DecimalSeqExponentEval
All 29 entries
- DecimalDigitTrimDecomposition
- DecimalGoalVocabulary
- DecimalGoalVocabularyDefault
- DecimalLexeme
- DecimalSeqDuplicateLoops
- DecimalSeqExponentEval
- DecimalSeqExponentLoopExact
- DecimalSeqExponentSuffixExact
- DecimalSeqFillPrefixPreserved
- DecimalSeqIntegerExponentZeroState
- DecimalSeqLeadingZeroLoopExact
- DecimalSeqPrimitiveSemantics
- DecimalSeqScalarScanExact
- F64
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice read u64
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice write u64
- SourceValidByteSlice
- num imp dec2flt common BiasedFp
- num imp dec2flt common is 8digits
- num imp dec2flt decimal Decimal
- num imp dec2flt decimal seq DecimalSeq
- 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 parse decimal exponent
- num imp dec2flt decimal seq parse decimal seq
- num imp dec2flt decimal seq parse digits into seq
Technical checking records
Local closure summary
{
"node": "DecimalSeqIntegerExponentZeroState",
"closure_version": "patch_c_v1",
"active_decl_hash": "9b437a73e23de8f6cd8bea2f2c176259fcaf3ad74ad2a7b29e698b67cd7440a6",
"active_statement_hash": "010ee916dea53a89b0c714291dbde06b5ebc8d40d1d07edea5f2ddb7b328b7a6",
"kernel_axioms": [
"Classical.choice",
"Quot.sound",
"propext"
],
"toolchain_hash": "ce4c4e3d87434b9663f46de25ce34b48a0cf0d392e0a320a0787b4674a2d7b61",
"lean_executable_hash": "3e0d0d3d801675359f2d4cf9815bfdb417b20b92fdd9d48b3b14c95bbae28bbf",
"checker_script_hash": "c8e4a03273e23b9a8f2e141020652a4e0b7b0a8ab0883366ea9d031ca3f37aa1",
"approved_axioms_hash": "ab64d13f256386ee0e494a5abcc6a5db49512cf3d90bbdfcabd6327793a31f95",
"axcheck_status": "Agreed",
"accepted_at_snapshot_id": "worker-result-local-closure-issuance-cycle-169",
"boundary_theorems": {},
"strict_theorem_deps": {
"DecimalDigitTrimDecomposition": "74d5424585de54f0",
"DecimalSeqDuplicateLoops": "4a7630ac67b4834a",
"DecimalSeqExponentEval": "004e715471c389b8",
"DecimalSeqExponentSuffixExact": "ca308790b38535fe",
"DecimalSeqFillPrefixPreserved": "4eabf1d65bab5e95",
"DecimalSeqLeadingZeroLoopExact": "afa2b1ae59f7e9a8",
"DecimalSeqScalarScanExact": "a9ff88a04accf0ed",
"num_imp_dec2flt_decimal_seq_parse_decimal_seq": "2ae98c902455cf97"
},
"strict_definition_deps": {
"DecimalSeqExponentEval": "b51b6389c17b6c1f",
"DecimalSeqExponentSuffixExact": "6dba2c274558f7e0",
"SourceValidByteSlice": "3dc42716a6378d26",
"num_imp_dec2flt_decimal_seq_DecimalSeq": "b0286c42454b158d",
"num_imp_dec2flt_decimal_seq_DecimalSeq_Insts_CoreDefaultDefault_default": "7b9921904495bc2a",
"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_parse_decimal_exponent": "e22eec67a6a49ff8",
"num_imp_dec2flt_decimal_seq_parse_decimal_seq": "66dce2c574224f01",
"num_imp_dec2flt_decimal_seq_parse_digits_into_seq": "8b2cc3a350f40ce1"
}
}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:cd262fb52a2a117ae88a4da74b018ea213954472d13bd0027c1ca80256228036",
"superseded_for_theorem_closure": false
}Review verdicts
{
"corr_status": "Pass",
"substantiveness_status": "Pass"
}