Skip to content

Audit deferred-row rounding: sharp error bounds and clean-return controls - #6119

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
CubeJerry:research/deferred-row-rounding-seed66-20261028-103108
Oct 28, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
CubeJerry:research/deferred-row-rounding-seed66-20261028-103108

Conversation

@CubeJerry

Copy link
Copy Markdown
Contributor

Adds one isolated numerical-interface audit. A sole rounding error of 1/2 in a temporary row causes retained error 2; final deletion is a norm-one projection, but internal errors need suffix accounting. The explicit two-phase model has sharp independent-defect bounds 1 (normalized) and 4 (raw). Retained-only tests can miss omitted cleanup. No new κ.

This complements PR6115's cost audit and credits PR6110's handoff and PR5081's computed-input error work. The selected fixed-grid program is unchanged; no bug in PR6030 is alleged.

Base: 721c03822c421b7f7fcbb2598993b947c4d88419. All eight input/source pins are in SOURCES.json. Published commit: bdfe5a10d488b5f774e906d8d4588dc8da25e7ba. Its complete tree 63636bc666c2fe62588971e6948c8c902a7ed343 equals the tested local tree.

Reproduce:
python3.12 -B scripts/research_package.py --package research/deferred-row-rounding-audit
Expected: PASS_DEFERRED_ROW_ROUNDING_AUDIT and PASS_ROW_ROUNDING_MUTATIONS in normal and optimized modes.

Executed: 208 exact matrix coefficients; sharp bound with attaining defects; all 6,561 nonlinear inputs, 81 dense cross-checks, 1,300 channel fixtures; ten actual private-copy faults rejected per mode. Metadata, committed bytes/source history, 17-file export and Git-free replay pass; exported hashes unchanged.

Scope: a conditional numerical lemma and explicit surrogate, not an emitted native caller. Actual gate-error/range bounds, physical disposal costs and all five framework assumptions remain. No selected cold replay, hosted CI, human review or proof-kernel acceptance claimed.

Prepared by @CubeJerry with substantial OpenAI Codex assistance. Credit Vlado-V, zxv, DreamingOfClouds, Ali Romman, Douglas Colkitt, JosieElliston, DLamdata, JoyboyBrian and retained predecessors. Apache-2.0.

Proof, exact pins, limitations and validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants