docs(plan): K-U10 landed: the triage, the status and the log say so

The triage marked exact Decimal arithmetic and the tie rule as in
flight; both are on main. It now says what each closed, the one figure
a new foreign line can book differently (the exact product's cent,
10500000099.89 where the double rounding booked .90; posted lines are
not recomputed), and what the checks found that the workers' own runs
did not: an exact division that accepted a rounded quotient, the six
review findings, and the Kani cover the tie change made unreachable.

The comment in add_line_fx said a 20-place product past 7.9e8 rounds
twice; since K-U10 the kernel holds that product in 256 bits and rounds
once. The K-U1 note's open edge points at the unit that closed it.

Three lines in the delegation log: the two hard implementations and the
review.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude committed 2026-11-09 22:41:34 -07:00
1 parent 5e9591725a
commit c5c57aaf4b
6 files changed
+40 -19

No files matched your search

+3
View File
@@ -9,3 +9,6 @@ Columns: date | type (scout, run/verify, implement, refactor, debug, review) | p
2026-11-09 | implement | muse / muse-wonder-1.0 / reasoningEffort high | small | 2h25m (machine at load 90+; the code was done in ~13 min) | | accepted after fixes | me, ~10 min: boundary assertions a tenth of a unit past the bound; its raw arithmetic in audit.rs still to route through the kernel | V-D3; sent before the tier policy; the bound covers one legacy close, not several
2026-11-09 | refactor | muse / muse-wonder-1.0 / reasoningEffort high | medium (17 files, +498/-62) | 4h13m (machine at load 50-90) | | accepted after one fix | me, ~5 min: the demo books' booked fee was put on the display rounding; back on the kernel's, rule unchanged | K-U9; sent before the tier policy; worked from a base 16 commits old, so it reported a traceability failure that main does not have; its report matched its diff
2026-11-09 | implement | opencode / opencode-go/deepseek-v4.1-flash / variant high | medium (10 files, 369 lines beside the generated file) | 1h15m | | accepted after rework | me, ~1 h: the check takes 2 minutes, not seconds; a failure hint; why `--offline`; and the real gap, 70 crates whose notice was a licence text with a placeholder copyright line, closed with a second script | third-party notices; the brief was followed to the letter and every DONE-MEANS output matched; it did not look at whether the generated text carried what the licences ask for, which the brief did not ask it to
2026-11-09 | debug/hard implement | claudeAgent / claude-sonnet-5-5 / effort high | large (14 files, +1144/-152) | 6h20m (machine shared with three other workers) | | accepted after rework | me, ~1 h: `checked_div_exact` accepted a rounded quotient (10 / 3), fixed with tests; then the review's fixes (below) | K-U10a, exact Decimal sums and products; the design (256-bit product, a sticky digit, one rounding) was its own and held up under review; its properties proved a figure returned is exact, not that an exact figure is never refused
2026-11-09 | review | muse / muse-wonder-full-1.0 / reasoningEffort high | large (the K-U10a diff) | 1h05m | | six findings, all reproduced: one refusal the docs did not state (a step of 27 or 28 places), four gaps in what the properties covered, stale sentences; no wrong figure in 400,000 sampled pairs | me, ~1 h: the properties now also prove nothing representable is refused; the refusal stated and pinned | worth its cost: the completeness gap is the kind the author's own tests cannot see; it ran no cargo, Kani or Lean itself
2026-11-09 | debug/hard implement | claudeAgent / claude-sonnet-5-5 / effort high | medium (7 files) | 4h (machine shared) | | accepted after rework | me, ~1.5 h: its ranking used the exact product, which K-U10a makes a refusal for weights of 27 places (now the rounding product, with a test); it ran no Kani, and Kani then failed the unit: a cover in `split_by_weights_within_one_step` could no longer be reached, since the exact ranking makes the bound strict on i64 (harness tightened) | K-U10b, ties by the exact remainder; its measurement of what moves (`ties.rs`) was what the owner's decision needed; worked from a stale base again
+1 -1
View File
@@ -49,7 +49,7 @@ the precondition, and states that `Decimal::checked_mul`'s two
behaviours outside it are inherited, not hidden: rounding past scale 28
(and past 96 bits), and `1e-28 x 1e-28` underflowing to zero.
**An open edge, not closed by D-75.** The 96-bit half of the
**An open edge, not closed by D-75 (closed since by K-U10, `docs/proofs/k-u10.md`).** The 96-bit half of the
precondition is not enforced: ten places each still allow a product of
twenty places past about 7.9e8, which needs more than 96 bits.
`1050000010.0000000001 x 9.9999999999` is 10500000099.89499999999999999999
+2 -2
View File
@@ -1,7 +1,7 @@
# K-U10: `Decimal`'s sums and products are exact or refused (`kernel/decimal_exact.rs`)
_Folded into `docs/verification.md` by the integrator; this note is the
unit's own record._
_Folded into `docs/verification.md` ("The kernel sweep" and "What is and
isn't proved"); this note is the unit's own record._
Plan unit K-U10a (`plan/p14-bookspec.md`, the K-U10 row). Rules: BS-ledger-1
(a product the arithmetic cannot hold MUST be refused; a foreign amount is