Three-color target sums · Proving Ground goal
Three-color proofs for 6,599, 6,602 and 6,605
Lean proves that every coloring of the integers below 6,599, 6,602 or 6,605 with three colors contains distinct entries of one color summing to the chosen target.
One difficult case depends on how many unused values exceed 361. Seven distinct values above 361 contribute at least 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28 units of excess. If the excess reaches 28, the proof reduces the starting cost of a progression by at least 14 relative to the endpoint budget. Otherwise at most six entries lie above 361. In an increasing list of m unused entries, its i-th entry (counting from zero) then satisfies xᵢ + m ≤ 368 + i whenever i + 6 < m. This bounds how much the first few entries can cost.
For sparse pairs three units apart, two reserve entries of distinct nonzero residues give a cheap start. If they have the same residue, the opposite residue supplies unused high values. The sparse grid also omits 375. Together these exclusions sharpen the starting-cost estimate. A separate finite check handles 18,752 odd and 353,060 even expensive configurations for pairs two units apart.
The archive expands to 644 ordinary Lean source modules. Its finite trees reconstruct 562 of these modules byte for byte and verify their individual hashes. Run python3 rebuild.py with Lean 4.36.0 to replay the whole proof.
Download and replay
Download the proofs, source reconstruction and replay script
138212 bytes · SHA-256 b032367b372df15be63bf843a923b2ec43cd750644e394bece6778a71d2b6489