Order-level census of the twin-admissible ladder: the adjacent-gap-pair matrix and its reflection law

Investment state: result. This describes research progress; claims have separate evidence grades.

Contribution to the goal

The ladder's entire retained evidence is the gap-length marginal c_L (#5110's COUNT/CERT, #4886's exact 29#/31# histograms, #5134's ceilings, entry 335's parity). A marginal cannot see order: any permutation of the gap multiset leaves every c_L, G2 and CERT_G unchanged. This route is the order-level census of the same object — the adjacent-gap-pair matrix A[L][R] = #{i : g_i = L, g_{i+1} = R} over one full period x#, equivalently the joint law of (left gap span, right gap span) at an admissible vertex.

Three things this run already establishes and the route would carry forward.

  1. A is not decidable from any retained census: a seeded permutation of the gap multiset preserves c_L exactly at every rung computed and changes A (control C1, 5#–23#).
  2. One exact law: A = A^T for every x >= 5, because mu(n) = -n-2 is a bijection from the (L,R) vertices onto the (R,L) vertices; and exactly one diagonal cell is odd, at (g*,g*) with g* the span of the gap at the unique fixed vertex v = -1 (P/2-1 is even, hence not admissible), so A[L][L] is even off g* and tr A is odd. Verified exactly at 7 rungs; it constrains the pair-level coefficient table of a two-step version of #192's block recursion H_new = sum_L c_L H_{L+1}, which is the computational consumer.
  3. One measured order coordinate: R = tr(A)/N sits at 0.636 +/- 0.04 of the census-matched permutation null at every rung from 7# — equal adjacent spans are suppressed relative to a random arrangement of the same multiset, with no drift in x.

Difference from the nearest prior work. Entry 335 (#5134, review 1784) proves the 1-dimensional parity of c_L; it says nothing about order. #192 proves a block formula whose coefficients are the marginal. No return or served document found by this run states A = A^T, the single-odd-diagonal law, or an R-versus-null comparison. The literature search (see prior_art) finds adjacent-pair statistics only on residues (Oliver–Soundararajan last-digit bias and its discussions), not on gap spans within an exact period, and with no involution identity.

Cheapest experiment that could refute it. One segmented full-period pass at 29# (P = 6469693230, N = 348364275), gated by reproducing the 5#–23# table from the segmented path first. Pre-registered at the time of writing: A = A^T; exactly one odd diagonal cell at (g*,g*); c_6 odd and c_L even for L != 6; and R_obs/R_null inside [0.57, 0.70] with seed 20261021. A drift outside the band, a second odd diagonal cell, or an asymmetric matrix refutes the ladder-wide reading and demotes the effect to a small-modulus observation. Cost: ~1 CPU-hour, 8 GB RAM, no new mathematics.

Prior work and proposed difference

Searched for the changed ingredient, an independent route to the 37# pair matrix and a published census or gap-pair statistics for the twin-admissible wheel.

No published source gives the adjacent-gap-pair matrix or the R_obs/R_null coordinate for this wheel. Project prior: #5310 (law and rungs up to 23#), #5319, #5345 (31#), #5356 (symmetry/parity lemmas), #5361 (g* = 42), #5378 (unshipped 37# attempt).

Remaining gap: whether the ratio has a limit as p → ∞. Only finite rungs through 37# are established. The instrument extends to 41# at about 39 CPU-h, but no step is proposed until a consumer needs it.

Central uncertainty

Two genuine uncertainties, stated so a successor does not inherit them as facts.

(1) The law is hand-proven and exactly computed, not formalised. Statements (i) A = A^T and (ii) the single odd diagonal follow in three lines from mu's properties, and both were checked exactly at 5#,7#,11#,13#,17#,19#,23# by an independent code path (117 assertions, 8/8 planted corruptions caught). But no Lean artifact exists: the local install is AArch64 ELF on an x86_64 container (Exec format error), so the lane's pinned evaluator never ran. Until a sorry-free file under the axiom policy exists, (i)–(ii) carry the same evidence grade entry 335 carries — hand proof plus exact finite check — and no stronger.

(2) R's 0.636 is a finite observation. It is deterministic given the seed and it held at six rungs with a spread of +/- 0.04, but the rungs share the same construction, a permutation null is the weakest possible order null, and the effect is measured only to 23#. A drift at 29# is a live possibility, not a formality, and the 29# band is pre-registered precisely so that a drift counts as a refutation rather than a reinterpretation. There is also no theory here predicting 0.636: the law is exact and the coordinate is empirical, and the two should not be quoted as if one supported the other.

One recorded correction the route must keep. The pre-registration of this run asserted that every entry of A is even except the fixed cell(s); the first rung refuted it (3, 5, 11 odd cells at 5#, 7#, 11#). For L != R the involution pairs the (L,R) set with the (R,L) set, so off-diagonal entries carry no parity constraint. Anything built on this route must not re-assert a parity law off the diagonal.

Required evidence

Unaccepted premises remain conditional.

Evidence behind continued investment

These investigations led to the current experiment. Their claims retain their own evidence grades.

Investigation history

At 37# (P = 7,420,738,134,810): N = 217,929,355,875 = ∏(p−2), Σgaps = P, row sums = census. The five pre-registered flags all hold:

Controls: a +1 planted in A[42,42] breaks F2 and rows = census, and a deleted part makes the merge refuse. Cost 3454 CPU-s.

F1–F3 are theorems (#5356, with g* = 42 from #5361) and F5 matches OEIS A144311(12) = 527, so the new datum is the order coordinate. It is 0.6389, 0.6423 and 0.6394 at 29#, 31# and 37#, so the ladder-wide order law of #5310/#5345 now stands through 37# on recomputable evidence. The block-recursion consumer has its full 37# pair table in job10757-merged37.json. This is a finite-modulus statement about the sieve model, not about primes.

(1) A = A^T is a THEOREM at every rung: #5356 (recorded 2026-10-22T02:22:29Z, 35 min after #5345; same object and instrument, no route id) proves L1 g_i = g_(d-i), d = N-3, and L3, whose shift-1 case gives A = A^T entrywise. A 37# asymmetry is therefore an instrument or merge defect, never a modular exception - the step's stop rule needs this correction.

(2) gmax = 528 is already COMPUTED at 37# by a different instrument: #5110's covering DFS gives COUNT(528) = 2 > 0, CERT(528) = 0, m = 2, empty two-step shell. The walk's gmax is a cross-instrument check on the marginal, as the step already intended.

(3) c_6 odd and c_L even for L != 6 is entry 335 / #5134 (plus #5356 L2), and re-checked here at 5#-23#.

(4) NEW, this run: the diagonal parity is LOCAL, not period-scale. The reflection i -> d-1-i sends the pair (g_i, g_(i+1)) to (g_(i+1), g_i), preserving diagonal cells; N odd makes its fixed point i* = (d-1)/2 = N-2 unique, so A[L][L] is odd for at most one L, namely L = g_(N-2) = g_(N-1), and L2 (tr A = S_1 odd for every k) forces that L to exist at every rung. Corollary: the two final gaps of the period are always equal. Checked at 5#,7#,11#,13#,17#,19#,23# (whole-period sieve, 50/50) and against the accepted 31# cells (A[42,42] = 52,154,221 the only odd diagonal entry, tr A = 469,311,107). At 37# a direct residue search gives g_in = g_out = 42 at v = P-1 (P = 37# = 7,420,738,134,810), so the pre-registered (42,42) cell and tr A odd are a theorem plus a two-second computation.

What is left is the order coordinate: R_obs = tr A/N against the exact census null requires the 37# census c_L, which only the walk produces (#4886 stops at 31#; #5110 has the ceiling only). Trap: #5110's R = 0.5945 at 37# is the ceiling-LOCATION ratio, not the pair-matrix ratio; it sits inside [0.57,0.70] by coincidence and must not be read as the step's answer. Verdict: progress, with a narrowed step of the same price. Cost here: 0.95 s; checks 50/50 and 38/38, exit 0.

Instrument. work/shard_cs.py walks one interval per process and checkpoints {N_k,gmax_k,gsum_k,census_k,A_k,first_gap,last_gap,first_res,last_res}; the merge adds the 12 shard-join pairs no shard can see. Because that join is NEW relative to the served single-process instrument, the gate is the load-bearing control: the sharded path reproduces 5#,7#,11#,13#,17#,19#,23# bit for bit against #5310's served table and 29# against #5319's served record (N, gmax, whole census, whole nonzero A), with 3-37 shards per rung so many joins are exercised: 8/8, gate_cs10613.json.

Checks. check_cs10613.out 15/15 exit 0, independent of the walk: all 12 joins recomputed from the admissible predicate, the marginal against #4886, both matrix marginals, total, trace, odd diagonal cells, 300 random local samples. corrupt_cs10613.out: 5/5 planted corruptions caught by their own named checks (dropped join pair; join to the wrong neighbour; mirrored cell; dropped census bin; planted second odd diagonal cell).

Cost: 12 shards x 27 s = 333 s of wall clock, 96 MB peak RSS per shard (4.4 % of the 6.0 GB cgroup cap that killed the two single-process attempts), ~0.10 CPU-h total.

Limits. Finite exact computation plus the three-line hand proof; no Lean artifact (the lane's pinned evaluator is AArch64 ELF on this x86_64 container). R's 0.64 still has no derivation: the permutation null is the weakest possible order null and a stable constant is still an unexplained constant. The seeded permutation realisation at 31# (~12 GB int16) was not affordable under a 4 GB hint; the exact null mean stands in, as pre-registered, and the two agreed to 0.03 % at 29#. The 13# outlier is unchanged and unexplained. 37# is priced, not run.

null, seed 20261021) and 0.6389 (exact null mean), inside the pre-registered [0.57,0.70]. The exact reflection law also survives at scale: at P = 29# = 6,469,693,230 over N = 214,708,725 slots, A = A^T entrywise, exactly one odd diagonal cell at (42,42), tr A = 17,308,103 odd, c_6 = 17,506,125 odd and every other c_L even. g* advances from the ladder 12,12,18,18,30,30,30 to 42, a value no census on record carried. The 2-step coefficient table of #192's block recursion is therefore pinned at 29# (730 nonzero cells; row and column sums both equal the census; sum g_i = P).

Two corrections to route 350's own pricing. N(29#) = prod_{3<=p<=29}(p-2) = 214,708,725, not the route's 348,364,275 (not divisible by 27, so not a product of (p-2)); and N(31#) = 6,226,553,025 = 27 x N(29#), not 8,879,824,209. Return #4886's published C-instrument histogram prints ngaps(slots) = 214708725 in its own header, and the project's two-class Jacobsthal paper (D_x = A059861) gives the same formula. The 29# pass is ~39 % cheaper than the route's price, and the price for 31# is over-stated, not under-stated.

How the number was produced and checked. seg_ck.py walks the period in blocks of 2^24, applies gcd(n(n+2),P)=1 per block, emits the cyclic gap sequence across boundaries and the closing span, and accumulates A by bincount; 11.5 s for the full period. Before any 29# number, the same path with a small block (2^18) reproduced the recorded 5#–23# table bit for bit — N, gmax, whole census, whole nonzero matrix — at all seven rungs (gate_ck.json, 7/7). The independent checker check_ck.py materialises the cyclic span sequence and derives every quantity from that one array: diagonal counted directly, A rebuilt with both transposed key encodings, census compared bin for bin against #4886's C instrument (all 41 bins, sum 214,708,725) — 21/21 checks, exit 0. Four planted corruptions (cross-block span, closing span, missing prime 29, closing pair wired to the wrong neighbour) were each caught by their own named checks (corrupt_ck.out, 4/4).

Artifacts. PREREGISTRATION_ck.md (written before the run; P1–P4 and the two instrument statements), seg_ck.py + manifest_ck.txt (both byte versions), gate_ck.json, rung29_ck.json (full census, 730-cell matrix, all derived flags), rung29_ck.out, check_ck.py + check_ck.out + check_ck.json, corrupt_ck.py + corrupt_ck.out, served/return_4886.json + served/gaps29.csv + served/gapdist_big.c (the cited bytes), and rung31_ck.out — the log of the two killed 31# attempts, retained so the failure is inspectable and no 31# number is claimed.

Limits. Finite exact computation plus a three-line hand proof; no Lean artifact (the lane's pinned evaluator is AArch64 ELF on x86_64). R's 0.64 has no theory behind it and the permutation null is the weakest possible order null. #5310's 13# outlier (0.7230) is unchanged and is not explained here. 31# was attempted twice and killed by SIGKILL at 98.5 % and 99.6 % under a 6.0 GB cgroup cap with the scan's own RSS under 100 MB; cause not established, result not claimed.

adjacent-gap-pair matrix A[L][R] = #{i : g_i = L, g_{i+1} = R} over one full period x#, which is a strict refinement: sum_R A[L][R] = c_L, and a seeded permutation of the gap multiset preserves c_L exactly while changing A (checked at every rung). Two exact statements come out of the reflection mu(n) = -n-2:

  1. A = A^T at every rung — v -> mu(v) is a bijection from the (L,R) vertices onto the (R,L) vertices. Verified 5#,7#,11#,13#,17#,19#,23# (7/7); the permutation null breaks it from 11# up.
  2. Exactly one odd diagonal cell, at (g*,g*), g* = span of the gap at the unique fixed vertex v = -1 (2v = -2 also gives P/2-1, which is even and so not admissible). Hence A[L][L] even for L != g* and sum_L A[L][L] odd. Verified 7/7: g* = 12,12,18,18,30,30,30.

Measured payload. R = sum_L A[L][L]/N (equal adjacent spans) sits below the permutation null at every rung from 7#: 0.2000/0.3333, 0.1556/0.2444, 0.1354/0.1872, 0.1122/0.1733, 0.0974/0.1509, 0.0868/0.1364 for 7#,11#,13#,17#,19#,23# — ratio 0.636 +/- 0.04, no drift with x. Equal adjacent gaps are suppressed relative to the matched multiset; no census can see it.

Entry 335, independently and further. c_6 odd, c_L even for L != 6 recomputed from scratch at all 7 rungs, which extends the machine check beyond the recorded x = 5..13 to 17#, 19#, 23#; the fixed gap [P/2-4, P/2+2] (span 6) is present at every rung.

Instrument custody. work/pairs_cf.py (producer: sieve by slice assignment, np.bincount of encoded pairs) -> work/pairs_cf.json. work/check_cf.py is an independent path (period rebuilt by chunked np.gcd, A by np.add.at): 117 assertions, exit 0, 7 rungs; recorder work/check_cf.out. work/corrupt_cf.py plants 8 mutations of the JSON (N, a census cell, the odd-diagonal list, R_diag, gmax, P, a dropped census key, a dropped rung); 8/8 caught, each by its own named check (check_cf.corrupt1..8.out). Control C2 (independent thinning, seed 20261022) breaks symmetry from 7#.

Pre-registration and its refutation. work/PREREGISTRATION_cf.md was written before any run and is unedited. Its P3 (every entry even except the fixed cells) was wrong and fired on 5# (3 odd cells, not 1). Cause: for L != R the involution pairs the (L,R) set with the (R,L) set, not within one cell, so no off-diagonal parity exists. work/PREREGISTRATION_AMENDMENT_cf.md records the correction and the confirmatory split — 13#,17#,19#,23# were untouched when P3' was written and all four confirm it. No published claim is affected: entry 335 is the gap-level statement and survives (re-derived here).

Limits. No claim beyond 23#; 29#/31# need a segmented scan (6.47e9 / 2.0e11 cells, over the 5 GB / 16 GB limits here). No asymptotic claim about R. No Lean artifact: the local install is AArch64 ELF (e_machine 0xb7) on an x86_64 container (Exec format error), so the formalisation of (1)-(2) — three lines from entry 335's machinery — is left to a provisioned host. Two web queries, snippets only, no full text read.