A 1,800-Line Lean Proof Puts GPT-6.2 Astra on Top

GPT-6.2 Astra produced a machine-verifiable Lean proof of Smoktunowicz's 2006 gap theorem, taking a route based on capacity because key foundations of the published proof were missing from Mathlib. It completed the 1,800-line proof after 94 minutes, at a cost of $21.58, and leads the Autoform-Hard leaderboard with 49 solved tasks.

WTF Index NEUTRAL
◄ Terminator 0 Idiocracy 0 ►

This is a routine AI benchmark and proof achievement, with no clear lean toward harm or societal decline.

A 1,800-Line Lean Proof Puts GPT-6.2 Astra on Top

GPT-6.2 Astra has produced a formal, machine-verifiable proof of Smoktunowicz's gap theorem, a result from 2006. According to Vals AI, it is the first known proof of the theorem written in Lean, and the model developed a different strategy from the published proof.

What the theorem says

The theorem concerns how a mathematical system grows as it multiplies its basic building blocks. Its claim is that growth falls into one of two broad categories: quite slow or very fast. There is no middle ground.

That short description captures the result's central distinction, but proving it in a formal system requires precise definitions and a chain of statements that can be checked. Astra's output was a formalized proof, rather than an explanation that only a person would assess.

A route through missing foundations

The published proof relied on foundations that were not available in Mathlib, the math library used for the formalization. That gap meant Astra could not simply reproduce the original argument using the library's existing material.

Instead, it used “capacity,” a metric from existing research that measures the minimum number of elements added at each computation step. Vals says this gave Astra a different path to the theorem. The report presents the result as a proof strategy assembled in response to what was missing from the library.

Choosing another route matters in formal mathematics because a proof must be expressed in terms that the system can verify. The model had to work with the available foundations and connect them into a complete argument. The resulting proof demonstrates that this theorem could be formalized in Lean through an approach different from the published one.

The benchmark and the run

The proof was completed on Autoform-Hard, a subset of Meta FAIR's AutoformBench curated by Vals. The subset contains 56 tasks, five of which were corrected. Ten models in Meta's study had failed to solve these tasks within budget.

Astra's attempt took a turn when it tried to stop after 47 minutes and eight dollars. The system rejected the attempt because unsolved submissions are not accepted until $20 has been spent. Astra then spent nine minutes without entering code while it searched for a new strategy.

At the 94-minute mark, it delivered a proof of 1,800 lines. The run cost $21.58. Those figures describe one benchmark result: a long formal proof produced after an extended search for an approach that worked.

What the result shows

Astra now leads the Autoform-Hard leaderboard with 49 solved tasks. GPT-6.2 Sol and Claude Fable 5.2 each have 48. The ranking places Astra ahead on this benchmark, while the theorem proof offers a specific example of how it reached a difficult result.

The account also shows why benchmark outcomes depend on more than whether a model can produce code quickly. Here, Astra's route involved finding a way around missing library foundations, then completing a proof that Lean could verify. The result is notable for both the theorem it formalized and the capacity-based strategy used to do so.

Vals AI describes this as the first known Lean proof of Smoktunowicz's gap theorem. The account does not establish that every part of the process was broadly autonomous in other settings; it says there was zero human help during this run. Within that scope, Astra's work adds a new formal proof and a leading score on Autoform-Hard.