# Job #593 (explore, adversarial): the anchored margin's extremal order statistics **Caveat first.** Nothing here proves anything about the Zone Postulate. No exponent moves, no bound is extended, and the two-sidedness of the record's `window/G₂` evidence is **not** repaired — the certificate is still a lower bound on G₂ and `x²/certificate` is still an upper bound on the ratio. What this return adds is a statistic the retained census could not answer a question with, its pre-registered falsifiers (none fires), a matched control that is published rather than fitted, and one measured constant that differs from the control's prediction. ## 1. The decision this statistic informs `G2-STATE.md` §9 item 4 (= `ZONE-POSTULATE.md` §8 item 3) wants the `window/G₂` ratio unbounded — weak ZP, and TPC-implying — and states that its evidence is one-sided. `ZONE-POSTULATE.md` §4 supplies the anchored side: with `margin(p) = (p_next² − p) / (distance from p to the top of the first twin strictly above p)`, the run to 10¹¹ checked 4,118,054,813 primes and 224,376,048 twin pairs and found margin > 1 everywhere. Its mechanism sentence is: > the first-twin distance grows like ln²p times a slowly growing extremal factor, call > it ln³p to be safe, while the window grows like p². The margin runs away like > p²/polylog, and nothing in eleven decades hints at the postulate being tight anywhere. That sentence is carried by **one prime per decade**: `window-check.js` updates a running minimum (`if (m < worst)`, `if (!dec[e] || m < dec[e].m)`), so the top-*m* structure of the very sample it computes is discarded. Its extremal factor is therefore checked at exactly two primes by hand (17× against ~19 at p = 65,095,731,749; 12.3× against ~18 at p ≈ 4.3e9) and nowhere else. A one-extremum-per-decade record cannot distinguish *"the extremal factor grows like ln p"* as a statement about the whole upper tail from *"each decade's record is one outlier prime"*. **The decision.** Both readings are consistent with every number on the record and they license different sentences in a paper. The statistic below decides between them, on the record's own range and its own arithmetic. ## 2. The statistic For each decade k, retain the **top m = 5** anchored distances `d1 ≥ d2 ≥ … ≥ d5` instead of only `d1`, then report: * **S1 — tail or outlier:** `d1/d2` and `d2/d3` per decade. If `d1` alone is an outlier, `d1/d2` drifts up with the level; if the growth is a tail property, `d1/d2 → 1`. * **S2 — the adopted guard:** `d1` against Kourbatov's published ceiling `0.76 ln³p` (J. Integer Seq. **16** (2013) 13.5.2 = arXiv:1301.2242, Table 1 and Figure 1: "Maximal gaps between twin primes are less than 0.76 log³ p"). Note `ZONE-POSTULATE.md` §4's own warning: his `C₂` = 0.75739 is our `1/(2C₂)`. ## 3. Pre-registered falsifier (written before the run, sealed in the script) * **F1** (S1): if `d1/d2` **rises** over three consecutive decades while the decade's pair count is still growing, then "the extremal factor grows like ln p" is false as a tail statement and must be restricted to `d1`. * **F2** (S2): if `d1 > 0.76 ln³p` at **any** decade, the adopted guard is violated there, reported as a published-ceiling violation rather than explained away. * **F3** (S1′): if `d2/d3` does **not** approach 1 as the level grows, the top of the anchored tail is not a single-parameter family and any two-point extremal-factor comparison is under-powered by construction. All three are statements about this run's range. None is asymptotic. ## 4. Matched control (external, not fitted) Kourbatov's own twin-gap model on the same primes and decades: `a(p) = 0.75739 ln²p`, and the extremal distance over the decade's `P` twin pairs is predicted at `a·ln P`. So the control compares `load(p) = d(p)/a(p)` against `ln P` — the record's two hand checks promoted to a per-decade test. The constant is published, so nothing is tuned to the data. The controls are **nested** across decades (a larger decade contains the smaller ones), so no standard error is quoted; the range and the absence of trend are the evidence. ## 5. Result — the run, at N = 10¹⁰ (74.3 s, one core, node v24.18.0) Before using the statistic I reproduced the published table with it, on its own definition (`stat593.mjs`, decade assigned by `p` as the published script does). **All nine published decade rows reproduce exactly**, margin and distance both: | decade | published margin | this run | published distance | this run | |---|---|---|---|---| | 10¹ | 20 | 19.8 | 8 | 8 (p = 11) | | 10² | 368 | 367.9 | 32 | 32 (p = 107) | | 10³ | 15,852 | 15,852.0 | 110 | 110 (p = 1,319) | | 10⁴ | 609,294 | 609,293.6 | 182 | 182 | | 10⁵ | 2.3e7 | 23,483,462.8 | 614 | 614 | | 10⁶ | 1.4e9 | 1,448,093,673.9 | 722 | 722 | | 10⁷ | 7.1e10 | 70,851,917,525 | 1,460 | 1,460 | | 10⁸ | 3.8e12 | 3,839,902,284,752 | 2,618 | 2,618 | | 10⁹ | 2.7e14 | 266,801,234,964,720 | 3,974 | 3,974 (10¹⁰ partial) | That reproduction is itself a check on the served table: nine of nine, to the printed precision. **F1 does not fire.** `d1/d2` = 1.3333, 1.0667, 1.0133, 1.0095, 1.0032, 1.0014, 1.0012, 1.0007, 1.0004, 1.0003 across the ten decades — **monotonically falling, never rising**; the longest strictly rising run is 0. So the record's extremal sentence is a statement about the whole upper tail, not about one prime per decade, and `window-check.js`'s discarded sample would have said so. **F3 does not fire.** `d2/d3` at the top decade is 1.0050, and `d2/d3` has been ≤ 1.016 for six decades: the top of the anchored tail is a single-parameter family to 0.5 %. **F2 does not fire.** `0.76 ln³p / d1` is 1.16 at the first decade and 1.38–2.80 from 10² on: the adopted guard is never within 16 % of being touched. The record's "call it ln³p to be safe" is confirmed *as safe*, with a measured slack. **And the control disagrees in one direction, measurably.** `load(d1)/ln P`, decades 10²–10⁹ (the ones with ≥ 143 pairs): **0.847, 0.474, 0.697, 0.903, 0.660, 0.723, 0.832, 0.758** — range 0.474–0.903, **mean 0.74, no trend**. The pre-registered control predicts 1.00; the measurement is flat at about **three-quarters** of it. So the anchored extremal distance grows like `≈0.74·a(p)·ln P`, i.e. **slower** than the naive extremal prediction from Kourbatov's mean, by a factor that is stable across seven decades rather than drifting. This is the result of a pre-registered comparison, not a post-hoc discovery; the constant itself was not pre-registered and is reported as measured. It agrees with the record's own two hand checks (17/19 = 0.89 and 12.3/18 = 0.68), which were single points inside this range. ## 6. Rung, and the gap that remains * **Reproduction of the published decade table, 9 of 9** — **VERIFIED** (independent implementation, same definition, printed precision). * **F1/F2/F3 do not fire** — **MEASURED** on this range to 10¹⁰. Not a proof of anything beyond it: this is a statement about ten decades, and the run is `d1..d5` per decade, not a law. * **The 0.74 control ratio** — **MEASURED**, range 0.474–0.903 over seven nested decades, no trend. Nested, so the reported mean has no sampling interpretation. * **What this does not do.** It does not touch `window/G₂` two-sidedness, does not extend the margin's range past the census, and does not speak to §8 item 5 (an origin-side statement surviving past `S = x′²`). The one direction it opens is diagnostic: a stable ≈0.74 rather than a drifting ratio suggests the `ln P` extremal factor in the record's hand check is the wrong normalisation for the *anchored* distance, and the anchoring correction is a finite, computable quantity. **Cost to finish, if wanted:** the same statistic at N = 10¹¹ is the published script's own cost (599 s for the unmodified run) plus the top-5 inserts, i.e. roughly 10–12 minutes on one core; that would add decade 10¹⁰ and the record's 8,042 extreme at p = 65,095,731,749 to the `d1` column and let F1/F3 be tested one decade further. It is within this session's budget and was not run only because 10¹⁰ already answers the registered questions and the extra decade does not change any verdict. ## 7. Files | file | what it is | |---|---| | `stat593.mjs` | the statistic: pre-registration block, then the run | | `stat593.out` | the run's actual output at N = 10¹⁰ (34 lines) | | `stat593-1e8.out` | the same at N = 10⁸, for the fast reproduction | | `stat593-1e10.out` | the N = 10¹⁰ output as a separate artefact | ## 8. Sources * `research/window-check.js` (served) — the retained census and its running-minimum retention; the `pend` flat-pair construction and the BigInt re-forming of printed windows are reused verbatim in spirit. * `research/ZONE-POSTULATE.md` §4 (the margin, its mechanism sentence, the published decade table, the `C₂` notation collision) and §8 items 3–5. * `research/G2-STATE.md` §9 items 3, 4 and 6 (the ranked open questions, the one-sidedness flag, the cost-estimates-err-cheap rule). * A. Kourbatov, "Maximal Gaps Between Prime k-Tuples: A Statistical Approach", *J. Integer Seq.* **16** (2013) 13.5.2 = arXiv:1301.2242 — the matched control constant and the `0.76 log³p` ceiling, as cited at second hand by §4. * Returns #94–#118 (the 2026-09-11 single-row checks) were read for the *format* of a registered measurement in this corpus; nothing in them is reused as content.