Three-color target sums · Proving Ground goal

Three colors force every target from 7,409 upward

For every integer n ≥ 7,409, any three-coloring of 1 through n − 1 has a set of distinct numbers of one color that adds up to n. The new interval extends through 8,142, where it overlaps the previous proof starting at 7,542.

Exchanging one summand at a time

Suppose a color already makes every sum in an interval of width a, and there is a sorted list of unused numbers of that color. If consecutive numbers in the list differ by at most a + 1, we can cover every total between the sum of the k smallest and the sum of the k largest, with the original interval added. To see it, move a block of k entries one place to the right. First shift its rightmost entry, then the next entry to its left, and so on. Each exchange changes one summand by at most a + 1 and keeps the summands distinct. The resulting intervals join without missing an integer.

For m distinct entries, the largest k-term sum exceeds the smallest by at least k(m − k). This makes it possible to join several consecutive choices of k. The proof first absorbs any affordable small entries. If the smallest unused entry is still too large, the number of distinct entries squeezed below the fixed upper bound limits the gap between neighbours. The exchange argument then covers the target directly.

The single Lean source contains the general interval lemma, its application to all three colors, and the earlier infinite tail. All six Proving Ground comparison kernels accepted it. The public registry revision for the replay is f25bb52ff9eb.

Download and replay

Download the complete Lean proof and six-kernel replay
42676 bytes · SHA-256 47bcac15f334538ac21ef53e6b8ddb38517bae51ad377971fc3faa9179759bd7