A Lean Proof of the Thomson Problem for Seven Electrons
- Source
- vals.ai
- Date

Context
The Thomson problem asks how a given number of electric charges arrange themselves on a sphere when each pushes the others away, settling where the total repulsion energy is lowest. For seven charges, numerical searches have pointed to the same answer for decades: a pentagonal bipyramid, with five points around the equator and one at each pole. Proving it is harder, because a proof has to rule out every other arrangement and those arrangements form a continuous space. According to the post, rigorous answers exist for only a few small cases; five charges needed a computer-assisted proof, and a proof for eight was posted on 18 September 2026.
Hung Tran of Vals gave ten Claude Sonnet 5.5 agents from Anthropic a shared message board, a project in Lean, a proof assistant whose small trusted core, the kernel, checks every step, and two fixed statements to prove. One says the bipyramid has the lowest energy; the other says every lowest-energy arrangement is that same shape, rotated, reflected or relabeled. After about 15 hours and 1,270 messages, they had a proof of both. The brief suggested nine directions, including adapting the eight-charge work, and one took on the job of assembling the verified pieces into a single file.
The proof sorts every arrangement by how close its most widely separated pair of points comes to being exactly opposite, then rules out each range with a certificate, a set of numbers that proves an energy bound. The certificates were found with a numerical optimizer and rounded to exact values, and Lean checks those exact values, so the result does not depend on the solver or on floating-point arithmetic. The method builds on the eight-charge results by Kryvonos, Liehr and Taylor, published on arXiv, and on a separate Lean development by Joseph Tooby-Smith and Alex Zughaid.
The trust case rests on checks rather than on the agents. The 17,895-line file builds from a clean copy and uses only Lean's standard axioms. A comparison tool confirmed it proves exactly the fixed statements, and a second, independently written kernel accepted it, while changing a single integer in the certificate data made that kernel reject it. These checks are the author's own, but the sources, scripts and logs are on GitHub for others to rerun.
- Ten Claude Sonnet 5.5 agents sharing a message board produced, in about 15 hours and 1,270 messages, a Lean proof that the pentagonal bipyramid is the unique minimum-energy arrangement of seven charges on a sphere (the Thomson problem for N=7).
- The proof splits configurations by their smallest pairwise inner product, using three-point semidefinite-programming bounds for most cases and an interval-arithmetic rigidity argument plus an exact second-order local-minimality theorem near the bipyramid.
- Certificates were found by numerical SDP and rounded to exact numbers checked in Lean's kernel, so the result does not depend on the solver; it builds on the N=8 proofs posted in September 2026.
- The 17,895-line file was checked with a clean build, an axiom audit, Lean Comparator against the fixed statements, and a second kernel (nanoda), which a negative control showed rejects a one-integer change.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
Checking sign-in…
Loading comments…

