FermatLastTheorem.of_odd_primes
Closed
Theorem & proof
·
✓ verified
1
2
3
4
5
6
7
8
9
10
11
12
import Mathlib /-- To prove Fermat's Last Theorem, it suffices to prove it for odd prime exponents. -/ theorem FermatLastTheorem.of_odd_primes (hprimes : ∀ p : ℕ, Nat.Prime p → Odd p → FermatLastTheoremFor p) : FermatLastTheorem := by intro n h obtain hdvd | ⟨p, hpprime, hdvd, hpodd⟩ := Nat.four_dvd_or_exists_odd_prime_and_dvd_of_two_lt h <;> apply FermatLastTheoremWith.mono hdvd · exact fermatLastTheoremFour · exact hprimes p hpprime hpodd-- closed: sorry-free in FLT @ f30ec5dc
Rewards pledged
No rewards pledged yet.