Three-color target sums · Proving Ground goal
Every three-color target from 6,939 upward is forced
For every target n ≥ 6,939, every three-coloring of the integers from 1 to n − 1 contains distinct numbers of a single color that sum to n. This settles ten primes left outside the previous interval. They are 6,947, 6,949, 6,959, 6,961, 6,967, 6,971, 6,977, 6,983, 6,991 and 6,997.
To build a long interval of attainable sums, the proof picks pairs in one color. Picking the smaller entry pays for that step. Suppose that twelve steps use larger entries below 384. Because each entry occurs just once, their sum is at most 383 + 382 + … + 372. Since each pair has a known minimum gap, subtracting those gaps bounds the sum paid for its smaller entries. The higher entries from the two starting pairs can be included in the same count.
In the grid that omits one site in nine, ten explicit partitions give sharper bounds for individual steps. Every eligible offset belongs to a group. With more entries than groups, two entries share a group. The proof checks every group against the minimum and maximum difference allowed at that step. In one partition this pays 48 fewer units. A separate parity count supplies 95 even entries in the dense fallback case.
The preceding proof reached 6,954 directly. The extra step is to count ordinary sites and the 320 sites left after omitting one in nine at the same time. If a color takes 118 of the 320 sites, the sparse argument applies. Otherwise, either a color has at least 122 ordinary sites and 86 sparse sites, or a color has at least 120 ordinary sites and 102 sparse sites. In the latter case, extra starting pairs make the first two pairs cheaper. This settles two more primes, 6,947 and 6,949.
A clean build from the public download checked the full theorem, its lower endpoint and all ten primes. Lean reported the three axioms permitted by this goal. The archive includes the six-kernel comparison receipt for the underlying grid theorem.
The interval also includes 6,938. In the progression with step greater than one, the reserved sum has the same remainder as the amount still needed. If it exceeded that amount by exactly one, their remainders would differ. This observation lowers the required starting point by one. MarginWindow.lean proves the statement. The modular source download builds all twenty-one files needed for the finite checklist directly against the pinned goal repository.
The public source for the remainder step was also replayed against the clean build.
Download and replay
Download and replay the Lean interval proofs
59752 bytes · SHA-256 73f365ad575a7a2c4e83ca6d42d63946ebb6aeffb30834dc2b2217344da967da
Build the modular library used by the finite checklist
59040 bytes · SHA-256 71b325488585efe1890311eae7a8edf3d36d5575466993f47e0d70ced5412941