fix(prove): audit bookspec's own theorem list, not a copy
just prove audited verify/lean/Audit.lean, a copy of bookspec's list made when the laws moved there (L-F2). The laws then grew in bookspec (the FX law, the rounding primitive, the executable model's soundness and completeness, the empty close) and the copy did not: it audited 151 theorems of the 177 bookspec states, so 26 were proved but never checked for axioms on this side. Bookspec's CI audits them, so no theorem is known to rest on more than Lean's three; but the laws live once (D-69), and so must their list. just prove now runs bookspec's lean/Audit.lean from the pinned package, and the copy is gone: 177 theorems, standard axioms only. A unit's #print axioms line now goes in its bookspec branch with its theorem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
127d33fb0b
commit
8dec2900eb
6 files changed
+19
-169
No files matched your search
@@ -19,10 +19,13 @@ instead:
|
||||
Lean theorem it added;
|
||||
- anything the solver could not do, and what carries it instead (Lean
|
||||
at any size, a bridge property, an exhaustive unit test).
|
||||
- **Workers do not edit `docs/verification.md` or `verify/lean/Audit.lean`.**
|
||||
The integrator folds the unit notes into `verification.md`'s tables and
|
||||
prose, and adds the `#print axioms` lines to `Audit.lean` in one place,
|
||||
in one edit per batch, after the batch's merges.
|
||||
- **Workers do not edit `docs/verification.md`.** The integrator folds
|
||||
the unit notes into its tables and prose in one edit per batch, after
|
||||
the batch's merges.
|
||||
- **A unit's Lean theorems go into bookspec**, on the unit's bookspec
|
||||
branch: the theorem in `lean/Bookspec/`, its `#print axioms` line in
|
||||
bookspec's `lean/Audit.lean`. Wanderbooks keeps no audit list of its
|
||||
own; `just prove` audits bookspec's, from the pinned package (D-69).
|
||||
- A unit's note lands in the same commit as its harnesses, so the proof
|
||||
and its description are never apart in history.
|
||||
|
||||
|
||||
@@ -49,9 +49,10 @@ payroll, U8 control, U9 display) each get files of their own:
|
||||
`total`, `schedule`, `ratio`, `payroll`, `control`; `proofs/mod.rs` holds
|
||||
the original harnesses and each unit adds `proofs/<unit>.rs`. A unit
|
||||
writes its proof note in `docs/proofs/<unit>.md`; the integrator folds the
|
||||
notes into this file and the `#print axioms` lines into
|
||||
`verify/lean/Audit.lean` in one edit per batch. Workers do not edit this
|
||||
file (see `docs/proofs/README.md`).
|
||||
notes into this file in one edit per batch; a unit's Lean theorems and
|
||||
their `#print axioms` lines go into bookspec (its `lean/Audit.lean`,
|
||||
which `just prove` audits from the pinned package). Workers do not edit
|
||||
this file (see `docs/proofs/README.md`).
|
||||
|
||||
## The laws
|
||||
|
||||
|
||||
Reference in new issue
Block a user