fermats-last-theorem

Submit
github.com

fermats-last-theorem

AI summary of the linked article

This repository presents a complete, machine-checked proof of Fermat's Last Theorem in Lean 4, built on Mathlib, following the argument of Frey, Serre, Ribet, Wiles and Taylor-Wiles. The main theorem, fermat_last_theorem, states that for n ≥ 3 and positive natural numbers a, b, c, a^n + b^n ≠ c^n. The default build fails unless the proof rests only on Lean's three standard axioms. The build was checked with the comparator tool, and an independent kernel, nanoda 0.4.13, accepted the same environment, which the article reports contains 1052234 declarations. The repository is a research artifact that is not maintained or accepting contributions.

avatar
Insane, I wonder why it‘s 13M lines and not just eg 1M or 10k. The theorem seems rather simple, but the article says many other theorems also have to be proven in the programming language