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, dimAn\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 dimAn\dim A\_ndimAn: a GK dimension strictly between 2 and 3 means dimAn\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=Admx−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,