Anthropic AI Formally Proves Fermat's Last Theorem in Just 11 Days

A Claude-powered reasoning agent converted one of history’s most difficult mathematical proofs into machine-checked code in record time.

In a major leap for machine reasoning, an AI system developed by Anthropic has formalized the complete proof of Fermat’s Last Theorem in just 11 days. The historical conjecture puzzled mathematicians for over three centuries until Andrew Wiles produced a hundreds-of-pages proof in the 1990s. Anthropic's agent translated that entire human argument into formal, computer-verified code that guarantees every logical step is mathematically sound.

Formal verification is notoriously slow and tedious for human researchers, often requiring years of manual entry in proof-assistant software. The AI agent broke down complex algebraic geometry into modular sub-tasks, solved intermediate lemmas, and self-corrected logical errors without requiring constant human guidance.

From Abstract Math to Bulletproof Software

While solving pure math theorems makes headlines, the underlying technique has massive practical implications for everyday software. Formal verification allows developers to prove mathematically that a program, smart contract, or security protocol contains zero logical flaws before deploying it to production.

As an agent builder, this shows where autonomous workflows are heading. Instead of models that merely guess the next plausible sentence, new reasoning agents can iteratively check their own work against strict logical rules. That reliability makes it possible to trust agents with critical auditing, legal analysis, and code verification tasks where hallucinations cannot be tolerated.

Original source: Nature