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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.Algebra.Polynomial.Degree.CardPowDegree

6 declarations and 1 deprecated aliases. Mathlib docs · Source

Absolute value on polynomials over a finite field.

Let 𝔽_q be a finite field of cardinality q, then the map sending a polynomial p to q ^ degree p (where q ^ degree 0 = 0) is an absolute value.

Main definitions

  • Polynomial.cardPowDegree is an absolute value on 𝔽_q[t], the ring of polynomials over a finite field of cardinality q, mapping a polynomial p to q ^ degree p (where q ^ degree 0 = 0)

Main results

  • Polynomial.cardPowDegree_isEuclidean: cardPowDegree respects the Euclidean domain structure on the ring of polynomials

theorem AbsoluteValue.mk.congr_simp E1 #

∀ {R : Type u_4} {S : Type u_5} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : PartialOrder S]
  (toMulHom toMulHom_1 : R →ₙ* S) (e_toMulHom : toMulHom = toMulHom_1) (nonneg' : ∀ (x : R), 0 ≤ toMulHom.toFun x)
  (eq_zero' : ∀ (x : R), toMulHom.toFun x = 0 ↔ x = 0)
  (add_le' : ∀ (x y : R), toMulHom.toFun (x + y) ≤ toMulHom.toFun x + toMulHom.toFun y),
  { toMulHom := toMulHom, nonneg' := nonneg', eq_zero' := eq_zero', add_le' := add_le' } =
    { toMulHom := toMulHom_1, nonneg' := ⋯, eq_zero' := ⋯, add_le' := ⋯ }

def Polynomial.cardPowDegree E3 #

{Fq : Type u_1} → [inst : Field Fq] → [Fintype Fq] → AbsoluteValue (Polynomial Fq) ℤ

cardPowDegree is the absolute value on 𝔽_q[t] sending f to q ^ degree f.

cardPowDegree 0 is defined to be 0.

theorem Polynomial.cardPowDegree_apply E0 #

∀ {Fq : Type u_1} [inst : Field Fq] [inst_1 : Fintype Fq] [inst_2 : DecidableEq Fq] (p : Polynomial Fq),
  Polynomial.cardPowDegree p = if p = 0 then 0 else ↑(Fintype.card Fq) ^ p.natDegree

theorem Polynomial.cardPowDegree_zero E0 #

∀ {Fq : Type u_1} [inst : Field Fq] [inst_1 : Fintype Fq], Polynomial.cardPowDegree 0 = 0

theorem Polynomial.cardPowDegree_of_ne_zero E0 #

∀ {Fq : Type u_1} [inst : Field Fq] [inst_1 : Fintype Fq] (p : Polynomial Fq),
  p ≠ 0 → Polynomial.cardPowDegree p = ↑(Fintype.card Fq) ^ p.natDegree

theorem Polynomial.cardPowDegree_isEuclidean E3 #

∀ {Fq : Type u_1} [inst : Field Fq] [inst_1 : Fintype Fq], Polynomial.cardPowDegree.IsEuclidean

Deprecated aliases

NameNew nameSince
Polynomial.cardPowDegree_nonzeroPolynomial.cardPowDegree_of_ne_zero2026-10-13