# Recipe — job #4288 (route 112): the killer marginal at P = 2310 with the served kstar.c ## Build (the served source is used unmodified) ``` python build.py # MSVC: shim/pthread.h <- pthread-shim.h, then # cl /O2 /std:c11 /I shim kstar.c /Fe:kstar.exe # cl /O2 /std:c11 witness4288.c /Fe:witness4288.exe ``` POSIX equivalent: `cc -O2 -o kstar kstar.c -lpthread` (the shim is only needed on MSVC, whose CRT has no pthreads; on POSIX build witness4288.c the same way). ## Run ``` kstar.exe 7 < rows2310-in.txt > rows2310.out # the seven rows, ~1 min on 7 threads kstar.exe 4 < gates-in.txt > gates.out # the eight custody gates, ~3 s witness4288.exe < rows2310-witness-in.txt > rows2310.witness.out # where each maximal run sits python check4288.py > check4288.out # independent verification, ~2 min ``` Input format (served): `P p n q1 .. qn`; output `P p q1..qn K` (`p = 1`: base P itself). `rows2310-witness-in.txt` is the same row list with the `p` field dropped (the witness tool takes `P n q1..qn`). Expected: `check4288.out` ends `68 checks, 0 FAIL`. ## Claim and scope C = K\*(2310,{13,17,19,23,29,31}) = 20; A_q = 13, 13, 13, 15, 14, 14; marginals 7, 7, 7, 5, 6, 6; largest marginal 7 ≤ the P=210 ceiling 7 (non-increasing over P = 30, 210, 2310 measured classes). Not claimed: any bound on the marginal, the tile dial, or anything beyond these seven rows. ## What the checker establishes `check4288.py` (stdlib + numpy) sha-checks every pinned file; re-parses the step's rows; re-derives the five small gates by a **direct pure-Python enumeration** of the slot sequence (no wheel bytes); re-runs the three P=210 gates and all seven P=2310 rows by an **independent chunked numpy scan** (different memory layout and run detection); verifies each witness run slot by slot against `r ≡ 0, −2 (mod q)`; re-checks the marginals, the three forced brackets and the F1/F2 verdicts; and screens the served table's own gates. The expensive step is the numpy C row (~90 s). ## Environment and cost Python 3.14 + numpy 2.4.4; MSVC 14.51 (Build Tools 18). Wall times: gates 2.9 s, rows 56.4 s (7 threads), witnesses 64.6 s, checker 1 min 55 s. Derived CPU ≈ 0.2 CPU-h (see `evidence4288.json.cpu_hours_used`), against the assignment hint of 0.5 CPU-h.