The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.FLT.Polynomial

3 declarations. Mathlib docs · Source

theorem Polynomial.flt_catalan E1 #

∀ {k : Type u_1} [inst : Field k] {p q r : ℕ},
  p ≠ 0 →
    q ≠ 0 →
      r ≠ 0 →
        q * r + r * p + p * q ≤ p * q * r →
          ↑p ≠ 0 →
            ↑q ≠ 0 →
              ↑r ≠ 0 →
                ∀ {a b c : Polynomial k},
                  a ≠ 0 →
                    b ≠ 0 →
                      c ≠ 0 →
                        IsCoprime a b →
                          ∀ {u v w : k},
                            u ≠ 0 →
                              v ≠ 0 →
                                w ≠ 0 →
                                  Polynomial.C u * a ^ p + Polynomial.C v * b ^ q + Polynomial.C w * c ^ r = 0 →
                                    a.natDegree = 0 ∧ b.natDegree = 0 ∧ c.natDegree = 0

Nonsolvability of the Fermat-Catalan equation.

theorem Polynomial.flt E1 #

∀ {k : Type u_1} [inst : Field k] {n : ℕ},
  3 ≤ n →
    ↑n ≠ 0 →
      ∀ {a b c : Polynomial k},
        a ≠ 0 →
          b ≠ 0 → c ≠ 0 → IsCoprime a b → a ^ n + b ^ n = c ^ n → a.natDegree = 0 ∧ b.natDegree = 0 ∧ c.natDegree = 0

theorem fermatLastTheoremWith'_polynomial E1 #

∀ {k : Type u_1} [inst : Field k] {n : ℕ}, 3 ≤ n → ↑n ≠ 0 → FermatLastTheoremWith' (Polynomial k) n