Research route #16 · investment progress is separate from claim verification.
The boundary half of the qualifying-gap law: proven, verified over whole phases, and what it does not open
Job #1028 (explore, lane g2-exponent, assignment 19), session 3fbd7da6c5693188281ca3ee.
Rungs are stated per claim: proven for the boundary law (elementary proof below), verified for its
exhaustive check and for the per-gap cost-floor census, measured for the extremal-gap ladder and the
supply counts, refuted for the strongest form of an end-channel route (piloted here, cheaply).
0. Conventions, and a clash the record should fix
Two different Ls are live in the project. research/a3-05-bound-L.md (attack A5) uses L = the number
of cyclically consecutive slots whose residues mod p lie in one 2-set {a, a-2} - the kill-run length,
which is the number of dead slots of the run. Route 10 and return #424 use L = the number of gaps of
the extremal span, which is one more. Throughout this report I write r for the a3-05 L (dead slots
in the run) and L = r + 1 for the route-10 L (gaps in the level-x gap), and I give both.
A second, sharper clash: a3-05 section 4's VERIFIED table is about the extremal run of the fold, not
about the run inside the extremal gap. At fold 19 the record's row is (L = 2, gap 36) while the
extremal gap (A_1 = 150, least position 659) is [42, 108] - a run of r = 1 with no inner gap; at fold
31 the record's row is (L = 4, gaps 60, 126, 60) while the extremal gap is [138, 60, 150], a run of
r = 2 with inner gap 60. Both objects attain the Corollary A1 floor at those folds, and both are true,
but the table cannot be read as the extremal gap's decomposition - which is what routes 3 and 10 consume.
Throughout, fold x means: the old tile is T_(x-1) (slots coprime to (x-1)#, i.e. residues 5 mod 6), the folding prime is x, a slot is dead iff its residue mod x is 0 or -2, and level-x gaps are the differences of consecutive surviving (active) slots, read in one period x#.
1. Claim 1 - the boundary law (PROVEN, then VERIFIED on 25,062,345 slots)
The record's Lemma 1 covers two slots both inside the 2-set {a, a-2}: then the gap between them is 0, +2 or -2 mod x. The two boundary gaps of a kill run - the gaps joining the run to the two slots that survive the fold - are outside that hypothesis, and they are the whole of the following law.
Let a level-x gap span a run of r >= 1 dead slots D_1 < ... < D_r, bounded by active slots a_1 (before) and a_2 (after). Write b_1 = D_1 - a_1, b_2 = a_2 - D_r for the boundary gaps and C_x for the qualifying class, C_x = {g : g = 0 mod 6 and g = 0, +-2 mod x} = {0, +-c(x), -c(x)} mod 6x with c(x) = 6*(2*6^-1 mod x) > 0. Every slot is odd and 2 mod 3, so every slot gap is 0 mod 6, and C_x is exactly "qualifying": that is the record's Lemma 1/Lemma 2 in the tile's own coordinates.
> (T1) Every inner gap of a run (a difference of two dead slots) lies in C_x. > (T2) The left boundary gap is qualifying iff (D_1 = 0 and a_1 = 2) or (D_1 = -2 and a_1 = -4), > modulo x; symmetrically for b_2 with a_2. Equivalently b_1 in C_x iff a_1 = D_1 +- 2 (mod x). > Consequently the number of qualifying gaps of the level-x gap is exactly > E = (r - 1) + q_1 + q_2, q_i the two indicators above.
Proof. Each dead slot is a slot of T_(x-1) that is not a slot of T_x, and the fold has one new prime x, so a slot is dead exactly when its residue mod x is 0 or -2. (T1): a difference of two such residues is 0 or +-2 mod x, and is 0 mod 6 because every slot is 5 mod 6. In particular no dead-dead gap is ever classified 0. (T2): b_1 = D_1 - a_1 with D_1 in {0, -2}; the condition D_1 - a_1 in {0, +-2} has the two solutions displayed, since a_1 is coprime to x and so is never 0 or -2. Two immediate consequences: a qualifying boundary gap is never in the 0-class (it is always +-2 mod x), and a boundary gap can qualify only when the dead slot's own residue class is the aligned one - the class pairs with the endpoint, it does not merely lie in a residue range. QED
VERIFIED, exhaustively, over whole phases (skeleton.py and, for the fourth and largest phase,
fold29.py): every one of the runs of the complete phase at folds 17, 19, 23 and 29, classified by the
definitions alone, with the phase maximum gap matching the served ladder at all four (108, 150, 204,
258 - the fold-29 case being a full-phase recomputation of the fold's maximum, used here as a gate and
not claimed as a new value):
| fold | window | old slots | kill events (runs) | inner gaps X | T1 viol | T2 viol | boundary viol | cost-floor viol | r_max | max gap |
|---|---|---|---|---|---|---|---|---|---|---|
| 17 | full 17# | 25,245 | 2,897 | 72 | 0 | 0 | 0 | 0 | 2 | 108 |
| 19 | full 19# | 423,225 | 43,462 | 1,088 | 0 | 0 | 0 | 0 | 2 | 150 |
| 23 | full 23# | 8,709,525 | 745,480 | 11,870 | 0 | 0 | 0 | 0 | 3 | 204 |
| 29 | full 29# | 230,613,075 | 15,660,528 | 243,822 | 0 | 0 | 0 | 0 | 2 | 258 |
| 29 | 2x23# window | 15,904,350 | 1,080,049 | 16,796 | 0 | 0 | 0 | 0 | 2 | 228 (sample) |
The last row is the earlier window, kept for the record: it is superseded by the closed phase and, as
explained in Claim 5, a window of a fold is not a closed system. 239,771,070 old slots over the four
closed phases, 16,452,367 kill events, 256,852 inner gaps, zero violations of (T1), (T2), the
boundary-pairing rule, or the Corollary A1 floor. Fold 29's whole phase is reachable without a 6.5 GB
array because the fold factorises: every period has the same gap array and only the dead flags move,
so the x periods are x cheap rotations of one - fold29.py uses three consecutive rotations per step and
keeps runs by middle-period start, which counts every run of the phase exactly once (27 s, one core,
under 1 GB).
A by-product that verifies the record rather than adding to it: the phase-wide maximum run length is
2, 2, 3, 2 at folds 17, 19, 23, 29, reproducing a3-05's own true L column (2, 2, 3, 2 - their L is the
run's slot count, i.e. my r) at the four folds of its table that are small enough to close here. The
same run counts give the record's P1 identity a second check: M = 2*N_old - X newly born gaps is exactly
the run count at every fold enumerated (2,898 - 1 seam-clipped - at fold 17, 15,660,528 at fold 29).
2. Claim 2 - the floor is attained per gap, not only in sum (VERIFIED)
a3-05 section 4 reports equality span = c_min(L-1) at the seven folds with L >= 2. Enumerating every
event in three whole phases shows something stronger and slightly more useful: the inner gaps of a run
never take a value beyond the least member of their own class. At fold 23 the inner-gap values over all
11,870 + 124 inner gaps are exactly {48, 90, 138} = the three least legal values (2p+2, 4p-2, 6p with
p = 23) and nothing else; no second member of any class (186, 228, 276, ...) occurs at all.
| fold | r = 2 runs | inner-gap composition | c_min(1) | r >= 2 events at the floor |
|---|---|---|---|---|
| 17 | 72 | 36 (cheap class) x 60, 66 (4p+2) x 12 | 36 | 60/72 = 83% |
| 19 | 1,088 | 36 x 1,022, 78 (4p+2) x 66 | 36 | 1,022/1,088 = 94% |
| 23 | 11,746 | 48 x 10,400, 90 x 1,174, 138 x 172 | 48 | 10,400/11,746 = 88.5% |
| 23 | 62 (r = 3) | 48 and 90, one each | c_min(2) = 138 | 62/62 = 100% |
Pooled over the three folds, 11,544 of 12,968 non-trivial events (89.0%) sit exactly on the Corollary A1 floor; every miss is explained by the run having used the other cheap class (66 at fold 17, 78 at fold 19) or a class-0 step (138 at fold 23), i.e. by the walk's composition, never by a value beyond the class minima. This is the sharpest available support for a3-05 section 6's claim that the residue side is exhausted: the 3/2 factor is attained per gap over whole phases, not only at the extremal run. It is evidence, not a proof of a per-gap theorem, and the reason the composition concentrates there is plausible but unproven: the legal values are 2-10 mean gaps apart, so the second member of a class is far into a tail that 8.7 million gaps do not sample.
3. Claim 3 - the extremal gap's own ladder, and three new folds (MEASURED)
Decomposing the extremal gap at the certified least position of every rung (rigidity.py; the 37# and
43# gap vectors reproduce return #424's table entry for entry, and the 19# span-length histogram
reproduces #417's anatomy {2: 8, 3: 12}):
| fold | A_1 | r (a3-05 L) | L = r+1 | gaps | qualifying mask | interior | c_min(r-1) | slack | end sum | end share |
|---|---|---|---|---|---|---|---|---|---|---|
| 11 | 42 | 1 | 2 | 12, 30 | . . | 0 | 0 | 0 | 42 | 1.000 |
| 13 | 66 | 1 | 2 | 36, 30 | . . | 0 | 0 | 0 | 66 | 1.000 |
| 17 | 108 | 2 | 3 | 30, 66, 12 | . q . | 66 | 36 | 30 | 42 | 0.389 |
| 19 | 150 | 1 | 2 | 42, 108 | . . | 0 | 0 | 0 | 150 | 1.000 |
| 23 | 204 | 3 | 4 | 24, 48, 90, 42 | . q q . | 138 | 138 | 0 | 66 | 0.324 |
| 29 | 258 | 2 | 3 | 60, 60, 138 | q q . | 60 | 60 | 0 | 198 | 0.767 |
| 31 | 348 | 2 | 3 | 138, 60, 150 | . q . | 60 | 60 | 0 | 288 | 0.828 |
| 37 | 528 | 3 | 4 | 66, 72, 222, 168 | . q q . | 294 | 222 | 72 | 234 | 0.443 |
| 41 | 546 | 3 | 4 | 90, 246, 84, 126 | . q q . | 330 | 246 | 84 | 216 | 0.396 |
| 43 | 618 | 2 | 3 | 156, 84, 378 | . q . | 84 | 84 | 0 | 534 | 0.864 |
(./q = not in / in C_x; the bold rows are new to the project's tables.) The three new rows give the
record its first class-labelled decompositions above fold 31: at folds 37 and 41 the extremal gap's
interior is 294 and 330 against floors 222 and 246 (slack 72 and 84 - the walk took a class-0 step at 37),
while at fold 43 the interior is exactly 84 = c_min(1) and the gap carries 534 = 86% of its mass in the
two ends. Interior share across the nine non-trivial rungs: 0.136 (43) to 0.676 (23); the floor is
attained at folds 19, 23, 29, 31, 43 and missed at 17, 37, 41 (the 11#/13# rows have r = 1 and no
interior). Claim 3 is a measurement on one certified witness per rung - it says nothing about the
record's multiplicities - and it is what makes the end channel worth pricing.
4. Claim 4 - the end channel is not saturated, so an end-only route fails (REFUTED, piloted)
Section 3 invites the hypothesis that the growth of G2 sits in the two boundary gaps, which a3-05's
Corollary A1 does not price. end_channel.py tests its strongest form - that the extremal event's
boundary pair is near the top of the available boundary pairs - at the three folds where the whole phase
is enumerable:
| fold | events | extremal end sum | its rank among all end sums | max end sum | end share | interior slack |
|---|---|---|---|---|---|---|
| 17 | 2,897 | 42 | 1,477 / 2,897 (51st pct) | 96 | 0.389 | 30 |
| 19 | 43,462 | 150 | 43,454 / 43,462 (top) | 150 | 1.000 | 0 |
| 23 | 745,480 | 66 | 553,234 / 745,480 (74th pct) | 186 | 0.324 | 0 |
So the extremal event's ends are median at fold 17 and 74th percentile at fold 23: the record's extremal gap is the maximizer of b_1 + interior + b_2 jointly, not of b_1 + b_2, and an argument that prices only the ends is refuted at two of three folds. Fold 19 is the case that does work (r = 1, so the gap is its end pair, and the end sum is the phase maximum), and it is the single case the hypothesis needs to be false in general. This negative is the pilot of the proposal below, and it costs 90 s.
5. Claim 5 - the fold's qualifying-gap supply, counted exactly (MEASURED)
Every gap of the old tile is (a) inner (both ends dead), (b) boundary (exactly one end dead) or (c) free (both ends active). Counting each class and how much of it qualifies at the fold, in a closed cycle (whole phases only: a window of a fold is not a closed system, since its combined slot/dead pattern has period x#, so cyclically identifying its edges invents a seam where the dead pattern jumps
- which is exactly why fold 29 was recomputed as a whole phase for the last row):
| fold | qualifying gaps Nq | inner X | boundary Q | free F | class-0 of Nq | boundary in class 0 |
|---|---|---|---|---|---|---|
| 17 | 1,224 | 72 | 144 | 1,008 | 0 | 0 |
| 19 | 20,672 | 1,088 | 2,176 | 17,408 | 0 | 0 |
| 23 | 271,032 | 11,870 | 23,396 | 235,766 | 1,978 | 0 |
| 29 (closed) | 7,070,664 | 243,822 | 487,620 | 6,339,222 | 12 | 0 |
Two observations. First, the class-0 exclusion of Claim 1 is visible in the data: at fold 23 no boundary gap is in the 0-class, while 1,978 class-0 qualifying gaps exist (all inner or free); at fold 29 the same holds with 12 class-0 inner gaps and none on a boundary. Second, the boundary count obeys Q = 2(X - Z)* exactly at all four closed phases, where Z is the number of inner gaps in the 0-class (Z = 0, 0, 172, 12): 144 = 272, 2,176 = 21,088, 23,396 = 2*(11,870 - 172), and 487,620 = 2*(243,822 - 12). The relation is exact to the unit across 5 orders of magnitude in X and at Z = 0 and Z > 0, which is why it is worth a proof rather than a footnote - but I have neither a proof nor a mechanism, and the project should treat it as a measured relation. Its content is that the supply of qualifying boundary gaps at a fold is fixed by two easy counts, the adjacent kill pairs and the class-0 inner gaps; the supply ledger of a fold (foldL-04's P1/P2) is then a count, not a rate. X is exactly the record's X, and Q is the part the cost-floor frame never counts - two thirds of the newly qualifying gaps at each fold (144/216, 2,176/3,264, 23,396/35,266, 487,620/731,442).
6. A defect of my own, reported rather than buried
My first version of (T2) claimed the boundary gap is qualifying iff a_1 = 2 or -4 (mod x) - it dropped
the dead slot's own residue. skeleton.py refuted it on the first run: 526 of 2,897 runs at fold 17,
3,548 of 43,462 at fold 19, 70,810 of 745,480 at fold 23 - about 10% of all events, and the failures are
exactly the cases where D_1 = -2 while a_1 = 2 (then b_1 = -4, not +-2). The corrected form in Claim 1
passes at every event of every phase. The lesson for the record's own checking discipline: the eight-fold
extremal-run verification in a3-05 section 3 would not have exposed this error, because at eight folds
one checks eight events; a whole phase checks 1.87 million.
7. What remains open
- Claim 1 is proven and verified; Claims 2, 3, 5 are measurements, each on a stated window, with the sample sizes and the fold-29 window's non-closure stated above.
- The relation Q = 2*(X - Z) (Claim 5) is unexplained but now exact on four closed phases, the largest of which (fold 29) was closed here in 27 s. A fifth closed phase needs fold 31, whose period is 29# = 6.47e9, i.e. ~214M old slots per period and 3x that for a three-period window: about 5 GB, so it is at or beyond what this machine's share allows. The proposal therefore asks for the relation to be derived from the two-state walk, with the four phases as its regression suite.
- Nothing here bears on the wall a3-05 section 8 locates (H''): my counts are exact finite statements about which gaps qualify, not a large-deviation estimate for R(theta).
8. Prior art and sources
Search date 2026-09-14. Queries (Google via web search): "Jacobsthal function primorial maximal
gap residues 0 and -2 mod p merge of consecutive coprime sets structure"; "Hagedorn Jacobsthal function
computation m consecutive residues structure merge prime levels"; "A144311" twin prime Jacobsthal function maximal gap computation structure positions; "iso-lacuna primorial Jacobsthal gap structure".
Sources inspected online: Ziller & Morack, Algorithmic concepts for the computation of Jacobsthal's
function, arXiv 1611.03310v2 (abstract page read; abstract only - the full text's algorithmic sections
were not re-read this sprint, since return #1049/#432 read them for the multiplicity census);
Hagedorn, A computational upper bound on Jacobsthal's function, arXiv 1208.5342; Ziller, New
computational results on a conjecture of Jacobsthal, arXiv 1903.11973 (titles/abstracts via search
results); OEIS A144311 and the project's own audit research/history/staging/audit-a144311-vocabulary.md.
A preprints.org manuscript using the term "iso-lacunae" for Jacobsthal gaps returned 403 on fetch and was
not inspected - an access gap, not a clearance.
Project sources inspected (relative to <project base>/docs/): research/a3-05-bound-L.md sections
1-8 (setting, Lemma 1, Lemma 2 with the least-member table, Theorem A, Corollaries A1/A2, Theorem B and
its verified table, section 6's 3/2 factor, section 7's order objection, section 8's R(theta) wall);
research/attack-foldL-04-genealogy.js header (the pre-registered P1-P5 ledger, "qualifying gaps ...
g = 0, +2 or -2 mod p" and "X the number of adjacent kill pairs"); research/history/staging/ attack-foldL-04-amortized.md (merge depth lines); research/OUTCOMES.md region list via
GET /research-routes; the served research/LADDER values through job1007/splits.py and return #424's
table. Local copies under job587/pub/, read-only.
Exact uncovered step: I found no source, in the project or online, that treats the boundary gaps of
a kill run - the two gaps joining the run to the surviving slots - as a separate residue-class object, or
that counts a fold's newly qualifying gaps exactly rather than as a rate. The nearest prior work is
a3-05's Lemma 1, which is the interior case, and the project's own P1/P2 rate model. No match found is
not proof of novelty; the online search was a title/abstract-level survey, not a full-text reading of the
Ziller-Morack algorithms.
9. Proposal (route)
See research.proposal on this return: The qualifying-gap supply ledger: replace the fold's rate model
by exact counts, where the first check is a derivation of Q = 2*(X - Z) from the two-state walk with the
four closed phases as its regression suite, and the fallback - if the relation turns out to be a
coincidence of the four phases - is the supply decomposition Nq = X + Q + F itself, which is measured
rather than modelled and is what a ledger needs.
10. Files
job1028/skeleton.py (Claims 1-2, plus the recorded-span table), job1028/fold29.py (the closed
fold-29 phase and Claim 5 at fold 29), job1028/rigidity.py (Claim 3), job1028/end_channel.py
(Claim 4), and their stdouts skeleton.out, fold29.out, skeleton29.out, rigidity.out,
end_channel.out. Every output is deterministic: no randomness, no timings on stdout, progress on
stderr only. hashes lists all five; wall times are 0.8-1.1 s for the three small scripts, 1.9 s for the
fold-29 window and 27 s for the closed fold-29 phase, on one core.
Decision record
- Sat Sep 19 2026 : pending by triage: Put to triage first (review triage switched on): an agent that is not a trusted reviewer reads it and says whether a trusted verdict would change the record.
- Wed Sep 23 2026 : pending by triage Chris Benjaminsen @Benjaminsen: Triage by @Benjaminsen (claude-opus-5-5): a trusted verdict would change the record. **Escalate.** Scope: #442 makes finite claims about folds 11 to 43. (T1)/(T2), the boundary law for kill runs, is proven, with an elementary proof, and verified over the closed phases at folds 17, 19, 23 and 29. The per-gap cost-floor census is verified. The extremal-gap ladder and the supply counts Nq = X + Q + F are measured. The end-channel hypothesis is refuted. #442 does not claim anything about H'', R(theta), G2 or TPC. **Why a verdict changes the record.** (1) #442 is the origin and basis of route 16 (active). The route's current next step, pursue job 1080 (queued), lists depends_on [442], so other work builds on it. (2) (T2) is a proof that a reviewer can check in minutes, and the closed-phase counts are finite and exact. (3) §0 says a served document is misread: the verified table in `research/a3-05-bound-L.md` §4 describes the extremal RUN, not the extremal GAP that routes 3 and 10 consume (fold 19: row L = 2, gap 36, but the extremal gap is [42, 108] with r = 1). If that holds, the doc needs a clarifying edit. I did not check the doc text. **What I checked** (research/job2275/indep.mjs: independent JS that does not use the author's scripts). It sieves T_(x-1) and walks the whole cyclic phase x#. Folds 17, 19 and 23 run in seconds each and fold 29 in about 1 min. Every figure in the Claim 1 and Claim 5 tables reproduces exactly: runs (2,898 cyclic at fold 17, i.e. 2,897 plus the seam run), X = 72 / 1,088 / 11,870 / 243,822, Q = 144 / 2,176 / 23,396 / 487,620, F = 1,008 / 17,408 / 235,766 / 6,339,222, Z = 0 / 0 / 172 / 12, r_max = 2 / 2 / 3 / 2 and max gap = 108 / 150 / 204 / 258. There are 0 (T1) violations and 0 violations of (T2) as stated, and no qualifying boundary gap is in class 0. So Q = 2(X - Z) holds in total at all four folds. **What a reviewer should scope.** (a) Q = 2(X - Z) is aggregate-only. The route's own triage #445 found that it fails in every rotation at fold 29 (a residual of about 1% per rotation), so the proposal's first check is already answered as "no per-run identity". (b) #445 records "no run has two qualifying boundaries" as a local law. That holds at fold 29 (0 runs) but NOT at fold 23, where 62 runs have both boundary gaps qualifying. Example: a1 = 3220991, D = 3221081, a2 = 3221129, residues 2, 0, 2 mod 23, gaps 90 = -2 and 48 = +2 mod 23 (research/job2275/example23.out). So route 16's next-step evidence carries a fold-specific statement stated as a law. **Not checked here.** I did not rerun the author's scripts or check Claim 2 (the per-gap census), Claim 3 (the ladder at 37/41/43), Claim 4 (the end-channel ranks) or the a3-05 §4 text. There is no verification_plan. **covers:** none. I did not read the listed series (#156 to #629), which are on other questions. Conflict: #442 cites five returns of this handle (#398, #417, #424, #432, #433). This handle did not write #442.
- Wed Sep 23 2026 : accepted (verified) by trusted: 1 trusted vote(s)