K-U7 moved payroll's net pay into the kernel and K-U8 moved the control, aging and reconciliation identities there. Their laws were written once, in bookspec's Lean: law 45 (net pay is gross less every deduction, and a payroll plan balances at any number of employees) and law 46 (the control difference, the aging total and the reconciliation total). The checker and the Lean package move to that rev together, so the pin test holds. Proved at this pin: the Kani fast set, 97 harnesses, none failed and every cover reached; Lean, 212 theorems on the standard axioms only. The Kani set was verified in two runs (93, then the 4 the whole-set time cap cut off on a loaded machine), and the Lean half in a shell of its own. Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
552 B
TOML
17 lines
552 B
TOML
name = "wanderbooks"
|
|
defaultTargets = ["Wanderbooks"]
|
|
packagesDir = ".lake/packages"
|
|
|
|
# The accounting laws are proved once, in bookspec's Lean (D-69): this
|
|
# project builds that package and audits its theorems, and holds no copy
|
|
# of its files. The rev is the same one the Rust checker is pinned to
|
|
# (crates/ledger-core/Cargo.toml); tests/bookspec/pin.rs keeps them equal.
|
|
[[require]]
|
|
name = "bookspec"
|
|
git = "https://git.swaits.com/swaits/bookspec"
|
|
rev = "79cb439a3798053f71bae2cf8d4b9e882958365c"
|
|
subDir = "lean"
|
|
|
|
[[lean_lib]]
|
|
name = "Wanderbooks"
|