# Pre-registration — job #2046 (explore/discovery, lane `finiteness-structure`) **Written before any computation of this job.** The run order in this folder is: this file, then `frontier.py`, then `report.md`. Nothing below is a result; the results are in `frontier.json` / `frontier.out` / `report.md`. ## The question this assignment asks, answered as a statistic Lane: *"What structure a finite twin count would force (disproof-shaped lane)."* A finite twin count forces exactly one thing at observable scales: **the pair density stops.** So the lane's only finite-scale carrier is the counting level, and the honest finite statistic is the *inverse* of the usual goodness-of-fit question. Instead of asking "do the counts match Hardy–Littlewood?", ask: > **Given a census to x, which finite worlds are EXCLUDED, and which stop-points survive?** **Definition (the statistic).** For a census to x and a candidate stop-point X0 <= x, let the *deficit* be D(X0; x) := M(x) - M(X0), M(x) := 2 C2 * Li2(x), Li2(x) = int_2^x dt/ln^2 t, with C2 = 0.660161815846869573927812110014 (the twin constant; 2C2 = 1/twin-gap slope constant). `D(X0;x)` is the number of pairs the census would be *missing* if the world were finite with last pair at X0, measured against the model calibrated below. **Yardstick (pre-registered, conservative).** Let sigma(x) := k_emp * sqrt(M(x)), k_emp := max(1, rms over the calibration decades of (dpi2 - dM)/sqrt(dM)) i.e. an *empirical* over-dispersion factor measured on the decades below the tested range (the same instrument the corpus used on the exponent estimator, `exponent-control.md`), floored at the Poisson value. Flooring at 1 is the conservative direction: a larger sigma gives *fewer* exclusions, hence a weaker claim; if the measured scatter is sub-Poisson the floor is kept anyway and reported as such. **Decision rule.** Reject the finite world F(X0) at level kappa = 3 iff D(X0; x) >= kappa * sigma(x). **Frontier and invisible window.** X*(kappa;x) := the largest X0 <= x with D >= kappa*sigma(x) (the rejection frontier); W(x) := x - X*(kappa;x) (the *invisible stop-window*: stop-points consistent with the census). Excluding the model's own truncation, W is computed exactly by inverting M (strictly increasing). **Predicted scale, written before the run.** With M'(x) ~ 2C2/ln^2 x and sigma ~ kappa*sqrt(M): W(x) ~ (kappa / sqrt(2C2)) * sqrt(x) * ln(x) [analytic, expected law] so W grows like sqrt(x) log x: the invisible window is **unbounded**, and one extra decade of census does not shrink it in absolute terms. Numerically predicted here, before running: W(1e16) ~ 2.611 * 1e8 * 36.84 ~ 9.6e9 and W(1e19) ~ 2.611 * 3.16e9 * 43.75 ~ 3.6e11. ## Controls (all pre-registered, all reported whatever the verdict) 1. **Own measurement, known answer.** A segmented sieve built here reproduces the published counts pi2(1e8) = 440,312 and pi2(1e9) = 3,424,506 (A007508). This is the control that has to pass before any library count is used. 2. **Two independent library sources for the top of the range.** The retained TOS twin-gap histogram (`tos-twin-gaps-1e16.txt`, complete T(g) to 1e16) is summed and must equal the published A007508(16) = 10,304,195,697,298. A mismatch is a failure of the run, not a footnote. 3. **Two independent evaluations of M.** The asymptotic series for Li2 (optimal truncation) and a direct numerical quadrature must agree to >= 10 significant digits at 1e8, 1e12, 1e16. 4. **Sham-stop power control (matched synthetic finite worlds).** For X0 = 1e12, 1e13, 1e14, 1e15 the truncated world F(X0) is constructed and the statistic recomputed; the pre-registered expectation is z >= 3 at every one of them, i.e. in-range stops are detected with power 1. If any has z < 3 the design's power claim is falsified and is reported as such. 5. **Permutation control on the residual shape.** 200 permutations of the decade increments of the fitted residual pi2(x) - M(x) at each census level; the frontier is recomputed each time. This is the yardstick for the *shape* dependence of W, and it does not rely on the Poisson model. ## Falsifier (written before the run) The claim under test is: *the finite-twin hypothesis has no finite-scale signature below the published frontier 1e19 other than the trailing window W(x) ~ sqrt(x) log x.* It is **FALSIFIED** if either (a) the top three published decade residuals d(x) = pi2(x) - M(x), once the calibration constant is fitted below the top, show a monotone negative drift whose magnitude exceeds kappa*sigma(x) (a live terminal signal — which would be a discovery, not a nuisance), or (b) the permutation control puts >= 5% of permutations within one order of magnitude of the pre-registered analytic W(x) at any census level (i.e. the analytic law is not robust to the residual's shape), or (c) the sham-stop power control (control 4) fails at any X0. ## Rung and scope, fixed in advance * The blindness argument (which statistics *can* carry finiteness information) is stated at the level of an explicit model class ("conditional-gap-law" models: any model whose law of the local pattern given the pair count is intensity-independent). It is a statement about that class, **not about the primes**; no claim is made that no cleverer statistic exists. * The frontier is an *operational* statement about the retained/published counts, as measured. * Nothing here bounds G2, the Zone Postulate, or any twin margin. No claim about the truth of the twin prime conjecture is made or implied.