Pierre de Fermat’s scribblings set mathematicians on a centuries-long quest GRANGER Historical Picture Archive/Alamy
Mathematicians hope to develop a computerised proof of Fermatās last theorem, an infamous statement about numbers that has beguiled them for centuries, in an ambitious, multi-year project that aims to demonstrate the potential of computer-assisted mathematical proofs.
Pierre de Fermatās theorem, which he first proposed around 1640, states that there are no integers, or whole numbers, a, b, and c that satisfy the equation an + bn = cn for any integer n greater than 2. Fermat scribbled the claim in a book, famously writing: āI have discovered a truly marvellous proof of this, which this margin is too narrow to contain.ā
Advertisement
It wasnāt until 1993 that Andrew Wiles, then at Princeton University, set the mathematical world alight by announcing he had a proof. Spanning more than 100 pages, the proof contained such advanced mathematics that it took more than two years for his colleagues to verify it didnāt contain any errors.
Many mathematicians hope that this work of checking, and eventually writing, proofs can be sped up by translating them into a computer-readable language. This process of formalisation would let computers instantly spot logical mistakes and, potentially, use the theorems as building blocks for other proofs.
But formalising modern proofs can itself be tricky and time-consuming, as much of the modern maths they rely on is yet to be made machine-readable. For this reason, formalising Fermatās last theorem has long been considered far out of reach. āIt was regarded as a tremendously ambitious proof just to prove it in the first place,ā says at the University of Cambridge.
Free newsletter
Sign up to The Daily
The latest on whatās new in science and why it matters each day.

Now, at Imperial College London and his colleagues have announced plans to take on the challenge, attempting to formalise Fermatās last theorem in a programming language called Lean.
āThere’s no point in Fermat’s last theorem, itās completely pointless. It doesn’t have any applications – either theoretical or practical – in the real world,ā says Buzzard. āBut it’s also a really hard question thatās become infamous because, for centuries, people have generated loads of brilliant new ideas in an attempt to solve it.ā
He hopes that by formalising many of these ideas, which now include routine mathematical tools in number theory such as modular forms and Galois representations, it will help other researchers whose work is currently too far beyond the scope of computer assistants.
āIt’s the kind of project that could have quite far-reaching and unexpected benefits and consequences,ā says at the University of Nottingham, UK.
The proof itself will loosely follow Wilesās, with slight modifications. A publicly available blueprint will be available online once the project is live, in April, so that anyone from Leanās fast-growing community can contribute to formalising sections of the proof.
āTen years ago, this would have taken an infinite amount of time,ā says Buzzard. Even so, he will be concentrating on the project full-time from October, putting his teaching responsibilities on hold for five years in an effort to complete it.
āI think it’s unlikely heāll be able to formalise the entire proof in the next five years, that would be a staggering achievement,ā says Williams. āBut because a lot of the tools that go into it are so ubiquitous now in number theory and arithmetic geometry, I’d expect any substantial progress towards it would be very useful in the future.ā



