Documentation

CslibFrontier.Foundations.NumberTheory.Padics.AdjoinRootReduction

Reduction of ℤ_(p)[X] / (f) modulo p ^ n #

Let p be a prime and f a monic integer polynomial that is irreducible modulo p, and let O = ℤ_(p)[X] / (f) be the valuation ring of AdjoinRoot.padicValuation in K = ℚ[X] / (f).

O is AdjoinRoot (f.map ℤ_(p)). Reducing modulo f commutes with the inclusion ℤ_(p) → ℚ because f is monic, so the map ℤ_(p)[X] / (f) → ℚ[X] / (f) is injective (AdjoinRoot.integerMap_injective). By AdjoinRoot.mem_integer_padicValuation_iff, its image is O (AdjoinRoot.integerEquiv).

Reduction modulo p ^ n (AdjoinRoot.reduction) is the ring homomorphism O → (ℤ / p ^ n)[X] / (f) = GaloisRing p n f that reduces each coordinate in the basis 1, X, …, X ^ (deg f - 1) modulo p ^ n (Rat.padicIntegerToZModPow). The reductions are compatible: reducing modulo p ^ N and then modulo p ^ n is reducing modulo p ^ n (AdjoinRoot.castHom_comp_reduction). On the image of ℤ[X] / (f) the reduction reduces the integer coefficients (AdjoinRoot.reduction_toRat), and on ℤ_(p) it is Rat.padicIntegerToZModPow (AdjoinRoot.reduction_algebraMap).

For p = 2 these maps let a computation in the Galois rings (ℤ / 2 ^ n)[U] / (f) follow the contraction recursion of [OAI26k] over O.

Main definitions #

Main results #

References #

The map ℤ_(p)[X] / (f) → ℚ[X] / (f).

The map ℤ_(p)[X] / (f) → ℚ[X] / (f) is injective, as f is monic.

The image of ℤ_(p)[X] / (f) lies in the valuation ring.

Every element of the valuation ring comes from ℤ_(p)[X] / (f).

ℤ_(p)[X] / (f) is the valuation ring O of AdjoinRoot.padicValuation.

Reduction ℤ_(p)[X] / (f) → (ℤ / p ^ n)[X] / (f) of the coefficients.

noncomputable def AdjoinRoot.reduction {p : ℕ} [Fact (Nat.Prime p)] {f : Polynomial ℤ} (hf : f.Monic) (hirr : Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) f)) (n : ℕ) :
↥(padicValuation p hf hirr).integer →+* GaloisRing p n f

Reduction modulo p ^ n of the valuation ring O = ℤ_(p)[X] / (f): reduce each coordinate in the basis 1, X, …, X ^ (deg f - 1) modulo p ^ n.

theorem AdjoinRoot.castHom_comp_reduction {p : ℕ} [Fact (Nat.Prime p)] {f : Polynomial ℤ} (hf : f.Monic) (hirr : Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) f)) {n N : ℕ} (h : n ≤ N) :
(map (ZMod.castHom ⋯ (ZMod (p ^ n))) (Polynomial.map (Int.castRingHom (ZMod (p ^ N))) f) (Polynomial.map (Int.castRingHom (ZMod (p ^ n))) f) ⋯).comp (reduction hf hirr N) = reduction hf hirr n

The reductions are compatible: reducing modulo p ^ N and then modulo p ^ n, n ≤ N, is reducing modulo p ^ n.

theorem AdjoinRoot.reduction_toRat {p : ℕ} [Fact (Nat.Prime p)] {f : Polynomial ℤ} (hf : f.Monic) (hirr : Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) f)) (n : ℕ) (o : AdjoinRoot f) :
(reduction hf hirr n) ⟨(map (Int.castRingHom ℚ) f (Polynomial.map (Int.castRingHom ℚ) f) ⋯) o, ⋯⟩ = (map (Int.castRingHom (ZMod (p ^ n))) f (Polynomial.map (Int.castRingHom (ZMod (p ^ n))) f) ⋯) o

On ℤ[X] / (f) the reduction reduces the integer coefficients.