# Replaying the three finite exclusions

Extract the verification ZIP into an empty directory. Run the commands in that directory using Python with NumPy. The 339-block replay also imports NetworkX and OR-Tools from the generators. The archived environment used NumPy 1.21.5, NetworkX and OR-Tools 9.5.2237. Use Lean 4.15.0 for the supplied Lean sources. Existing log files document the original replay. All three main replays were also run again while preparing this deposit.

    python retrieve_inputs.py
    python research_lifts/check_pairs.py
    lean research_lifts/lean/PairTriangle.lean
    python research_bounds/check_plateau.py data/W-0021.txt research_bounds/block-results.json research_bounds/windows96-certificate.jsonl.gz research_bounds/plateau-certificate.jsonl.gz
    python research_blocks/round2/replay339.py --lean lean

With an existing check-out of the frozen inputs, use the alternate first command below. The reader verifies digests and coverage again, including the ten reconstructed classes.

    python retrieve_inputs.py --existing PATH_TO_FROZEN_DATA_DIRECTORY

**External data.** The 98 class words belong to three groups of source attribution: the first twelve are due to Andrei Teodorescu, class 013 to Theo H., and the rest to Jakub Halfar. The archive contains no external catalogue table and no full source words. The retriever downloads the [pinned class table](https://github.com/jhalfar/superpermutations/blob/f6716b9c35e868cc971fa0cac030f60aab942837/ties/classes.tsv), checks its Git blob ID, and validates all canonical word hashes listed there. W-0021 comes from the [Superpermutation Almanac](https://superpermutations.com/w/W-0021), which attributes the word to Teodorescu and designates its data CC BY 4.0. Two source representatives are retrieved at commit 908a11a4cba4880b57ea51865960d248d2916342 of [Tholsh's contribution](https://github.com/superpermutators/superperm/pull/57). Classes 003 to 012 are reconstructed from the source moves and checked against their published hashes. Classes 014 to 098 are downloaded directly from the pinned Halfar catalogue.

**What is checked.** The 12,152,490 recolouring tuples are checked by Python integer comparisons and odd-cycle certificates. The illustrative Lean theorem for class 001 uses native evaluation. The 6,100 interval claims are checked from integer dual prices and branching certificates. For the 339-block model the Python replay builds the bridges and a 5,905-letter witness, then builds the CNF and checks its SHA-256. Lean checks that the supplied LRAT trace refutes this exact CNF. The transformation from the cost-limited tour problem to CNF is supplied in the English manuscript and in readable Python. The full 339-block graph uses 115,260 nonloop arcs before the budget filter.

**Expected final outputs.** The recolouring reader finds 12,152,182 immediate obstructions and 304 distinct literal residual graphs among 308 surviving tuples. The interval reader prints 74,690 base nodes, 23,604 additional nodes and 25 distinct words. The block reader reproduces CNF SHA-256 4a2c3d23159e82f55605f309af30846a1d095bf584e5751f0ef2aa20533f33c1, uncompressed LRAT SHA-256 cfe2528e62689f0ee6a9e97bca732fb10e9fdc4fefcda1bfced5bcf87c8da520, 471,768 clauses and 333,420 actions, followed by a true LRAT check.

The research reports from the two stages are separate attachments to this single deposit. The advertised certificate package covers the three conclusions in the combined manuscript. Other search experiments in the historical reports are background.
