Fold the six proof notes of plan P14's kernel sweep into the one place the
proofs are described. verification.md gains:
- the harness table's thirty-four new rows, each with its note's law
number and measured time (all run in `prove`; none is in `kani_slow`);
- four new law sections in the existing house style: law 40 rounding to a
step (K-U2), law 41 FX booking at the transaction-date rate (K-U1), law
42 shares by weights (K-U3), and law 43 equal monthly parts (K-U5);
- law 4's collection-total harnesses (K-U4), law 23's Direction::of and
law 27's part_weight harnesses (the entries note), with their bridges
and the Lean theorems each cites;
- the sweep's Kani bounds (fixed steps, rates, month counts, weights
totals, the `unwind(4)` and MAX_CORRECTION_STEPS bounds) and the
symbolic-divisor note that carries them to Lean and the bridge;
- "What the proofs found" and "What is and isn't proved": K-U1's double
rounding and D-75 precondition with its open 96-bit edge, K-U4's
checked_add dust at Decimal::MAX, K-U3's quotient-crossing-a-step and
non-terminating correction loop, the pinned tie ranking, the preserved
printed scale, and K-U10's MAX and scale-28 edges, each with the test
that pins it;
- the overview table's scope, the sweep's bridge reference, and the
harness/audit counts (97 harnesses, 87 in `prove`; 188 Lean theorems).
Each unit note now opens with the section it was folded into; the notes
stay as the units' records. No code changed.
Co-Authored-By: DeepSeek V4.1 Flash <noreply@opencode.ai>
Five Kani harnesses on i64 (fixed arrays, fixed months and steps, covers
reached): the parts sum to the total, all but the last are the half-even
rounded quotient and a whole multiple of the step, the last takes what the
others leave, the first part is within half a step of the quotient (a unit
a month wider against the true one, because i64 truncates), and no months
or a bad step is None. Law 43, bookspec's even-parts law.
The bridge checks i64 against Decimal where the quotient is exact, and
Decimal against an independent exact i128 reference at the USD, JPY, KWD
and CLF steps for any month count, with an edge table: Decimal::MAX and
scale 28 never panic and still sum exactly, though the 28-digit division
leaves MAX / 2 half a unit off its exact quotient (the K-U10 item, pinned).
docs/proofs/k-u5.md records the API, how a schedule knows its rule, the
times and the bounds.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>