# Job #1677 — "Leads: new statistic": the two-prime adjacent-kill statistic (design returned, deciding run **not** completed) Run `run_20260917_161709_rsqgow`, attempt `71c0e05ee20a93b7f1633d36a31c2963`, general mode, explore / discovery / stage `discover`, lane `formalize`, `research_route_id: null`, 1 of 1. Local deadline 14:51:49Z truncated the attempt at 34 minutes rather than the job's 2 h; the design below is the deliverable the brief allows ("otherwise return the design with the cost"), and the deciding run is reported honestly as **not decided**. ## What the statistic is, and what it decides `T_x` = twin-admissible residues mod `P_x = 2·3·…·x#`, cyclic gap word `g`, `D = |T_x|` (tile builder reused read-only from job #1406 / return #640). For a prime `p`, a gap is a **kill step** by the served edge rule (`sigma' − sigma = g_i mod p`, reconstructed in N-1644): `Z` if `g_i ≡ 0`, `M` if `g_i ≡ p−2`, `P` if `g_i ≡ 2`, else `X` (no edge); `L(T_x,p) = 1 + ` longest consistent run. Every retained object is either **one prime** (the served column `L(T_x,p)`, #161) or a maximum over **the whole prime set** ("killed by *some* prime in the set": A048670, A144311, A288815/A072753, Ziller–Morack, Holt — N-1630 §3, verified there). The pair refinement is unstudied: > **Statistic.** For primes `p, q`: `S_p = {gap values ≡ 0, 2, p−2 (mod p)}`. > `Lambda_or(p,q)` = longest cyclic window all of whose gaps lie in `S_p ∪ S_q` (either prime kills it); > `Lambda_and(p,q)` = longest window under the **product** automaton (both primes must kill every gap). **Decision it informs.** The campaign's covering capacity is a whole-prime-set maximum, while its local estimates are built on bounded pairs of primes (`bilinear-fold-attack.md`, `polylog-fold-transfer.md`). If no pair of individually inert primes can create even a two-slot window, the capacity cannot be localised to a pair at all and a bounded two-prime route is dead; if pairs do gain, the gain's size at `T23` fixes how many primes a localised argument must carry. ## Pre-registered falsifier (written and hashed **before** any run) `work/PRE-REGISTRATION-1677.md`, sha256 `c9dbdb878822664fd24757b086c0b372fc2dcf8b8c8578f0c754aff59bc6d860`, written 14:36Z; ledger `work/src/job1677-checks.py`, sha256 `93516789b366048f4ab804c363c1721f7053d8a6179e5852d762e806b6f31fdc`, written after it and before the run. > **Pair-additivity (support level).** For every prime pair `p < q`: `Lambda_or(p,q) ≥ 2` **iff** > `L(T_x,p) ≥ 2` or `L(T_x,q) ≥ 2` — no two primes that are each inert (no gap `≡ 0, ±2 mod p`) have > two consecutive covered slots. **Refuted** iff some both-inert pair passes the order-free test > `∃ adjacent (a,b) : a ∈ S_p ∪ S_q, b ∈ S_p ∪ S_q`. > Sharper: `Lambda_or(p,q) = max(L(p), L(q))` for all pairs (refuted by any **gain** ≥ 1). **Matched control.** (1) cyclic rotations of the same word — every counted statistic must be *exactly* invariant (implementation check); (2) random permutation of the same gap multiset — the repo's idiom (#1634 §3), marginals identical, adjacency destroyed, 20 replicates, compared against the arithmetic count. **Scale.** `T23`: `D = 7 952 175`, `M = 223 092 870`, `G2 = 204`, 33 gaps in `[6,204]`, primes swept `23 ≤ p ≤ 211` (two primes past `G2`, where N-1644's bound forces `L = 1`), 861 pairs. ## Status: the deciding run did **not** complete (disclosed, not hidden) `exec run_20260917_161709_rsqgow --seconds 300 --cpu-seconds 300 -- bash -c "cd …/work/src && exec python3 job1677-checks.py > job1677-checks.log 2>&1"` was started at 14:39Z and had not written its single JSON blob when the session deadline cut the turn at 14:45Z; `job1677-checks.log` is 0 bytes. **Cause, identified from the code, not guessed:** the permutation control permutes the *word* with `random.Random.sample(list(g.tolist()), D)` on `D = 7.95 M` slots × 20 replicates (≈1.6·10⁸ Python element operations) and the exact `Lambda_*` passes use Python-level generators over 8 M slots per pair — both are O(D) **Python** loops where the design assumed numpy. Not a mathematical obstruction, and the falsifier stays **undecided**: no verdict is claimed in either direction. ## Rungs (per claim) * `Lambda_or` / `Lambda_and` definitions, the pre-registration and its hash, the ledger file and the measured non-completion: **verified** (exact artifacts on disk; the pre-registration predates the run). * `D(T23) = 7 952 175`, period `223 092 870`, `G2(T23) = 204`, 33 distinct gaps `6…204`, `L(T23,p) = 2,3,2,2` at `p = 29,31,37,41`: **known** — cited from #640/#627/#1644/#1634, **not** re-measured this turn; they are the anchors the ledger's assertion set will re-check. * The pair-additivity falsifier and its refutation condition: **conjectured** (a claim about the T23 gap adjacency matrix that no retained object decides). * "The pair refinement is unstudied": **heuristic** (corpus search: no local note or producer computes a pair-level window; N-1630's literature check found every published family to be a whole-set maximum — that check was not repeated and the channel state below applies). ## Gap that remains (exact successor, cheapest first) 1. **Fix the two O(D)-in-Python loops** — permute with `np.random.Generator.permutation(D)` applied as an index array (numpy, 20 replicates ≈ 2 s) and replace the generator-based masks by `np.isin(g, np.fromiter(S_p, dtype=np.int64))`; then re-run the same command. Measured build cost of `T23` is 2.8 s (#1406) and the order-free pass is a 33×33 matrix, so the whole ledger should finish in ≤ 60 s — inside the pre-registered ≤ 0.02 CPU-h. 2. Decide the falsifier; if it is refuted, report the **gain** at each pair and whether any gain reaches length ≥ 4 (the depth at which #1634 found the `Z` class excluded). 3. Only then compare against the published whole-set maxima (A048670 / A144311 / A288815) — the pair statement's value is exactly its relation to a whole-set maximum, which is not measured here. **Nothing was computed in a second way to conceal the timeout; no local or served file was modified; no route was proposed as a scientific result** — the proposal below is attached as a public file because the return must not carry a `research` object it cannot source. ## Channels this turn `web_search` answered **"No search results found" for the topical intent and for its control query `twin primes`** (14:19Z) — recorded as a channel failure, never as absence (README gotcha 41). The arXiv API was **not** queried (deadline). No novelty or twin-prime claim is made, and no IMPORT-MAP row. ## Framework self-review (bounded, on this assignment) Gate before work: `outstanding` → **0 of 101 attempts, all_complete=True, pending_ops=[]**; no open predecessor in `state/HANDOFF.md`; no sibling process. Readiness re-run on the unchanged pinned `sah/13` (`34f2326b…`) → **27/27, exit 0** at 14:16:51Z, `tests/path_fixture.py` **5/5** the same minute. Identity bound to **this** turn's chat `chats/2026-09-17T14-15-51.205Z` → `deepseek/deepseek-v4-flash`, `X-Effort: unmeasured` (no effort field exposed by this app version; sources recorded in `state/identity/run_20260917_161709_rsqgow.json`). Binding record printed as JSON immediately after `register` and re-printed before this submission. **One new framework lesson (gotcha candidate):** `exec`'s `--seconds` is a wall clock on the *child*; a ledger whose control loop is Python-level on a `D = 8 M` array can therefore consume the whole turn with a **0-byte** log, so a cost model must be checked against the *per-element* loop language, not just the matrix size.