Documentation

FLT

Fermat's Last Theorem #

There are many ways of stating Fermat's Last Theorem. In this file, we give the traditional statement using the positive integers ℕ+, and deduce it from a proof of Mathlib's version FermatLastTheorem of the statement (which is a statement about the nonnegative integers .)

theorem PNat.pow_add_pow_ne_pow (x : ℕ+) (y : ℕ+) (z : ℕ+) (n : ) (hn : n > 2) :
x ^ n + y ^ n z ^ n

Fermat's Last Theorem for positive naturals.