The first case of Fermat's Last Theorem for regular primes #
This file proves the first case of Fermat's Last Theorem for regular primes, reducing the final statement to a normalized version and establishing the required cyclotomic ideal factorization.
Statement of case I with additional assumptions.
Equations
Instances For
It suffices to prove Case I under the additional normalized hypotheses.
theorem
FltRegular.is_principal_aux
{p : ℕ}
{K' : Type u_1}
[Field K']
[CharZero K']
[IsCyclotomicExtension {p} ℚ K']
[Fintype (ClassGroup (NumberField.RingOfIntegers K'))]
{a b : ℤ}
{ζ : NumberField.RingOfIntegers K'}
(hreg : p.Coprime (Fintype.card (ClassGroup (NumberField.RingOfIntegers K'))))
{I : Ideal (NumberField.RingOfIntegers K')}
(hI : Ideal.span {↑a + ζ * ↑b} = I ^ p)
:
∃ (u : (NumberField.RingOfIntegers K')ˣ) (α : NumberField.RingOfIntegers K'), ↑u * α ^ p = ↑a + ζ * ↑b
A p-th-power principal ideal has a generator that is a unit times a p-th power.
theorem
FltRegular.instIsCyclotomicExtensionSingletonNatSetRatCyclotomicField_leanPool
{p : ℕ}
[hpri : Fact (Nat.Prime p)]
:
theorem
FltRegular.exists_ideal
{p : ℕ}
[hpri : Fact (Nat.Prime p)]
{a b c : ℤ}
(h5p : 5 ≤ p)
(H : a ^ p + b ^ p = c ^ p)
(hgcd : {a, b, c}.gcd id = 1)
(caseI : ¬↑p ∣ a * b * c)
{ζ : NumberField.RingOfIntegers (CyclotomicField p ℚ)}
(hζ : ζ ∈ Polynomial.nthRootsFinset p 1)
:
∃ (I : Ideal (NumberField.RingOfIntegers (CyclotomicField p ℚ))), Ideal.span {↑a + ζ * ↑b} = I ^ p
The cyclotomic ideal generated by a + ζ * b is a p-th power.
theorem
FltRegular.is_principal
{p : ℕ}
[hpri : Fact (Nat.Prime p)]
{a b c : ℤ}
{ζ : NumberField.RingOfIntegers (CyclotomicField p ℚ)}
(hreg : IsRegularPrime p)
(hp5 : 5 ≤ p)
(hgcd : {a, b, c}.gcd id = 1)
(caseI : ¬↑p ∣ a * b * c)
(H : a ^ p + b ^ p = c ^ p)
(hζ : IsPrimitiveRoot ζ p)
:
∃ (u : (NumberField.RingOfIntegers (CyclotomicField p ℚ))ˣ) (α : NumberField.RingOfIntegers (CyclotomicField p ℚ)),
↑u * α ^ p = ↑a + ζ * ↑b
The cyclotomic factor a + ζ * b is a unit times a p-th power.
theorem
FltRegular.ex_fin_div
{p : ℕ}
[hpri : Fact (Nat.Prime p)]
{a b c : ℤ}
{ζ : NumberField.RingOfIntegers (CyclotomicField p ℚ)}
(hp5 : 5 ≤ p)
(hreg : IsRegularPrime p)
(hζ : IsPrimitiveRoot ζ p)
(hgcd : {a, b, c}.gcd id = 1)
(caseI : ¬↑p ∣ a * b * c)
(H : a ^ p + b ^ p = c ^ p)
:
Two exponents whose associated cyclotomic linear combination is divisible by p.