docs(proofs): K-U4 note, and a clippy fix in the bridge

docs/proofs/k-u4.md: the six harnesses with bounds and times, the Lean
counterparts (Basic.net_append is total_append for the signed sum; no new
law), the bridge, the sites replaced with file:line, the sites left raw
because their signatures are infallible, the regression tests, and two
findings: Decimal's checked_add rounds dust within a unit of Decimal::MAX,
and the audit's reachability claims for section 2.1 were overstated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-08 15:30:41 -07:00
1 parent 5ae26f1288
commit bc81b84932
2 files changed
+176 -1

No files matched your search

@@ -108,7 +108,7 @@ fn decimal_edge_table() {
// total_of and total_try see the same edges.
assert_eq!(kernel::total_of([max, one], |x| x), None);
assert_eq!(
kernel::total_of([1, 2, 3], |n| Decimal::from(n)),
kernel::total_of([1, 2, 3], Decimal::from),
Some(Decimal::from(6))
);
assert_eq!(