Program versions and preparation history
Preparation reopenings retain the recorded program source and requirements when their saved identities agree. A revision starts a separate program version.
Preparation 1
32 open
Recorded history
| Generation | generation-0000 |
|---|---|
| Saved phase | Modeling |
Recorded initial; Modeling.
Preparation 2
32 open
Recorded history
| Generation | generation-0001 |
|---|---|
| Saved phase | Modeling |
Recorded reopening; Modeling.
Approve the F64-only preparation reopening, with the second critic's corrections incorporated. The request-25 candidate is the smallest convincing tested boundary: its source diff leaves every parser, helper, overflow/debug check, native-path decision, and trace body intact, while fresh Cargo, Charon, Aeneas, and inspect-native evidence reduces the unresolved inventory from 72 to 24 declarations (14 F64, four U64 bit operations, and six byte/Option/slice/string operations). Removing the irrelevant F16/F32 implementations, U16/U32 instances, and unused F64 Add/equality/order/default/Clone supertraits matches GOAL.md's exclusively binary64 scope. Keeping the frozen boundary would avoid revalidation but impose 48 demonstrated irrelevant bindings and three-format preservation work; fuller monomorphization would rewrite goal-facing generic bodies and traces for a smaller marginal saving. Because trait records, declaration hashes, and the extraction basis change, this is a preparation reopening rather than an in-place native-model change.
The raw-U64 F64 carrier and safe exact rational/dyadic round-to-nearest-ties-to-even computation are adequate and kernel-checkable. Bit conversions and clone are exact, negation is XOR of bit 63 on every word including NaNs, and from_u64 must reproduce the enabled debug assertion outside v <= 2^53 while the two relevant call sites discharge that guard. Multiplication and division need exact word preservation on their actual native-path calls, whose operands must be proved finite and non-NaN and whose divisors must be proved nonzero. A preferred NaN may totalize unreachable arithmetic cases only under Rust's permitted-NaN relation; it is not a global bit-equality claim. Since accepted observations include returned F64 bits and negative nan reaches negation, the exact f64::NAN word must be pinned to the reopened target/toolchain by primary evidence and negative NaN must retain the exact sign-bit flip. Runtime Float, unsafe floating-point computation, native evaluation, and new axioms remain inadmissible.
The source-domain correction must cover more than UTF-8. Define a source-valid byte-slice predicate that expresses the configured 64-bit Rust reference/slice value invariant, including the isize::MAX byte-size bound, and define source-valid Rust strings by that invariant plus UTF-8 validity. Premise every source byte-slice or str theorem, contract law, and dispatch quantifier with the appropriate predicate, without adding any smaller convenience bound. This is a faithful restriction of Aeneas's Slice/Str overapproximation, not a GOAL reduction. The checked-arithmetic audit must cover every length-derived offset, cast, addition, subtraction, and counter, especially both exponent additions in parse_partial_number/parse_many_digits and the i32 casts/additions in parse_decimal_seq. If a source-valid large input makes a positive totality, acceptance, or rejection statement false, retain its current mathematical meaning and route it to disproof; do not narrow the domain. ParserAccumulatedRounding must additionally state the lexical sign conclusion. DispatchComponentContract.dispatch_total and every branch law, DispatchAbstractComposition, and the compliance instantiation receive the valid-string premise, while numeric_target_preservation remains unchanged.
All 32 GOALs remain pursued. Four false statements are already sufficiently identified for disproof polarity after Modeling: ParserExactRounding, DispatchAbstractComposition, and DispatchComponentCompliance use the valid ASCII 65,535-zero witness whose exact target is infinity while the source returns 1.0; SlowAccumulatedRounding uses the valid 2^31-ASCII-'1' witness whose usize-to-i32 cast yields i32::MIN and normal slow result zero although the accumulated target is infinity. Their statements must not be weakened. The first parser disproof and the slow-helper disproof require symbolic, kernel-checked extracted-execution lemmas rather than infeasible direct reduction; the dispatch disproofs use the unchanged uninhabited target-preservation law. The length audit is a required truth-classification gate for ParserTotality, ParserNumericAcceptance, ParserInvalidRejection, NumberHelperAcceptance, and NumberHelperRejection in particular, because the source-valid isize bound alone does not obviously protect the checked i64 exponent sums. No further positive polarity may be assumed until that audit is complete.
Original program
23 proved · 9 disproved
Recorded history
| Generation | generation-0002 |
|---|---|
| Saved phase | ProofFormalization |
Recorded reopening; ProofFormalization.
Confirmed frozen preparation defect: crate/dec2flt/mod.rs:255-258 and modeling-input/SETUP.md:40-41 falsely claim that opacity is confined to the u64-as-f64 cast and leaves the assertion visible; reference/model-evidence/binary64-boundary.txt:297-303 repeats that claim, while generated.lean:3700-3704 shows the whole from_u64 method is external. Reopen narrowly to correct those preservation-support claims, retain the whole asserted conversion as the boundary modeled by ModelF64FromU64, and re-run all preparation and composition validation. The smaller adequate route changes no computation or GOAL and retains all 32 obligations; continuing to rely on the cast-only account is unsound.
Revised program
32 proved
Recorded history
| Generation | generation-0003 |
|---|---|
| Saved phase | Complete |
Recorded revision; Complete.