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
@@ -6,7 +6,8 @@ import Bookspec
|
||||
The laws live once, in bookspec's Lean (`bookspec/lean/Bookspec/`, namespace
|
||||
`Bookspec`), and this project requires that package (D-69). This module is
|
||||
the local target `lake build` builds: importing it builds and checks every
|
||||
law, and `Audit.lean` prints their axioms.
|
||||
law, and `just prove` prints their axioms with bookspec's own
|
||||
`lean/Audit.lean` (from `.lake/packages/bookspec`; no copy here).
|
||||
|
||||
A law that changes is edited in bookspec, and this project moves its pin
|
||||
(`lakefile.toml`, `lake-manifest.json`) to bookspec's new rev — the same rev
|
||||
|
||||
Reference in new issue
Block a user