Three-color target sums · Proving Ground goal
A three-color subset sum for the prime 6,547
In every three-coloring of the integers from 1 through 6,546, some distinct integers of one color add to 6,547.
One difficult case has 120 entries of the chosen color. Count how many unused entries exceed 354, then retain the largest of them as well. A large maximum leaves more room for subset sums but also consumes more of the available total. Using both consequences rules out the last numerical obstruction in that case.
In another case, the positions of 29 ordered odd entries bound the sum of a consecutive group. The even pairs fill the possible complements. The proof also checks which large pairs can occur with each possible pair of starting values.
The download reconstructs all 1,890 Lean modules and checks the generated sources against their recorded digests.
Unpack the loader and run python3 fetch.py. It assembles and verifies the archive. Unpack that archive and run python3 rebuild.py with Lean 4.36.0. The loader also accepts the segment downloads placed beside it. Part 1, Part 2, Part 3, Part 4.
Download and replay
Download the verified proof archive loader
1276 bytes · SHA-256 d01c2ac74a491d86014ee3b396140bfd91c75396df5efc41c61e73f63e55d6bd