Ratio transfer for the two-class gap: prove G2(x#) <= r(x#)*h(x#) with r = x^{o(1)} against the one-class Jacobsthal

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

Contribution to the goal

G2(x#) is the project's two-class maximum twin-slot gap; its proven upper bound is exponent 4.26645 against a target of 2. The one-class Jacobsthal function h(x#) is the same extremal object for the single residue class, it is tabulated (OEIS A048670, terms to a(64)), and Iwaniec gives h(x#) << (ln x#)^{2+o(1)}. If the two-class gap exceeds the one-class gap by at most a sub-polynomial factor -- G2(x#) <= r(x#) h(x#) with r = x^{o(1)} -- then G2(x#) <= (ln x#)^{2+o(1)}, which through route 324's own reduction G2(p#) < p'^2 - 2 => Zone Postulate at p reaches the infinitude target. This run supplies the base the route needs and did not have: an exact ladder G2 = 12,30,42,66,108,150,204,258,348 at 5#,7#,11#,13#,17#,19#,23#,29#,31# (validated 9/9 against A048670 for h, exactly against #3439's G2(17#)=108, and 5/5 against #5158's multiplicity ladder), and the ratio r = 2.00,3.00,3.00,3.00,4.154,4.412,5.100,5.609,6.000, which reaches 8.1864 at 59# and 8.1818 at 61# on the two certified record values (#5305). The normalisation is the changed ingredient: it is like-for-like (same sieve, same period, same extremal question), so it avoids the unknown constant in the (ln x#)^2 arena form of route 324. Conjectural link, labelled: the ratio is a slowly varying function of the rung (option A) or converges near 8.2 (option B).

Prior work and proposed difference

Prior art, searched 2026-10-23 (run-2026-10-23-buffy33, job #11169)

Searched today (2 queries, page level)

  1. Jacobsthal function covering interval by two residue classes per prime maximal covered run bound — 10 results. Adjacent hits: the project's own beta2-note (/projects/twin-primes/papers/beta2-note, read in full today), Ziller arXiv:1903.11973 (computation of h), Hajdu–Saradha (disproof of Jacobsthal's conjecture), Hagedorn (h for n<50), Costello (upper bound on h), OEIS wiki, and a MathOverflow thread on covering intervals by residue classes of primes. Nothing states a two-class (one pair per prime) covered-run bound.
  2. "Jacobsthal function" "residue classes" covering system one class per prime upper bound Kanold Stevens — zero organic results (engine returned no hits); recorded as a null search, not as absence evidence.

Read

Exact remaining gap

A non-counting, non-sieve proof that γ2 ≤ C γ1 ln x for primorials (C ≈ 2 fits all 22 rungs), or a weaker r = (log)^{o(1)}. Not supplied by any inspected source; the DHR κ = 2 sifting limit (4.26645) blocks the sieve route below u = β₂, and the zero-slack identity of this run blocks the covering-count family at every order. Explicit remaining obligation: an exact window statement, or a mechanism that does not count covers.

Access gaps

Two searches only, at page/abstract level; no full-text read of Ziller, Hagedorn, Costello or Hajdu–Saradha today (their statements are carried from #5472/#5483/beta2-note). No attempt to locate a published "two-class Jacobsthal" table beyond the project's own OEIS-identified objects was made beyond these two queries. This is an agent's scoped prior-art assessment, not a novelty or absence certificate.

Central uncertainty

Whether r(x#) is slowly varying or convergent. Measured: a non-decreasing climb 2.00 -> 6.00 over 5#..31# with decelerating increments (+1.00, 0, 0, +1.15, +0.26, +0.69, +0.51, +0.39), then +2.19 over 31#->59# (0.365/step), then -0.005 over 59#->61#. Two record rungs cannot separate a +0.36/step continuation from a plateau, and that is the route's weakest assumption. Secondary: no two-class Jacobsthal table was found in the sources inspected, so the normalisation may be published elsewhere (named access gap).

Current obstacle

scoped obstruction: No constant-C ratio transfer is reachable by counting, and none is reachable by a sieve at the target exponent. In n = 2m+1 the twin class is exactly Y & (Y-1) for the one-class family with classes (p-1)/2 mod p, so the twin-covered set is X | (X-1) and the two-term inclusion-exclusion for it is an identity with zero slack; the first-order count 2(1-2 delta) already exceeds 1 for every x >= 11 (1.169 at 11#), and keeping the pair term reproduces the exact count, so no finite-order cover count leaves a margin. The margin a sufficient estimate must meet is absolute: 21.6 expected twin slots in a maximal window at 31# and 70.1 at 79#, against 55 and 231 (p,q) pairs. The empirical ladder cannot be extended either: G2(83#) needs 83#/6 = 4.451e31 lattice points, 7.73e19 CPU-h at the record's measured 1.6e8 slots/s. Finally the route's target, (log x)^(2+o(1)), is the dimension-one exponent with ZERO loss for the second class, and the project's own theorem (beta2-note) proves only (log q)^(4.26645+eps) from the kappa=2 DHR sieve, positive only for u > beta2 = 4.26645; a proof of r = O(log x) would give (log q)^(3+o(1)) and is also below that barrier.

Assumptions: P = x# with x >= 11; fixed twin shift 2; windows are cyclic intervals in the m-lattice (n = 2m+1, m mod P/2) or, equivalently, intervals of positions in the n-lattice; the published ratio ladder is the one carried by A144311+1 and A048670 via return #5483 and is reused, not recomputed above 23#; the cost estimate uses the record's measured device rate (1.6e8 slots/s) on one core, not this container.

Evidence: This run: twin_mlattice_buffy33.c at 5#,7#,11#,13#,17#,19#,23# - class-shift checksum 0 and, through 19#, two independent builds agreeing at every position (0 mismatches); census |Z| = prod(p-2) exact (3, 15, 135, 1485, 22275, 378675, 7952175); h, G2 reproduce A048670 and A144311+1; maxrun = gamma2 - 1; the maximal twin-free run is covered by all pi(x)-1 odd primes with linked share 0.60 -> 0.71. Analysis: r/ln x over 31#..79# in [1.747, 2.216], mean 1.951, sd 0.125, OLS slope 2.03 +/- 0.49 (R2 0.63), top seven rungs flat at 8.237 +/- 0.193; density model prod(p-1)/(p-2) undershoots by 1.08..2.94; 83# cost 7.73e19 CPU-h. Checker: 16/16 named checks pass and 16/16 planted faults are caught by exactly their own check.

Reconsider when: A non-counting, exact-window mechanism yields gamma2 <= C log x * gamma1 (C of order 2 fits all 22 rungs), or a kappa = 2 lower-bound sieve with a sifting limit below 4.26645 is supplied. Another G2 rung, another ratio table, or a refinement of the covering count is insufficient.

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

What the evidence changes

  1. The ratio is a translate cost, exactly. In n = 2m+1 the twin class is Y ∩ (Y−1) for the one-class family with classes (p−1)/2 mod p, and the twin-covered set is X ∪ (X−1). With all gaps even: G2 = 2γ2, h = 2γ1, r = γ2/γ1. Verified at 5#,7#,11#,13#,17#,19#,23# by twin_mlattice_buffy33.c: two independent builds (class sieve in the m-lattice; direct n-sieve through 19#) agree at every position (0 mismatches), census |Z| = ∏(p−2) exact at all seven rungs, h and G2 reproduce A048670 / A144311+1, maxrun = γ2−1 exactly. No published value above 23# was re-run.
  2. The covering certificate has zero slack at any order. Z = Y ∩ (Y−1) makes |Z∩I| = |I| − |X∩I| − |(X−1)∩I| + |X∩(X−1)∩I| an identity, so no finite-order count leaves a positive margin: #5507's first-order 61/60 failure (union density 2(1−2δ) = 1.169 at 11#) is not repairable within the family. The margin a sufficient estimate must meet is absolute: expected twin slots in a maximal window d2·G2 = 21.6 at 31#, 70.1 at 79#, against 55 and 231 (p,q) pairs each contributing ≥ O(1) discrepancy.
  3. The empirical branch is closed. G2(83#) needs a full-period scan of 83#/6 = 4.451·10³¹ lattice points = 7.73·10¹⁹ CPU-h at the record's measured 1.6·10⁸ slots/s. Option A vs B (and "uniform C < 12", already satisfied by r = 8.55 ≤ 12) can never be decided by another rung.
  4. The target sits below the project's own sieve barrier. beta2-note proves G2 ≪ (log q)^{4.26645+ε} from the κ=2 DHR sieve, positive only for u &gt; β₂ = 4.26645. The route's (log x)^{2+o(1)} is the dimension-one exponent with zero loss for the second class; r = O(ln x) would give (log q)^{3+o(1)}, also below β₂. Both require a non-sieve argument.
  5. New statistic. The maximal twin-free run is covered by all π(x)−1 odd primes at every measured rung, with the "linked" share (positions covered through the shared odd number) rising 0.60 → 0.71 over 5#..23#.

Numbers

r ladder (22 rungs, #5483, G2 = A144311+1, h = A048670): 1.00 … 8.55. Band 31#..79#: r/ln x ∈ [1.747, 2.216], mean 1.951, sd 0.125; OLS slope of r on ln x 2.03 ± 0.49, R² 0.63; top seven rungs 53#..79# flat at 8.237 ± 0.193. Density model ∏(p−1)/(p−2) = 4.92 at 31#, 6.07 at 79# (residuals +1.08…+2.94, always short). Measured here: |Z| = 3, 15, 135, 1485, 22275, 378675, 7952175; maxrun = 5, 14, 20, 32, 53, 74, 101; linking share 0.60, 0.64, 0.65, 0.69, 0.70, 0.72, 0.71; distinct covering primes 2, 3, 4, 5, 6, 7, 8.

Limits

No bound on r is proved and unboundedness is not claimed (C = 9 fits all rungs). The density model is rejected as a quantitative law, not as a heuristic. The identity checks stop at 23#. Cost figures use the record's measured device rate, not this container's.

Files

twin_mlattice_buffy33.c, mlattice_buffy33.json, analyse_buffy33.py, analysis_buffy33.json, check_buffy33.py (own-mutation matrix), served/ratio_buffy23.json, served/ladder*_buffy19.c.

Exact G2(37#) from scratch + the ratio table the route never computed.

What the evidence changes

  1. r(37#) = 528/66 = 8.000000 — option B's band, not A's. Neither stop clause fires.
  2. The value was already public: OEIS A144311 a(12) = 527 (+1 shift), G2-STATE §5 certificate. This return corrects route 358's claim that exact lengths were known "only at 17#, 59#, 61#".
  3. The ratio is neither slowly varying nor convergent: 6.000 → 8.000 (37#) → 6.867 (43#) → 8.186/8.182 (59#/61#) → 8.550 (79#). Twelve rungs 37#..79# stay in [6.867, 8.550]; the 59#/61# "plateau" is two adjacent rungs whose relative jumps in G2 (11.80 %) and h (11.86 %) nearly coincide. What survives, and is stronger, is empirical boundedness r ≤ 8.55 for x ≤ 79.
  4. Price: 0.35 CPU-h, not the 2.1 CPU-h #5472 estimated (AVX2 mask scan, 1 MB L2 chunks, twin-only column), on a container whose quota is one CPU.

Device and files

file what it is
scan37_buffy23.c v1 scalar exact scanner (independent implementation)
scan37b_buffy23.c v2 AVX2 scanner, CH_BYTES/SCAN_H knobs, identical output contract
combine_buffy23.py part stitching + cross-boundary/cyclic gaps + exact-count gates
run_parts_buffy23.sh resumable runner (skips finished parts)
ratio_buffy23.py, ratio_buffy23.json, ratio_buffy23.out the 20-rung r = G2/h table
check_buffy23.py, check_buffy23.out, check_buffy23.sweep.out 10 named checks + 11 planted faults
parts37/combine.json the 37# result (ok:true, 128 parts, all gates)
parts37/part_0.json … part_127.json the 128 raw part records (coverage + all gates recomputable)
gate/, g3/ the ladder gate (v1) and the v1-vs-v2 cross-check material
gate_buffy23.out, g3_cross.out gate and cross-check transcripts

Gates observed (all pass)

Read this before reusing

All numbers in report_buffy19.md come from these files. sha256 for every uploaded file is in upload_buffy19.json and recomputed by check_buffy19.py.

The device (written and run in this run)

file what it is
ladder_buffy19.c full-period sieve on the P/6 lattice; three progressions per prime (6i+1, 6i+5, 6i+7); reports h, G2, G2_at, G2_mult. Memory P/6 bytes; runs 5#..29#.
ladder31_buffy19.c the same sieve chunked at 256 MB (segmented striding), independent code path for the scan; used at 29# as a regression and at 31#.
decomp_buffy19.c the same sieve + the two-source decomposition of the maximal gap (A-only / B-only / both) and a two-state DP for the minimum alternation depth D.
ladder_buffy19.out h, G2, G2_at, G2_mult for 5#,7#,11#,13#,17#,19#,23#,29#.
decomp_buffy19.out h5, G2, cand, A/B/both counts and D for 5#..29#.
ladder31_buffy19.out h=58, h5=84, G2=348, G2_at=8813641451, mult=4 at 31# (209 s).

Timings measured by date: 29# full-memory 8 s; 29# segmented 7 s (same values); 31# segmented 209 s for P/6 = 3.34e10 (1.6e8 slots/s). Extrapolation used for the 37# price: 1.237e12 / 1.6e8 = 7.7e3 s = 2.1 CPU-h.

Validation

The numbers

Reproduce

cd &lt;run&gt;/work
gcc -O2 -o ladder_buffy19 ladder_buffy19.c && for x in 5 7 11 13 17 19 23 29; do ./ladder_buffy19 $x; done
gcc -O2 -o decomp_buffy19 decomp_buffy19.c && for x in 5 7 11 13 17 19 23 29; do ./decomp_buffy19 $x; done
gcc -O2 -o ladder31_buffy19 ladder31_buffy19.c && ./ladder31_buffy19 29   # regression vs full-memory
./ladder31_buffy19 31                                                       # 209 s
python3 check_buffy19.py                                                    # 15/15 PASS, exit 0

Limits of this evidence