Documentation

CslibFrontier.Foundations.NumberTheory.Padics.AdjoinRootDigitLift

Digit lifts in ℤ_(p)[X] / (f) #

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). The digit lift of a digit vector c : Fin (deg f) → ZMod p is ∑ i, c i * X ^ i in O, with each digit read as an integer in {0, …, p - 1} (AdjoinRoot.integerDigitLift). For p = 2 these are the binary-coordinate lifts of the residue-field elements of [OAI26k] (§D.4.1, p. 58).

Distinct digit lifts differ by a unit of O (AdjoinRoot.isUnit_integerDigitLift_sub). The difference of two lifts is the image of ∑ i, (c i - c' i) * X ^ i ∈ ℤ[X] / (f), which is nonzero modulo p because the digit lifts reduce to distinct elements of 𝔽_p[X] / (f) (GaloisRing.residue_digitLift_injective). So it has valuation one (AdjoinRoot.padicValuation_map_eq_one_iff), and is a unit of the valuation ring (AdjoinRoot.isUnit_of_padicValuation_eq_one). This is the counterpart in O of GaloisRing.isUnit_digitLift_sub, and it supplies the interpolation points of the contraction recursion (Cslib.Circuits.Frontier.TensorNetwork.exists_contractRec_eq_add) over B = O.

Main definitions #

Main results #

References #

noncomputable def AdjoinRoot.integerDigitLift {p : ℕ} [Fact (Nat.Prime p)] {f : Polynomial ℤ} (hf : f.Monic) (hirr : Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) f)) (c : Fin f.natDegree → ZMod p) :
↥(padicValuation p hf hirr).integer

The digit lift of a digit vector c: the element ∑ i, c i * X ^ i of the valuation ring O = ℤ_(p)[X] / (f), with each digit c i ∈ ZMod p read as an integer in {0, …, p - 1}. For p = 2 these are the binary-coordinate lifts of [OAI26k] (§D.4.1, p. 58).

theorem AdjoinRoot.coe_integerDigitLift {p : ℕ} [Fact (Nat.Prime p)] {f : Polynomial ℤ} (hf : f.Monic) (hirr : Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) f)) (c : Fin f.natDegree → ZMod p) :
↑(integerDigitLift hf hirr c) = ∑ i : Fin f.natDegree, ↑(c i).val * root (Polynomial.map (Int.castRingHom ℚ) f) ^ ↑i

The digit lift is ∑ i, c i * X ^ i in ℚ[X] / (f).

theorem AdjoinRoot.isUnit_integerDigitLift_sub {p : ℕ} [Fact (Nat.Prime p)] {f : Polynomial ℤ} (hf : f.Monic) (hirr : Irreducible (Polynomial.map (Int.castRingHom (ZMod p)) f)) {c c' : Fin f.natDegree → ZMod p} (h : c ≠ c') :
IsUnit (integerDigitLift hf hirr c - integerDigitLift hf hirr c')

Distinct digit lifts differ by a unit of O: the difference reduces modulo p to a nonzero element of 𝔽_p[X] / (f), so it has valuation one.

Digit lifts are interpolation points: distinct digit vectors have lifts with unit differences.