2026-11-26 15:40 UTC

GPT-6.2 Astra produces kernel-checked Lean proof of Smoktunowicz theorem

state: seedheat: highuncertainty: mediumrelevance: highai-assisted-mathematics formalization leanVals.aiOpenAI

What is this?

Vals.ai, an AI-model evaluator, reports that OpenAI’s GPT-6.2 Astra completed a formalization of Agata Smoktunowicz’s 2006 Gap Theorem in Lean. In a 94-minute run costing $21.58, the model produced 1,794 lines of proof code; Vals says no human intervened. The benchmark’s clean-room grader and an independent Lean kernel accepted the proof, which Vals says uses only standard axioms and contains no `sorry`. It proves the theorem, not the published proof: after some shared opening steps, Astra takes a different route using a capacity argument. Vals says Astra was the only model it tested to complete this task and that it has heard of no earlier formalization. These are Vals’s reported results; the supplied sources offer no independent replication or expert assessment of the mathematical route.

Why it matters

This is a notable demonstration of AI-assisted mathematics: a model produced a machine-checked proof of a difficult theorem, including a route Vals says differs substantially from the published arguments and is not in Lean’s Mathlib. Kernel checking gives strong assurance that the formalized statement follows from the proof’s permitted axioms, though it does not establish that the new mathematical approach is novel or useful beyond this case. If such work proves repeatable, models could help researchers explore and verify arguments while proof assistants make errors easier to detect. For now, one benchmark task and one provider’s account do not show broad mathematical research capability.

Current assessment

New evidence: Vals.ai’s November 18, 2026 report describes GPT-6.2 Astra’s Autoform-Hard run on a theorem whose Lean statement was prepared and audited independently for Meta FAIR’s benchmark. Vals reports a 94-minute, $21.58 run within a three-hour/$200 limit; 1,794 Lean lines and 146 agent turns; clean-room grading and independent kernel replay; and a proof with no `sorry`, warnings, nonstandard axioms, `unsafe` code, or `native_decide`. The model first submitted an incomplete proof, reported it unsolved, then resumed under the harness and completed the accepted proof. Vals says the proof shares opening steps with known work but uses a different capacity-based argument for the central result; the underlying quantity has related precedents in the literature, including Zhang’s work, so “different route” should not be taken to mean wholly unprecedented mathematics. Vals says Astra alone among models it tested solved this task; its broader comparison says GPT-6.2 Sol and Claude Fable 5.2 solved the same 48 of 56 Autoform-Hard tasks, while Astra solved one additional task. These are benchmark-provider claims, not independent replication. The supplied web results also report Astra’s release and broader benchmark positioning, but add no corroboration of this particular proof. Track for independent mathematical review, reproducibility, and further research-level formalization results; one successful theorem does not establish general autonomous discovery.

Measured heat

