Repository navigation
Realize carry two on fourteen fixed tapes (no κ) - #6437
Merged
Mister-Meeseeks merged 1 commit intoNov 10, 2026
Merged
Mister-Meeseeks merged 1 commit into
Mister-Meeseeks merged 1 commit into
Conversation
This was referenced Nov 2, 2026
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.
Summary
Scoped all-size construction and resource proof, produced by Nick Petalas. For every positive binary-encoded
P,Q,G,Sand arbitrary Boolean payload of volumeV=P Q² G S, two fixed programs implementy -> y +/- (x+2) mod Qwith fourteen tapes, seven symbols and 598 local instructions per direction. Complete costs are at most 504V transitions and 41V visited cells, including setup, copying, preserved inputs, returned heads and complete scratch erasure. Both linear coefficients are attained by this program at the all-one shape; no optimality over other programs is claimed.This answers Charles Bethin / cbethin's PR2829 Open next question 1 for another fixed carry on the fourteen-role budget. JoyboyBrian's merged PR5019 already handles arbitrary supplied affine coefficients/offsets on nineteen tapes. David Arias / PR2776 supplies the retained machine, counters, split/merge macros and separate dense interpreter; Jose Manuel and the retained ordered-affine lineage retain credit. The new step reuses conversion storage and separates x-loop termination from split wrapping. No predecessor theorem is audited or claimed as new.
Evidence
Before, the cited general controller used nineteen roles for this endpoint. After, the new fourteen-role compiler and written invariant include
Q=1andQ=2and provide exact transition/span formulas.Local CPython 3.12.15 verification passes 308 directional executions over 93 shapes and 22,482 payload bits, 18 sparse/dense complete-bank comparisons, 12 additional physical inverse round trips and 13 failure controls. The primary fixtures execute 1,595,406 transitions. Every four-bit Boolean payload at Q=2 and every basis column for two Q=3 shapes are included. A separate coordinate gather oracle shares no split/counter logic. Generated stdout reports bind all package files and both compiled tables by SHA256; replay writes nothing.
Exact commands, from the repository root:
Markers:
PASS_CARRY_TWO_FOURTEEN_TAPES,PASS_REGISTERED_RESEARCH_PACKAGE,PASS_RESEARCH_COMMIT_BYTES. Timed registered commands take 0.362s and 0.386s locally; each has a 120-second limit. The complete registered runner takes 1.130s. These are timeout checks, not performance claims. Ruff checks/format pass. Committed bytes and declared source ancestry pass for all 13 package/input files. Official committed export/integrity checks and both modes in the read-only Git-free export pass atd62cd1c361594cdf11f4a28486d56d24d0bbc7bd.Limitations
The written all-size argument cites the predecessor component lemmas. Finite implementation checks corroborate it; they are not a proof-kernel result. Distinct roles, valid marked inputs and initially blank output/scratch are required. The card scope is changed to a standalone
precision_tapecompiler component. Actual selected-caller allocation, in-place owner installation, arbitrary dirty scratch, invalid-input cleanup, runtime offsets, general coefficients and full supplier admission remain outside scope. No selected cold replay, five-assumption discharge or new kappa is claimed.Open next questions
Related open work
The complete entry snapshot and live targeted searches found no other open PR studying this fixed carry-two endpoint or its fourteen-role budget. The final account refresh examined all 63 open PRs, including 13 created since the advance claim, and found no competing result for this endpoint or budget. No additional computations were run to check another contribution.
Merged PR2829 and PR5019 remain the direct question and broader existing construction, respectively; neither is reverified here. The overlap coverage is advisory and does not cover unpublished work.
CI notes
Hosted CI passed at publication head
d62cd1c361594cdf11f4a28486d56d24d0bbc7bd: bothplanandreplay (research/carry-two-fourteen-tapes)succeeded in run 41543529348. The completed checks were read once withgh pr checks 6437 --repo CrocSwap/integer-mult-bounds. All registered commands, both direct modes, committed source-history checks and read-only Git-free export replay also passed locally. This is replay coverage, not independent scientific acceptance.Canonical claim.
Merge Danger
Door: two-way. Blast Radius: isolated. Only the new research package is added; existing source, framework and selected-frontier files are unchanged.