sözaltı news Science
Science
EN AZ
Fermat’s last theorem formalised by AI agents in just 11 days

Fermat’s last theorem formalised by AI agents in just 11 days

newscientist.com 05.09.2026 13:05 2 views
Converting the proof of Fermat's last theorem into code that computers can check was expected to take years – Anthropic's Claude AI managed it in less than two weeks

AI company Anthropic has created a formalised proof of Fermat’s last theorem. It took just 11 days for a group of AI agents to complete the task, confirming that the human-found proof proposed in the 1990s is correct. Fermat’s last theorem puzzled mathematicians for centuries until it was proven in 1995 by Andrew Wiles.

It states that there are no whole numbers a, b, and c that satisfy the equation aⁿ + bⁿ = cⁿ, where n is a whole number greater than 2. The theorem though easy to state was fiendishly difficult to prove. Mathematician Pierre de Fermat posed the puzzle in the 17th century and famously alluded to a proof that he claimed to have discovered, saying that it was too large to fit in the margins of the textbook he was writing in.

Mathematics is undergoing the biggest change in its history Many mathematicians tried and failed to find a proof. Wiles worked on the problem for seven years in secret before announcing his breakthrough in 1993. Proofs often involve lengthy logical arguments that build on each other.

If a single step contains an error then the whole thing can collapse. This happened to Wiles when a flaw was found in his proof that took him and collaborator Richard Taylor around a year to fix. Formalising mathematical theorems is a solution to this problem.

It takes them out of the realm of pen and paper, and puts them into a configuration – computer code – that allows machines to grapple with them, methodically working through the logic and exposing any flaws. There are already 2 million lines of formalised mathematics stored in a central repository called Mathlib. Earlier this year a conference of AI experts, computer scientists and mathematicians was held in London by Kevin Buzzard at Imperial College London, who was – until Anthropic’s announcement – working on a five-year project to turn Wiles and Taylor’s 100 pages of proof into computer code called Lean, so that it can be formally checked for correctness and used as a foundation for further research.

Buzzard said at the time that when his project began he was confident of success, but that recent advances in AI had convinced him that the project would be complete much faster than he previously believed possible. Anthropic’s announcement has now overtaken that effort and wrapped up the problem. Buzzard said in a statement published by Anthropic that the company’s proof leaves “no assumptions other than the axioms of mathematics”.

Extract — continue reading at the source.

Read full story