Repository navigation
Research: exact restoration contracts and resource bounds for rounded borrowing - #1135
Merged
Mister-Meeseeks merged 1 commit intoOct 14, 2026
Merged
Conversation
Contributor
|
100-PR batch review at Merged to Reviewed scope: Same-grid rounding fails the exact additive borrowed-child contract; safe-translation lattice, restricted summary-state bound and fully charged modular/integer escapes. The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions. Batch review, attribution and evidence. Thank you for the contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #1057 proves exact restoration with three dirty arrays when every child is additive. The rounded leaves from PR #985 and the precision proof in PR #1054 do not supply that contract. This package identifies the actual borrowed boundary and proves its necessary and sufficient translation condition.
Review files: Proof and scope · Evidence · Source pins and credit.
The result is a scoped obstruction and resource tradeoff. It makes no new kappa claim.
x -> 4x/3with error below1/3on the physical interval[-1,1], even with more guard bits or unlimited restored workspace. Restricted source grids and different output grids are explicit escapes.Pz/q, the safe translations are exactlyPh=0 mod q. A correction that cannot reread the old helper needs one saved state per quotient class. For a coprime scalar on L entries this givesq^Lstates when the admitted source and displacement ranges contain a complete residue domain. Smaller finite domains can need fewer states. Readable current data and displacement can recover the old helper without a saved summary; the proof accounts for that escape at the actual borrowing boundary.The written proof is supported by deterministic exact checks: 716 reduced scalar ratios, 3,495,180 residue responses, all 700 normalized functions on cyclic groups of orders 2 through 5 at the emitted child boundary, six matrix quotients, 380 pinned rounded leaf executions, 22 finite exact lifts, and nine mathematical controls. A read-only relocated replay under optimized Python passes. Three real subprocess controls reject a changed pinned source, a discarded residue, and an occupied output file.
Reproduce from the repository root with the Python standard library:
Expected final markers:
The selected-record check and all 25 selected unit tests passed on the exact experiment base. Full
make verify, the selected cold replay, remote CI, and a physical tape compiler were not run. This change only adds the isolated research package. Finite replay is not a formal proof of the full multiplication theorem.Experiment base: abdc6a7002abdbcd9e21bfc5e1a795784deacfdf. Source pins: PR #1057 78a062df1dcab2bffea5ff4d8243f3da6e465414; PR #985 da1cdf8ed4ac9b1b8378dfec73f77ff4e81a4f70; PR #1054 6bc675be1554b3a3be771147f21f9dc2c6dae50a. The package freezes exact source and context bytes. During the work, main ba82555c64e1879e4b7decce28186f208fcb8262 selected PR #1042 at conditional
kappa=1672188119205421/10^18; this package does not alter that selection or any supplier call moment.The proof, failed approaches, finite domains, overlap checks, and validation receipt are in research/rounded-borrowing-contract/. It credits Gareth Davidson (@bitplane)'s PR #1057 and the retained predecessor lineage. Prepared for Ali Romman (@aliromman) with substantial OpenAI Codex assistance in the research, proof, implementation, verification, and text. New material is Apache-2.0. No independent human or proof-assistant review is claimed.