The disc decomposition of ℤ_p #
For h : ℕ, the residue classes a ∈ ZMod (p ^ h) cut ℤ_p into the discs a + pʰℤ_p, where
a is represented by its natural representative a.val < pʰ. On the disc of a the coordinate
w = (x - a.val) / pʰ runs through ℤ_p.
Main definitions #
PadicInt.discHomeomorph p h: the homeomorphismZMod (pʰ) × ℤ_p ≃ₜ ℤ_p,(a, w) ↦ a.val + pʰ w.
Main results #
PadicInt.toZModPow_natCast_val_add_mul: the pointa.val + pʰ wreduces toamodulopʰ.PadicInt.fst_discHomeomorph_symm: the disc ofxis its residue class modulopʰ.PadicInt.natCast_val_toZModPow_add_mul_snd_discHomeomorph_symm:xis the natural representative of its residue class pluspʰtimes its disc coordinate.PadicInt.discHomeomorph_symm_natCast_val_add_mul: the inverse decomposition ofa.val + pʰ wis(a, w).PadicInt.discHomeomorph_symm_cast_add_mul: the same statement in simp normal form.
The decomposition of ℤ_p into the discs a + pʰℤ_p, a ∈ ZMod (pʰ): the homeomorphism
ZMod (pʰ) × ℤ_p ≃ₜ ℤ_p sending (a, w) to a.val + pʰ w, where a.val < pʰ is the natural
representative of a. Its inverse sends x to its residue class modulo pʰ and to the disc
coordinate w = (x - a.val) / pʰ.
Instances For
@[simp]
theorem
PadicInt.discHomeomorph_symm_cast_add_mul
{p : ℕ}
[hp : Fact (Nat.Prime p)]
(h : ℕ)
(a : ZMod (p ^ h))
(w : ℤ_[p])
:
The inverse disc decomposition of a + pʰ w is (a, w), with a cast to ℤ_p through its
natural representative. This is the simp normal form of
discHomeomorph_symm_natCast_val_add_mul, since ZMod.natCast_val rewrites a.val to a.cast.