# RERUN — how an independent checker reproduces the SIEVE-β(151, 5) decision All Python commands run in this `evidence/` directory with Python 3 (standard library only). Expected wall time: seconds for Steps 1 and 2. Step 3 needs a Lean 4.36.0 toolchain and takes under a minute. ## Artefacts and integrity | File | Bytes | SHA-256 | |---|---|---| | `witness_check.py` (single-exhibit checker) | 5,535 | `df53ba24782c9737ec36e61036188085fd1cf323141e50cddbe42412227ad68a` | | `cycle34_h3_count1515.py` (counting program, main path) | 2,866 | `a387b64ad8265d9cb5c0360f70110817e3c939d98f6bd46761f8a2666b648d1c` | | `cycle34_h3_count1515_check.py` (counting program, independent second path) | 3,651 | `fc96050c7e9e689428a2c8cdf331ac1034404e9b38482f3a13800002a9fecc42` | | `cycle34_h3_count1515.json` (main path's record: attrition + full 321-entry hit list) | 41,808 | `7b40980de94a62a90c50356d239fff676e97048258d75238a8080a548854da2b` | | `cycle34_h3_count1515_check.json` (second path's record) | 41,969 | `81a347b8cf127d7724c0b1f80516b1925ebd7ccda04d821d311d5280a6434421` | | `SieveBeta.lean` (the formalised statement; unedited) | 3,410 | `02c7a9b535078e59b8240976efb2de5fded108b2c4b41641fba5ba9f4198b3ec` | | `SieveBetaWitness.lean` (the Lean proof at the witness) | 6,994 | `dafcc7e84325fdf50ae4a996a443e3b1bd8dcea88d2bc4ffed0f0ab7e992e8f2` | | `build_lean.sh` (Lean build script) | 525 | `9c7137b5283176f981ea65c937592ccbdce75357e07643487e0a53f366ac96b2` | Verify integrity first: `sha256sum *` and compare with the table. ## Step 1 — the single exhibit (the Level B check) python3 witness_check.py The checker is a third implementation of the definitions, sharing no code with either counting program (trial-division primality and factorisation, Euler's criterion AND a brute-force residue scan for the non-residue clause, a log table built by repeated multiplication with the order of 6 mod 151 asserted to be exactly 150). It verifies the witness n = 1321 clause by clause, then recomputes every one of the 321 hits filed in `cycle34_h3_count1515.json` from n alone and compares K, the distinct factor list, the log list and the gcd against the filed values. Expected output (exit code 0): - `witness 1321 recomputed: (368, [2, 23], [70, 115], 5)` - all nine named sub-checks `True` - `WITNESS 1321: INSTANCE HOLDS (K = 368, factors = [2, 23], logs = [70, 115], gcd = 5)` - the summary block: `filed_hits = 321`, `recomputed_mismatches = 0`, `smallest_hit = 1321`, `filed_N_151_5_at_X0 = 321`, and the attrition table {78,498 primes; 9,732 after (i); 4,926 after (ii); 321 after (iii), (iv) and (v)} - `WITNESS VERIFICATION: PASS` As with the earlier Level B claim from this programme, the platform runner reproduces this single exhibit; the full count is re-run from the bundle (Step 2). ## Step 2 — the full count, re-run from the bundle python3 cycle34_h3_count1515.py 1000000 /tmp/count_main_rerun.json python3 cycle34_h3_count1515_check.py 1000000 /tmp/count_main_rerun.json /tmp/count_check_rerun.json Expected: the main path prints its record with `N_151_5_at_X0 = 321`, the attrition table above, and a hit list identical to the filed `cycle34_h3_count1515.json` (same 321 entries, same order); the second path prints `AGREE` as its last line and its record carries `agrees_with_main_path_hit_list: true` and `N_check = 321`. The two programs are independent implementations (sieve/SPF + Euler criterion + log table, versus trial division + brute-force non-residue test + per-query log walk). ## Step 3 — the Lean proof at the witness Requirements: Lean 4.36.0 (the toolchain the proof was built and re-checked with; install via elan, e.g. `elan toolchain install leanprover/lean4:v4.36.0`). No Mathlib, no other dependencies. From this directory: sh build_lean.sh Expected: both files compile with no errors, the script ends `BUILD OK`, and the witness build prints exactly 'sieveBeta151_5_witness' depends on axioms: [propext, Quot.sound] Checks a reviewer can run in seconds: `grep -c sorry SieveBeta.lean SieveBetaWitness.lean` prints 0 for both files — there are no placeholder proofs, and `sorryAx` does not appear in the axiom list. The axiom list contains only standard core axioms; even `Classical.choice` is not used. The statement file is the unedited formalisation (hash above); the proof file imports it and does not modify it. ## What a successful re-run establishes — and what it does not Step 1 establishes that the exhibited witness satisfies every clause of the formalised instance from the definitions, and that every filed hit of the count is a genuine instance with the filed K, factors, logs and gcd. Step 2 establishes that the count N_{151,5}(10⁶) = 321 is reproduced by two independent implementations agreeing on the full hit list. Step 3 establishes that the formalised statement `SieveBeta151_5` has a kernel-checked proof term. Together they decide the single instance (p, d) = (151, 5). They do not establish anything about SIEVE-β(p, d) for any other (p, d), about (SIEVE-T) or Hypothesis T, or about the Erdős–Straus conjecture itself; see the scope section of `../CLAIM.md`. ## Preparation check (performed on the bundle copies) All three steps were executed from the copied files in this directory during package preparation (2026-11-27). Step 1 reproduced the expected output exactly (exit code 0; `WITNESS VERIFICATION: PASS`; 321 filed hits recomputed, 0 mismatches). Step 2 regenerated N_{151,5}(10⁶) = 321 with a hit list and attrition table identical to the filed records, the second path printing `AGREE`. Step 3 was run on copies of the bundle's two Lean files in a scratch directory with the Lean 4.36.0 toolchain: both compiled clean, the axiom line printed exactly as above, and the placeholder-proof grep count was 0 for both files. A checker's run should produce the same.