A definition can look right on paper and still prevent you from carrying out the next step of a proof. That was one of the difficulties we ran into while formalizing the three-dimensional Kakeya conjecture at Numina.

Our Lean 4 development is now public. I contributed alongside the Numina team, and the work taught me a lot about the choices hidden inside a mathematical argument. One example, involving how tubes are grouped at different scales, helps explain why those choices matter.

What the Kakeya theorem says

Take a compact set in three-dimensional space that contains a line segment of length one in every direction. The segments can overlap and need not pass through the same point. A set with this property is called a Kakeya set.

Such a set can have zero volume. The Kakeya conjecture says it must nevertheless have full dimension. Our formal endpoint is the statement that its Hausdorff dimension is three. Hausdorff dimension measures size through coverings by arbitrarily small sets, so zero volume doesn't settle the question.

Hong Wang and Joshua Zahl proved the three-dimensional conjecture. We followed the later proof by Larry Guth, Hong Wang and Joshua Zahl. Their argument starts from the Sticky Kakeya theorem, which deals with tube configurations whose organization is controlled across scales, and reaches the general result.

From the sticky case to the full result

Numina formalized the passage from the sticky case to the full three-dimensional theorem. Shaoming Guo's team at Nankai University, in collaboration with ByteDance Seed, formalized the Sticky Kakeya theorem itself. Together, the two developments complete the formal verification of the conjecture.

In Lean, a proof is written in a form that the proof assistant can check against a precise statement. Each step needs its assumptions and supporting results. Part of our work was supplying mathematical arguments that the paper left implicit, sometimes in just a sentence or two.

The development we announced spans about 647,000 lines of Lean across 1,109 files. Behind the short final theorem are the geometric constructions and intermediate estimates needed to reach it.

When a definition blocks the proof

A tube is a line segment thickened by a small radius. The argument groups thin tubes inside thicker parent tubes at several scales. Those groups need enough regularity for the later counting estimates to work.

As Numina's project write-up explains, our literal implementation of the uniformity definition was too restrictive. With AI's help, the team found a counterexample to it. Requiring the parent tubes to be pairwise essentially distinct could conflict with exact containment and with keeping enough tubes in the refinement.

The repair required tracing what the rest of the proof used. The team replaced that requirement with a bounded-overlap condition and made the hierarchy explicitly nested across scales. The revised definition had to support both the construction and every later argument that depended on it.

What I take from the project

For me, this is the lesson about working with AI on formal mathematics: a failed proof attempt can be a reason to revisit the statement. Fixing it requires understanding how that statement fits into the whole argument. Any change to a definition has to be checked against the theorem we intended to prove.

I'm glad I could contribute to this work with the Numina team. If you want to understand the mathematical choices behind it, start with Numina's write-up. The public repository then lets you follow how those choices appear in the formal proof.