Documentation

CslibFrontier.Foundations.RingTheory.AdjoinRoot

Reducing the coefficients of R[X] / (g) #

For a ring homomorphism φ : R →+* S and q ∣ g.map φ, Mathlib's AdjoinRoot.map φ g q sends R[X] / (g) to S[X] / (q). This file computes it on classes of polynomials, shows that it is surjective when φ is, and characterizes its kernel when g is monic and q = g.map φ: an element vanishes exactly when the coefficients of its reduced representative do.

These facts are used both for Galois rings (GaloisRing.residue, reduction modulo p) and for the p-adic valuation of ℚ[X] / (f) (AdjoinRoot.padicValuation).

Main results #

theorem AdjoinRoot.map_mk {R : Type u_1} {S : Type u_2} [CommRing R] [CommRing S] (φ : R →+* S) {g : Polynomial R} (q : Polynomial S) (h : q ∣ Polynomial.map φ g) (P : Polynomial R) :
(map φ g q h) ((mk g) P) = (mk q) (Polynomial.map φ P)

Reducing the coefficients maps the class of P to the class of P.map φ.

theorem AdjoinRoot.map_surjective_of_surjective {R : Type u_1} {S : Type u_2} [CommRing R] [CommRing S] (φ : R →+* S) {g : Polynomial R} (q : Polynomial S) (h : q ∣ Polynomial.map φ g) (hφ : Function.Surjective ⇑φ) :
Function.Surjective ⇑(map φ g q h)

Reducing the coefficients is surjective when φ is.

theorem AdjoinRoot.map_eq_zero_iff {R : Type u_1} {S : Type u_2} [CommRing R] [CommRing S] (φ : R →+* S) {g : Polynomial R} [Nontrivial S] (hg : g.Monic) {q : Polynomial S} (h : q ∣ Polynomial.map φ g) (hq : q = Polynomial.map φ g) (x : AdjoinRoot g) :
(map φ g q h) x = 0 ↔ ∀ (i : ℕ), φ (((modByMonicHom hg) x).coeff i) = 0

An element vanishes after reducing the coefficients of a monic g exactly when the coefficients of its representative of degree below deg g do: that representative reduces to a polynomial of degree below deg (g.map φ), which g.map φ divides only when it is zero.