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 #
AdjoinRoot.map_mk: the class ofPmaps to the class ofP.map φ.AdjoinRoot.map_surjective_of_surjective: reducing the coefficients is surjective whenφis.AdjoinRoot.map_eq_zero_iff: an element ofR[X] / (g)vanishes inS[X] / (g.map φ)exactly when the coefficients of its reduced representative do.
Reducing the coefficients maps the class of P to the class of P.map φ.
Reducing the coefficients is surjective when φ is.
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.