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>
17 lines
646 B
Lean4
17 lines
646 B
Lean4
import Bookspec
|
|
|
|
/-!
|
|
# The accounting laws
|
|
|
|
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 `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
|
|
`crates/ledger-core/Cargo.toml` pins the Rust checker to. Nothing here
|
|
restates the model.
|
|
-/
|