Skip to content

Construction: R439 one-slot multi-column interleaving reduces deferred scatter 88 -> 84 ADDs (no new kappa) - #2440

Merged
Mister-Meeseeks merged 3 commits into
CrocSwap:mainfrom
thakrarsagar:loop9d24/i8-s6-r439-multicol-interleave
Oct 15, 2026
Merged

Mister-Meeseeks merged 3 commits into
CrocSwap:mainfrom
thakrarsagar:loop9d24/i8-s6-r439-multicol-interleave

Conversation

@thakrarsagar

Copy link
Copy Markdown
Contributor

Status: Construction (finite exact scalar circuit; no new kappa, no optimality claim, no native/physical admission).

Summary

This answers PR2407's Open next question 2 positively for one fixed order: the PR1062 R439 word, deferred undo order ideal303, kept gates {31,51,52}. Several retained scatter columns can share one live private COPY slot during the single chronological pass over the 303 deferred target-undo gates. The rules are:

  • each column gets one contiguous COPY interval;
  • intervals do not overlap;
  • a handoff at the same cut is allowed (ERASE then COPY).

Result: the complete scalar scatter falls from 88 to 84 ADDs, and the complete stream from 11,061 to 11,057 ADDs. For comparison, PR2407 has 88 / 11,061 and the PR2115 split has 94 / 11,067.

The witness has 9 segments:

  • cols 2, 3, 5 at cut 0
  • col 4 on [0,18] (5 taps, -3)
  • cols 7, 8 at cut 18
  • col 1 on [18,42] (15 taps, -1)
  • col 6 at cut 42
  • col 0 re-decomposed into [42,182] (10 taps, the same -6 that PR2407 got on [0,182])

These are unchanged:

  • all 306 undo gates. Deleting the taps and COPY/ERASE records leaves exactly the exported split stream.
  • the nine rank-7 COPY/ERASE pairs
  • the 2,911 ordered MOVEs
  • the paid histogram {1:1323,2:1342,3:79,4:44,5:102,6:11,7:19} and rank mass 5,129

The inherited guards pass: 64F^3B^2 is 95 bits (< 104) and 2^18F^5B^4 is 181 bits (< 192), with F = 25,717. B rises to 5,030,078 (from 5,026,856 in PR2407).

Base and pins

  • Base commit: 0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2. origin/main was unchanged at the final refresh.
  • Live inputs from main, pinned by sha256 and Git blob in SOURCES.json:
    • research/r439-bsection-stars-seed01/candidate.json.gz
    • research/e8-bit-carrier-skeleton/code/bit/export_records.py
    • research/e8-bit-p111-tuned/code/xcheck_p.py
  • Adapted code (Apache-2.0): PR2407 head 4944211c, research/r439-single-copy-interleaving/verify.py, blob 07724f60d7e8.
  • Predecessor heads, all OPEN and unmerged (pinned in SOURCES.json → predecessors): PR2115 b56dceff, PR2279 81fed971, PR2356 8ffeca2c, PR2407 4944211c, PR2421 71d10b28, PR2437 4ac2b382.
    • The 84 stream's correctness is re-derived from main's pinned inputs only.
    • The 94/88 baselines and the deferral/interleaving model come from these open PRs.

Reproduce

python3 -I -B research/r439-one-slot-multicolumn-interleave/verify.py

Expected output (about 2.5 s, standard library):

PASS_R439_ONE_SLOT_MULTICOLUMN scatter=94->88->84 ADDs=11067->11061->11057 interleaved_columns=3 dirty_columns=661 controls=13 no_new_kappa no_optimality_claim

Run only under CPython 3.14.4. The registered Python 3.12 launcher replay (scripts/research_package.py --package ...) was not run locally because 3.12 is not installed. Hosted CI is its first run. --check-only passes, and python3 -B -m unittest discover -s tests -p 'test_research_*.py' passes (65 OK, 2 skipped).

Certificates and negative controls

verify.py adapts PR2407's verifier, generalised to ordered one-slot segments. It checks:

  • the PR2115 split, re-derived;
  • suffix algebra per column;
  • a literal forward and backward replay over all 661 dirty input columns;
  • the slot is free at each COPY and the snapshot is unchanged at each ERASE;
  • the measured peak live COPY count is 1;
  • the frame invoice and paid profile, ordered MOVEs, and the precision guards;
  • strip-equality to the split;
  • the original, split-94 and PR2407-88 calibration streams are byte-identical to the record SHA256s in PR2407's RESULT.json;
  • the fixed receipt.

The DP schedule from the packaged search (a different 84 schedule) is also replayed in full and accepted.

There are 13 rejecting controls:

  • overlapping intervals (algebraic and literal)
  • wrong cut
  • dropped tap (algebraic and literal)
  • swapped columns (algebraic and literal)
  • tap outside its interval
  • missing undo gate
  • premature ERASE
  • wrong tap frame
  • underpriced COPY

Reviewers' external tampers were all rejected: claimed 83 ADDs, a shifted erase cut, a moved tap, reordered segments, a byte flip in the input, an extra cancel pair, and a tampered alternative schedule.

Search record

This is a failed search below 84 over a finite pool, not a lower bound.

  • Domain: the fixed ideal303/{31,51,52} order. Per column, the options are the exact single-cut representations at all 304 cuts plus every visited tabu-walk state (moves are gate relations), pooled by canonical COPY core. An exact DP then runs over all one-slot chronological schedules restricted to that pool.
  • Seeds: 6 (30,000 walks) and 606 (60,000 walks). Stopping rule: fixed walk count.
  • Outcome: both seeds reach DP optimum 84 and output the same alternative 84 schedule. Pooled per-column minima are 10, 14, 8, 4, 5, 11, 12, 5, 12 (sum 81). The cheaper cores for columns 1, 6 and 8 collide under one slot.
  • Exact meet-in-the-middle over the 412 responses U_after(c) e_i: within this one-slot tap model, column 3 needs exactly 4 taps and every other column at least 5 (total ≥ 44). These bounds do not cover other circuit forms, multi-slot schedules, other orders or other kept sets.
  • Witness provenance: WITNESS.json came from an earlier unpackaged grid pass. The packaged search regenerates a different 84 schedule, which verify.py also accepts.

