Skip to content

Realize carry two on fourteen fixed tapes (no κ) - #6437

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w1-1102d-distinct-obstruction
Nov 10, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w1-1102d-distinct-obstruction

Conversation

@petalas

@petalas petalas commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Scoped all-size construction and resource proof, produced by Nick Petalas. For every positive binary-encoded P,Q,G,S and arbitrary Boolean payload of volume V=P Q² G S, two fixed programs implement y -> y +/- (x+2) mod Q with 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.

finished binary-conversion workspace
    -> unary Q-position counter
    -> cyclic carry-two split and merge
    -> erased scratch with returned head

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=1 and Q=2 and 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:

/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/research_package.py --package research/carry-two-fourteen-tapes
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/check_research_commit.py --package research/carry-two-fourteen-tapes --check-source-history
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -W error -B research/carry-two-fourteen-tapes/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -O -W error -B research/carry-two-fourteen-tapes/verify.py

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 at d62cd1c361594cdf11f4a28486d56d24d0bbc7bd.

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_tape compiler 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

  • Bind one actual coefficient-one, carry-two caller site, its role lifetimes and paid output installation/source retirement.
  • Decide whether the PR5019 supplied-offset interface can reuse conversion storage with fewer roles. Its descriptor preparation and cleanup need a separate complete proof.

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.

  • PR6445 studies compact carry guards and logical exceptional-state repair. It supplies no literal carry-two tape kernel or competing physical-role count.
  • PR6446 studies invariant lattices of rounded rational value shears. Its arithmetic domain differs from this exact coordinate-bank permutation; it computes no competing tape or transition budget.
  • PR2438 and PR2439 appeared in the fourteen-tape search but concern dyadic arithmetic outputs rather than coordinate-bank shears.

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: both plan and replay (research/carry-two-fourteen-tapes) succeeded in run 41543529348. The completed checks were read once with gh 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.

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