Statement
This explanation was written alongside the formalization to describe the statement and its reasoning.
Lemma · Exact retained and retry accounting for rendered lexemes
Lean statement
Trellis authored these statements and proofs. Lean checks the formal proofs; the assumptions used by each proof are listed below.
import Tablet.P435_T1_RenderedDigitBlocks
import Tablet.P435_T1_DigitDecoding
import Tablet.P435_T1_SignificandScanA
import Tablet.P367_T1_NumberHelperFractionalRetryA
import Tablet.P367_T1_NumberHelperIntegralRetryA
import Tablet.DecimalGoalVocabularyDefault
import Tablet.P9_T1_ActualDispatchOperations
import Tablet.num_imp_dec2flt_parse_parse_number
import Tablet.num_imp_dec2flt_parse_parse_partial_number
import Tablet.P789_T1_RenderedExponentContinuation
import Tablet.P789_T1_RenderedSignificantBounds
import Tablet.P789_T1_SignificandNonwrapping
import Tablet.P789_T1_PartialNumberBranches
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: P367_T1_NumberHelperRenderedAccountingA]
theorem P367_T1_NumberHelperRenderedAccountingA
(s : Slice Std.U8) (x : DecimalLexeme) (d : num.imp.dec2flt.decimal.Decimal)
(hlen : s.val.length <= 3458764513820540928)
(hsign : x.leadingSign = none)
(hvalid : DecimalGoalVocabularyDefault.validNumeric x)
(hrender : DecimalGoalVocabularyDefault.renderNumeric x =
DecimalGoalVocabularyDefault.bytes s)
(hparse : P9_T1_ActualDispatchOperations.parseNumber s = ok (some d)) :
let digits := x.integerDigits ++
(match x.fractionDigits with | none => [] | some ds => ds)
let fractionCount := match x.fractionDigits with | none => 0 | some ds => ds.length
let explicit := DecimalGoalVocabularyDefault.accumulatedExplicitExponent x
(d.many_digits = false ->
d.mantissa.val = digits.foldl (fun a b => 10 * a + b) 0 /\
d.exponent.val = explicit - (fractionCount : Int)) /\
(d.many_digits = true ->
exists consumed remaining : List Nat,
digits = consumed ++ remaining /\
d.mantissa.val = consumed.foldl (fun a b => 10 * a + b) 0 /\
d.exponent.val = explicit - (fractionCount : Int) +
(remaining.length : Int)) := 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
have hpartial : exists consumed : Std.Usize,
num.imp.dec2flt.parse.parse_partial_number s = ok (some (d, consumed)) := by
change num.imp.dec2flt.parse.parse_number s = ok (some d) at hparse
unfold num.imp.dec2flt.parse.parse_number at hparse
cases hp : num.imp.dec2flt.parse.parse_partial_number s with
| fail e => simp [hp] at hparse
| div => simp [hp] at hparse
| ok result =>
cases result with
| none => simp [hp] at hparse
| some pair =>
rcases pair with ⟨d', consumed⟩
by_cases hc : consumed = s.len
· simp [hp, hc] at hparse
subst d'
exact ⟨consumed, rfl⟩
· simp [hp, hc] at hparse
obtain ⟨consumed, hpartial⟩ := hpartial
obtain ⟨integer, fraction, exponent, hblocks, hi, hf, he, hid, hfd, hed⟩ :=
P435_T1_RenderedDigitBlocks s.val [] x hsign hvalid (by
change s.val.map (fun b => b.val) =
DecimalGoalVocabularyDefault.renderNumeric x ++ [].map (fun b : Std.U8 => b.val)
simpa using hrender.symm)
let tail : List Std.U8 := match x.exponent with
| none => []
| some (upper, sign, _) => (if upper then 69#u8 else 101#u8) ::
(match sign with | none => [] | some neg => [if neg then 45#u8 else 43#u8]) ++ exponent
let point : Bool := x.fractionDigits.isSome
have hshape : s.val = integer ++
(if point then 46#u8 :: (fraction ++ tail) else tail) := by
cases hx : x.fractionDigits <;>
simpa [point, hx, tail, List.append_assoc] using hblocks
have hnoFraction : point = false -> fraction = [] := by
cases hx : x.fractionDigits with
| none => intro _; simpa [hx] using hf
| some ds => simp [point, hx]
have htail : forall b rest, tail = b :: rest -> ¬ (48 <= b.val /\ b.val <= 57) := by
intro b rest h
cases hx : x.exponent with
| none => simp [tail, hx] at h
| some tuple =>
rcases tuple with ⟨upper, sign, ds⟩
have hb : b = (if upper then 69#u8 else 101#u8) := by
simpa [tail, hx] using (congrArg List.head? h).symm
rw [hb]
cases upper <;> norm_num
have hnoPoint : point = false -> forall b rest, tail = b :: rest -> b ≠ 46#u8 := by
intro _ b rest h
cases hx : x.exponent with
| none => simp [tail, hx] at h
| some tuple =>
rcases tuple with ⟨upper, sign, ds⟩
have hb : b = (if upper then 69#u8 else 101#u8) := by
simpa [tail, hx] using (congrArg List.head? h).symm
rw [hb]
cases upper <;> norm_num
obtain ⟨intEnd, sigEnd, intWord, word, intCount, fractionCount, total, base,
hscan, hintEnd, hiOffset, _, hfront, hsigEnd, _, hbase, hadd, htotal⟩ :=
P435_T1_SignificandScanA s integer fraction tail point hshape hnoFraction
hid hfd htail hnoPoint hlen
obtain ⟨hdecodeI, hlengthI, _⟩ :=
(P435_T1_DigitDecoding integer).2 x.integerDigits hi
obtain ⟨hdecodeF, hlengthF, _⟩ :=
(P435_T1_DigitDecoding fraction).2
(match x.fractionDigits with | none => [] | some ds => ds) hf
have hbaseExact : base.val =
-((match x.fractionDigits with | none => 0 | some ds => ds.length) : Int) := by
rw [hbase, hlengthF]
cases x.fractionDigits <;> rfl
have htotalExact : total.val =
((x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds)).length : Int) := by
rw [htotal, hlengthI, hlengthF, List.length_append]
have hdecodeIF : (integer ++ fraction).map (fun b => b.val - 48) =
x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds) := by
simp only [List.map_append, hdecodeI, hdecodeF]
have hfoldIF : (integer ++ fraction).foldl (fun a b => 10 * a + (b.val - 48)) 0 =
(x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds)).foldl
(fun a b => 10 * a + b) 0 := by
rw [← List.foldl_map, hdecodeIF]
have hcountBound : integer.length + fraction.length <= s.val.length := by
rw [hshape]
cases hp : point with
| false => simp [hp, hnoFraction hp]
| true => simp [hp]; omega
have hpositive : 0 < total.val := by
have hv : x.integerDigits ≠ [] ∨
match x.fractionDigits with | none => False | some ds => ds ≠ [] := by
exact (show _ ∧ _ ∧ _ ∧ _ from hvalid).2.2.1
rw [htotalExact]
rcases hv with hv | hv
· have : 0 < x.integerDigits.length := List.length_pos_of_ne_nil hv
simp only [List.length_append, Nat.cast_add]
omega
· cases hx : x.fractionDigits with
| none => simp [hx] at hv
| some ds =>
have : 0 < ds.length := List.length_pos_of_ne_nil (by simpa [hx] using hv)
simp only [hx, List.length_append, Nat.cast_add]
omega
obtain ⟨explicit, hexact, hexpLo, hexpHi, hcontinuation⟩ :=
P789_T1_RenderedExponentContinuation x sigEnd exponent hvalid he hed hsigEnd
have hstop : forall b rest, tail = b :: rest -> b ≠ 48#u8 /\ b ≠ 46#u8 := by
intro b rest ht
cases hx : x.exponent with
| none => simp [tail, hx] at ht
| some tuple =>
rcases tuple with ⟨upper, sign, ds⟩
have hb : b = (if upper then 69#u8 else 101#u8) := by
simpa [tail, hx] using (congrArg List.head? ht).symm
rw [hb]
cases upper <;> norm_num
obtain ⟨_, hretainedBound, hretryBound⟩ :=
P789_T1_RenderedSignificantBounds s integer fraction tail point
hshape hnoFraction hid hfd hstop
have hbaseLo : -3458764513820540928 <= base.val := by
rw [hbase]
omega
have hbaseHi : base.val <= 3458764513820540928 := by rw [hbase]; omega
have hcases := P789_T1_PartialNumberBranches s intEnd sigEnd intWord word
intCount fractionCount total base explicit d consumed hlen hpositive
(by rw [htotal]; exact_mod_cast hcountBound) hbaseLo hbaseHi hexpLo hexpHi
hscan hiOffset hfront hadd hcontinuation hpartial
constructor
· intro hfalse
rcases hcases with hkeep | hretry
· rcases hkeep with ⟨_, hword, hexponent, hsize⟩
have hbound : (integer ++ fraction).foldl (fun a b => 10 * a + (b.val - 48)) 0
< 10^19 := hretainedBound (by simpa only [htotal] using hsize)
have hvalue := P789_T1_SignificandNonwrapping s intEnd sigEnd intWord word
fractionCount base integer fraction tail point hshape hintEnd hnoFraction
hid hfd htail hnoPoint (by omega)
(by rw [U64.max_eq]; norm_num at hbound ⊢; omega) hscan hfront
exact ⟨by rw [hword, hvalue, hfoldIF], by rw [hexponent, hbaseExact, hexact]; omega⟩
· simp [hfalse] at hretry
· intro htrue
rcases hcases with hkeep | hretry
· simp [htrue] at hkeep
· rcases hretry with ⟨_, hpositiveRetry, hretry⟩
have hlarge : 10^19 <=
(integer ++ fraction).foldl (fun a b => 10 * a + (b.val - 48)) 0 :=
hretryBound (by simpa only [htotal] using hpositiveRetry)
have finish : forall (m : Std.U64) (e : Std.I64) (used rest : List Std.U8),
num.imp.dec2flt.parse.parse_many_digits s intEnd explicit = ok (m, e) ->
integer ++ fraction = used ++ rest ->
m.val = used.foldl (fun a b => 10 * a + (b.val - 48)) 0 ->
e.val = explicit.val - (fraction.length : Int) + (rest.length : Int) ->
exists used rest : List Nat,
x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds) =
used ++ rest /\
d.mantissa.val = used.foldl (fun a b => 10 * a + b) 0 /\
d.exponent.val = DecimalGoalVocabularyDefault.accumulatedExplicitExponent x -
((match x.fractionDigits with | none => 0 | some ds => ds.length) : Int) +
(rest.length : Int) := by
intro m e used rest hp hpart hm he
have heq : (m, e) = (d.mantissa, d.exponent) := Result.ok.inj (hp.symm.trans hretry)
have hm' : m = d.mantissa := congrArg Prod.fst heq
have he' : e = d.exponent := congrArg Prod.snd heq
refine ⟨used.map (fun b => b.val - 48), rest.map (fun b => b.val - 48), ?_, ?_, ?_⟩
· simpa only [List.map_append, hdecodeIF] using
congrArg (List.map (fun b : Std.U8 => b.val - 48)) hpart
· simpa only [List.foldl_map, hm'] using hm
· rw [he'] at he
cases hx : x.fractionDigits <;>
simpa only [List.length_map, hexact, hlengthF, hx, List.length_nil, Nat.cast_zero] using he
cases hp : point with
| true =>
obtain ⟨m, e, used, rest, hparseRetry, hpart, hm, _, he⟩ :=
P367_T1_NumberHelperFractionalRetryA s intEnd explicit integer fraction tail
(by simpa [hp] using hshape) (by simpa [hp] using hintEnd)
hid hfd htail hlen hexpLo hexpHi
exact finish m e used rest hparseRetry hpart hm he
| false =>
have hfEmpty := hnoFraction hp
obtain ⟨m, e, used, rest, hparseRetry, hpart, hm, _, _, he⟩ :=
P367_T1_NumberHelperIntegralRetryA s intEnd explicit integer tail
(by simpa [hp] using hshape) (by simpa [hp] using hintEnd)
hid htail hlen (by simpa [hfEmpty] using (show
1000000000000000000 <= (integer ++ fraction).foldl
(fun a b => 10 * a + (b.val - 48)) 0 by norm_num at hlarge; omega))
hexpLo hexpHi
exact finish m e used rest hparseRetry (by simpa [hfEmpty] using hpart) hm
(by simpa [hfEmpty] using he)
end dec2flt_model
Download Lean source · Download TeX source
Complete Lean module
import Tablet.P435_T1_RenderedDigitBlocks
import Tablet.P435_T1_DigitDecoding
import Tablet.P435_T1_SignificandScanA
import Tablet.P367_T1_NumberHelperFractionalRetryA
import Tablet.P367_T1_NumberHelperIntegralRetryA
import Tablet.DecimalGoalVocabularyDefault
import Tablet.P9_T1_ActualDispatchOperations
import Tablet.num_imp_dec2flt_parse_parse_number
import Tablet.num_imp_dec2flt_parse_parse_partial_number
import Tablet.P789_T1_RenderedExponentContinuation
import Tablet.P789_T1_RenderedSignificantBounds
import Tablet.P789_T1_SignificandNonwrapping
import Tablet.P789_T1_PartialNumberBranches
open Aeneas Aeneas.Std Result ControlFlow Error
set_option autoImplicit false
namespace dec2flt_model
-- [TABLET NODE: P367_T1_NumberHelperRenderedAccountingA]
theorem P367_T1_NumberHelperRenderedAccountingA
(s : Slice Std.U8) (x : DecimalLexeme) (d : num.imp.dec2flt.decimal.Decimal)
(hlen : s.val.length <= 3458764513820540928)
(hsign : x.leadingSign = none)
(hvalid : DecimalGoalVocabularyDefault.validNumeric x)
(hrender : DecimalGoalVocabularyDefault.renderNumeric x =
DecimalGoalVocabularyDefault.bytes s)
(hparse : P9_T1_ActualDispatchOperations.parseNumber s = ok (some d)) :
let digits := x.integerDigits ++
(match x.fractionDigits with | none => [] | some ds => ds)
let fractionCount := match x.fractionDigits with | none => 0 | some ds => ds.length
let explicit := DecimalGoalVocabularyDefault.accumulatedExplicitExponent x
(d.many_digits = false ->
d.mantissa.val = digits.foldl (fun a b => 10 * a + b) 0 /\
d.exponent.val = explicit - (fractionCount : Int)) /\
(d.many_digits = true ->
exists consumed remaining : List Nat,
digits = consumed ++ remaining /\
d.mantissa.val = consumed.foldl (fun a b => 10 * a + b) 0 /\
d.exponent.val = explicit - (fractionCount : Int) +
(remaining.length : Int)) := by
-- BODY
have hpartial : exists consumed : Std.Usize,
num.imp.dec2flt.parse.parse_partial_number s = ok (some (d, consumed)) := by
change num.imp.dec2flt.parse.parse_number s = ok (some d) at hparse
unfold num.imp.dec2flt.parse.parse_number at hparse
cases hp : num.imp.dec2flt.parse.parse_partial_number s with
| fail e => simp [hp] at hparse
| div => simp [hp] at hparse
| ok result =>
cases result with
| none => simp [hp] at hparse
| some pair =>
rcases pair with ⟨d', consumed⟩
by_cases hc : consumed = s.len
· simp [hp, hc] at hparse
subst d'
exact ⟨consumed, rfl⟩
· simp [hp, hc] at hparse
obtain ⟨consumed, hpartial⟩ := hpartial
obtain ⟨integer, fraction, exponent, hblocks, hi, hf, he, hid, hfd, hed⟩ :=
P435_T1_RenderedDigitBlocks s.val [] x hsign hvalid (by
change s.val.map (fun b => b.val) =
DecimalGoalVocabularyDefault.renderNumeric x ++ [].map (fun b : Std.U8 => b.val)
simpa using hrender.symm)
let tail : List Std.U8 := match x.exponent with
| none => []
| some (upper, sign, _) => (if upper then 69#u8 else 101#u8) ::
(match sign with | none => [] | some neg => [if neg then 45#u8 else 43#u8]) ++ exponent
let point : Bool := x.fractionDigits.isSome
have hshape : s.val = integer ++
(if point then 46#u8 :: (fraction ++ tail) else tail) := by
cases hx : x.fractionDigits <;>
simpa [point, hx, tail, List.append_assoc] using hblocks
have hnoFraction : point = false -> fraction = [] := by
cases hx : x.fractionDigits with
| none => intro _; simpa [hx] using hf
| some ds => simp [point, hx]
have htail : forall b rest, tail = b :: rest -> ¬ (48 <= b.val /\ b.val <= 57) := by
intro b rest h
cases hx : x.exponent with
| none => simp [tail, hx] at h
| some tuple =>
rcases tuple with ⟨upper, sign, ds⟩
have hb : b = (if upper then 69#u8 else 101#u8) := by
simpa [tail, hx] using (congrArg List.head? h).symm
rw [hb]
cases upper <;> norm_num
have hnoPoint : point = false -> forall b rest, tail = b :: rest -> b ≠ 46#u8 := by
intro _ b rest h
cases hx : x.exponent with
| none => simp [tail, hx] at h
| some tuple =>
rcases tuple with ⟨upper, sign, ds⟩
have hb : b = (if upper then 69#u8 else 101#u8) := by
simpa [tail, hx] using (congrArg List.head? h).symm
rw [hb]
cases upper <;> norm_num
obtain ⟨intEnd, sigEnd, intWord, word, intCount, fractionCount, total, base,
hscan, hintEnd, hiOffset, _, hfront, hsigEnd, _, hbase, hadd, htotal⟩ :=
P435_T1_SignificandScanA s integer fraction tail point hshape hnoFraction
hid hfd htail hnoPoint hlen
obtain ⟨hdecodeI, hlengthI, _⟩ :=
(P435_T1_DigitDecoding integer).2 x.integerDigits hi
obtain ⟨hdecodeF, hlengthF, _⟩ :=
(P435_T1_DigitDecoding fraction).2
(match x.fractionDigits with | none => [] | some ds => ds) hf
have hbaseExact : base.val =
-((match x.fractionDigits with | none => 0 | some ds => ds.length) : Int) := by
rw [hbase, hlengthF]
cases x.fractionDigits <;> rfl
have htotalExact : total.val =
((x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds)).length : Int) := by
rw [htotal, hlengthI, hlengthF, List.length_append]
have hdecodeIF : (integer ++ fraction).map (fun b => b.val - 48) =
x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds) := by
simp only [List.map_append, hdecodeI, hdecodeF]
have hfoldIF : (integer ++ fraction).foldl (fun a b => 10 * a + (b.val - 48)) 0 =
(x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds)).foldl
(fun a b => 10 * a + b) 0 := by
rw [← List.foldl_map, hdecodeIF]
have hcountBound : integer.length + fraction.length <= s.val.length := by
rw [hshape]
cases hp : point with
| false => simp [hp, hnoFraction hp]
| true => simp [hp]; omega
have hpositive : 0 < total.val := by
have hv : x.integerDigits ≠ [] ∨
match x.fractionDigits with | none => False | some ds => ds ≠ [] := by
exact (show _ ∧ _ ∧ _ ∧ _ from hvalid).2.2.1
rw [htotalExact]
rcases hv with hv | hv
· have : 0 < x.integerDigits.length := List.length_pos_of_ne_nil hv
simp only [List.length_append, Nat.cast_add]
omega
· cases hx : x.fractionDigits with
| none => simp [hx] at hv
| some ds =>
have : 0 < ds.length := List.length_pos_of_ne_nil (by simpa [hx] using hv)
simp only [hx, List.length_append, Nat.cast_add]
omega
obtain ⟨explicit, hexact, hexpLo, hexpHi, hcontinuation⟩ :=
P789_T1_RenderedExponentContinuation x sigEnd exponent hvalid he hed hsigEnd
have hstop : forall b rest, tail = b :: rest -> b ≠ 48#u8 /\ b ≠ 46#u8 := by
intro b rest ht
cases hx : x.exponent with
| none => simp [tail, hx] at ht
| some tuple =>
rcases tuple with ⟨upper, sign, ds⟩
have hb : b = (if upper then 69#u8 else 101#u8) := by
simpa [tail, hx] using (congrArg List.head? ht).symm
rw [hb]
cases upper <;> norm_num
obtain ⟨_, hretainedBound, hretryBound⟩ :=
P789_T1_RenderedSignificantBounds s integer fraction tail point
hshape hnoFraction hid hfd hstop
have hbaseLo : -3458764513820540928 <= base.val := by
rw [hbase]
omega
have hbaseHi : base.val <= 3458764513820540928 := by rw [hbase]; omega
have hcases := P789_T1_PartialNumberBranches s intEnd sigEnd intWord word
intCount fractionCount total base explicit d consumed hlen hpositive
(by rw [htotal]; exact_mod_cast hcountBound) hbaseLo hbaseHi hexpLo hexpHi
hscan hiOffset hfront hadd hcontinuation hpartial
constructor
· intro hfalse
rcases hcases with hkeep | hretry
· rcases hkeep with ⟨_, hword, hexponent, hsize⟩
have hbound : (integer ++ fraction).foldl (fun a b => 10 * a + (b.val - 48)) 0
< 10^19 := hretainedBound (by simpa only [htotal] using hsize)
have hvalue := P789_T1_SignificandNonwrapping s intEnd sigEnd intWord word
fractionCount base integer fraction tail point hshape hintEnd hnoFraction
hid hfd htail hnoPoint (by omega)
(by rw [U64.max_eq]; norm_num at hbound ⊢; omega) hscan hfront
exact ⟨by rw [hword, hvalue, hfoldIF], by rw [hexponent, hbaseExact, hexact]; omega⟩
· simp [hfalse] at hretry
· intro htrue
rcases hcases with hkeep | hretry
· simp [htrue] at hkeep
· rcases hretry with ⟨_, hpositiveRetry, hretry⟩
have hlarge : 10^19 <=
(integer ++ fraction).foldl (fun a b => 10 * a + (b.val - 48)) 0 :=
hretryBound (by simpa only [htotal] using hpositiveRetry)
have finish : forall (m : Std.U64) (e : Std.I64) (used rest : List Std.U8),
num.imp.dec2flt.parse.parse_many_digits s intEnd explicit = ok (m, e) ->
integer ++ fraction = used ++ rest ->
m.val = used.foldl (fun a b => 10 * a + (b.val - 48)) 0 ->
e.val = explicit.val - (fraction.length : Int) + (rest.length : Int) ->
exists used rest : List Nat,
x.integerDigits ++ (match x.fractionDigits with | none => [] | some ds => ds) =
used ++ rest /\
d.mantissa.val = used.foldl (fun a b => 10 * a + b) 0 /\
d.exponent.val = DecimalGoalVocabularyDefault.accumulatedExplicitExponent x -
((match x.fractionDigits with | none => 0 | some ds => ds.length) : Int) +
(rest.length : Int) := by
intro m e used rest hp hpart hm he
have heq : (m, e) = (d.mantissa, d.exponent) := Result.ok.inj (hp.symm.trans hretry)
have hm' : m = d.mantissa := congrArg Prod.fst heq
have he' : e = d.exponent := congrArg Prod.snd heq
refine ⟨used.map (fun b => b.val - 48), rest.map (fun b => b.val - 48), ?_, ?_, ?_⟩
· simpa only [List.map_append, hdecodeIF] using
congrArg (List.map (fun b : Std.U8 => b.val - 48)) hpart
· simpa only [List.foldl_map, hm'] using hm
· rw [he'] at he
cases hx : x.fractionDigits <;>
simpa only [List.length_map, hexact, hlengthF, hx, List.length_nil, Nat.cast_zero] using he
cases hp : point with
| true =>
obtain ⟨m, e, used, rest, hparseRetry, hpart, hm, _, he⟩ :=
P367_T1_NumberHelperFractionalRetryA s intEnd explicit integer fraction tail
(by simpa [hp] using hshape) (by simpa [hp] using hintEnd)
hid hfd htail hlen hexpLo hexpHi
exact finish m e used rest hparseRetry hpart hm he
| false =>
have hfEmpty := hnoFraction hp
obtain ⟨m, e, used, rest, hparseRetry, hpart, hm, _, _, he⟩ :=
P367_T1_NumberHelperIntegralRetryA s intEnd explicit integer tail
(by simpa [hp] using hshape) (by simpa [hp] using hintEnd)
hid htail hlen (by simpa [hfEmpty] using (show
1000000000000000000 <= (integer ++ fraction).foldl
(fun a b => 10 * a + (b.val - 48)) 0 by norm_num at hlarge; omega))
hexpLo hexpHi
exact finish m e used rest hparseRetry (by simpa [hfEmpty] using hpart) hm
(by simpa [hfEmpty] using he)
end dec2flt_model
Proof structure
Follow the declared dependencies to read the supporting statements and proofs.
Uses
- DecimalGoalVocabularyDefault
- NumberHelperFractionalRetryA
- NumberHelperIntegralRetryA
- DigitDecoding
- RenderedDigitBlocks
- SignificandScanA
All 13 entries
- DecimalGoalVocabularyDefault
- NumberHelperFractionalRetryA
- NumberHelperIntegralRetryA
- DigitDecoding
- RenderedDigitBlocks
- SignificandScanA
- PartialNumberBranches
- RenderedExponentContinuation
- RenderedSignificantBounds
- SignificandNonwrapping
- ActualDispatchOperations
- num imp dec2flt parse parse number
- num imp dec2flt parse parse partial number
Used by
Inspect related source (198)
- parse_number · dec2flt/parse.rs:234 Program Rust
- parse_partial_number · dec2flt/parse.rs:164 Program Rust
- Dec2flt_modelNumImpDec2fltLemireU64 · dec2flt/mod.rs:217 Program Rust
More program dependencies (156)
- offset_from · dec2flt/common.rs:34 Program Rust
- dec2flt_with_trace · dec2flt/mod.rs:355 Program Rust
- Decimal · dec2flt/decimal.rs:32 Program Rust
- adjust_many_digit_count · dec2flt/parse.rs:86 Program Rust
- adjust_many_digit_count_loop · dec2flt/parse.rs:89 Program Rust
- body · dec2flt/parse.rs:89 Program Rust
- parse_many_digits · dec2flt/parse.rs:104 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
- 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
- MAX_EXPONENT_DISGUISED_FAST_PATH · dec2flt/mod.rs:220 Program Rust
- MAX_EXPONENT_FAST_PATH · dec2flt/mod.rs:219 Program Rust
- from_u64 · dec2flt/mod.rs:263 Program Rust
- pow10_fast_path · dec2flt/mod.rs:222 Program Rust
- Dec2flt_modelNumImpTraitsFloatExtU64 · traits.rs:339 Program Rust
- read_u64 · dec2flt/common.rs:22 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
- default · dec2flt/mod.rs:128 Program Rust
- default · dec2flt/mod.rs:121 Program Rust
- biased_fp_to_float · dec2flt/mod.rs:282 Program Rust
- BiasedFp · dec2flt/common.rs:56 Program Rust
- eq · dec2flt/common.rs:55 Program Rust
- ByteSlice · dec2flt/common.rs:4 Program Rust
- is_8digits · dec2flt/common.rs:44 Program Rust
- try_fast_path · dec2flt/decimal.rs:59 Program Rust
- DecimalSeq · dec2flt/decimal_seq.rs:22 Program Rust
- compute_float · dec2flt/lemire.rs:26 Program Rust
- MIN_19DIGIT_INT · dec2flt/parse.rs:8 Program Rust
- parse_8digits · dec2flt/parse.rs:18 Program Rust
- parse_inf_nan · dec2flt/parse.rs:244 Program Rust
- try_parse_19digits · dec2flt/parse.rs:61 Program Rust
- try_parse_19digits_loop · dec2flt/parse.rs:64 Program Rust
- body · dec2flt/parse.rs:64 Program Rust
- pfe_empty · dec2flt/mod.rs:270 Program Rust
- pfe_invalid · dec2flt/mod.rs:277 Program Rust
- parse_long_mantissa · dec2flt/slow.rs:27 Program Rust
- parse_long_mantissa_loop0 · dec2flt/slow.rs:51 Program Rust
- body · dec2flt/slow.rs:51 Program Rust
- parse_long_mantissa_loop1 · dec2flt/slow.rs:69 Program Rust
- body · dec2flt/slow.rs:69 Program Rust
- parse_long_mantissa_loop2 · dec2flt/slow.rs:94 Program Rust
- body · dec2flt/slow.rs:94 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
- from_u64_bits · traits.rs:341 Program Rust
- integer_decode · traits.rs:348 Program Rust
- Dec2flt_modelNumImpTraitsFloatU64 · traits.rs:309 Program Rust
- zero_pow2 · dec2flt/common.rs:66 Program Rust
- can_use_fast_path · dec2flt/decimal.rs:42 Program Rust
- INT_POW10 · dec2flt/decimal.rs:8 Program Rust
- DECIMAL_POINT_RANGE · dec2flt/decimal_seq.rs:68 Program Rust
- left_shift · dec2flt/decimal_seq.rs:130 Program Rust
- left_shift_loop0 · dec2flt/decimal_seq.rs:139 Program Rust
- body · dec2flt/decimal_seq.rs:139 Program Rust
- left_shift_loop1 · dec2flt/decimal_seq.rs:153 Program Rust
- body · dec2flt/decimal_seq.rs:153 Program Rust
- right_shift · dec2flt/decimal_seq.rs:176 Program Rust
- right_shift_loop0 · dec2flt/decimal_seq.rs:181 Program Rust
- body · dec2flt/decimal_seq.rs:181 Program Rust
- right_shift_loop0_loop0 · dec2flt/decimal_seq.rs:191 Program Rust
- body · dec2flt/decimal_seq.rs:191 Program Rust
- right_shift_loop1 · dec2flt/decimal_seq.rs:210 Program Rust
- body · dec2flt/decimal_seq.rs:210 Program Rust
- right_shift_loop2 · dec2flt/decimal_seq.rs:217 Program Rust
- body · dec2flt/decimal_seq.rs:217 Program Rust
- round · dec2flt/decimal_seq.rs:97 Program Rust
- round_loop · dec2flt/decimal_seq.rs:107 Program Rust
- body · dec2flt/decimal_seq.rs:107 Program Rust
- parse_decimal_seq · dec2flt/decimal_seq.rs:288 Program Rust
- 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
- set_precision · dec2flt/fpu.rs:99 Program Rust
- compute_product_approx · dec2flt/lemire.rs:134 Program Rust
- power · dec2flt/lemire.rs:121 Program Rust
- MASK · dec2flt/parse.rs:19 Program Rust
- MUL1 · dec2flt/parse.rs:20 Program Rust
- MUL2 · dec2flt/parse.rs:21 Program Rust
- MAX_SHIFT · dec2flt/slow.rs:28 Program Rust
- call · dec2flt/slow.rs:33 Program Rust
- BITS · traits.rs:319 Program Rust
- EXP_MASK · traits.rs:321 Program Rust
- INFINITY · traits.rs:312 Program Rust
- LARGEST_POWER_OF_TEN · traits.rs:327 Program Rust
- MAX_EXPONENT_ROUND_TO_EVEN · traits.rs:325 Program Rust
- MIN_EXPONENT_ROUND_TO_EVEN · traits.rs:324 Program Rust
- NAN · traits.rs:314 Program Rust
- NEG_INFINITY · traits.rs:313 Program Rust
- NEG_NAN · traits.rs:317 Program Rust
- SIG_MASK · traits.rs:322 Program Rust
- SIG_TOTAL_BITS · traits.rs:320 Program Rust
- SMALLEST_POWER_OF_TEN · traits.rs:328 Program Rust
- classify · traits.rs:334 Program Rust
- to_bits · traits.rs:330 Program Rust
- write_u64 · dec2flt/common.rs:29 Program Rust
- Dec2flt_modelNumImpTraitsInt · traits.rs:51 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
- trim · dec2flt/decimal_seq.rs:83 Program Rust
- trim_loop · dec2flt/decimal_seq.rs:92 Program Rust
- body · dec2flt/decimal_seq.rs:92 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
- final_decimal_point · dec2flt/decimal_seq.rs:269 Program Rust
- number_of_digits_decimal_left_shift · dec2flt/decimal_seq.rs:375 Program Rust
- number_of_digits_decimal_left_shift_loop · dec2flt/decimal_seq.rs:441 Program Rust
- body · dec2flt/decimal_seq.rs:441 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
- full_multiplication · dec2flt/lemire.rs:126 Program Rust
- NUM_POWERS · dec2flt/slow.rs:29 Program Rust
- POWERS · dec2flt/slow.rs:30 Program Rust
- closure · dec2flt/slow.rs:33 Program Rust
- LARGEST_POWER_OF_FIVE · dec2flt/table.rs:10 Program Rust
- POWER_OF_FIVE_128 · dec2flt/table.rs:19 Program Rust
- SMALLEST_POWER_OF_FIVE · dec2flt/table.rs:9 Program Rust
- default · traits.rs:116 Program Rust
- default · traits.rs:104 Program Rust
- default · traits.rs:119 Program Rust
- default · traits.rs:110 Program Rust
- default · traits.rs:113 Program Rust
- default · traits.rs:101 Program Rust
- Dec2flt_modelNumImpTraitsCastIntoI16 · traits.rs:45 Program Rust
- ONE · traits.rs:53 Program Rust
- ZERO · traits.rs:52 Program Rust
- try_add_digit · dec2flt/decimal_seq.rs:74 Program Rust
- TABLE · dec2flt/decimal_seq.rs:377 Program Rust
- TABLE_POW5 · dec2flt/decimal_seq.rs:386 Program Rust
- cast · traits.rs:46 Program Rust
Standard-library dependencies (39)
- branch · core/src/option.rs:2779 Rust library
- split_first · core/src/slice/mod.rs:198 Rust library
- 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
- first · core/src/slice/mod.rs:155 Rust library
- as_bytes · core/src/str/mod.rs:498 Rust library
- CoreOpsArithDivF64F64 · core/src/ops/arith.rs:511 Rust library
- CoreOpsArithMulF64F64 · core/src/ops/arith.rs:344 Rust library
- CoreOpsArithNegF64 · core/src/ops/arith.rs:713 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
- CoreMarkerCopy · core/src/marker.rs:57 Rust library
- CoreCloneClone · core/src/clone.rs:696 Rust library
- CoreOpsBitBitAndU64U64 · core/src/ops/bit.rs:174 Rust library
- CoreOpsBitBitOrU64U64 · core/src/ops/bit.rs:278 Rust library
- CoreOpsBitShlU32U64 · core/src/ops/bit.rs:483 Rust library
- CoreOpsBitShrU32U64 · core/src/ops/bit.rs:606 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
- Binary64Model
- Binary64ModelDefault
- DecimalDigitTrimDecomposition
- DecimalGoalVocabulary
- DecimalGoalVocabularyDefault
- DecimalLexeme
All 172 entries
- Binary64Model
- Binary64ModelDefault
- DecimalDigitTrimDecomposition
- DecimalGoalVocabulary
- DecimalGoalVocabularyDefault
- DecimalLexeme
- F64
- F64 Insts CoreCloneClone
- F64 Insts CoreMarkerCopy
- F64 Insts CoreOpsArithDivF64F64
- F64 Insts CoreOpsArithMulF64F64
- F64 Insts CoreOpsArithNegF64
- F64 Insts Dec2flt modelNumImpDec2fltLemireU64
- F64 Insts Dec2flt modelNumImpDec2fltLemireU64 MAX EXPONENT DISGUISED FAST PATH
- F64 Insts Dec2flt modelNumImpDec2fltLemireU64 MAX EXPONENT FAST PATH
- F64 Insts Dec2flt modelNumImpDec2fltLemireU64 pow10 fast path
- F64 Insts Dec2flt modelNumImpTraitsFloatExtU64
- F64 Insts Dec2flt modelNumImpTraitsFloatExtU64 from u64 bits
- F64 Insts Dec2flt modelNumImpTraitsFloatExtU64 integer decode
- F64 Insts Dec2flt modelNumImpTraitsFloatU64
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 BITS
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 EXP MASK
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 INFINITY
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 LARGEST POWER OF TEN
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 MAX EXPONENT ROUND TO EVEN
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 MIN EXPONENT ROUND TO EVEN
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 NAN
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 NEG INFINITY
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 NEG NAN
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 SIG MASK
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 SIG TOTAL BITS
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 SMALLEST POWER OF TEN
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 classify
- F64 Insts Dec2flt modelNumImpTraitsFloatU64 to bits
- ModelF64Classify
- ModelF64Clone
- ModelF64Div
- ModelF64ExponentMask
- ModelF64FromBits
- ModelF64FromU64
- ModelF64Infinity
- ModelF64MantissaDigits
- ModelF64MantissaMask
- ModelF64Mul
- ModelF64Nan
- ModelF64Neg
- ModelF64NegInfinity
- ModelF64ToBits
- ModelOptionBranch
- ModelOptionFromResidual
- ModelSliceFirst
- ModelSliceSplitFirst
- ModelStrAsBytes
- ModelU64BitAnd
- ModelU64BitOr
- ModelU64Shl
- ModelU64Shr
- ModelU8IsAsciiDigit
- NumberHelperDigitScanExact
- NumberHelperDigitScanSourceLength
- NumberHelperEightDigitWord
- NumberHelperParseEightDigitsExact
- NumberHelperParseEightDigitsSafe
- NumberHelperReadEightBytes
- NumberHelperScientificPrefixSafeLength
- NumberHelperScientificRenderedSuffixSafeLength
- NumberHelperSplitExponentSuffix
- NumberHelperTryParse19SafeLength
- NumberHelperAdjustCountExact
- NumberHelperOffsetSourceLength
- NumberHelperAdjustmentA
- NumberHelperExponentAddA
- NumberHelperFractionalRetryA
- NumberHelperIntegralRetryA
- NumberHelperRenderedAccountingA
- ByteValueBlocks
- DigitDecoding
- RenderedDigitBlocks
- SignificandScanA
- PartialNumberBranches
- RenderedExponentContinuation
- RenderedSignificantBounds
- SignificandNonwrapping
- DecimalFoldBounds
- ActualDispatchOperations
- DispatchOperations
- ScientificLoopFold
- ScientificScannerFold
- ScientificVocabularyFold
- Preamble
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice offset from
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice read u64
- SliceU8 Insts Dec2flt modelNumImpDec2fltCommonByteSlice write u64
- U64 Insts CoreOpsBitBitAndU64U64
- U64 Insts CoreOpsBitBitOrU64U64
- U64 Insts CoreOpsBitShlU32U64
- U64 Insts CoreOpsBitShrU32U64
- U64 Insts Dec2flt modelNumImpTraitsCastIntoI16
- U64 Insts Dec2flt modelNumImpTraitsCastIntoI16 cast
- U64 Insts Dec2flt modelNumImpTraitsInt
- U64 Insts Dec2flt modelNumImpTraitsInt ONE
- U64 Insts Dec2flt modelNumImpTraitsInt ZERO
- core num FpCategory
- core ops arith Div
- core ops arith Mul
- core ops arith Neg
- core ops bit BitOr
- core ops bit Shl
- core ops bit Shr
- num imp dec2flt Lemire
- num imp dec2flt Lemire MAX MANTISSA FAST PATH default
- num imp dec2flt biased fp to float
- num imp dec2flt common BiasedFp
- num imp dec2flt common BiasedFp zero pow2
- num imp dec2flt common is 8digits
- num imp dec2flt decimal Decimal
- num imp dec2flt decimal Decimal can use fast path
- num imp dec2flt decimal Decimal try fast path
- num imp dec2flt decimal INT POW10
- 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 left shift
- num imp dec2flt decimal seq DecimalSeq right shift
- num imp dec2flt decimal seq DecimalSeq round
- num imp dec2flt decimal seq DecimalSeq trim
- 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 number of digits decimal left shift
- num imp dec2flt decimal seq number of digits decimal left shift TABLE
- num imp dec2flt decimal seq number of digits decimal left shift TABLE POW5
- num imp dec2flt decimal seq parse decimal seq
- num imp dec2flt decimal seq parse digits into seq
- num imp dec2flt fpu fpu precision set precision
- num imp dec2flt lemire compute float
- num imp dec2flt lemire compute product approx
- num imp dec2flt lemire full multiplication
- num imp dec2flt lemire power
- num imp dec2flt parse MIN 19DIGIT INT
- num imp dec2flt parse adjust many digit count
- 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 parse inf nan
- num imp dec2flt parse parse many digits
- num imp dec2flt parse parse number
- num imp dec2flt parse parse partial number
- num imp dec2flt parse parse scientific
- num imp dec2flt parse try parse 19digits
- num imp dec2flt parse try parse digits
- num imp dec2flt slow parse long mantissa
- num imp dec2flt slow parse long mantissa MAX SHIFT
- num imp dec2flt slow parse long mantissa NUM POWERS
- num imp dec2flt slow parse long mantissa POWERS
- num imp dec2flt slow parse long mantissa closure
- num imp dec2flt slow parse long mantissa closure Insts CoreOpsFunctionFnTupleUsizeUsize call
- num imp dec2flt table LARGEST POWER OF FIVE
- num imp dec2flt table POWER OF FIVE 128
- num imp dec2flt table SMALLEST POWER OF FIVE
- num imp traits CastInto
- num imp traits Float
- num imp traits FloatExt
- num imp traits Float EXP BIAS default
- num imp traits Float EXP BITS default
- num imp traits Float EXP MIN default
- num imp traits Float EXP SAT default
- num imp traits Float SIG BITS default
- num imp traits Int
Technical checking records
Local closure summary
{
"node": "P367_T1_NumberHelperRenderedAccountingA",
"closure_version": "patch_c_v1",
"active_decl_hash": "21ba697f46cea933a9fa35a8f213946b7f602394d00340e9604b44152f99db5f",
"active_statement_hash": "0daba9f1f12a27528f17d6ed3970deca5e18659300d9fe8089222a3bc81c38b7",
"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-182",
"boundary_theorems": {},
"strict_theorem_deps": {
"P367_T1_NumberHelperFractionalRetryA": "013dace800a7a0d8",
"P367_T1_NumberHelperIntegralRetryA": "d66d59fc5c9acf83",
"P435_T1_DigitDecoding": "0b69e5fe3215de46",
"P435_T1_RenderedDigitBlocks": "53c602364b85e70c",
"P435_T1_SignificandScanA": "4fa1dfb050285227",
"P789_T1_PartialNumberBranches": "204c734c972508df",
"P789_T1_RenderedExponentContinuation": "95b4daf7cd32efb8",
"P789_T1_RenderedSignificantBounds": "9dd26ae2201fdad4",
"P789_T1_SignificandNonwrapping": "309218f2d4f0999b"
},
"strict_definition_deps": {
"DecimalGoalVocabulary": "c08dd4b4aea4abb4",
"DecimalGoalVocabularyDefault": "55eb6bce0e8a4131",
"DecimalLexeme": "250be645520aec86",
"P435_T1_RenderedDigitBlocks": "55eb6bce0e8a4131",
"P435_T1_SignificandScanA": "a4e982c388531a6e",
"P9_T1_ActualDispatchOperations": "d8bf51ebbbf153ac",
"P9_T1_DispatchOperations": "9b177bb1b830a655",
"Preamble": "965f15fc36f80938",
"SliceU8_Insts_Dec2flt_modelNumImpDec2fltCommonByteSlice_offset_from": "7e7284dc9bc88830",
"num_imp_dec2flt_decimal_Decimal": "c43614ff2149ecf2",
"num_imp_dec2flt_parse_parse_many_digits": "50c9ef13b3ed7fe8",
"num_imp_dec2flt_parse_parse_number": "b8693ec58f01c43c",
"num_imp_dec2flt_parse_parse_partial_number": "94ed7b2ff71604ef",
"num_imp_dec2flt_parse_parse_scientific": "447f722d5841d2c5",
"num_imp_dec2flt_parse_try_parse_digits": "238b4a73cd46fc56"
}
}Prose assessment
{
"label": "Recorded Sound: VerifierPass",
"assessment_status": "VerifierPass",
"fingerprint_relation": "differs from current fingerprint",
"assessment_fingerprint": "sound-v2:48a953df58901431112021670092c768655c9bc68d6da2508e46db596f6ed184",
"current_fingerprint": "sound-v2:a879a33193539fc8d24921d0a6c18ab7a35218a0b4c8362f398944371ecda313",
"superseded_for_theorem_closure": false
}Review verdicts
{
"corr_status": "Pass",
"sound_status": "Pass",
"substantiveness_status": "Pass"
}