# The tail's derivation: the ensemble half derives exactly, and the anchored coefficient is Hardy-Littlewood in disguise STATUS: HELD, staging. Not integrated, not red-teamed. Producer `research/history/staging/attack-0830-tail-derivation.js`, embedded (`node research/qc/embed.js research/history/staging/attack-0830-tail-derivation.js`), verdict line `0 assertion failures`, levels x = 7, 11, 13, 17, 19, 23, 29. This note edits nothing; the proposed TODO text is in §8, HOLD. Label: **(i) throughout.** Every statement is either an identity about an exact periodic object, an exact number at one level, or a distributional statement about a measured field. No bound on any tail at any p is claimed. The tail is a slack field of R0 (`zonegap-02-reduction.md` §2, (R0), `:62`), it sits off the exponent's critical path, and nothing here touches Z2 or moves the wall. `attack-wrongdirection-audit.md:548` records Z4 as not audited; this note does not audit it either. Inequality directions are stated where an inequality appears (§2a, §3); none is load-bearing for a bound because no bound is made. --- ## 0. What is still open, and what failed **The anchored coefficient does not derive, and the kill clause fires.** Every route from the tile to the measured 0.7574-sized coefficient passes through two inputs: ρ(2) = e^{2γ}/4, the origin's survival density against the ensemble at u = 2, whose exact value is HL-conditional (`origin-excess.md:36`, `:433`) and whose limit is the sharp form of Assumption A, "algebraically equivalent to HL on the 11/17 comb" (`GLOSSARY.md:328-329`); and CV² → 1 for the zone's own twin gaps, "a Hardy-Littlewood statement for twin gaps" (`head-residual-factor.md:166`). So the anchored coefficient is Hardy-Littlewood in disguise. Status PARTIAL with that as the coordinate; nothing beyond HL is derived on the tail, exactly as nothing beyond HL was derived on the head. **What derives, exactly and with no prime input, is the ensemble half.** The tail functional averaged over all p# translates has a one-line expectation, R + 5/2 over all integer origins and R + 3 over odd origins, R = Σg²/2W over the tile's twin-slot gaps; it is asserted by direct summation at every level with W ≤ 2²⁸ and its Mertens constant is e^{2γ}/(8 C₂) = 0.6007 [PROVEN]. What does NOT settle inside the ensemble is the tile's own gap-shape factor (1 + CV²)/2, which reads 0.6306 → 0.7532 over x = 7..29, rising at every step and nowhere near a plateau [MEASURED exact per level, limit OPEN]. **The rough-origin candidate is not identified.** Its exact ensemble counterpart, E_rc/E_cls (an origin coprime to p# and in the classes p'² occupies, against every integer in those classes), reads 1.0050 → 1.0523 over x = 7..29, rising; the record's anchored surplus is 1.0157 [1.0013, 1.0308] at sieve level 1e5 to 3.2e5. Same sign, wrong size, and a trend the record's three bands (1.0452, 1.0053, 1.0157, `zone-tail-02-0829.md:432`) do not show. The two sit four orders of magnitude apart in p and cannot be compared at one level. HEURISTIC stays HEURISTIC. **One number derives that the record had measured and mis-explained.** The class-null offset, classNull − R, is an exact ensemble quantity: E_cls − R = 5.600, 5.709, 5.833, 5.913, 5.973, 6.008, 6.034 over x = 7..29, rising slowly. The record measured 440.36 − 434.31 = 6.05 at the top band (`research/zone-tail-02.js:796`) and explained it once as 0.5 (the prereg, §1 (P4)) and once as 7.5 (§3, `zone-tail-02-0829.md:407`); `redteam-0829-measure-b.md:153` (C17) flagged both. The ensemble's exact offset is the ground P4 lacked. Calibration: exact at x ≤ 29; its agreement with an anchored measurement at heights 1e10 to 1e11 is CONSISTENT WITH, one number at one band, not a derivation across the level gap. **A convention clarification, owed to two live files and stated here.** "A discrete uniform integer origin sees R + 1/2 exactly" (`head-residual-factor.md:70`; `research/zone-tail-02.js:799`) is the constant for the convention a < o. For a ≤ o the constant is −1/2. Under the tail's own convention, a + 2 < o strict (`zone-tail-01.md` §1, `:83-86`), the constants are 5/2 for all integer origins and 3 for odd origins [PROVEN, §2a; asserted numerically]. Re-read against the odd-origin constant the record's t/R_shell = 1.0298 becomes t/(R_shell + 3) = 1.0228; the class-null figure 1.0157 was computed in the strict convention and is unaffected. **No error in the brief was found.** Every figure the brief carries (0.7522, [0.7410, 0.7630], 0.7574, 1.0619, 1.0298, [1.0156, 1.0443], 1.0157, [1.0013, 1.0308], the detrended r = −0.0009, 27,292 zones, the 0.03 per-step registration) reproduces from `research/zone-tail-02.js`'s bound block or `zone-tail-02-0829.md`, and the producer parses the top-band rows from the bound block rather than typing them (SEC 1). --- ## 1. The object, pinned against the record **The tail as the record defines it.** A pair is named by its opener a; it is in zone p iff p < a and a + 2 < p'², both strict; a_last(p) is the largest such opener; tail(p) = p'² − a_last(p) (`zone-tail-01.md:80-86`; `research/zone-tail-02.js:41-44`). The top-band figures, parsed by the producer from `research/zone-tail-02.js:766` and `:796-798` and printed in SEC 1: 17,700 zones, mean tail 447.26, c_local 0.7522 [0.7410, 0.7630], R_shell 434.31, t/R_shell 1.0298 [1.0156, 1.0443], classNull 440.36, t/classNull 1.0157 [1.0013, 1.0308]. The zone tails at p = 7, 11, 13, 17, 23 (14, 20, 8, 14, 14) are parsed from `research/zonegap-02-reduction.js:409-413` and the max tail 80 at p = 29 from `research/zone-tail-02.js` SEC D; all six reproduce from the tile with no prime table (SEC 3, IDENTICAL). **The ensemble object.** T_x is the twin-slot tile, period W = x#, D = ∏_{5≤q≤x}(q − 2) openers, gaps summing to W. For an integer origin o mod W, τ(o) = o − max{ a opener : a + 2 < o }. By the Zone Restriction Lemma (`zonegap-02-reduction.md:27`, PROVEN) the in-zone twin slots of T_p are the in-zone twin primes, so tail(p) = τ(p'²) read on T_p at phase zero, exactly. The record's tail is one member of the ensemble {τ(o) : o mod W}; the ensemble mean over all o is the object whose expectation derives. --- ## 2. The ensemble derivation ### 2a. The identities [PROVEN, one line each; asserted by direct summation at x ≤ 23] Let the openers be a₁ < … < a_D with gaps g_i = a_{i+1} − a_i (the last gap wraps). Origin o has last opener a_i iff a_i + 2 < o ≤ a_{i+1} + 2, so the origins served by gap i are the g_i integers a_i + 3, …, a_i + 2 + g_i, at distances 3, …, g_i + 2. Hence E_all[τ] = Σ_i g_i(g_i + 5)/2 / W = Σg²/2W + 5/2 = R + 5/2, E_odd[τ] = Σ_i g_i(g_i + 6)/4 / (W/2) = R + 3, using Σg_i = W and, for odd origins, that every a_i and every g_i is even-offset consistent (a_i odd, g_i ≡ 0 mod 6 for x ≥ 5). Under the convention a < o the distances are 1, …, g_i and the constant is 1/2; that is the corpus's "R + 1/2". Direction of the only inequality in this section: E_odd > E_all > R, trivially, because the constants are positive; nothing rests on it. The producer asserts both closed forms against the per-gap sums at every level and against a direct sum over every one of the W origins at x ≤ 23 (`direct all-origin sum = closed form`, `direct origin count = W`), 0 failures. D = ∏(q − 2), holes = φ(W), rough origins = φ(W), square units = ∏(q − 1)/2 are asserted per level; D, mbar and G₂ are asserted against `research/gap-spectrum-01.js:601-637`. ### 2b. The numbers, exact (producer SEC 2) | x | mbar | E[g²] | CV² | R | E_all = R + 5/2 | E_odd = R + 3 | (1 + CV²)/2 | |---|---|---|---|---|---|---|---| | 7 | 14.0000 | 247.200 | 0.2612 | 8.8286 | 11.3286 | 11.8286 | 0.6306 | | 11 | 17.1111 | 381.067 | 0.3015 | 11.1351 | 13.6351 | 14.1351 | 0.6508 | | 13 | 20.2222 | 553.721 | 0.3540 | 13.6909 | 16.1909 | 16.6909 | 0.6770 | | 17 | 22.9185 | 738.019 | 0.4051 | 16.1009 | 18.6009 | 19.1009 | 0.7025 | | 19 | 25.6148 | 950.646 | 0.4489 | 18.5566 | 21.0566 | 21.5566 | 0.7244 | | 23 | 28.0543 | 1165.953 | 0.4814 | 20.7803 | 23.2803 | 23.7803 | 0.7407 | | 29 | 30.1324 | 1367.674 | 0.5063 | 22.6944 | 25.1944 | 25.6944 | 0.7532 | Reading: R/mbar = (1 + CV²)/2 rises 0.6306 → 0.7532 across seven levels with no sign of settling; the tile's gaps are far from exponential at every computable level, which is `gap-spectrum-01.md`'s "uniformly steeper than exponential" read at the second moment. Nothing here says where CV² goes. ### 2c. The asymptotic form, and what in it is proven mbar = W/D = 2 ∏_{2 THE TAIL'S DERIVATION RAN 2026-08-30 (`attack-0830-tail-derivation.md`, > HELD; `Q-tail-derivation-0830` PARTIAL). The ensemble half derives exactly: > the tail functional averaged over all p# translates has expectation R + 5/2 > (R + 3 over odd origins), R = Σg²/2W over the tile's gaps, asserted by > direct summation, with Mertens constant e^{2γ}/(8 C₂) = 0.6007 = HL × ρ(2); > the tile's own shape factor (1 + CV²)/2 reads 0.6306 → 0.7532 over x = 7..29 > and does not settle. The anchored coefficient does not derive: every route to > 0.7574 passes through ρ(2) → e^{2γ}/4 (the sharp form of Assumption A, HL) > and CV²_zone → 1 (HL), so it is HL in disguise; the record's 0.7522 = HL × > 0.9644 × 1.0298 is two non-HL-sized factors cancelling. The rough-origin > candidate has an exact ensemble counterpart E_rc/E_cls = 1.0050 → 1.0523, > right sign, wrong size and trend against the anchored 1.0157; not identified. > One number derives that the record measured: the class-null offset > E_cls − R = 6.034 at x = 29 against the measured 6.05, replacing P4's 0.5 and > 7.5. The corpus's "R + 1/2" is the a < o convention; under the tail's own the > constants are 5/2 and 3. Ledger line: add `Q-tail-derivation-0830`.