GPT-6.2 Astra solves Smoktunowicz gap theorem with original proof strategy
OpenAI's GPT-6.2 Astra produced the first machine-verifiable Lean proof of a 2006 algebra theorem, inventing its own approach after finding gaps in existing mathematical libraries.

Key takeaways
- GPT-6.2 Astra produced the first Lean proof of Smoktunowicz's gap theorem without human help
- The model invented a new proof strategy using the capacity metric after finding Mathlib gaps
- Astra leads the Autoform-Hard leaderboard with 49 of 56 tasks solved
- The 1,800-line proof was completed in 94 minutes at a cost of $21.58
In this article
First machine-verifiable Lean proof of the theorem
OpenAI's GPT-6.2 Astra has generated a formalised, machine-verifiable proof of Smoktunowicz's gap theorem, a result from 2006 that describes how growth in certain algebraic systems is either very slow or very fast with no middle ground. According to Vals AI, this is the first known proof of the theorem written in Lean, a proof assistant language used to verify mathematics with computer code. The model completed the task with zero human assistance during the run, as reported by The Decoder.
Model invented a new strategy using capacity metric
The original mathematical proof relied on foundations that were missing from Mathlib, the standard library for Lean. Because those building blocks were absent, Astra could not follow the published human proof. Instead it chose a different route, using a metric called capacity that measures the minimum number of elements added per computation step. After an initial attempt that the system rejected for not meeting a minimum compute spend, the model paused for nine minutes while searching for a new approach, then delivered a 1,800-line proof at the 94-minute mark for a total cost of $21.58.
Leads Autoform-Hard benchmark with 49 solved tasks
The work took place on Autoform-Hard, a curated subset of Meta FAIR's AutoformBench maintained by Vals AI. The benchmark contains 56 tasks that ten models in Meta's original study failed to solve within budget. Astra now tops the leaderboard with 49 solved tasks, edging out GPT-6.2 Sol and Claude Fable 5.2, which each have 48. The result suggests that giving models the freedom to devise their own proof strategies can overcome gaps in formalised mathematical libraries.
Implications for AI-assisted mathematics

The achievement demonstrates that a large language model can not only formalise known results but also navigate missing library dependencies by inventing alternative proof paths. Researchers note that the capacity metric Astra employed comes from existing mathematical literature, showing the model can retrieve and apply specialised concepts creatively. As formal verification becomes more central to mathematics and software reliability, the ability of AI systems to bridge library gaps autonomously may accelerate the growth of verified knowledge bases.
Sources
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.



