Claude 完成 Fermat 大定理的形式化证明,生成超 1300 万行 Lean 代码

Anthropic · @AnthropicAI · X·2026-09-05 02:50·10分钟前
AI 导读

Anthropic 宣布 Claude 上月完成了 Fermat 大定理的首个形式化证明,这是迄今最大的 Lean 证明。

Anthropic@AnthropicAI
同事件
76AI 编辑部评分,满分 100

Claude 完成 Fermat 大定理的形式化证明,生成超 1300 万行 Lean 代码

2026-09-05 02:50· 10分钟前
AI 导读

Anthropic 宣布 Claude 上月完成了 Fermat 大定理的首个形式化证明,这是迄今最大的 Lean 证明。

Checking that a major mathematical proof is correct can take years. Formalization—converting the mathematical reasoning into a form computer proof assistants like Lean can verify—can help.

Last month, Claude completed the first formalized proof of Fermat’s Last Theorem, one of the most famous theorems of all time. This was a project experts thought would take many years. It is the largest Lean proof ever written.

Fermat’s Last Theorem was first proven in 1995 by Sir Andrew Wiles, more than 350 years after it was conjectured. Our proof, which totals over 13 million lines of code, provides machine verification. More importantly, it proves over 29,000 other theorems that the proof requires, across many areas of math which had never before been formalized.

We see this as a major step in the long process of firming up the core of mathematical knowledge, building on work from three centuries of mathematicians and hundreds of contributors to Lean and Mathlib. We are optimistic that AI-assisted verification of mathematical proofs will help reduce the burden of refereeing mathematics in an era where more proofs are being produced than ever before.

You can read about the process on our Science Blog: https://www.anthropic.com/research/formalizing-fermats-last-theorem

And see the complete proof on GitHub: https://github.com/anthropics/fermats-last-theorem