docs: the Lean laws, and their paths, are bookspec's

The laws are proved once in bookspec (D-69), so the documents that said
"put the new theorem in `verify/lean`" or cited
`verify/lean/Wanderbooks/<File>.lean` now say otherwise:

- AGENTS.md's formal-methods bar: a new law is written in bookspec's
  `lean/Bookspec/`; wanderbooks requires it and moves its pin (the lakefile,
  the manifest, and the crates' Cargo.toml together; the pin test fails if
  they drift). `Audit.lean` lists every theorem.
- docs/verification.md: the model and every cited Lean file are
  `bookspec/lean/Bookspec/<File>.lean`; "Running it" says the dependency is
  fetched and that all 151 theorems are audited.
- docs/testing.md and docs/spec/rules.md: the same paths, and the apportion
  row records where its law moved.
- README's repo map and the two test comments that named the Lean peer.

No accounting behavior changes; only where the proofs and their names live.

Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
This commit is contained in:
swaitsandDeepSeek V4.1 Flash committed 2026-11-08 11:36:00 -07:00
1 parent e431791bbc
commit 4d9c73deef
7 files changed
+34 -22

No files matched your search

+1 -1
View File
@@ -2272,7 +2272,7 @@ their first `settings.set` naming the key, B-27); `ledger-mcp` `books.add_accoun
`tests/tax.rs` (the rounding: `a_category_rounds_its_deductible_amount_once_not_per_account`,
`a_category_rounds_once_across_different_percents`); Kani
`deductible_amount_rounds_once`, `deductible_amount_refuses_overflow`;
bridge `deductible_amount_agrees`; Lean `verify/lean/Wanderbooks/Deductible.lean`
bridge `deductible_amount_agrees`; Lean `bookspec/lean/Bookspec/Deductible.lean`
(`Deductible.near`, `tie_away_pos`, `tie_away_neg`, `sign`, `neg`, `of_sum`,
`per_account_differs`, `scale_books`, `scale_percents`: the one rounding, at any
number of accounts and any sizes); `ledger-store` `tests/store.rs`