# Re-run instructions — free-4 {0,±1} repair census (1,843 cases) Everything below uses only the files in `evidence/` plus two campaign files noted where they live in the source tree (`wave42/regress.py`'s reference data and the exact judge `verify.py`). The driver requires Python 3 and the `z3` solver (`z3-solver` pip package). All arithmetic is exact over Q; no floating point is used anywhere in a verdict path. ## 0. Layout Work from a directory containing: - `paritysplit_gen.py` and `termfree.py` side by side (the driver imports `termfree` from its own directory), - `seeds/` with the seven seed files, - an `out/` directory for any SAT artefact (none is expected). ## 1. Entry point: the regression asserts (run this first) The generalised driver is a patched copy of an earlier stock driver; before trusting it on any main case, confirm it reproduces every previously known enumeration exactly: ``` python3 regress.py ``` Expected: ALL PASS. Specifically, the enumeration must reproduce - the decided Laderman free-4 instance (free-set {2,3,4,9}, coefficient set "1"): **16 cases**, identical list and order to the stock driver; - the decided "h1" Laderman free-3 instance: **30 cases**; - instance w40-proj24-m0's staged list: **19 cases**, string-for-string; - each of the six wrong=2 instances' staged lists: **304 cases** each, exactly, order included. If any assert fails, stop: the driver copy is not the validated one (check the sha256 values in `evidence/MANIFEST.md`). The same three machinery counts (16 / 19 / 304) are also asserted in-process by the run harness before any main case is attempted, together with derivation asserts on the padded control seeds (each padded seed equals its parent with the documented term zeroed, checked entrywise). ## 2. Control gate (must pass before the mains count) Three controls, each a padded parent (intact scheme with one term zeroed) whose restoring assignment is known by construction: - **CTRL-A1** (off-support flavour, coefficient set "1"): padded proj-24, free {0}, the single case with covering product (−1) at entry (5,8,4). Expected: SAT, assembled self-check 0/729, and the saved scheme judged fresh by the exact judge (`verify.py check`) → VERIFIED, rank 24, 0/729. - **CTRL-B** (wrong=2 flavour, coefficient set "1"): padded perminov_c88 (term 15 zeroed), free {0,13,15,19,22}, restoring case index 2193 of 2,295 (covering-vector tuple ((0,0),(0,−1),(1,1),(0,0),(0,0)), target pair (1,0)). Expected: SAT, self-check 0/729, fresh VERIFIED, rank 23, 0/729. - **CTRL-A2** (non-gating; coefficient set "2", a path no main case uses): padded proj-24, free {0,1,2,4,14}, restoring case index 2373 of 2,501 (covering products (−1,0,+2,−1,0), target 0). Expected: SAT + fresh VERIFIED, rank 24, 0/729. In the recorded run this leg took 591.1 s; it does not gate the mains. The control artefacts from the recorded run are in `evidence/controls/` (`ctrl_a1.json`, `ctrl_a2.json`, `ctrl_b.json`); re-judging any of them with an exact ⟨3,3,3⟩ checker over Q must give 0 wrong entries out of 729. ## 3. The main cases Driver usage (from the driver's own docstring): ``` paritysplit_gen.py [--cases i,j,...] ``` All 1,843 main cases use coefficient set `1` (i.e. freed entries range over {0,±1}) and a 900 s per-case cap. The per-case commands are enumerated in the staged manifests (`evidence/free4_manifest.json`: 19 cases; `evidence/wrong2_manifest.json`: 1,824 cases). One discrepancy to know about: the manifests were staged before the driver was generalised, so their command lines name the stock driver path `wave7/parity/paritysplit.py`. Run the identical command lines with `paritysplit_gen.py` substituted — the CLI is unchanged, and the regression in step 1 is exactly the check that the generalised driver's enumeration agrees with the staged lists. Example (case 0 of instance 2): ``` python3 paritysplit_gen.py seeds/wave41_perminov_c88_minus15.json 0,13,18,21 1 900 out/w41_c88_m15_c000.json W41-C88-m15 --cases=0 ``` Per-instance queue (seed, free-set, case count): | Instance | Seed file | Free terms | Cases | |---|---|---|---| | w40-proj24-m0 | seeds/wave40_proj24_minus0.json | 0,1,3,13 | 19 | | w41-c88-m15 | seeds/wave41_perminov_c88_minus15.json | 0,13,18,21 | 304 | | w41-kau-m19 | seeds/wave41_kauers_2026_minus19.json | 2,16,19,20 | 304 | | w41-kau-m22 | seeds/wave41_kauers_2026_minus22.json | 1,5,9,20 | 304 | | w41-cn119-m6 | seeds/wave41_cn119_minus6.json | 2,5,8,9 | 304 | | w41-cn97-m20 | seeds/wave41_cn97_minus20.json | 0,8,14,19 | 304 | | w41-c88-m20 | seeds/wave41_perminov_c88_minus20.json | 2,6,11,16 | 304 | Expected verdict tally, exactly as recorded: | Instance | UNSAT | SAT | NO CONCLUSION | NOT ATTEMPTED | |---|---|---|---|---| | w40-proj24-m0 | 19 | 0 | 0 | 0 | | w41-c88-m15 | 304 | 0 | 0 | 0 | | w41-kau-m19 | 304 | 0 | 0 | 0 | | w41-kau-m22 | 304 | 0 | 0 | 0 | | w41-cn119-m6 | 304 | 0 | 0 | 0 | | w41-cn97-m20 | 304 | 0 | 0 | 0 | | w41-c88-m20 | 304 | 0 | 0 | 0 | | **Total** | **1,843** | **0** | **0** | **0** | A SAT on any case would contradict the recorded result: the driver assembles the scheme, self-checks it exactly (0/729), and saves it to the case's out-path; such a file should then be judged fresh with the exact judge before being believed. In the recorded run no main-case output file was produced, consistent with zero SATs. ## 4. How the recorded harvest log corroborates the run The recorded run was executed by a harness that runs the control gate of step 2 in-process, then the queue of step 3 in manifest order, printing one verdict line per case. Its full log is preserved in the campaign tree at ``` compute-harvest/laptop-repairs2/repairs2.log ``` (1,386,845 bytes; sha256 `0b6a254a617be9c15f6fa729bf17fdf8915c2ce7cfdf9c6f91481af5507e2709`; referenced, not copied — see `evidence/MANIFEST.md`). Corroboration checks anyone can run against that log: - `grep -c "^REPAIRS2 .* UNSAT" repairs2.log` → **1843**; there is no REPAIRS2 verdict line with any other verdict (the only other REPAIRS2 line is the SUMMARY header). - The control section records CTRL-A1 SAT + VERIFIED (rank 24, 0/729), CTRL-A2 SAT in 591.1 s + VERIFIED (rank 24, 0/729), CTRL-B SAT + VERIFIED (rank 23, 0/729), followed by "CONTROL OK (hard gate): derivation asserts, machinery enumeration asserts (16 / 19 / 304), …". - The closing `REPAIRS2 SUMMARY` block gives the per-instance tallies of step 3 verbatim and ends with "instances DECIDED this run: 7 (of 7)" and the scope line: "each UNSAT excludes only that case's covering vector(s) for the freed terms on that seed, coefficients {0,+-1}, the other terms frozen." - The harvest directory's `out/` holds exactly the three control artefacts (copied into `evidence/controls/`) and no main-case candidate file. - First timestamped log line 17:39:52, last 19:40:12 (2026-11-23) — about 2h00m wall including the full control gate.