By Hamza Faisal

OpenAI's GPT-6.2 Astra has done something no AI model had done before: produce a machine-checked formal proof of a theorem that has stood in the mathematics literature since 2006 — and it got there by inventing a proof method of its own.

The result comes from Vals AI's Autoform-Hard benchmark, a set of 56 research-level formalisation tasks drawn from Meta FAIR's AutoformBench. Astra solved 49 of the 56 tasks, topping the leaderboard ahead of GPT-6.2 Sol and Anthropic's Claude Fable 5.2, which tied on 48 each. The single task that separated Astra from the rest was the gap theorem of Agata Smoktunowicz, an Edinburgh mathematician, published in Inventiones Mathematicae in 2006.

The theorem concerns graded algebras — mathematical systems built up in layers. It says the system's growth rate, measured by a quantity called GK dimension, can be at most 2 or at least 3. Nothing in between is possible: the values strictly between 2 and 3 form a forbidden zone. The published proof runs just six pages because it leans on three earlier results.

The one problem no other model could solve

Astra worked alone in a sandbox with Lean, the proof-checking software, the Mathlib library and a shell, with no human help. It had up to three hours and a budget of 200 dollars. It finished in 94 minutes, writing 1,794 lines of Lean code over 146 turns, costing 21.58 dollars at Astra's published price.

The run nearly ended in failure. About 47 minutes in, after spending roughly 8 dollars, Astra submitted a partial proof and filed an honest report saying the task was unsolved. But the benchmark's rules require a model to spend at least 20 dollars before it is allowed to give up, so it was sent back to work. The full proof passed 39 minutes later.

A new route around three missing theorems

The published proof of Smoktunowicz's theorem rests on three major results — Bergman's gap theorem, the Small-Warfield theorem and the Riemann-Roch theorem for algebraic curves. None of the three exists in Mathlib, Lean's public mathematics library, and in Lean a cited result that has not been formally proved cannot be used at all.

Blocked on the original route, Astra defined a new quantity it calls "capacity", which measures how much a mathematical space grows when it is multiplied by a fixed set of building blocks. Working from that idea, it built an entirely different argument to the same conclusion. Vals AI, which reviewed the code in full, says the result is a formal proof of Smoktunowicz's theorem itself — not a translation of her proof — with no trace of the capacity argument in the 1995 or 2006 papers.

What the 94-minute proof does — and doesn't — prove

Vals AI rebuilt the task from a trusted copy and replayed the proof through Lean's checking kernel. The proof uses only Lean's standard axioms, contains no gaps marked "sorry", and introduces no new axioms or unsafe code. It is, by Vals AI's account, the first known formal proof of the theorem in Lean.

That is a narrower claim than it might sound. The result shows Astra could complete this one formalisation under the benchmark's rules; it does not show that the capacity approach will help with other theorems. Still, a model inventing its own way around a dead end — after admitting it was stuck — is the kind of result that gets noticed. GPT-6.2 Astra and its sibling model Sol were released by OpenAI on November 17.

By Hamza Faisal