// ============================================================================ // ATTACK 22 — THE @31 DRIFT POINT: one totals-only march at x = 31 // (2026-08-14; extends natal-cap-18-at29.js to W = 31# = 200,560,490,130) // ============================================================================ // // THE QUESTION. natal-cap-18 settled the @29 head-to-head (free-linear beat // pinned-linear) but its reading 4 flagged the real winner: the ZERO-parameter // classical model R = (e^{2gamma}/4)(1 + 2/lnW + 6/ln^2 W), whose residuals // collapse +0.017, +0.014, +0.016, +0.005, +0.003 at @13..@29. At @31 the // live curves separate and S/E is EXACT — the eighth drift point decides. // // PREDICTIONS ON RECORD (natal-cap-18 Part 5 / reading 7): // classical-correction 0.8641 (raw 3-term value 0.8610 + the // persisted @29 residual ~+0.003) // free-linear (c=0.7621) 0.8605 (last-4 fit @17..@29) // pinned-linear (0.7931) 0.8720 (already dead at @29; for the record) // // SETUP. W = 31# = 200,560,490,130. Natal@5 at level 31 = { r in [0,W) : // r = 11 or 17 (mod 30), r mod p not in {0, p-2} for p = 7..31 }. // N = 2 * prod_{7<=p<=31}(p-2) = 4,151,035,350 (asserted as the census). // Scour: primes q in (31, sqrt(W) = 447,839.79]; y = largest prime <= // sqrt(W), verified in-run that no prime hides in (y, sqrt(W+1)] — so every // survivor is structurally a genuine twin pair. E = (2/30) * // prod_{7<=p<=y}(1-2/p) * W; beta(31) = S/E. MARCH TOTALS ONLY: no ladder, // no stored positions, no window-excess — one exact S. // // ENGINE (exact, 15x below the naive stride budget). Every natal slot is // = 11 or 17 (mod 30) and gcd(q,30) = 1 for every mid/scour prime, so the // positions { r = a (mod q), r = b (mod 30) } form ONE class mod 30q (CRT). // Striking q's kill residues a in {0, q-2} restricted to b in {11, 17} — // 4 classes of stride 30q — removes EXACTLY the same natal slots as // natal-cap-18's full stride-q march: any other struck position is not // = 11/17 (mod 30), hence never natal and never read. Naive budget // sum_q 2W/q = 2.52W = 5.1e11 strides; compressed (4/30) sum_q W/q = 0.168W // = 3.4e10, plus ~0.2W of comb/census/count passes. (This budget line read // 2.66W = 5.3e11 and 0.18W = 3.6e10 until 2026-08-20. The 2.66 was the scour // sum started at q = 29 instead of q = 37; the run below measures 2.524 and // the same slip stood at natal-cap-18-at29.js reading 7 and removal-ledger.js. // The numbers here now agree with the block's own "sum_scour 2/q = 2.524 // (naive budget 2.52W strides; CRT-30 compressed to 0.168W)".) Segmented blocks of // 3e7 (block bounds multiples of 30; all arithmetic < 2^53, exact in // doubles); class cursors carried across blocks as absolute Float64 // positions, so no per-block re-anchoring divisions at all. // // CHAIN OF CUSTODY (mandatory, asserted before @31 is touched): this engine // re-runs @7..@29 and must reproduce natal-cap-18 digit-for-digit at all // seven levels — S(29) = 12,307,838, E(29) = 14,063,617.4, scour census // 7863 primes (31..80429) — plus N = 2*prod(p-2) at every level, and // Miller-Rabin twin checks on sampled survivors at @29 and @31. // // node research/natal-cap-22-at31-drift.js (~4 min, peak ~50 MB RAM) // ============================================================================ 'use strict'; function primesUpTo(n){const s=new Uint8Array(n+1),o=[];for(let i=2;i<=n;i++){if(!s[i]){o.push(i);for(let j=i*i;j<=n;j+=i)s[j]=1}}return o} function assert(c,msg){if(!c)throw new Error('ASSERT FAIL: '+msg)} const t0=Date.now(); const el=()=>((Date.now()-t0)/1000).toFixed(1)+'s'; const prog=s=>process.stderr.write(s+'\n'); const GAMMA=0.5772156649015329; const LIMITC=Math.exp(2*GAMMA)/4; // 0.793055... const PR=primesUpTo(460000); function lsq(u,y){const n=u.length;let sx=0,sy=0,sxx=0,sxy=0;for(let i=0;i0n){if(e&1n)r=r*b%n;b=b*b%n;e>>=1n}return r} function isPrimeMR(x){if(x<2)return false;for(const p of [2,3,5,7,11,13,17,19,23,29,31]){if(x%p===0)return x===p} const n=BigInt(x);let d=n-1n,s=0;while((d&1n)===0n){d>>=1n;s++} outer:for(const a of [2n,3n,5n,7n,11n,13n]){let y=mpow(a,d,n);if(y===1n||y===n-1n)continue; for(let i=1;ip>=7&&p<=x); let W=30;for(const p of mids)W*=p; let sq=Math.floor(Math.sqrt(W));while((sq+1)*(sq+1)<=W)sq++;while(sq*sq>W)sq--; const scour=PR.filter(q=>q>x&&q<=sq), nsc=scour.length, y=scour[nsc-1]; assert(PR.filter(q=>q>y&&q*q<=W+1).length===0,`a prime hides in (y, sqrt(W+1)] at @${x}`); const MT=mkTab(mids), ST=mkTab(scour); const BW=Math.min(W,30000000), nBlocks=Math.ceil(W/BW); const alive=new Uint8Array(BW); let np=0,S=0,scnt=0; const firsts=[],last3=[0,0,0],samples=[]; const rec=r=>{S++;if(firsts.length<5)firsts.push(r);last3[0]=last3[1];last3[1]=last3[2];last3[2]=r; if(sampleEvery&&++scnt===sampleEvery){scnt=0;samples.push(r)}}; for(let lo=0;lo1000&&(lo/BW)%500===499)prog(` @${x} block ${lo/BW+1}/${nBlocks}: np=${np} S=${S} [${el()}]`); } let prod=1;for(const p of mids)prod*=1-2/p;for(const q of scour)prod*=1-2/q; const E=(2/30)*prod*W, s2q=scour.reduce((a,q)=>a+2/q,0); return {x,W,N:np,S,ns:nsc,q0:scour[0],y,E,R:S/E,s2q,firsts,last3,samples}; } // ============================================================================ console.log('===== PART 0: chain of custody — the CRT-30 engine re-runs @7..@29 ====='); const REF=[ {x:7, S:8, R:'1.1556', ns:2, q0:11, y:13}, {x:11, S:45, R:'1.1458', ns:10, q0:13, y:47}, {x:13, S:307, R:'1.0089', ns:34, q0:17, y:173}, {x:17, S:3099, R:'0.9549', ns:120, q0:19, y:709}, {x:19, S:38380, R:'0.9261', ns:435, q0:23, y:3109}, {x:23, S:597475, R:'0.8930', ns:1739, q0:29, y:14929}, {x:29, S:12307838,R:'0.8752', ns:7863, q0:31, y:80429}, ]; const levels=[]; for(const ref of REF){ const L=march(ref.x, ref.x===29?1000000:0); levels.push(L); console.log(` @${String(L.x).padStart(2)}: W=${String(L.W).padStart(10)} N=${String(L.N).padStart(9)} scour ${String(L.ns).padStart(4)} primes (${L.q0}..${L.y}) S=${String(L.S).padStart(8)} E=${L.E.toFixed(1)} S/E=${L.R.toFixed(4)}`); assert(L.S===ref.S&&L.R.toFixed(4)===ref.R&&L.ns===ref.ns&&L.q0===ref.q0&&L.y===ref.y,`custody mismatch @${ref.x}`); } { const L29=levels[6]; assert(L29.E.toFixed(1)==='14063617.4'&&L29.N===143139150,'@29 E/N mismatch'); for(const L of levels){let n=2;for(const p of PR.filter(p=>p>=7&&p<=L.x))n*=p-2;assert(L.N===n,`census np != 2*prod(p-2) @${L.x}`)} for(const r of L29.samples)assert(isPrimeMR(r)&&isPrimeMR(r+2),`@29 sample ${r} not a twin`); console.log(' VALIDATION: S, S/E, scour census reproduce natal-cap-18 digit-for-digit at all seven levels @7..@29;'); console.log(` N = 2*prod(p-2) holds at every level; ${L29.samples.length} sampled @29 survivors are genuine twins (Miller-Rabin). [${el()}]`); } // ============================================================================ console.log('\n===== PART 1: THE @31 MARCH — W = 31# = 200,560,490,130 ====='); const L31=march(31,10000000); assert(L31.W===200560490130,'W31'); assert(L31.N===4151035350,'N31 census: got '+L31.N); console.log(` sqrt(W) = ${Math.sqrt(L31.W).toFixed(2)}; scour = ${L31.ns} primes (${L31.q0}..${L31.y}); y = ${L31.y} = largest prime <= sqrt(W); no prime in (y, sqrt(W+1)]`); console.log(` @31: N=${L31.N} S=${L31.S} E=${L31.E.toFixed(1)} S/E = beta(31) = ${L31.R.toFixed(4)} [${el()}]`); console.log(` Mertens context: sum_scour 2/q = ${L31.s2q.toFixed(3)} (naive budget ${L31.s2q.toFixed(2)}W strides; CRT-30 compressed to ${(L31.s2q*2/30).toFixed(3)}W)`); { const test=[...L31.firsts,...L31.samples,...L31.last3]; for(const r of test)assert(isPrimeMR(r)&&isPrimeMR(r+2),`survivor ${r} is not a twin pair`); console.log(` VERIFIED: ${test.length} sampled survivors (first 5, every 10,000,000th, last 3) are ALL genuine twin pairs (Miller-Rabin, deterministic bases).`); console.log(` (Structural guarantee: survivors dodge r=0,-2 mod every prime <= ${L31.y}, and no prime lives in (${L31.y}, sqrt(W+1)], so every survivor IS a twin pair.)`); console.log(` first survivors: ${L31.firsts.map(r=>`(${r},${r+2})`).join(' ')}`); console.log(` last survivors: ${L31.last3.map(r=>`(${r},${r+2})`).join(' ')}`); } // ============================================================================ console.log('\n===== PART 2: the eighth drift point — three curves, one number ====='); { const all=[...levels,L31]; const u=all.map(L=>1/Math.log(L.W)), R=all.map(L=>L.R); const cls=all.map(L=>{const l=Math.log(L.W);return LIMITC*(1+2/l+6/(l*l))}); const sg=v=>(v>=0?'+':'')+v.toFixed(4); console.log(' x | S/E | 1/lnW | classical | resid'); all.forEach((L,i)=>console.log(` ${String(L.x).padStart(2)} | ${R[i].toFixed(4)} | ${u[i].toFixed(4)} | ${cls[i].toFixed(4)} | ${sg(R[i]-cls[i])}`)); // --- the on-record forecasts, recomputed from the seven pre-@31 points --- const sel=[3,4,5,6], u31=u[7]; // last-4 = @17..@29, exactly cap-18 Part 5 const fFree=lsq(sel.map(i=>u[i]),sel.map(i=>R[i])); let num=0,den=0;for(const i of sel){num+=(R[i]-LIMITC)*u[i];den+=u[i]*u[i]} const bPin=num/den; const predFree=fFree.a+fFree.b*u31, predPin=LIMITC+bPin*u31, predCls=cls[7]; assert(Math.abs(predFree-0.8605)<5e-4&&Math.abs(predPin-0.8720)<5e-4,'on-record linear forecasts not reproduced'); console.log(` on-record forecasts recomputed: classical-raw ${predCls.toFixed(4)} (0.8641 as recorded = raw + persisted @29 residual), free-linear ${predFree.toFixed(4)}, pinned-linear ${predPin.toFixed(4)}`); const cands=[['classical-raw',predCls],['classical-record 0.8641',0.8641],['free-linear',predFree],['pinned-linear',predPin]]; cands.sort((a,b)=>Math.abs(R[7]-a[1])-Math.abs(R[7]-b[1])); console.log(` MEASURED beta(31) = ${R[7].toFixed(4)} residuals: ${cands.map(c=>`${c[0]} ${sg(R[7]-c[1])}`).join(' | ')}`); console.log(` VERDICT: closest curve = ${cands[0][0]} (|resid| ${Math.abs(R[7]-cands[0][1]).toFixed(4)}, next ${Math.abs(R[7]-cands[1][1]).toFixed(4)})`); console.log(` classical residual sequence @13..@31: ${[2,3,4,5,6,7].map(i=>sg(R[i]-cls[i])).join(' ')}`); // --- refits with the eighth point --- const f8=lsq(u,R); let n8=0,d8=0;for(let i=0;i<8;i++){n8+=(R[i]-LIMITC)*u[i];d8+=u[i]*u[i]} const b8=n8/d8;let rss8=0;for(let i=0;i<8;i++){const e=R[i]-(LIMITC+b8*u[i]);rss8+=e*e} console.log(` all 8: free c = ${f8.a.toFixed(4)} (b=${f8.b.toFixed(3)}, rms ${f8.rms.toFixed(4)}) | pinned c=${LIMITC.toFixed(4)}: b=${b8.toFixed(3)}, rms ${Math.sqrt(rss8/8).toFixed(4)} | e^{2gamma}/4 = ${LIMITC.toFixed(6)}`); const s4=[4,5,6,7]; const g4=lsq(s4.map(i=>u[i]),s4.map(i=>R[i])); let n4=0,d4=0;for(const i of s4){n4+=(R[i]-LIMITC)*u[i];d4+=u[i]*u[i]} const b4=n4/d4;let rss4=0;for(const i of s4){const e=R[i]-(LIMITC+b4*u[i]);rss4+=e*e} console.log(` last 4 (@19..@31): free c = ${g4.a.toFixed(4)} (b=${g4.b.toFixed(3)}, rms ${g4.rms.toFixed(4)}) | pinned: b=${b4.toFixed(3)}, rms ${Math.sqrt(rss4/4).toFixed(4)}`); console.log(` free-intercept drift by window: @13..@23 0.7650 -> @17..@29 0.7621 -> @19..@31 ${g4.a.toFixed(4)}; all-7 free was 0.7941, all-8 ${f8.a.toFixed(4)}`); console.log(` successive drops in S/E: ${all.slice(1).map((L,i)=>(L.R-all[i].R).toFixed(4)).join(' ')}`); console.log(` remaining gap to limit at @31: ${(R[7]-LIMITC).toFixed(4)} (${((R[7]-LIMITC)/(R[0]-LIMITC)*100).toFixed(0)}% of the @7 gap)`); const W37=7420738134810, l37=Math.log(W37), u37=1/l37; const cls37=LIMITC*(1+2/l37+6/(l37*l37)); console.log(` forecast @37 (W=7.42e12): classical-raw ${cls37.toFixed(4)} (+persisted @31 residual: ${(cls37+R[7]-cls[7]).toFixed(4)}) | free-linear(last4) ${(g4.a+g4.b*u37).toFixed(4)} | pinned ${(LIMITC+b4*u37).toFixed(4)}`); console.log(' ['+el()+']'); } console.log('\ndone in '+el()); // ============================================================================ // OUTPUT — EMBEDDED, do not hand-edit. Regenerate: // node research/qc/embed.js --streams both research/natal-cap-22-at31-drift.js // invocation: node research/natal-cap-22-at31-drift.js // code-sha256: d50e562191228e0caa4c40fb01627a0b8415930857dd70f3c1ab55c4b4d509ff // out-sha256: db2daac8f2385b8776d50f6b413499438c672db14ca70d06f65624e1b332c412 // streams: stdout+stderr // node: v22.21.0 // embedded: 2026-08-20 // elapsed: 163.5 s // ============================================================================ // ===== PART 0: chain of custody — the CRT-30 engine re-runs @7..@29 ===== // @ 7: W= 210 N= 10 scour 2 primes (11..13) S= 8 E=6.9 S/E=1.1556 // @11: W= 2310 N= 90 scour 10 primes (13..47) S= 45 E=39.3 S/E=1.1458 // @13: W= 30030 N= 990 scour 34 primes (17..173) S= 307 E=304.3 S/E=1.0089 // @17: W= 510510 N= 14850 scour 120 primes (19..709) S= 3099 E=3245.5 S/E=0.9549 // @19: W= 9699690 N= 252450 scour 435 primes (23..3109) S= 38380 E=41441.2 S/E=0.9261 // @23: W= 223092870 N= 5301450 scour 1739 primes (29..14929) S= 597475 E=669028.8 S/E=0.8930 // @29: W=6469693230 N=143139150 scour 7863 primes (31..80429) S=12307838 E=14063617.4 S/E=0.8752 // VALIDATION: S, S/E, scour census reproduce natal-cap-18 digit-for-digit at all seven levels @7..@29; // N = 2*prod(p-2) holds at every level; 12 sampled @29 survivors are genuine twins (Miller-Rabin). [7.4s] // // ===== PART 1: THE @31 MARCH — W = 31# = 200,560,490,130 ===== // sqrt(W) = 447839.80; scour = 37534 primes (37..447829); y = 447829 = largest prime <= sqrt(W); no prime in (y, sqrt(W+1)] // @31: N=4151035350 S=283449187 E=328601798.6 S/E = beta(31) = 0.8626 [163.5s] // Mertens context: sum_scour 2/q = 2.524 (naive budget 2.52W strides; CRT-30 compressed to 0.168W) // VERIFIED: 36 sampled survivors (first 5, every 10,000,000th, last 3) are ALL genuine twin pairs (Miller-Rabin, deterministic bases). // (Structural guarantee: survivors dodge r=0,-2 mod every prime <= 447829, and no prime lives in (447829, sqrt(W+1)], so every survivor IS a twin pair.) // first survivors: (448157,448159) (448631,448633) (448871,448873) (448997,448999) (449171,449173) // last survivors: (200560487891,200560487893) (200560488761,200560488763) (200560488827,200560488829) // // ===== PART 2: the eighth drift point — three curves, one number ===== // x | S/E | 1/lnW | classical | resid // 7 | 1.1556 | 0.1870 | 1.2561 | -0.1006 // 11 | 1.1458 | 0.1291 | 1.0772 | +0.0686 // 13 | 1.0089 | 0.0970 | 0.9917 | +0.0173 // 17 | 0.9549 | 0.0761 | 0.9413 | +0.0136 // 19 | 0.9261 | 0.0622 | 0.9100 | +0.0161 // 23 | 0.8930 | 0.0520 | 0.8884 | +0.0046 // 29 | 0.8752 | 0.0443 | 0.8726 | +0.0026 // 31 | 0.8626 | 0.0384 | 0.8610 | +0.0016 // on-record forecasts recomputed: classical-raw 0.8610 (0.8641 as recorded = raw + persisted @29 residual), free-linear 0.8605, pinned-linear 0.8720 // MEASURED beta(31) = 0.8626 residuals: classical-record 0.8641 -0.0015 | classical-raw +0.0016 | free-linear +0.0020 | pinned-linear -0.0094 // VERDICT: closest curve = classical-record 0.8641 (|resid| 0.0015, next 0.0016) // classical residual sequence @13..@31: +0.0173 +0.0136 +0.0161 +0.0046 +0.0026 +0.0016 // all 8: free c = 0.7890 (b=2.201, rms 0.0310) | pinned c=0.7931: b=2.165, rms 0.0311 | e^{2gamma}/4 = 0.793055 // last 4 (@19..@31): free c = 0.7577 (b=2.673, rms 0.0025) | pinned: b=1.977, rms 0.0068 // free-intercept drift by window: @13..@23 0.7650 -> @17..@29 0.7621 -> @19..@31 0.7577; all-7 free was 0.7941, all-8 0.7890 // successive drops in S/E: -0.0097 -0.1369 -0.0541 -0.0287 -0.0331 -0.0179 -0.0126 // remaining gap to limit at @31: 0.0695 (19% of the @7 gap) // forecast @37 (W=7.42e12): classical-raw 0.8520 (+persisted @31 residual: 0.8536) | free-linear(last4) 0.8479 | pinned 0.8598 // [163.5s] // // done in 163.5s // ───── stderr ───── // @31 block 500/6686: np=310457614 S=26421524 [20.1s] // @31 block 1000/6686: np=620915235 S=49700042 [31.3s] // @31 block 1500/6686: np=931372826 S=71983564 [42.8s] // @31 block 2000/6686: np=1241830442 S=93658567 [54.1s] // @31 block 2500/6686: np=1552288055 S=114900299 [65.6s] // @31 block 3000/6686: np=1862745659 S=135804259 [78.8s] // @31 block 3500/6686: np=2173203243 S=156422888 [90.5s] // @31 block 4000/6686: np=2483660866 S=176818394 [101.7s] // @31 block 4500/6686: np=2794118499 S=197009300 [113.0s] // @31 block 5000/6686: np=3104576060 S=217027093 [124.0s] // @31 block 5500/6686: np=3415033704 S=236890657 [135.6s] // @31 block 6000/6686: np=3725491316 S=256612631 [146.8s] // @31 block 6500/6686: np=4035948932 S=276213044 [159.3s] // ============================================================================ // READINGS (2026-08-14) — honestly calibrated // ============================================================================ // // 0. CHAIN OF CUSTODY, FIRST. The new CRT-30 engine (strike only the 4 // classes mod 30q that can contain a natal slot — provably stride-for- // stride equivalent to cap-18's full march on the natal set) re-derived // all seven prior levels digit-for-digit before touching @31, including // S(29) = 12,307,838 and E(29) = 14,063,617.4. The compression is why // the "hour-scale JS job" cap-18 priced (5.3e11 naive strides) landed in // 150.3 seconds: 2.52W naive -> 0.168W compressed strike budget. The scour // depth is verified (y = 447,829 IS the largest prime <= sqrt(W); none // hides in (y, sqrt(W+1)]), the census closes (np = N = 4,151,035,350 = // 2*prod(p-2)), and 36 sampled survivors passed Miller-Rabin on both // members — every survivor is structurally a genuine twin pair. // // 1. THE EIGHTH POINT: S(31) = 283,449,187 anchored twin pairs in the // 31-tile (of N = 4,151,035,350 = 4.151e9 natal slots — 6.83% still alive // [= 283,449,187/4,151,035,350] after a // 37,534-prime scour with 2.52x raw overkill capacity). E = 328,601,798.6, // so beta(31) = S/E = 0.8626 (0.86258 = 283,449,187/328,601,798.6), EXACT. First survivor (448157, 448159) — // the first twin past the frontier — last (200560488827, +2). // // 2. PREDICTION SCOREBOARD. Measured 0.8626 vs: classical-record 0.8641 // (miss -0.0015), classical-raw 0.8610 (+0.0016), free-linear 0.8605 // (+0.0020), pinned-linear 0.8720 (-0.0094 — dead at @29, deader now: // 6x the worst competitor = 0.0094/0.0016). The point itself is a photo-finish between // the classical pair and the free-linear line; the DECISION comes from // the trend, not the point (reading 3). Note the record number 0.8641 // overshot because it persisted the full @29 residual; the raw curve // plus a DECAYING residual is what the data actually does. // // 3. THE RESIDUAL SEQUENCE IS THE VERDICT. Against the zero-parameter // classical curve R = (e^{2gamma}/4)(1 + 2/lnW + 6/ln^2 W): residuals // +0.0173, +0.0136, +0.0161, +0.0046, +0.0026, +0.0016 at @13..@31 — // a third consecutive collapse, no knob turned, now within 0.2% (= 0.0016/0.8626) at the // deepest point. Meanwhile the free-linear "intercept" keeps sliding // DOWN as the window deepens (0.7650 -> 0.7621 -> 0.7577): a straight // line in 1/lnW chasing curvature it cannot represent. Its intercept is // not a limit estimate and never was (cap-17/cap-18 fit-hygiene lesson, // now demonstrated three windows running). The all-8 free intercept // (0.7890) wanders around e^{2gamma}/4 = 0.7931 (was 0.7941 at 7 pts); // read the residuals, not the intercepts. // // 4. LIMIT VERDICT: STRENGTHENING. The data now supports, more strongly // than at @29: beta -> e^{2gamma}/4 = 0.793055, approached along the // classical PNT-correction series. What @31 added: the collapse // continued exactly on schedule (+0.0026 -> +0.0016) where a wrong limit // constant would have forced the residual to level off or turn. Honest // calibration: the remaining gap to the limit (0.0695) is still 40x the // current residual (0.0695/0.0016), so this is extrapolation-supported, not observed; // and the residual sequence is 6 points with one non-monotone entry // (@19). No anchored-ratio result here touches the parity wall — this // calibrates the Scour's inefficiency constant, it does not certify // survivors at unbounded depth. // // 5. NEXT — @37 IS FEASIBLE AND ON RECORD. W = 37# = 7.42e12 (< 2^53, still // exact in doubles). Forecasts now on record: classical-raw 0.8520 // (with decaying-residual allowance ~0.8530), free-linear(last-4) // 0.8479, pinned 0.8598. The classical/free-linear spread (0.004-0.005) // is again decidable by one exact march: sum 2/q = 2.729 naive -> 0.182W // compressed = 1.35e12 strides, ~1.5-2h in this engine (37x the @31 // block count at the same per-block cost). The @31 cap LADDER (K* ~ 153 // predicted by the phi-band law) remains the hard open job — it needs // the segmented Phi*/pi counting pass cap-18 reading 7 specified; this // file deliberately did not attempt it. // ============================================================================ // // --------------------------------------------------------------------------- // FIGURE PROVENANCE (added 2026-08-20, readings-traceability pass). What every // figure in the readings above that the OUTPUT block does not contain // verbatim actually is. No number above was changed. // // ROUNDINGS of a value this file's own OUTPUT prints (printed value first): // N = 4151035350, quoted in reading 1 as 4.151e9. // DERIVED IN THIS READING by arithmetic over printed values: // 6.83% in reading 1 is the printed S = 283449187 over the printed // N = 4151035350, as the reading's own bracket says. // 0.86258 in reading 1 is the printed S over the printed E = 328601798.6, // carried to five decimals where OUTPUT prints beta(31) = 0.8626. // TOKENIZER ARTIFACT, not a figure: // the -0.005 in reading 5 is the far end of the hyphenated spread // 0.004-0.005. Both ends are the printed @37 forecasts differenced: // classical-raw 0.8520 and the decaying-residual 0.8536 each against // free-linear 0.8479. // BORROWED, verified present in the named producer's embedded OUTPUT: // K* ~ 153 in reading 5 is `research/natal-cap-18-at29.js`, whose OUTPUT // prints "forecast: @31 phi-band = 110 primes; K*/phi-band drift 1.00, // 1.25, 1.29, 1.35 => K*(31) ~ 153". // IN-CODE: // 5.3e11 in reading 0 is the header budget line above the banner, // "sum_q 2W/q = 2.66W = 5.3e11 strides", an a-priori estimate written // before the run. The run's own measured Mertens sum is the printed 2.524. // CORRECTED 2026-08-20 (mismatch adjudication #10): reading 5's @37 stride // budget read "sum 2/q = 2.85 naive -> 0.19W compressed = 1.4e12 strides" // and now reads 2.729 / 0.182W / 1.35e12. The three figures are one figure: // 0.19 was 2.85 times the compression factor 1/15 that the printed @31 pair // 2.524 and 0.168 sets, and 1.4e12 was 0.19 times the printed W = 7.42e12, // so correcting the head corrects the chain. The head is now measured, not // estimated: sieving 2/q over the @37 scour range (37, sqrt(37#)] = // (37, 2,724,103] gives 198,274 primes and sum 2.72928 (recomputed // 2026-08-20). The same sieve reproduces this file's own printed @31 value // to four digits -- 37,534 primes, sum 2.52361 against the printed 2.524 -- // which is what makes it a check and not a second guess. Old -> new: // 2.85 -> 2.729, 0.19W -> 0.182W, 1.4e12 -> 1.35e12. The runtime forecast // (~1.5-2h) is unchanged at this precision, and so is reading 5's point. // The header's own a-priori @31 budget line carried the matching slip // (2.66W / 5.3e11) and is corrected above the banner in the same pass. // ---------------------------------------------------------------------------