Scope, inherited assumptions, unresolved obligations

  • This is a scalar-only side result on one word, order and kept set. The source word's H2/K flags remain false, as in PR2407, so there is no supplier admission and no kappa change.
  • Inherited: PR2115's replacement H5 deferral contract (V R = I with the H2 target clause), PR2279's split-ideal accounting for 94, and PR2407's one-slot frame invoice.
  • Open:
    • PR2421/PR2373 native replay of the 84 stream
    • whole-call hosting/owner binding. Concurrent PR2437 binds only PR2407's single-window stream. This stream has three non-trivial windows plus same-cut handoffs.
    • native compiler and physical scratch
    • all-size/common-label realization
    • precision/tapes beyond the two source-normalised guards
    • exact recovery, analytic transfer and outer assembly
    • optimality of 84
    • other undo orders and kept sets
  • Verification is single-lineage: an adaptation of PR2407's verifier. The reviewers' independent replays agreed but are not packaged.

Overlap and credit

No prior or concurrent work searches multi-column one-slot interleaving. The final refresh covered:

How this relates to existing work:

  • PR2407 (Ross Richardson) interleaves only column 0, and its verifier is adapted here.
  • PR2421 (starship-s) natively replays that single-column stream.
  • PR2279 (Charles Bethin) is optimal only over split ideals, which exclude interleaving.
  • PR2356 (Sricharan Vagvala) fixes column 7 and two orders.
  • Concurrent PR2437 (Ross Richardson) is a related whole-call hosting binding of the 88 stream. It does not cover this stream.

Further credit: Sagar Thakrar (PR1062 R439 word, PR2115 split), Gareth Davidson (PR2373), DreamingOfClouds and eumemic (PR589/555), and the exporter/checker lineage (Dylan Crow, eumemic).

Contributor: @thakrarsagar, with substantial AI assistance from Claude Opus 5.5 via Claude Code, run in an automated research-sprint loop. The AI did the search design, code, verification and drafting. Three AI review passes were run; there was no independent human review. Licence: Apache-2.0.

🤖 Generated with Claude Code

thakrarsagar and others added 3 commits October 15, 2026 15:08
Exact finite construction answering PR2407 open question 2: nine retained
columns share one private COPY slot over the fixed ideal303 deferred undo
(kept gates {31,51,52}); complete scatter 84 ADDs (11,057 total), all undo
gates, COPY/ERASE pairs, MOVEs and paid profile unchanged. Full 661-column
forward/backward literal replay, PR2407 byte-identical calibrations, 13
rejecting controls. No kappa change, no optimality claim.

Adapts Ross Richardson's PR2407 verifier (Apache-2.0). Prepared by
thakrarsagar with substantial AI assistance from Claude.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…9 84 witness

SEARCH.json: seeds 6 (30,000 walks) and 606 (60,000 walks), both exact DP
optimum 84 over the pooled options; identical pooled per-column minima
(sum 81) whose cheaper cores collide under one slot. Exact weight<=4
exclusion per column. Failed search beyond 84, not a lower bound.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…4 schedule

- Restate PR2407's inherited/unexecuted obligations (H5-replacement deferral
  contract, whole-call hosting, compiler, all-size, precision envelopes,
  recovery, analytic transfer, outer assembly).
- Credit concurrent PR2437 (Ross Richardson) and add its multi-window
  binding as an open question; pin all open predecessor heads in SOURCES.json.
- verify.py: measure peak live COPY count; also replay the SEARCH.json DP
  alternative 84 schedule in full (receipt regenerated, adds one schedule).
- Qualify the weight lower bounds to the one-slot tap model on ideal303;
  clarify that both seeds output the same alternative schedule; scratch
  path for the search command; note B rise and unrun 3.12 replay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ywz65

ywz65 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

CLAIM (2026-10-15, ywz65): checking the explicit native 5/9/11-stage handoff for this exact 84-scatter-ADD stream at head 1b38482. Scope: unchanged native legality/column engines, full RAW6/metadata binding, and multi-column same-cut COPY-slot handoff controls. PR2421 covers the earlier88 stream; this does not claim a new circuit, hosted physical admission or kappa. Local-only until linked evidence is submitted. Base0fdd7d82, priority4, picker95e2790a30bd5a4a004af834d573d6ae; claim expires2026-10-15T17:00Z. Substantial OpenAI Codex assistance.

@ywz65

ywz65 commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

DONE: PR2584 now supplies the exact84stream native5/9/11-stage replay and three COPY-slot handoff controls, at head dc83054. Both94baseline and84candidate pass unchanged native engines; all96 bridge omissions reject. A stale tap after handoff passes identical legality but fails all native column engines. Full source/RAW6/metadata bindings and replay commands are in research/r439-multicolumn-native. This is finite native evidence, not physical/hosted supplier admission or a new kappa. Construction credit remains with this PR. Claim released. #2584

@Mister-Meeseeks
Mister-Meeseeks merged commit 70247ba into CrocSwap:main Oct 15, 2026
55 of 62 checks passed
@thakrarsagar
thakrarsagar deleted the loop9d24/i8-s6-r439-multicol-interleave branch October 18, 2026 08:08
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.

3 participants