Skip to main navigation Skip to search Skip to main content

A complete formalization of Fermat's Last Theorem for regular primes in Lean

Alex Best, Christopher Birkbeck, Riccardo Brasca, Eric Rodriguez Boidi, Ruben van de Velde, Andrew Yang

Research output: Contribution to journalArticlepeer-review

12 Downloads (Pure)

Abstract

We formalize a complete proof of the regular case of Fermat's Last Theorem in the Lean4 theorem prover. Our formalization includes a proof of Kummer's lemma, that is the main obstruction to Fermat's Last Theorem for regular primes. Rather than following the modern proof of Kummer's lemma via class field theory, we prove it by using Hilbert's Theorems 90-94 in a way that is more amenable to formalization.
Original languageEnglish
Pages (from-to)103–132
Number of pages30
JournalAnnals of Formalized Mathematics
Volume1
DOIs
Publication statusPublished - 15 Jul 2025

Cite this