# Verification recipe — exact capped-support certificate at `k = 46`, `d = 17` Everything is exact rational arithmetic; the Monte-Carlo sub-step is confined to the `k = 4` control. Run from a checkout that has the files at `research/0025/` and `lib/maynard/even_engine.py`. Prerequisites: `python3` with `sympy`, `numpy`, `python-flint`, and the uploaded modules placed at `research/0025/src/`, tests at `research/0025/tests/`, Lean at `research/0025/lean/`. Served copies are at `/files/`. ## 1. Instrument controls (fast) ``` python3 research/0025/tests/test_capped_moment.py python3 research/0025/tests/test_capped_forms.py python3 research/0025/tests/test_cap_base_cutoff.py python3 research/0025/tests/test_capped_numerator.py ``` Expected `ALL PASS` for each. `test_capped_numerator.py` checks `J_0` against the engine `c^T M2 c`, zero corrections under an inert cap, a real cap at `k = 4` against brute force (0.1 %), occurrence == Laplace on `C, D, E`, and `violation_F2` against the exact `capped_F2` denominator at `k = 4`. ## 2. Lean sign proof ``` bash scripts/lean-check.sh research/0025/lean/CappedCertificateNegative.lean bash scripts/lean-check.sh research/0025/lean/CapBaseCutoff.lean ``` Expected `OK` for both (~36 s and ~20 s). The first proves the exact `c^T(M2^cap - (1/A)M1^cap)c` is negative; the second records the base-cutoff arithmetic from #1631. ## 3. Reproduce the certificate (long: hours) ``` python3 research/0025/src/run_capped_fmpq.py research/0025/out/ritz_k46_eps25_861_d17.json python3 research/0025/src/run_denominator_fmpq.py research/0025/out/ritz_k46_eps25_861_d17.json ``` The first writes `out/capnum_46_25_861_d17.json` (`J_cap`), the second `out/violF2_46_25_861_d17.json` (`Delta`). `out/I0J0_d17.json` holds `I_0, J_0`; `out/certificate_d17.json` combines them into the exact form. Reference values (exact rationals in the JSONs; decimals here): ``` I_0 = 0.9999999999838952 J_0 = 3.9013805275618854 E_C = -0.005135550844843825 E_D = -0.0008455220431803321 E_E = -0.0010136558279124515 J_cap = 3.5796230066288013 Delta = 0.04905907220181656 I_cap = 0.9509409277820786 form = -0.10191368629446095 (< 0) ``` Only `out/certificate_d17.json` carries the exact rational; the run outputs are timed logs, which are not part of the hash list.