Three-color target sums · Proving Ground goal

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

Every three-coloring of the positive integers below 6,529 contains a set of distinct entries of a single color adding to 6,529.

For starting pairs separated by one, the proof orders the remaining entries and charges the chosen pairs at two cutoffs simultaneously. For pairs separated by two, it uses the least odd entry to find a cheaper choice of disjoint starting pairs.

At separation three, 67 multiples of three allow a direct construction. Otherwise two small residue corrections or a representation from equal-sum pairs handle the dense case. When two large entries would complete the target together, at least one of the two must be absent. Disjoint pairs of this kind give a bound on the total weight of the missing entries.

The archive reconstructs all 2,953 Lean modules, verifies their recorded digests and replays the mathematical proof. The tables of hints select candidate inequalities. The checker verifies each candidate against the actual entries.

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, Part 4.

Download and replay

Download the verified proof archive loader
1276 bytes · SHA-256 8893f2bf2f1608354d088ee0a001b0833d266260f54aa8b041a7a4c8dbbe4650