Research route #23 · investment progress is separate from claim verification.
Job #1337 -- does the maxsum doubling certificate keep reaching at the next rung?
Route 23, attempt [REDACTED]. Engine: the block+phase reduction of
#594 (kstar.c, re-validated here), plus a new independent witness verifier.
Summary
The instrument's reach past the 31# -> 61# fold is now priced, not decided. Three new
facts, in order of weight.
- The decisive test at the next rung costs ~28 core-hours (7x this assignment's cap), and the
reason is identified. The block+phase reduction still applies at s = 34 (same block
31#), but the covering search's pruning collapses: over the same[0,10^6)prefix the capacity filter passes 0.53% of windows at s = 32 and 35.8% at s = 34, and a DFS that averages 76 nodes at s = 32 averages 942 at s = 34. Whole-block node count therefore goes from 2.6e9 (measured: 0.45 core-h, #594) to 2.1e12 nodes ~ 28 core-hours. The reduction made s = 32 affordable; it does not extend one rung as implemented. - A latent engine bug that produced a false witness, found by verifying instead of trusting.
The pre-fix engine indexed residues as
pc[j][a]witha < q, sized[8][64]; the momentq = 67enters (s >= 34) that is an out-of-bounds write. Its s = 34 output containsq38,q42-- not primes -- and its recorded 26-slot "witness" fails an independent arithmetic check (only 15/26 slots covered). The s = 34 result in this job's first attempt is retracted here. A new tool (check_witness.py) verifies any witness by pure arithmetic (genuine-slot, span, cover) and is now run on every witness; it validated all 6 witnesses reported below and re-validated #594's s = 32 witness. - K*(64) >= 32, with verified witness -- the assignment's second listed deliverable.
1. The certificate at the walkable rungs s = 32..36 (definitional part)
P(s)# is the primorial of the largest prime <= s, and the certificate is
Ghat(2s) <= maxsum_{K*(s)+1}(T_s). For s in [32, 36], P(s) = 31, so the block and the
threshold are shared: T_s = T_31, Ghat(s) = G2(31#) = 348, band test
maxsum_{K*(s)+1} < 4*348 = 1392, and with m* = 26 measured in #588
(maxsum_26 = 1380 < 1392 <= 1428 = maxsum_27) that is exactly
> the certificate holds at rung s <=> K*(s) <= 25.
| s | Q(s) = primes in (s, 2s] | |Q| | new relative to s=32 | K*(s) |
|---|---|---|---|---|
| 32 | 37 41 43 47 53 59 61 | 7 | -- | 25 (#594) |
| 33 | 37 41 43 47 53 59 61 | 7 | none (Q and block identical) | 25, no computation |
| 34 | ... + 67 | 8 | +67 | open (see 2) |
| 35 | ... + 67 | 8 | none (Q identical to s=34) | = K*(34), no computation |
| 36 | ... + 67 71 | 9 | +67, +71 | >= K*(34), monotone |
So of the five walkable rungs only two carry new information: s = 34 (the prime 67 entering
the kill set) and s = 36. s = 33 is a definitional duplicate of s = 32, not a new rung -- the
instrument reaches exactly one distinct fold (31# -> 61#, truth 1080/348 = 3.1034) and the
question is whether the very next distinct fold 31# -> 67# is reachable.
2. What the s = 34 test costs, measured
Deciding "K*(34) <= 25" needs the whole block: 6 226 553 025 windows (exactly D_31), one per
slot, cyclically. Measured on the prefix [0,10^6) with the fixed engine, at 21.3e6 nodes/s:
| s | windows | DFS | pass rate | nodes | nodes/DFS |
|---|---|---|---|---|---|
| 32 | 31 047 | 163 | 0.53% | 12 393 | 76 |
| 34 | 31 047 | 11 102 | 35.8% | 10 454 982 | 942 |
Extrapolating to the block (5.1888e8 windows per 1/12 segment): 1.75e11 nodes per segment,
2.27 h single-core, ~28 core-hours for the block -- 6.8x the 4 CPU-h cap (against 0.45 core-h
for the s = 32 test that #594 completed). The dominant term is the DFS on the 35.8% of windows
that pass the capacity filter, and the filter is weak here precisely because it counts every
window slot, not only the still-uncovered ones: with |Q| = 8 the capacity sum
sum_j max_a pc[j][a] clears L = 26 for a third of all windows. I did not run the s = 34 test
and I make no claim about K*(34).
3. Engine bug, retraction, and the verifier that caught it
The first s = 34 run (pre-fix build) reported found=1 twice, hence "K*(34) >= 26, the
certificate dies at the next fold". That claim is withdrawn: segment 5's output prints phases
q38={0,36} q42={29,27}, which are not primes, and segment 0's recorded 26-slot window at 5009
fails an independent check -- all 26 slots are genuine level-34 slots (gcd with 31# = 1 for r
and r+2), but the printed phases cover only 15/26 of them. Cause: cnt/pc/hist were
sized [8][64] in the residue index while a runs to q-1 = 66 once q = 67 is in Q; every
ladder case has q <= 31, so the 14-value regression could not see it. Fix: 16 x 256 / 16 x 512
arrays, 16-wide per-prime dimension, 128-bit primorial (61# = 1.17e23 overflows uint64), masks
widened to 64 bits so L > 31 is expressible.
New tool check_witness.py: given a witness (slots and phases) it checks (1) each slot is
genuine for the level, (2) the span, (3) the phases cover every slot -- arithmetic only, the
engine's own state is not consulted. It is now part of the reporting path.
Re-validation of the fixed engine, all with the fixed binary:
- the published 14-value
K*ladder reproduces exactly (L = K found, L = K+1 none, 14/14); - s = 32, L = 25 on the recorded segment-0 range
[0, 16713374177): counters match #594's segment 0 digit for digit (slots 116258952, windows 116258928, filter_pass 1860305, dfs 1860305, nodes 189743691,at=3744760001), and the fresh 25-slot witness verifies 25/25; - so
K*(32) = 25-- the value the certificate's s = 32 rung rests on -- is unchanged.
4. K*(64) >= 32, verified (the second deliverable)
The upper bound on K*(s) was not obtained; the lower-bound alternative was, and it is a real
measurement rather than a search for a bound:
| L | found in [0,200000) / [0,300000) |
wall | verdict |
|---|---|---|---|
| 13 | first window (start 71) | 8 ms | VERIFIED (equal to Lemma 1's floor, pi(128)-pi(64) = 13) |
| 20 | first window (start 71) | 267 ms | VERIFIED |
| 28 | first window (start 71) | 15.8 s | VERIFIED |
| 30 | first window (start 71) | 3.2 s | VERIFIED |
| 32 | 5th window (start 149) | 25.3 s | VERIFIED |
| 36 | not within 260 s | -- | open |
K*(64) >= 32, block 61# (D_63 = 2.6895e21 slots), covered by the 13 entering primes
(67 ... 127). Witness: 32 consecutive level-64 slots starting at 149, span 1128, phases
q67={15,13} q71={22,20} q73={20,18} q79={66,64} q83={62,60} q89={82,80} q97={84,82} q101={27,25}
q103={94,92} q107={86,84} q109={94,92} q113={36,34} q127={15,13}; every slot is genuine and
every slot is covered (32/32). Per-prime coverage 2,2,2,3,3,3,3,2,2,2,2,3,3.
Comparison with the provable floor and with the model:
- Lemma 1 gives only
K*(64) >= |Q| = 13; the demonstrated run is 2.46x the floor (at s = 32 the ratio was 25/7 = 3.57), so the instrument's runs are visibly shorter relative to the floor as the block grows. - the growth model
K* ~ c*ln(M_s)/ln(1/p_s)that predicted s = 32 correctly (c = 0.68 predicted 25.3, measured 25) gives, at s = 64,M_64 = 9.2055e46,p_64 = 0.2525,ln M/ln(1/p) = 78.6, hence K*_pred = 53.4 (c = 0.69 -> 54.2, c = 0.73 -> 57.4). A lower bound cannot refute an upper prediction, so this is drift evidence, not a refutation: the exhibited run is 60% of the model's next value, and the searchable frontier (32) sits far below it. - on the maxsum side the certificate at s = 64 stays open in both directions: the T_61 profile is
incomputable, and the telescoping floor
maxsum_m(T_61) >= m*61#/D_61 = 43.6mgivesmaxsum_33 >= 1439against4*Ghat(64) = 4320, so the floor decides nothing there.
5. What this changes for route 23
- The instrument reaches its first eventual rung (s = 32,
Ghat(64) <= 1380 = 3.9655*Ghat(32)); that value survives a stricter re-validation than it was obtained with. - The next distinct fold is not shown reachable and not shown unreachable: it is shown to cost ~28 core-hours with this engine (7x the cap) because the block+phase reduction's pruning, not the reduction itself, fails at |Q| = 8. The obstacle is the cover test, and it is fixable in principle: branch on the most-constrained uncovered slot and count capacity over uncovered slots only (the current bound counts every window slot, which is why 36% of windows are searched).
- The "structural upper bound on K*(s)" was not attempted to completion inside the budget; the counting bound is vacuous (2*Ghat(s)*sum 1/q ~ 103 against L = 26 at s = 32), so it needs the local gap-distribution input instead, exactly as the route records.
Scope: no upper bound on K*(s) is claimed; Ghat is not bounded from above; beta_2 does not
move; rows 90 and 94 stand; K*(32) = 25 is unchanged. Not claimed: any value of K*(34), beyond
K*(34) >= K*(32) = 25 by monotonicity (same block, Q(34) ⊃ Q(33) = Q(32)).
6. Cost actually consumed
Wall 55 min of the 2 h window; compute: the s = 64 sweeps (<= 300 s total CPU), the s = 32
re-validation (one segment, 190 s), the ladder re-validation (30 s), the s = 34 pricing prefixes
(< 2 s), a 270 s aborted L = 36 attempt and two 260-270 s aborted runs at s = 34. Well inside
4 CPU-h; no full-block scan was started once its price was known.
Declared premises of this result: return #582 (accepted), return #588 (accepted), return #594 (accepted).