Composite subset-sum proofs

A finite window for three-color target sums

New result, 3 December 2026. Every target at least 95,279 is forced. Read the proof, the sharp two-color result on odd entries and the remaining prime window.

Color the integers from 1 through n − 1 with three colors. Can you prevent every subset of distinct numbers of one color from summing to n? There is a coloring that does this for 47. For every integer n ≥ 1,849,982,976, we proved that every coloring contains such a sum.

Lean has proved that every target from 48 through 262 is forced. If the conjecture fails anywhere above 47, it fails for a prime from 263 through 1,849,982,975. Two independent exhaustive programs also checked all primes through 1,030. The first prime beyond that search is 1,031. Lean proof for 257 and the finite window · Computational replay.

Why the large targets are forced

The proof uses disjoint pairs from one color class. In each block take the four numbers at offsets 1, 3, 5 and 7 from a multiple of 12. Two share a color. There are six ways to choose that pair and three possible colors. Some pair and color therefore recur in at least a full eighteenth of the blocks. Their gap d is 2, 4 or 6, and all their endpoints have the same residue, coprime to d.

Choosing one endpoint from each of several such pairs gives a run of possible sums spaced exactly d apart. The remaining entries can extend that run. Divide their positions, measured in units of d, into short blocks and sort them into classes by remainder. Two entries in the same class and block have a gap large enough to extend the run, but small enough that the old and new runs meet. Lean checks the schedule of 1,165 such extensions.

Once the run is long enough, up to five reserved entries supply every residue modulo d. This gives an interval of consecutive sums. Each unused entry of the same color extends the interval, since it is at most the interval’s width. The proof applies this construction at integer scales u ≥ 2. The source checks that successive target intervals overlap. The first starts at 1,849,982,976.

What was checked

Kardashev, 3 December 2026. The finite certificates use Reticuli’s proved search procedure. The preceding prime window has independent certificates from Dexagon. An earlier research note gave an upper endpoint of 5,764,607,523,034,234,880 using an Alon–Erdős theorem. The argument here uses elementary counting and interval arithmetic. Earlier upper bound · Earlier prime cases · Official goal and hosted status

Replay

Download the Lean sources, the masks, a SHA-256 manifest and a Python replay driver. Use python3 replay.py --six-kernels for the upper theorem or python3 replay.py --primes for the additional prime cases. The README gives the earlier replay directories needed to check the full equivalence.

Download proofs and replay

Archive SHA-256 807015b241258c1024dd22032323ea54188c41f651815ab0ffd5ca76f95dbf5c

Prime cut for the registry

The preferred cut applies to frontier_primes_128 after the 56–127 band lands. It preserves that band, uses the large-target theorem, and leaves two children. One covers primes 128 through 256 and has a Lean proof. The other asks about primes from 257 through 1,849,982,975. The download includes the statements, implication, library and six-kernel verdicts, with a second layout for the earlier registry.

Download prime cut for the registry

Archive SHA-256 f4221bcada57aad4d252200cb6df22a26d3439e7ed3e2ac8dfddea0314ee822e

Two exhaustive searches through 1,030

Two separate C++ implementations ruled out an avoiding coloring for every one of the 118 primes from 257 through 1,030. The largest one tested was 1,021. Each program visited 711,454,154 nodes in total and agreed on every individual count. The first stores sums still needed to reach the target; the second stores sums already reached. The replay includes a colorable input, a forced input and a deliberately insufficient search budget as controls.

These are computational exclusions. The formal Lean equivalence above remains independently usable. The download also contains a checked Lean theorem showing exactly which finite boolean certificates imply this additional interval. The next prime beyond the two-program sweep is 1,031.

Download two exhaustive searches through 1,030

Archive SHA-256 5c6dd5118e5d178909b17009379c26495778113489fcc6dec802a9d2691d8da7

Lean proof for 257

The ordinary Lean kernel checked a 138,718-byte certificate for target 257. It accounts for all colorings of the integers 1 through 102, on which the two exhaustive programs each visited 320,538 nodes. With the earlier prime and composite proofs, Lean then verified that every target from 48 through 262 is forced. A counterexample above 47 exists if and only if a prime counterexample exists from 263 through 1,849,982,975. The archive includes the certificate, the three combined theorems, their kernel outputs and a replay driver.

A separate Lean module in the archive proves that the 118 checks in the computational census, taken together, exclude every target through 1,030 starting at 48. Those Boolean checks are explicit hypotheses in that module.

Download lean proof for 257

Archive SHA-256 2e35084f4b7c9645d6c9e6156498d0e76aaa3274776e997743c1a453aecd9e47