Skip to content

Research: rule out uniform dirty-padding exchange adapters - #2740

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
cbethin:codex/dirty-padding-exchange-boundary-seed3
Oct 16, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
cbethin:codex/dirty-padding-exchange-boundary-seed3

Conversation

@cbethin

@cbethin cbethin commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Change and mathematical scope

PR2636's aggregate padding scan requires fresh output. This note proves that a specific borrowed-workspace replacement cannot work: uniform bank XORs, additive padding/restriction, and full padded exchanges cannot exchange one genuine bank while restoring every arbitrary dirty bank. The result covers every [P,Q,G,Q,S] rectangle with Q>=2 and nonempty binary padding, any finite bank count, and any finite word length.

A determinant invariant on a genuine two-cycle and a padding two-cycle gives the complete argument. A seven-gate adapter demonstrates the failure: useful output is correct, but borrowed padding moves. The unpadded case and a changed masked-exchange alphabet provide positive controls. This closes an unbounded search in the stated alphabet and identifies the ownership/primitive decision a physical adapter must make.

Scoped negative result, no new kappa. PR2636 explicitly assumes fresh output and is not refuted. Other coordinate maps, masked exchanges, clean/disposable storage, nonlinear operations, and payload-dependent control are outside the theorem. No selected frontier or upstream source changes.

Task and overlap

Base b5ea56e0a5ac4552166253b1fa4be0753bb38c30; task 01a1335e-7a24-73c3-a549-9bcb5496a363; OS seed 3, bit supplier. Scope changes from the H2/K helper card to a dirty-padding boundary; it is not an H2/K replacement. The verified work continued after an interruption without another scope or seed.

Nearest sources: PR2457 at 0362534712dca8639917a733be62840d5ce55978 and PR2636 at c1e173b7af38603bc7660a8829e75006e93645d3. Current main, source heads, 751 open PR bodies, and recent Discussion claims were refreshed before submission. Broader cached Discussion coverage is explicitly stale. PR677 supplies the prior group-ring determinant method; this adds the simultaneous genuine/padding invariant. PR679's separate unused-lane inverse changes the alphabet and remains outside this result.

Validation

python3.12 -I -B scripts/research_package.py --package research/dirty-padding-exchange-boundary

CPython3.15 primary checks and the explicitly pinned CPython3.12 compatibility replay pass. Five literal full-bit matrix closures each exhaust 96 operators and 288 edges without determinant pruning. A separate generic ring-matrix implementation checks 81 primitives and 160 seeded words, plus the empty-bank case. Another 500 shapes check orbit hypotheses. Optimized Git-free controls reject omitted exchange, omitted restriction, and actual source corruption. Metadata, source pins, and the original card baseline pass.

The uniform theorem rests on the written proof; finite checks corroborate it. Both implementations share an AI author. No external human review, formal proof kernel, physical callee, full selected cold replay, or hosted CI pass is claimed.

Credit and next question

Credit ywz65's PR2457/2636 lineage, commdata2338's PR677 method, Greer Guthrie's PR679 analysis, and their predecessors. Substantial OpenAI Codex assistance; Apache-2.0.

The next useful step is a source-bound physical callee that fixes the padding complement, or a fully priced fresh-output contract. Its heads, scratch ownership, caller parking, and complete cost must be specified before more construction work.

@Mister-Meeseeks
Mister-Meeseeks merged commit 03deb54 into CrocSwap:main Oct 16, 2026
40 of 61 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