now 0 pts/hpeak 6 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 218h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-17 13:00⭐ origin echo-reconstructedVals.ai says GPT-6.2 Astra was the only model it tested to formalize the theorem, producing a 1,794-line Lean proof in 94 minutes that passe
Vals.ai on blog (echo) · attributed from hn.story.50550694
—
11-18 19:14first on hacker news · published · +30.2hGPT-6.2 Astra Formalizes Smoktunowicz's Gap Theorem
theanonymousone
—
11-18 19:14amplified on hacker news 👑hn.story.50550694
theanonymousone
peak 2 · 0 comments · 103% of case engagement
11-18 19:22our radar first saw it · +30.4hdiscovery anchor: hn.story.50550694—
pace: p13 vs 2096 stories at the 168h mark (now 218h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnGPT-6.2 Astra Formalizes Smoktunowicz's Gap Theorem
Retrieved article excerpt

Open article · Retrieved 2026-11-18T19:23:40.628385+00:00

Of the 56 research-level formalization tasks on [Autoform-Hard](https://www.vals.ai/benchmarks/autoform_hard), exactly one separates the top of the leaderboard. [GPT-6.2 Sol](https://www.vals.ai/models/openai_gpt-6.2-sol) and [Claude Fable 5.2](https://www.vals.ai/models/anthropic_claude-fable-5-2) solve exactly the same 48 tasks. [GPT-6.2 Astra](https://www.vals.ai/models/openai_gpt-6.2-astra) also solves a 49th, and it is the only model on the board to do so: a 2006 theorem of Agata Smoktunowicz about the growth of graded algebras.

Not only is it the only language model we tested to formalize Smoktunowicz’s theorem, it’s also the only formalization we’ve ever heard of.
Astra’s proof takes 94 minutes and about 1,800 lines of Lean, and after a shared opening it takes a different route from the published argument. Read the annotated proof [here](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html)

## The run

Astra worked alone in a sandbox with Lean, Mathlib and a shell, under Autoform-Hard’s limits of three hours and a $200 budget. No human touched it. The whole run cost $21.58 at Astra’s published price.

**94 min**wall clock

**1,794**lines of code

**146**agent turns

It nearly ended early. About 47 minutes in, Astra submitted a partial proof: complete for the easier, commutative case, but with a gap (a `sorry`) in the general one. The grader rejected it. Astra then filed an honest “unsolved” report, saying exactly what it had and hadn’t proved. Autoform-Hard doesn’t let a model give up until it has spent $20, and Astra had spent about $8, so the harness sent it back to work. It spent the next nine minutes thinking without writing any code, then started on a new approach. The grader accepted the full proof 39 minutes after the “unsolved” report.

## How we checked it

Autoform-Hard accepts a proof only if it passes clean-room grading. The graded theorem is rebuilt from a trusted copy of the task, its statement must match the original exactly, and the proof may use only Lean’s standard axioms (`propext`, `Quot.sound`, `Classical.choice`). An independent kernel then replays the proof.

We also reviewed this proof by hand:

- It builds with no `sorry` and no warnings, and depends only on the standard axioms.
- The trusted task files are byte-identical to the originals.
- It uses no `native_decide`, new axioms, `unsafe` code or redefinitions of benchmark objects.
- The statement matches Theorem 1 of the paper, including the finite-dimensional degree-zero part.

This is a formal proof of Smoktunowicz’s theorem, not a formalization of her proof. The two coincide only in the opening steps.

## How the proof works

The theorem is about how fast an algebra grows. Start from a few generators and count how many independent elements you can build with at most nnn multiplications. Smoktunowicz proved that for one natural family of algebras, that count grows either no faster than about n2n^2n2 or at least as fast as about n3n^3n3, never at a rate strictly in between.

Astra argues by contradiction. It assumes the growth rate lands in the forbidden range and shows that the growth must then be slower than assumed, which is a contradiction.

The published proof leans on three deep results from algebra and algebraic geometry. None of them is in Mathlib, Lean’s math library, and formalizing them would be a large project in its own right. Astra used none of them. Instead it defined a quantity it calls *capacity*: how much a space grows when multiplied by a fixed generating piece. Capacity behaves like the size of a boundary in a graph, and the rest of the proof is built on it.

Capacity has relatives in the research literature. We trace them in Hard Mode, below.

## The annotated proof

We have [annotated the full proof](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html) line by line. You can scroll through the Lean code with three layers of commentary:

- **Code:** what each declaration does.
- **Thinking:** what Astra was doing when it wrote it, reconstructed from the run log. Quoted reasoning comes from provider-generated summaries, not the model’s raw reasoning.
- **Math:** where each step sits relative to the published proofs.

Start with `Capacity.lean`, the heart of the argument; Hard Mode below walks through every file.

See where every model stands on [Autoform-Hard](https://www.vals.ai/benchmarks/autoform_hard). Thanks to the AutoformBench team at Meta FAIR for the benchmark, and to OpenAI for permission to publish the proof and excerpts from the model’s reasoning.

## Hard Mode

From here on, this post is for readers who want the mathematics and a minute-by-minute account of the run. If you’re not a mathematician, this is a good place to stop.

### How the proof REALLY works

Take an algebra AAA over a field, generated by finitely many elements. Count the dimension of the space spanned by products of at most nnn generators. If it grows like nδn^{\delta}nδ, then δ\deltaδ is the Gelfand–Kirillov (GK) dimension of AAA, a standard measure of how big a noncommutative algebra is. A polynomial ring in ddd variables has GK dimension ddd.

For general algebras, GK dimension can be any real number from 2 up. Extra structure rules values out. Bergman showed that nothing lies strictly between 1 and 2 [[KL00, Thm 2.5]](https://www.vals.ai/blogs/smoktunowicz-gap-theorem#ref-KL00). For algebras that are graded by the natural numbers and have no zero divisors, Artin and Stafford [[AS95]](https://www.vals.ai/blogs/smoktunowicz-gap-theorem#ref-AS95) ruled out GK dimension strictly between 2 and 11/5, and Smoktunowicz [[S06]](https://www.vals.ai/blogs/smoktunowicz-gap-theorem#ref-S06) strengthened the result:

> **Theorem** [[S06, Thm 1]](https://www.vals.ai/blogs/smoktunowicz-gap-theorem#ref-S06). A finitely generated algebra over a field that is graded by N\mathbb{N}N, has no zero divisors and has a finite-dimensional degree-zero part has GK dimension either at most 2 or at least 3.

The Lean statement in the benchmark has exactly these hypotheses. Experts wrote and audited it for Meta FAIR’s AutoformBench, independently of this run.

The proof is a contradiction. Assume the GK dimension lies strictly between 2 and 3. Then the space of everything up to degree nnn grows faster than n2n^2n2 but slower than n3n^3n3, so the single degree-nnn piece, dim⁡An\dim A\_ndimAn​, grows faster than linearly but slower than quadratically. Astra then shows that slower-than-quadratic growth in fact forces linear growth. The first half sets up a division ring of fractions DDD and follows known steps. The second half, the capacity argument, is where it leaves the published proof behind.

#### 1. From GK dimension to counting dimensions

[Growth.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FGrowth.lean)110 lines · first written 17 minutes in

Vocabulary: the span of words of length at most nnn in the generators, plus small facts about the benchmark's growth definitions.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FGrowth.lean)

[Degree.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FDegree.lean)159 lines · first written 19 minutes in

Counting by word length and counting by grading degree give the same growth up to constants. This is where the finite-dimensional degree-zero part is used.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FDegree.lean)

[Hilbert.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FHilbert.lean)160 lines · first written 22 minutes in

Restates the hypothesis in terms of dim⁡An\dim A\_ndimAn​: a GK dimension strictly between 2 and 3 means dim⁡An\dim A\_ndimAn​ grows faster than linearly but slower than quadratically. The rest of the proof shows that is impossible.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FHilbert.lean)

#### 2. Fractions

[Ore.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FOre.lean)91 lines · first written 25 minutes in

Because AAA grows only polynomially, any two nonzero elements have a common multiple (the Ore condition), so AAA embeds in a division ring of fractions.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FOre.lean)

[HomogeneousFractions.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FHomogeneousFractions.lean)127 lines · first written 29 minutes in

Builds that division ring QQQ and, inside it, DDD: the fractions a/ba/ba/b with aaa and bbb of equal degree. The rest of the argument lives in DDD.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FHomogeneousFractions.lean)

[Boundary.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FBoundary.lean)89 lines · first written 41 minutes in

Two tools: putting finitely many fractions over a common denominator, and a plateau lemma saying a slowly growing sequence must stall somewhere. The name is a fossil of an argument Astra later cut.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FBoundary.lean)

