AI Didn't Prove Fermat's Last Theorem. It Translated It.
Formalizing a 30-year-old proof in Lean is grunt-work compression, not new mathematics, and that distinction matters for reading AI's next math claim.
Fermat's Last Theorem was settled in 1994. Nothing about the mathematics changed this week. What apparently changed is how fast a machine can turn Andrew Wiles's proof into a form that a computer can check line by line without trusting a single human's say-so. That is a genuinely useful achievement. It is not the achievement the headlines are going to imply.
Formalizing is not proving
There is a persistent conflation in how AI-and-math stories get read: 'formalized' slides into 'proved,' and 'proved' slides into 'discovered.' Wiles did the discovering, over roughly seven years of secretive, singular effort, building on decades of work by other number theorists on modularity and Galois representations. What formalization means is re-expressing that argument, and everything it depends on, in a language a proof assistant's kernel can verify mechanically — no gaps, no 'it is easy to see that,' no appeals to a referee's trust in the author's reputation. That is closer to compiling a large, subtly written codebase against a maximally pedantic type-checker than to writing the code in the first place.
This distinction isn't pedantry. It's the whole story. The interesting question a formalization effort answers is not 'is Fermat's Last Theorem true' — mathematicians have been confident of that for thirty years — but 'can a machine confirm it's true without a human in the loop for any step.' Those are different achievements with different economics.
Grunt work has a history, and it's slow
Formalization has a track record, and the track record is measured in person-decades, not headlines. Georges Gonthier's 2005 Coq formalization of the four-color theorem took years and existed specifically because the 1976 Appel-Haken proof leaned on a computer search mathematicians couldn't fully audit by hand — the community wanted a proof they could trust without trusting the original programmers. Thomas Hales's proof of the Kepler conjecture, published in 1998, sat under a cloud because referees could only certify they were '99% certain' it was correct; the Flyspeck project to fully formalize it, using HOL Light and Isabelle, ran from roughly 2003 to 2014 and absorbed contributions from dozens of people. Eleven years, for one proof, in a field far narrower than the algebraic number theory underlying Fermat.
The Lean/Mathlib community, under Kevin Buzzard's Xena project, had already set out to formalize Fermat's Last Theorem as a flagship, multi-year, many-contributor undertaking — explicitly modeled on the understanding that this is the kind of task that eats specialist labor by the truckload, because every lemma the original proof waves through has to be built from scratch in a formal library that may not yet contain it. If AI meaningfully compressed that timeline, the compression is the news. Not the theorem.
The one place AI output doesn't need to be trusted
Here's the under-appreciated part. Formal mathematics is one of the very few domains where an AI's output requires zero epistemic trust in the AI. A language model can hallucinate a citation, a legal precedent, a line of a novel API — and you have to go check. A language model cannot hallucinate a Lean proof that passes Lean's kernel. Either the proof term type-checks against the stated theorem, or it doesn't, and the checker doesn't care about the model's confidence, its training data, or its track record. This is exactly the property that made Flyspeck worth eleven years of effort: a formally verified proof is trustworthy independent of who or what produced it.
That makes formalization the single best current arena for showing off an AI system doing real, hard, technically demanding work while sidestepping the usual 'but can we believe it' objection that dogs every other AI benchmark claim. It's also, not coincidentally, exactly the kind of demo that plays well for a lab: verifiable, prestigious, and impossible for a skeptic to dismiss as cherry-picked eval design, because the kernel is the judge, not the lab.
The strongest counter-argument
The obvious rebuttal: doesn't compressing years of formalization labor into a much shorter window say something real about mathematical reasoning capability, separate from novel discovery? Fair point, and there's supporting evidence elsewhere — AlphaProof's silver-medal-level showing at the 2024 International Mathematical Olympiad suggests genuine progress on problems requiring actual mathematical insight, not just translation. I'm not arguing AI math capability is a mirage. I'm arguing that formalizing an existing, famous, thoroughly-checked proof is a different skill from finding a new one, and the gap between those two skills is where the real value of a human mathematician still lives. Autoformalization tools have historically lagged proof discovery for a reason: turning 'I see why this is true' into machine-checkable syntax is a grinding, literal-minded translation task, which is exactly the shape of task where current AI systems overperform relative to genuinely open-ended research.
Who actually benefits
The Lean/Mathlib ecosystem benefits regardless of who wrote the formalization — a checked proof is a checked proof, and the library gets richer either way. Anthropic benefits from a demo that reads as serious intellectual labor rather than another chatbot trick, aimed squarely at an audience — researchers, academics, technically literate readers — that discounts most AI PR. Mathematics departments benefit from a preview of what happens when formalization stops being the unglamorous, underfunded chore nobody wants to referee and instead has an AI collaborator willing to grind through the type-checker's objections indefinitely. What doesn't obviously change is the supply of new theorems. Watch that number, not this one.
Sources & further reading
The analysis above is our own. The underlying reporting and primary documents are credited here.
- Formalizing Fermat's Last Theorem— Hacker News
- Discussion: Formalizing Fermat's Last Theorem— Hacker News