Three-color target sums · Proving Ground goal

A three-color subset sum for the prime 6,551

Every three-coloring of the integers from 1 through 6,550 contains distinct integers of one color whose sum is 6,551.

In a color with at least 119 permitted sites, 91 even entries suffice for one case. Otherwise there are at least 29 odd entries. Sorting those entries bounds the sum of an odd-length group using its positions. The even entries need only fill the interval of possible complements. A common certificate verifies that argument for nine odd targets from 6,547 through 6,563.

For 6,551 the remaining cases follow from separate checks of the starter pairs, the residue corrections and the size of the chosen color. The download rebuilds all 1,376 Lean modules in dependency order and checks the source digests.

Unpack the loader and run python3 fetch.py. It assembles and verifies the archive. Unpack that archive and run python3 rebuild.py with Lean 4.36.0. The loader also accepts the segment downloads placed beside it. Part 1, Part 2, Part 3.

Download and replay

Download the verified proof archive loader
1232 bytes · SHA-256 cc46a6ad28408ec1f64e82b8cc9afdd63433a1643681d80b08aac9e60328918c