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.ClassNumber.AdmissibleCardPowDegree

7 declarations. Mathlib docs · Source

theorem Polynomial.exists_eq_polynomial E1 #

∀ {Fq : Type u_1} [inst : Fintype Fq] [inst_1 : Semiring Fq] {d m : ℕ},
  Fintype.card Fq ^ d ≤ m →
    ∀ (b : Polynomial Fq),
      b.natDegree ≤ d →
        ∀ (A : Fin m.succ → Polynomial Fq),
          (∀ (i : Fin m.succ), (A i).degree < b.degree) → ∃ i₀ i₁, i₀ ≠ i₁ ∧ A i₁ = A i₀

If A is a family of enough low-degree polynomials over a finite semiring, there is a pair of equal elements in A.

theorem Polynomial.exists_approx_polynomial_aux E0 #

∀ {Fq : Type u_1} [inst : Fintype Fq] [inst_1 : Ring Fq] {d m : ℕ},
  Fintype.card Fq ^ d ≤ m →
    ∀ (b : Polynomial Fq) (A : Fin m.succ → Polynomial Fq),
      (∀ (i : Fin m.succ), (A i).degree < b.degree) → ∃ i₀ i₁, i₀ ≠ i₁ ∧ (A i₁ - A i₀).degree < ↑(b.natDegree - d)

If A is a family of enough low-degree polynomials over a finite ring, there is a pair of elements in A (with different indices but not necessarily distinct), such that their difference has small degree.

theorem Polynomial.exists_approx_polynomial E1 #

∀ {Fq : Type u_1} [inst : Fintype Fq] [inst_1 : Field Fq] {b : Polynomial Fq},
  b ≠ 0 →
    ∀ {ε : ℝ},
      0 < ε →
        ∀ (A : Fin (Fintype.card Fq ^ ⌈-Real.log ε / Real.log ↑(Fintype.card Fq)⌉₊).succ → Polynomial Fq),
          ∃ i₀ i₁, i₀ ≠ i₁ ∧ ↑(Polynomial.cardPowDegree (A i₁ % b - A i₀ % b)) < Polynomial.cardPowDegree b • ε

If A is a family of enough low-degree polynomials over a finite field, there is a pair of elements in A (with different indices but not necessarily distinct), such that the difference of their remainders is close together.

theorem Polynomial.cardPowDegree_anti_archimedean E1 #

∀ {Fq : Type u_1} [inst : Fintype Fq] [inst_1 : Field Fq] {x y z : Polynomial Fq} {a : ℤ},
  Polynomial.cardPowDegree (x - y) < a → Polynomial.cardPowDegree (y - z) < a → Polynomial.cardPowDegree (x - z) < a

If x is close to y and y is close to z, then x and z are at least as close.

theorem Polynomial.exists_partition_polynomial_aux E0 #

∀ {Fq : Type u_1} [inst : Fintype Fq] [inst_1 : Field Fq] (n : ℕ) {ε : ℝ},
  0 < ε →
    ∀ {b : Polynomial Fq},
      b ≠ 0 →
        ∀ (A : Fin n → Polynomial Fq),
          ∃ t,
            ∀ (i₀ i₁ : Fin n),
              t i₀ = t i₁ ↔ ↑(Polynomial.cardPowDegree (A i₁ % b - A i₀ % b)) < Polynomial.cardPowDegree b • ε

A slightly stronger version of exists_partition on which we perform induction on n: for all ε > 0, we can partition the remainders of any family of polynomials A into equivalence classes, where the equivalence(!) relation is "closer than ε".

theorem Polynomial.exists_partition_polynomial E1 #

∀ {Fq : Type u_1} [inst : Fintype Fq] [inst_1 : Field Fq] (n : ℕ) {ε : ℝ},
  0 < ε →
    ∀ {b : Polynomial Fq},
      b ≠ 0 →
        ∀ (A : Fin n → Polynomial Fq),
          ∃ t,
            ∀ (i₀ i₁ : Fin n),
              t i₀ = t i₁ → ↑(Polynomial.cardPowDegree (A i₁ % b - A i₀ % b)) < Polynomial.cardPowDegree b • ε

For all ε > 0, we can partition the remainders of any family of polynomials A into classes, where all remainders in a class are close together.

def Polynomial.cardPowDegreeIsAdmissible E1 #

{Fq : Type u_1} → [inst : Fintype Fq] → [inst_1 : Field Fq] → Polynomial.cardPowDegree.IsAdmissible

fun p => Fintype.card Fq ^ degree p is an admissible absolute value. We set q ^ degree 0 = 0.