Three-color target sums · Proving Ground goal

Every three-color target from 6,637 onward

Every integer target from 6,637 onward must be the sum of distinct numbers of one color in every three-coloring of the positive integers below it. The new part is the complete interval from 6,637 through 6,652. The previously verified theorem covers everything larger.

When the starting pairs are expensive, their positions are tightly constrained. For each possible configuration, the proof calculates which subset sums occur. An even target can sometimes be made entirely from even entries. For an odd target in the same configuration, it reserves one odd entry and makes the difference.

For pairs three units apart, the target’s remainder modulo three determines which large entries would complete it. If the color cannot make the target, four of those entries must be missing. Counting their absence together with the two reserved values gives the bound needed for every target in the interval.

The download contains all 56 Lean source modules, their hashes and the replay program. The theorem is TargetSums.band_grid_tail.

The complete download passed a clean replay with Lean 4.36.0.

Download and replay

Download the proof and replay script
89476 bytes · SHA-256 e4eb404486ea43c2972f07eb3cf235bf4cb7b76f1185aaaa8cee704bdd25558e