Fermat's Last Theorem for exponent 4
ProvedFamousTheorems.fermat_last_theorem_fourFermat's Last Theorem for exponent . There are no positive integers with
This is the one case of his "last theorem" that Fermat proved himself, by his method of infinite descent (in fact he showed that has no positive solutions). It reduces Fermat's Last Theorem to odd prime exponents, since any exponent is divisible by or by an odd prime.
Formalization note. Mathlib's fermatLastTheoremFour. The statement is Mathlib's FermatLastTheoremFor 4 written out in full: for natural numbers , all nonzero, .
Preamble
import Mathlib
Formal statement
namespace FamousTheorems theorem fermat_last_theorem_four : ∀ a b c : ℕ, a ≠ 0 → b ≠ 0 → c ≠ 0 → a ^ 4 + b ^ 4 ≠ c ^ 4 := by sorry end FamousTheorems
Source
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `fermatLastTheoremFour`. Proof here reduces to that Mathlib result.