Seven-colour extension bounds and maximal colour classes at 78 in Erdős problem 160

For a quick verification with Python 3, run python3 verify_results.py. Add --exhaustive to rebuild both C++17 recolouring programs, enumerate the reachable sets from Canli's published 77-word, prove closure with the independent matching checker, and replay the 13- and 15-change exclusions. On a laptop the exhaustive commands can take several minutes or longer.

The manuscript is repairs.md. The one-based keys in puncture-witnesses.json specify missing positions. A period in a word means that arithmetic progressions containing that position are omitted. Each word's reversal supplies a second position.

The directory distances contains the exact native search and SAT encoders. With Python 3 and python-sat installed, run python3 distances/check_edit_encoding.py for 4,805 edit-lattice controls, and python3 distances/controls.py for the positive and negative colouring controls. From the archive root the following commands generate fresh LRAT proofs and run the external proof checker (provide your own executable paths):
python3 distances/lrat_edits.py /path/to/cadical /path/to/lrat-check 13 new-insertion-checks.jsonl
python3 distances/levenshtein.py /path/to/cadical /path/to/lrat-check pair new-edit-paths.jsonl 12
These programs make and delete one temporary ASCII LRAT trace at a time. Individual proofs can exceed one gigabyte. The checked traces' hashes and sizes are in the archive. The native search does not need these proofs.
The SAT check of the smaller reconfiguration sets can be repeated from the trades directory:
python3 sat_walk.py 3 published-seed.txt new-states.txt

For the Lean statements, run lake exe cache get, lake build, and lake env lean audit.lean with the pinned toolchain and mathlib revision. The Lean project checks the general obstruction for a closed family, restoration of a single missing colour, and the 22 explicit punctured witnesses. Native searches and LRAT establish the exclusion and enumeration bounds.

The classes directory includes the independent parity enumeration, the 22 representative size-17 sets and their full eight-colour witnesses, and the SAT completeness proof generator. Run the parity counter on sizes 18 and 17, or regenerate the independent proof with python3 classes/class_census_proof.py 17 classes/size17.txt /path/to/cadical /path/to/lrat-check.

For the two-class upper bound the package also includes the independent half-interval enumerator and the pair-compatibility check. The exhaustive verifier compares both size-16 lists and checks all disjoint pairs. The 22 partner exclusions have their own LRAT manifest and generator.

For the bound of 30 at seven colours, classes/all-pairs31.txt lists all 475 pairs modulo reversal. Run python3 classes/pair31_proofs.py /path/to/cadical /path/to/lrat-check new-pair31-proofs.jsonl to reproduce 22 list-completeness proofs and all 475 seven-colour exclusions. The exhaustive verifier regenerates the compatible 16+15 pairs and compares the two independent size-15 lists. Temporary enumeration files require several hundred megabytes.
