// ============================================================================ // ATTACK 10 — ANCHORED ORIGIN: the pattern is not a random rotation // ============================================================================ // Montgomery–Vaughan-style statistics treat the pattern as if a window lands // at a RANDOM position. But the zone is not random: it starts at the origin, // and the origin is the one place where every prime's kill-phase is PINNED — // each p kills exactly at 0 and -2, at every level, forever. Consequences, // partly proven, partly measured in attacks 1-2-5: // // (a) PROVEN (crystallization): [0, p^2) holds the true primes; the origin // region imports reality, not statistics. // (b) MEASURED (attack 2): at fixed x the head ratio C(x)/(delta x) GROWS // with the level (1.09 -> 1.42 at x=316) — anchored enrichment: the // origin's supply is quiet while the global density dilutes. // ⚠ The original form of this line read "in the n -> infinity limit the // head is infinitely enriched vs average". That is REFUTED; see the // CORRECTION under PHASE 3 below and research/anchored-windows.md // section 3. The rise is real, capped at e^{2gamma} ~ 3.17, and mortal. // (c) MEASURED (attack 1): the extremal gaps migrate AWAY from the origin // (34% deep at 23#, 18.6% at 29#); the origin's gap structure is the // frozen actual-twin-gap sequence, growing only ~ln^2-scale. // // This file quantifies (b) sharply: the ratio rho_n(x) = C_n(x)/(delta_n x) // at the FIXED window x = 10^4, across levels — demonstrating monotone // divergence, i.e. the anti-conspiracy at the origin. // ============================================================================ // Window-only sieve: no period materialization, so levels can go far past 23#. const PR = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97]; const X = 10000; for (let idx = 4; idx < PR.length; idx += (idx < 9 ? 1 : 3)) { const upto = PR[idx]; // count twin slots in [0, X) at this level (window sieve — no period needed) const bad = new Uint8Array(X + 3); for (let i = 0; i <= idx; i++) { const p = PR[i]; for (let j = 0; j < X + 3; j += p) bad[j] = 1; for (let j = ((p-2)%p+p)%p; j < X + 3; j += p) bad[j] = 1; } let c = 0; for (let r = 0; r < X; r++) if (!bad[r] && r + 2 < X + 3 && !bad[r+2]) c++; // wait — bad[] already encodes the pair condition (r and r+2) via the two // strides; a slot is simply r with bad[r] == 0. c = 0; for (let r = 0; r < X; r++) if (!bad[r]) c++; let P = 1, D = 1; for (let i = 0; i <= idx; i++) { P *= PR[i]; if (i >= 1) D *= PR[i] - 2; } const delta = D / P; console.log(`level p=${upto}: C(${X})=${c} delta=${delta.toFixed(5)} rho = C/(delta*X) = ${(c/(delta*X)).toFixed(3)}`); } // ============================================================================ // OUTPUT — EMBEDDED, do not hand-edit. Regenerate: // node research/qc/embed.js research/attack-10-anchored-origin.js // invocation: node research/attack-10-anchored-origin.js // code-sha256: 95c37baa4048f936e3fb5c21fb7e262b5a2f2442058b5083e6de44ba95f2a965 // out-sha256: 397e798ba0258a6a86d1b2e5858e41923ce9df03daaa3b97058f2e437f4f3e03 // node: v22.21.0 // embedded: 2026-08-18 // elapsed: 0.1 s // ============================================================================ // level p=11: C(10000)=584 delta=0.05844 rho = C/(delta*X) = 0.999 // level p=13: C(10000)=494 delta=0.04945 rho = C/(delta*X) = 0.999 // level p=17: C(10000)=438 delta=0.04363 rho = C/(delta*X) = 1.004 // level p=19: C(10000)=390 delta=0.03904 rho = C/(delta*X) = 0.999 // level p=23: C(10000)=358 delta=0.03565 rho = C/(delta*X) = 1.004 // level p=29: C(10000)=332 delta=0.03319 rho = C/(delta*X) = 1.000 // level p=41: C(10000)=276 delta=0.02794 rho = C/(delta*X) = 0.988 // level p=53: C(10000)=240 delta=0.02454 rho = C/(delta*X) = 0.978 // level p=67: C(10000)=212 delta=0.02225 rho = C/(delta*X) = 0.953 // level p=79: C(10000)=202 delta=0.02049 rho = C/(delta*X) = 0.986 // level p=97: C(10000)=197 delta=0.01915 rho = C/(delta*X) = 1.029 // READINGS — the head window's complete life cycle, in one number rho(X, n): // PHASE 1 (p^3 < X): equidistributed, rho = 1.000 +- 0.005. The pattern is // still "young" relative to the window; fair share holds exactly. // PHASE 2 (p^2 ~ X): the trough, rho ~ 0.95 — the finite-x Hardy–Littlewood // /Mertens bias, bounded and computable, minimum ~0.95 here (never NEAR 0). // PHASE 3 (p^2 > X): crystallization saturates the window and rho rises past // 1 as the global density dilutes. // *** CORRECTION (see anchored-windows.md): the original reading here // claimed rho diverges to infinity. WRONG: C(X) is not frozen — twins // below p_n are killed by their own primes as p_n grows through X. The // true law is rho ~ e^{2gamma} beta^2 [1 - pi2(X^beta)/pi2(X)] with // beta = ln X / (2 ln p): capped at e^{2gamma} ~ 3.17 (peak ~2.0 measured // at X=10^4), then crashing to 0 as p_n -> X. The zone-edge value is // e^{2gamma}/4 ~ 0.793 — resolving attack 2's open question (the measured // 0.895 was a finite-size blend with the newly found KILL SHADOW: the // window just past each zone is depleted to a stable ~0.85 of fair share). // The zone (p, p^2) always sits at the PHASE-2/3 boundary: its supply is the // trough value ~0.8-0.95 of fair share — depressed by a bounded, computable // bias, and never observed below it. The anchored origin is the structural // reason "the window we need" is the best-behaved window in the pattern — // and formalizing THIS (anchored windows vs random windows) is the // framework's most original unexplored idea. // ============================================================================ // // --------------------------------------------------------------------------- // 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. // // TOKENIZER ARTIFACT, not a figure: the -0.95 in the closing paragraph is the // tail of the range "0.8-0.95". // // DERIVED IN THIS READING by arithmetic over printed values: the +- 0.005 of // PHASE 1 is the envelope of the printed rho at the levels with p^3 < X, // which are p = 11, 13, 17 and 19 at X = 10000. Those four print 0.999, // 0.999, 1.004 and 0.999, so the widest miss from 1.000 is 0.004. // // DEFINITION / LITERATURE constants: 3.17 is e^{2 gamma}, which is 3.1722, and // 0.793 is e^{2 gamma}/4, which is 0.79305. Both are stated as such in the // reading, and 3.17 also appears in this file's header at line 18. // // BORROWED, verified present in the named producer's embedded OUTPUT: // 0.895 is attack 2's measured value, printed by // research/attack-02-head-bias.js on its C(x)/(delta*x) line at x=999. // 0.85, the kill-shadow constant, is not measured here. It is from // research/anchored-windows.md, which states the window just past the // zone is depleted to about 0.85 of fair share and names the shadow // constant as a new measured object. // ---------------------------------------------------------------------------