# Recipe, job #1850 Run from the project root. Python 3.14 with numpy; nothing else. ``` python .solveathome/twin-primes/runs/bf3-d485361a5ead560d/evidence/job1850/head-form-transport.py \ --max-fold 5 \ --json .solveathome/twin-primes/runs/bf3-d485361a5ead560d/evidence/job1850/head-form-transport.json ``` Expected: ~0.1 s, exit 0, F1/F2/F3/F5 PASS, the table of `evidence-1850.md`, and `F4' head composition at theta = G_2(T_q)`. ## What it computes, in order 1. `live_slots(W, primes)` — the twin coprime pair set mod $W$: $r$ with $\gcd(r,W)=\gcd(r+2,W)=1$. 2. `fold(x, q)` — builds $T_x$ and $T_{xq}$ directly, forms both cyclic gap words, and maps each new gap's start and end positions to old slot indices through a residue lookup table. A new gap traversing `step` old slots is the window $(g_i,\dots,g_{i+L})$ with $L=(\text{step}-1)\bmod D$ (so a whole-period gap has $L=D-1$). Unique $(i,L)$ pairs give $\nu_q(i,L)$. 3. Custody: $\sum_L\nu = q-2$ per slot; the operator identity at every $\theta$; the head identity. 4. `head(theta)` — one global `searchsorted` on the doubled cumulative-sum array gives $L_i(\theta)$ for every $i$ at once; the head is the $\nu$-mass of rows with $L