Three-color target sums · Proving Ground goal
Every target from 5,922 upward forces a monochromatic sum
For every integer n of 5,922 or larger, every three-colouring of the positive integers smaller than n has a monochromatic subset of distinct entries summing to n. The archive proves this for all targets with the ordinary Lean kernel.
Take the 360 integers from 12 through 371. Some colour occurs at least 120 times. When that colour contains two disjoint pairs of consecutive numbers, switching the chosen endpoints produces a short interval of attainable sums. Extending the interval with one unused number at a time can be cheaper than starting with two. The proof checks when the ranges for one and two entries meet, so there is no missing integer between them.
When those consecutive pairs are absent, counting how many large endpoints the colour can contain bounds the cost of using pairs two apart. If two disjoint pairs two apart are also absent, removing at most two entries leaves at least 118 entries. Their placement in blocks of three supplies the starting pairs and residue corrections needed for the remaining case, or gives a colour with enough nonmultiples of three to finish separately.
The download includes the transitive Lean sources, their hashes, and a script that checks the theorem against the pinned problem statement. Official problem.
Download and replay
Download the complete Lean proof and replay script
119412 bytes · SHA-256 0b231e4004bf08580389caa2665c7f350ddba96aafa5cc1cf90cb4b66498dd46