Three-color target sums · Proving Ground goal

47 is the last avoidable target in an exhaustive computational verification

47 is the last target avoidable with three colours, according to a computer-assisted verification. At 47 there is a colouring of the integers 1 through 46 with no monochromatic subset summing to 47. For every larger integer, every three-colouring of the smaller positive integers forces such a subset.

An ordinary Lean proof reduces the infinite assertion to 592 explicitly named primes. Two exhaustive search procedures each returned a positive verdict for all 592. The download includes all 601 primes from 1,297 through 6,229, including nine with separate Lean proofs. The 1,202 completed searches visited 42,630,869,877 nodes in total. The program, search inputs and node counts are public. The finite part relies on native computation. The Proving Ground tracks acceptance of kernel proofs separately. Official problem.

For an odd target, try colouring just the smaller half. If a positive sum s can already be made in each colour, the unused integer n − s completes a sum in whichever colour it receives. One procedure recomputes which assignments this forbids. The other branches on a prefix or carries the forbidden sums forward. Every unfinished branch is explored until it has a contradiction. A search that exhausts its budget supplies no positive verdict.

Run python3 audit.py to check the 47 colouring and compare the census with the literal list in the Lean theorem. Run python3 replay.py 1297 to reproduce both searches for one input. The archive includes an alternative replay with arbitrary-precision arithmetic. Finite Lean reduction · Proof for every target from 6,230 onward · Accepted proof for 47.

A further Lean theorem identifies the 601 literal inputs in the download with an equivalent statement of the root problem. A separate Lean proof shows how a proof of the root settles all seven other available prime statements in the cited registry revision. At 6,091 a fresh replay using GNU MP arbitrary-precision integers reproduced the two original node counts exactly, 27,084,071 and 40,376,476. Both Lean sources and the replay record are in the download.

Download and replay

Download the exact reduction, colouring, search records, source and replay programs
43316 bytes · SHA-256 22b172896a4f3d0cc3561ed62728c984b5e7d14a03e335800d33f25b9ae3a70c