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:
swaitsandClaude Opus 5.5 committed 2026-11-08 20:13:40 -07:00
1 parent 127d33fb0b
commit 8dec2900eb
6 files changed
+19 -169

No files matched your search

+3 -1
View File
@@ -74,7 +74,9 @@ prove: (_kani "fast")
set -euo pipefail
cd verify/lean
lake build
audit=$(lake env lean Audit.lean)
# The audit is bookspec's own, from the pinned package: the laws and
# their list live once there (D-69), so no copy here can fall behind.
audit=$(lake env lean .lake/packages/bookspec/lean/Audit.lean)
if grep -v -E "depends on axioms: \[(propext|Quot.sound|Classical.choice)(, (propext|Quot.sound|Classical.choice))*\]$|does not depend on any axioms" <<<"$audit"; then
echo "Lean audit: a theorem rests on something beyond the standard axioms" >&2
exit 1