docs: law 39 names its Lean theorems

Law 39 said no Lean theorem was needed because the Books model has no
tax categories. That reasoning was wrong: the law is pure kernel
arithmetic, like Prorate's roundUnit laws, and needs no Books model.
verify/lean/Wanderbooks/Deductible.lean now proves it at any size.

verification.md law 39 lists the Lean theorems in the usual format and
states the split plainly: Lean proves the law on integers over a common
denominator (one rounding, Prorate.roundUnit on the magnitude, signed
after); Kani proves the code on i64; the bridge and exact-reference
properties carry it to Decimal; overflow stays outside the model.
rules.md B-32's Checked line and plan/STATUS.md name the Lean file.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-08 08:14:49 -07:00
1 parent 2d345d02bc
commit aa1331c8bd
3 files changed
+37 -11

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ both were fixed before merging.
- **2026-11-08:** the deductible share is `kernel::deductible_amount`
with Kani harnesses (`deductible_amount_rounds_once`, in `kani_slow`,
~17 min; `deductible_amount_refuses_overflow`), bridge and exact-reference
properties, and docs/verification.md law 39 (no Lean theorem: report
arithmetic, reasoning there). `just prove` green; the slow harness
properties, and docs/verification.md law 39 (Lean `Deductible.lean`: the
law at any size, no Books model needed). `just prove` green; the slow harness
verified. Review caught a false overflow on huge Decimal results, fixed.
**Left:** as before: P12 step 2 (the owner's overnight run, not started);