Skip to content

Implement sparse XOR batches on fixed physical tapes - #3608

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
jmbarrancoml:research/sparse-xor-batch
Oct 20, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
jmbarrancoml:research/sparse-xor-batch

Conversation

@jmbarrancoml

@jmbarrancoml jmbarrancoml commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

The physical Compact controller used uniform rho+jK positions. I add one borrowed encoded source/target-pair tape and implement a simultaneous sparse XOR batch after reservoir placement.

I use fixed fields (u,t,y,b), with disjoint target guards and sources outside the target set, including sources inside guards. I execute twelve B1 interchanges and ten controlled rotations per complete row, then repair exceptional records with T(S^-1(q)) using current inverse controls. I restore dirty fields and other address bits, preserve complete Gaussian records and borrowed input, and return a protected output with owned work erased.

I prove the source-relative bill

12 K_q V(1+H^tau) + O(V + M A^6 + delta M A(R+A)),
tau=332353/332929,
delta=min(1,k(2/2^G+8*2^G/2^K)).

I include descriptor storage and repeated scans in A and price each interchange at the supplied H, including inactive high digits. Under the stated finite guard, source-admissible ordinary/refinement premises and actual long-record domain, I obtain O(V(1+H^tau)) time and O(V)+F_q space. I bound scratch from the call structure, separately from observed peaks.

Validation at c6020096322012f7cc41236c3ac15a6b6cd3f8b9:

  • I passed all six registered suites with CPython 3.12.13 and -I -O -Werror -B, plus metadata/pins and committed-byte/source-history checks.
  • I checked 96 encoded states and 960 offsets, including unequal gaps, inactive high digits, whole-modulus wrap, prefix-only reads and current inverse controls.
  • I checked a complete 256-record packet with 32 guarded and 224 exceptional addresses, two-row reuse, and a complete 2,048-record two-pair packet with cross-guard sources. I tracked each independent input bit and observed twelve B1 calls and ten rotations per row in both nonempty cases, with the retuned profile at each actual selector call.
  • I reject malformed descriptors, omitted repair/inverse work, protected-output overwrite, borrowed aliasing, physical allocation, stale/altered source cohorts and the old ordinary profile. I also check the empty-list path with unused large guard parameters.
  • I exported and checked 20 committed package/input files, replayed all six commands outside Git, and verified unchanged bytes for all 21 regular files including the receipt. Export SHA256: c5767f3744338bb022a5d18863566da19c26a657be8b23b3a2ae775c431c7af5.
  • I passed CI run39112383668 on the same head, including all six registered groups and the unchanged-committed-input check.

The multi-pair fixture has an entirely exceptional domain; I use it to test complete repair semantics. The physical fixtures use reduced fields and the elementary B1 branch. I do not execute the production GL64 program, prove the inherited all-size premises from tests, or infer sparse-density performance from that all-bad fixture.

Reproduce with Python 3.12 and the standard library:

python3.12 -B scripts/research_package.py --package research/physical-sparse-xor-batch
python3.12 -B scripts/check_research_commit.py --package research/physical-sparse-xor-batch --check-source-history

I started from main 20ecf2891d80b5acf18d980b2164fb44ea7faa90, priority revision 6, and add one isolated package. The final refresh covered 321 open PRs and 2,440 Discussion records through 08:34 UTC on 2026-10-18. I found no competing encoded batch in that coverage. Canonical investigation.

I retain Vlado Vojdanovski's PR1673 unequal-gap algebra, Douglas Colkitt's compact construction, Jose Manuel's PR3055 physical Compact and PR3562 rate proof, and the David Arias/Nick Petalas/Adam Gall native and borrowing lineage in their source notices. I compare all 23 active ordinary files with the retained rate proof. Hiroki Kumazaki contributes concurrent retuned-factory work in PR3576. Nick Petalas's PR3581 restricts materialized B1-only exposure; I use the richer rotation/repair alphabet and charge its work.

I leave full reservoir placement, matching/color scheduling, combined PR3599/T74 integration, outer error/packing and independent scientific review open. I leave the selected frontier unchanged. Jose Manuel (jmbarrancoml), with substantial OpenAI Codex assistance. Apache-2.0.

@Mister-Meeseeks
Mister-Meeseeks merged commit 65d9fb4 into CrocSwap:main Oct 20, 2026
2 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