#### 3. DDD is generated by one piece

This section proves a known result, Artin and Stafford's [[AS95, Thm 1.15]](https://www.vals.ai/blogs/smoktunowicz-gap-theorem#ref-AS95), by a different contradiction.

[Frames.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FFrames.lean)138 lines · first written 57 minutes in

The division ring generated by a subspace UUU, and a criterion: if multiplying UUU by VVV less than doubles its dimension, then VVV already lies in the division ring UUU generates.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FFrames.lean)

[StableIntervals.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FStableIntervals.lean)85 lines · first written 59 minutes in

Conjugation by a homogeneous element is an automorphism, and generated division rings behave well under it.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FStableIntervals.lean)

[Weighted.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FWeighted.lean)98 lines · first written 62 minutes in

Bookkeeping for words in generators of different degrees, with a pigeonhole argument on their total weights.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FWeighted.lean)

[CoefficientGeneration.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FCoefficientGeneration.lean)194 lines · first written 64 minutes in

DDD is generated, as a division ring, by one finite-dimensional piece S=Admx−mS=A\_{dm}x^{-m}S=Adm​x−m. Artin and Stafford [[AS95]](https://www.vals.ai/blogs/smoktunowicz-gap-theorem#ref-AS95) derive this from common denominators; Astra derives it from growth.

[Read the annotated code →](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FCoefficientGeneration.lean)

#### 4. The capacity argument

[Capacity.lean](https://www.vals.ai/blogs/2026-11-18-smoktunowicz-gap-theorem/proof/index.html#Submission%2FCapacity.lean)133 lines · first written 75 minutes in

The heart of the proof.

For a finite-dimensional subspace UUU, 
theanonymousone20
🟧 echo.blog ⭐Vals.ai says GPT-6.2 Astra was the only model it tested to formalize the theorem, producing a 1,794-line Lean proof in 94 minutes that passeVals.ai——

Interpretation history

Decision trace