test(core): the payroll plan harness carries one employee
The two-employee payroll_plan_balances timed out in CBMC: over 80 minutes at full CPU, killed with no result (sixteen symbolic figures into eight totals and check_lines). The earlier note's 297.6s figure came from a misattributed background result and is withdrawn here; the harness as committed had never verified. One employee reaches every plan line, both FICA shares on both sides, net_pay and check_lines, and verifies in 62.0s (65.6s wall). Lean's payroll_plan_balances carries the plan at its totals for any number of employees, since a run's totals are sums of the same eight figures. The bound and why are written in the harness and the note. Co-Authored-By: Muse Wonder 1.0
This commit is contained in:
1 parent
fbe7eb7125
commit
2295d15be8
3 files changed
+14
-11
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//! U7 bridge properties: payroll arithmetic (kernel sweep).
|
||||
//!
|
||||
//! `proofs/payroll.rs` proves `kernel::net_pay` on `i64` (five
|
||||
//! deductions, a two-employee plan through `check_lines`); the engine
|
||||
//! deductions, a one-employee plan through `check_lines`); the engine
|
||||
//! runs the same code on `Decimal`. These properties check that the two
|
||||
//! instantiations agree, that `Decimal` agrees with an independent exact
|
||||
//! `i128` reference (mantissas over a common power of ten, sharing no
|
||||
|
||||
Reference in new issue
Block a user