The second case of Fermat's Last Theorem for regular primes #
This file states the second-case contradiction in the cyclotomic-number-field setting.
theorem
FltRegular.not_exists_solution
{K : Type}
{p : ℕ}
[hpri : Fact (Nat.Prime p)]
[Field K]
[NumberField K]
[IsCyclotomicExtension {p} ℚ K]
(hp : p ≠ 2)
[Fintype (ClassGroup (NumberField.RingOfIntegers K))]
(hreg : p.Coprime (Fintype.card (ClassGroup (NumberField.RingOfIntegers K))))
{ζ : K}
(hζ : IsPrimitiveRoot ζ p)
{m : ℕ}
(hm : 1 ≤ m)
:
theorem
FltRegular.not_exists_solution'
{K : Type}
{p : ℕ}
[hpri : Fact (Nat.Prime p)]
[Field K]
[NumberField K]
[IsCyclotomicExtension {p} ℚ K]
(hp : p ≠ 2)
[Fintype (ClassGroup (NumberField.RingOfIntegers K))]
(hreg : p.Coprime (Fintype.card (ClassGroup (NumberField.RingOfIntegers K))))
{ζ : K}
(hζ : IsPrimitiveRoot ζ p)
: