fermat_last_theorem
Provedalgebraic-geometrydiophantinefermatfltnumber-theoryready-to-formalize
Fermat's Last Theorem. For every integer , the equation has no solutions in positive integers .
Proved by Andrew Wiles (with Richard Taylor) in 1994–1995 for an odd prime, combined with Fermat's own 1640 proof for .
Preamble
import Mathlib.Data.Nat.Basic
Formal statement
theorem fermat_last_theorem (n : ℕ) (hn : 3 ≤ n) (a b c : ℕ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) : a ^ n + b ^ n ≠ c ^ n := by sorry
Source
Human review
Confirmed by the mission captain (proposal self-audit).