Skip to content
Hacker News front page

Anthropic formalized Fermat's Last Theorem in Lean end-to-end

Fermat's Last Theorem: Anthropic has beaten me to it

Anthropic used an internal model and the prove2.me platform to fully formalize Fermat's Last Theorem in Lean. The proof follows the 1995 Darmon–Diamond–Taylor exposition, works only for p≥17, and closes the last item on Freek Wiedijk's 100-theorem list. The codebase is over 13.4 million lines and takes nearly 20× longer to compile than Lean's mathlib. Kevin Buzzard, who is EPSRC-funded to formalize FLT, notes this took Anthropic 11 days versus his 5-year project, but it doesn't produce a human-explorable document or cover the modern proof. He sees it as a milestone for autoformalization, not new mathematics.

Why it matters: Anthropic formalized FLT in Lean, closing the last item on Wiedijk's 100-theorem list — a milestone for the formal-math community. HKR all hit: competitive narrative, concrete technical detail, community resonance. Score capped below 85 because it's pure math with no direct pr...

Read the original ↗Export Markdown