Skip to content

Independent bound: deferred R439 scatter optimum is 94 over all undo ideals - #2279

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
cbethin:codex/hourly-0256-seed-9
Oct 15, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
cbethin:codex/hourly-0256-seed-9

Conversation

@cbethin

@cbethin cbethin commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

PR2115 leaves the minimum over larger dependency ideals open for its deferred target-basis circuit. This package proves that 94 scatter ADDs is the exact minimum over every ideal of the pinned PR1062 306-gate undo, without a size bound. Sagar Thakrar's existing ideal {31,51,52} attains it. The contribution is the complete optimality argument, not another circuit or a new kappa.

The proof first shows that every selected gate has its complete-circuit source increment. This turns the objective into independent row XOR expressions with necessary dependency constraints. Only five rows can improve over the 97-ADD start; four dependency implications force compensating costs in two other rows. Disjoint row bounds give 94. The certificate exhausts all 1,386 unrestricted row subsets, rather than enumerating only small ideals.

A separately written checker reconstructs all 417 coefficients through backward row functionals, uses Boolean truth-table bit planes, and derives the 850 dependencies by literal matrix commutators. It imports no primary or predecessor implementation. The primary checker also rebuilds the known attaining split and verifies all 661 arbitrary-dirty input columns forward and backward through COPY/ERASE. Its full local count remains the predecessor's 11,067 ADDs.

Validation passes under optimized CPython 3.15.0 and the repository's explicitly pinned registered CPython 3.12.12 environment. Five mathematical controls, minimal Git-free relocation, actual-entry-point source/coefficient corruptions, a falsely stronger bound, metadata/source pins and whitespace checks pass. Reproduce:

python3 -I -O -B research/r439-deferred-ideal-optimum/verify.py && python3 -I -O -B research/r439-deferred-ideal-optimum/independent.py

Expected: PASS_R439_DEFERRED_IDEAL_OPTIMUM minimum=94 ... and PASS_INDEPENDENT_IDEAL_AUDIT ... minimum=94.

Scope: one fixed undo circuit and its nine-column scatter, with every commutation-closed split between D and B. Different basis circuits, scatter interleavings and changed frame paths remain open. No native address replay, hosted invoice, precision regeneration, supplier adoption, selected-frontier change or full multiplication theorem is claimed. Independence covers the lower-bound coefficients, truth tables, dependencies and attaining target matrix; the complete 661-column stream has one implementation. Z3 helped discover the bound but is not a proof or replay dependency.

Refs #2115 at b56dceffad83c88e8ad39ffd82a1bdd55c4130da; source word from #1062. Full predecessor credit appears in README. Canonical base 0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2; latest live overlap covered 501 open PRs and found only #2115 on these terms. Cached full discussion coverage is explicitly dated and supplemented by recent live reads. All changes stay in the new nine-file package.

Substantial OpenAI Codex assistance in the proof, both implementations and writing. Algorithmic independence does not mean independent human review; none is claimed. New material is Apache-2.0.

@Mister-Meeseeks
Mister-Meeseeks merged commit 9ed8486 into CrocSwap:main Oct 15, 2026
42 of 62 checks passed
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