The minimal model program in Lean?
Axiom Math says it has formalized in Lean the main theorem of OpenAI’s projective fourfold paper (result 056): every program of the minimal model program for a projective log canonical fourfold with rational boundary stops. By our reading the statement matches the paper’s. The code was written by AI agents, has not yet been reviewed by people, and rests on Axiom’s AI-written Stacks library.
8:00. English captions available. The video loads from YouTube when you press play.
Chapters
The claim, in plain words
This is AX10. Take the projective plane, and blow up a point: replace it with a whole line of directions, a new curve called E. E meets itself minus one times, and the canonical class K, which comes from differential forms on the surface, also meets E minus one times. A curve like that can be blown back down. That is Castelnuovo’s contraction theorem, more than a century old. Each contraction lowers the Picard number, a count of independent curve classes, here from two to one, so contractions cannot go on forever. Back on the plane, every line meets K minus three times, and the only contraction left sends the whole plane to a point. That is a Mori fibre space, one possible ending. But there was a second choice. The lines through the point form a family F, with F² = 0, and K·F = −2. Contracting that family maps the surface onto a projective line, and stops at once. Both choices finish in finitely many steps.
The minimal model program does this in every dimension. At each stage, pick a K-negative extremal ray of curves, and contract it. If the contraction collapses a divisor, the Picard number drops, and the program goes on. If it collapses everything onto something smaller, the program stops at a Mori fibre space. It also stops where K is nef, never negative on any curve. But if the contraction collapses something smaller than a divisor, the result is so singular that K no longer meets curves in numbers, so the program performs a flip: cut out the bad curves, and glue in new ones, on which K is positive. A flip leaves the Picard number unchanged. So why should flips ever stop? In dimension three, Shigefumi Mori proved that flips exist, and Shokurov’s counting device, the difficulty, showed that they stop. In 2006, Birkar, Cascini, Hacon and McKernan proved that klt flips exist in every dimension, and that one carefully chosen kind of program terminates in key cases. Termination for every choice stayed open in general, with only special cases known in dimension four.
That is where result 056 comes in, our episode 056. One OpenAI preprint, 44 pages, dated September 24, claims the projective case in dimension four, for log canonical pairs with rational boundary, over any algebraically closed field of characteristic zero. Its theorem has three parts. Every negative extremal ray can be contracted, and, when needed, the next model exists. Every program, for every sequence of choices, has finitely many birational steps. And every maximal program ends at a nef adjoint or a Mori fibre space. Four more preprints in the same result treat compact Kähler fourfolds. None of the five has been peer reviewed, and OpenAI’s release included no Lean proof for this result.
On November 17, 2026, Axiom Math announced what it calls a complete Lean formalization of the minimal model program in dimensions 2, 3, and 4. The repository, AxiomMath/MMP, was created the day before, with a single commit. Its main theorem gives the last two parts of the paper’s theorem: every maximal program for such a fourfold has finitely many birational steps, and ends at a nef adjoint or a Mori fibre space. Companion theorems give the rest. By our count, the library has 2,269 Lean files and about 2.05 million lines, close to the post’s 2.1 million. Our text search finds no sorry and no axiom declaration, and the README says Lean’s kernel checks every proof, using only the three standard axioms.
What it doesn’t claim
Is the statement right? There is no outside benchmark this time, so we compared the Lean statement, and the definition of a program it uses, with the paper’s Definition 1.1 and Theorem 1.2, by reading. Every hypothesis has a counterpart: an algebraically closed field of characteristic zero, dimension four, a projective log canonical pair with an effective rational boundary, and no Q-factoriality or pseudo-effectivity assumed. So do the steps, and both conclusions. What we could not check is the layer underneath: what the definitions of curves, cones, nef and log canonical really say. That is where a formalization can quietly go wrong. Then the scope. The post says dimensions 2, 3, and 4, but the README’s lower-dimensional theorem is narrower: Q-factorial dlt pairs over the complex numbers. And what is not claimed: no new mathematics beyond result 056, nothing about the four Kähler papers, and nothing about real coefficients, positive characteristic, or dimension five and up.
The main theorem is a termination statement: it does not include abundance (that the nef endpoint is semiample). The four Kähler papers of result 056 are not formalized, and OpenAI itself still publishes no Lean proof for this result.
Where it stands
- Released by Axiom
- Repository created November 16, 2026, with one commit, 1f9ade3 (“The minimal model program in Lean”, by Ashvin A. Swaminathan); blog post on November 17, signed “Axiom”. The development history is not public.
- Published machine checks
- None from Axiom: no GitHub CI runs, no comparator file, no build log. The README says Lean’s kernel checks every proof and shows Axiom’s own
#print axiomsoutput (onlypropext,Classical.choice,Quot.sound). - Human review of the Lean
- Not yet. The README: “about 2,270 modules written by AI agents”; “the code has not yet been reviewed by humans”. Neither the README nor the post names the AI model. The 1,536 Stacks modules it imports directly are all from StacksFrontier, which Axiom’s Stacks metadata says “has not yet had human review”.
- Independent check
- None so far, as of November 17, 2026: no issues, pull requests or forks on the repository, and no outside build or expert reaction found.
- Peer reviewed
- No. There is no paper for the Lean, and OpenAI’s projective paper (result 056) is an unrefereed preprint.
- Statement matches the paper’s Theorem 1.2
- By our reading of the text: the main theorem and its definition of a program have a counterpart for every hypothesis and conclusion of the paper’s Definition 1.1 and Theorem 1.2. We did not check the definitions underneath (curves, cones, nef, log canonical).
Last checked November 22, 2026. Where it stands. Released: the repository on November 16, and the post on November 17. Machine checks: only Axiom’s own axiom printout, no CI and no comparator run. Human review of the Lean code: not yet, the README says. Independent check: none so far. Peer review: none, for the Lean or for OpenAI’s paper. The statement matches the paper’s main theorem, by our reading. Not built or run by us.
This is a Specials episode. It follows AX06, the Stacks Project, and AX09, Faltings’ theorem, and it returns to result 056. Here, a proof from OpenAI’s catalogue that came with no Lean now has a Lean formalization from another company, by that company’s account. If it holds, the projective fourfold case of termination of flips is checked by Lean’s kernel, from Axiom’s own statement and definitions, written by AI, and not yet reviewed by people. See 056, AX09 and AX06; also AX08 and AX07.
The checks
- What has been checked? The repository has no continuous integration runs, no comparator file, no published build log, and, one day in, no issues and no reported outside builds. The axiom list in the README is Axiom’s own output. We did not build or run it, and we found no expert reaction yet. What would a kernel check settle, once someone outside Axiom completes a build? The proof came from OpenAI’s AI, in an unreviewed preprint. Axiom’s agents wrote the Lean. The kernel would confirm that the conclusion follows from the hypotheses, as the library defines them. It would not confirm that those definitions mean what the paper means. That part still needs people.
- Who wrote it? The README says the library’s roughly 2,270 modules were written by AI agents, and that the code has not yet been reviewed by humans. Neither the README nor the post names the AI model. The post, signed Axiom, credits the mathematics to generations of geometers, and presents the four-dimensional step as OpenAI’s. The single commit is by Ashvin Swaminathan, as in AX09. So both layers, the proof and the Lean, come from AI, and neither has a published human review yet.
- What it sits on. The library uses Mathlib, on Lean v4.35.0, and Axiom’s Stacks library from AX06, pinned to the same commit as the Faltings library. By our count, it imports 1,536 Stacks modules directly, all from StacksFrontier, the part that Axiom’s own metadata says has not yet had human review. And 275 of its tag labels name items of OpenAI’s paper: its programs, the echoes, the junctions, the difficulty, and the unit drop. So the Lean follows the paper’s own route, at least by its labels.
The numbers in the video
- Ours: on the plane blown up at a point, the new curve E has E·E = −1 and K·E = −1 (genus 0); contracting it lowers the Picard number from 2 to 1. On the plane, K·L = −3 for a line. The lines through the point form F = H − E with F·F = 0 and K·F = −2; the cone of curves is spanned by E and F (a standard fact). Blowing up three points and contracting them back gives Picard numbers 4, 3, 2, 1.
- From OpenAI’s projective paper (result 056): 44 pages, dated September 24, 2026; Theorem 1.2 has three parts (continuation, termination for every program, endpoints of maximal programs).
- Ours: the repository at 1f9ade3 has 2,269 Lean files and 2,054,277 lines (1,897,270 not blank; the post says 2.1 million), 3,822 @[mmp] tags with 3,015 labels, 275 of which name items of OpenAI’s paper, and 1,536 directly imported Stacks modules, all StacksFrontier; our text grep finds no sorry, admit, native_decide or axiom declaration.
- Ours: earlier Axiom libraries on this channel: Weil (AX07) 213,159 lines, cluster algebras (AX08) 330,722, Faltings (AX09) 124,110; this one is about 17 times the Faltings library.
Read the source
- “The Minimal Model Program, Formalized in Lean”, Axiom Math blog post, November 17, 2026.
- AxiomMath/MMP, the Lean repository (Apache 2.0; not built or run by us): its README, main theorem, programs and permitted steps and dimension-three theorem.
- OpenAI, Termination for projective log canonical fourfolds with rational boundary, preprint, September 24, 2026 (result 056; our episode 056).
- Axiom’s Stacks metadata at the pinned commit (StacksCore and StacksFrontier).
AI Proved What? is independent and not affiliated with Axiom Math, OpenAI, or Anthropic.
Transcript
Read the full script
0:00The question
This is AX10. Take the projective plane, and blow up a point: replace it with a whole line of directions, a new curve called E. E meets itself minus one times, and the canonical class K, which comes from differential forms on the surface, also meets E minus one times. A curve like that can be blown back down. That is Castelnuovo’s contraction theorem, more than a century old. Each contraction lowers the Picard number, a count of independent curve classes, here from two to one, so contractions cannot go on forever. Back on the plane, every line meets K minus three times, and the only contraction left sends the whole plane to a point. That is a Mori fibre space, one possible ending. But there was a second choice. The lines through the point form a family F, with F² = 0, and K·F = −2. Contracting that family maps the surface onto a projective line, and stops at once. Both choices finish in finitely many steps. The minimal model program does this in every dimension. At each stage, pick a K-negative extremal ray of curves, and contract it. If the contraction collapses a divisor, the Picard number drops, and the program goes on. If it collapses everything onto something smaller, the program stops at a Mori fibre space. It also stops where K is nef, never negative on any curve. But if the contraction collapses something smaller than a divisor, the result is so singular that K no longer meets curves in numbers, so the program performs a flip: cut out the bad curves, and glue in new ones, on which K is positive. A flip leaves the Picard number unchanged. So why should flips ever stop? In dimension three, Shigefumi Mori proved that flips exist, and Shokurov’s counting device, the difficulty, showed that they stop. In 2006, Birkar, Cascini, Hacon and McKernan proved that klt flips exist in every dimension, and that one carefully chosen kind of program terminates in key cases. Termination for every choice stayed open in general, with only special cases known in dimension four. That is where result 056 comes in, our episode 056. One OpenAI preprint, 44 pages, dated September 24, claims the projective case in dimension four, for log canonical pairs with rational boundary, over any algebraically closed field of characteristic zero. Its theorem has three parts. Every negative extremal ray can be contracted, and, when needed, the next model exists. Every program, for every sequence of choices, has finitely many birational steps. And every maximal program ends at a nef adjoint or a Mori fibre space. Four more preprints in the same result treat compact Kähler fourfolds. None of the five has been peer reviewed, and OpenAI’s release included no Lean proof for this result.
3:00The claim
On November 17, 2026, Axiom Math announced what it calls a complete Lean formalization of the minimal model program in dimensions 2, 3, and 4. The repository, AxiomMath/MMP, was created the day before, with a single commit. Its main theorem gives the last two parts of the paper’s theorem: every maximal program for such a fourfold has finitely many birational steps, and ends at a nef adjoint or a Mori fibre space. Companion theorems give the rest. By our count, the library has 2,269 Lean files and about 2.05 million lines, close to the post’s 2.1 million. Our text search finds no sorry and no axiom declaration, and the README says Lean’s kernel checks every proof, using only the three standard axioms. Is the statement right? There is no outside benchmark this time, so we compared the Lean statement, and the definition of a program it uses, with the paper’s Definition 1.1 and Theorem 1.2, by reading. Every hypothesis has a counterpart: an algebraically closed field of characteristic zero, dimension four, a projective log canonical pair with an effective rational boundary, and no Q-factoriality or pseudo-effectivity assumed. So do the steps, and both conclusions. What we could not check is the layer underneath: what the definitions of curves, cones, nef and log canonical really say. That is where a formalization can quietly go wrong. Then the scope. The post says dimensions 2, 3, and 4, but the README’s lower-dimensional theorem is narrower: Q-factorial dlt pairs over the complex numbers. And what is not claimed: no new mathematics beyond result 056, nothing about the four Kähler papers, and nothing about real coefficients, positive characteristic, or dimension five and up.
4:59The checks
What has been checked so far? The repository has no continuous integration runs, no comparator file, no published build log, and, one day in, no issues and no reported outside builds. The axiom list in the README is Axiom’s own output. We did not build or run it, and we found no expert reaction yet. What would a kernel check settle, once someone outside Axiom completes a build? The proof came from OpenAI’s AI, in an unreviewed preprint. Axiom’s agents wrote the Lean. The kernel would confirm that the conclusion follows from the hypotheses, as the library defines them. It would not confirm that those definitions mean what the paper means. That part still needs people. Who wrote it? The README says the library’s roughly 2,270 modules were written by AI agents, and that the code has not yet been reviewed by humans. Neither the README nor the post names the AI model. The post, signed Axiom, credits the mathematics to generations of geometers, and presents the four-dimensional step as OpenAI’s. The single commit is by Ashvin Swaminathan, as in AX09. So both layers, the proof and the Lean, come from AI, and neither has a published human review yet. What it sits on. The library uses Mathlib, on Lean v4.35.0, and Axiom’s Stacks library from AX06, pinned to the same commit as the Faltings library. By our count, it imports 1,536 Stacks modules directly, all from StacksFrontier, the part that Axiom’s own metadata says has not yet had human review. And 275 of its tag labels name items of OpenAI’s paper: its programs, the echoes, the junctions, the difficulty, and the unit drop. So the Lean follows the paper’s own route, at least by its labels.
6:56Where it stands
Where it stands. Released: the repository on November 16, and the post on November 17. Machine checks: only Axiom’s own axiom printout, no CI and no comparator run. Human review of the Lean code: not yet, the README says. Independent check: none so far. Peer review: none, for the Lean or for OpenAI’s paper. The statement matches the paper’s main theorem, by our reading. Not built or run by us. This is a Specials episode. It follows AX06, the Stacks Project, and AX09, Faltings’ theorem, and it returns to result 056. Here, a proof from OpenAI’s catalogue that came with no Lean now has a Lean formalization from another company, by that company’s account. If it holds, the projective fourfold case of termination of flips is checked by Lean’s kernel, from Axiom’s own statement and definitions, written by AI, and not yet reviewed by people.
Spot a mistake?
This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.