The p-adic integers as an inverse limit #
The ring of p-adic integers is the inverse limit of the finite rings ZMod (p ^ n). This
file gives that inverse limit a concrete carrier: a point is a family whose finer residues
reduce to its coarser residues. Mathlib's universal maps PadicInt.toZModPow and
PadicInt.lift identify this ring with ℤ_[p].
The topology on the inverse limit is the subspace topology from the product of the discrete
finite rings; the compatibility conditions are closed, so the inverse limit is compact for
every nonzero modulus. The algebraic equivalence is a homeomorphism because its forward map is
continuous and ℤ_[p] is compact.
Main definitions #
PadicInt.inverseLimit: the ring of compatible families in∏ n, ZMod (p ^ n).PadicInt.inverseLimit.lift: the universal map into the inverse limit determined by a compatible family of ring homomorphisms.PadicInt.toInverseLimit: the compatible family of residues of ap-adic integer.PadicInt.inverseLimitRingEquiv: the ring equivalence fromℤ_[p]to the inverse limit.PadicInt.inverseLimitHomeomorph: the same equivalence as a homeomorphism.PadicInt.inverseLimitContinuousMulEquiv: the corresponding topological isomorphism of additive groups, written multiplicatively.
References #
- J.-P. Serre, Local Fields, Chapter II, Section 2.
The inverse limit of the rings ZMod (p ^ n): compatible residue families, with the
subspace topology inherited from their product.
Equations
Instances For
Membership in PadicInt.inverseLimit: a family belongs to the inverse limit exactly when
each of its finer residues reduces to the coarser ones. Use .mpr to build an element of the
inverse limit from a compatibility proof.
The projection from the inverse limit to ZMod (p ^ n).
Equations
- PadicInt.inverseLimit.proj p n = (Pi.evalRingHom (fun (n : ℕ) => ZMod (p ^ n)) n).comp (PadicInt.inverseLimit p).subtype
Instances For
The universal property of the inverse limit: a family of ring homomorphisms
f n : R →+* ZMod (p ^ n) compatible with the reduction maps assembles into a single ring
homomorphism to PadicInt.inverseLimit p.
Equations
- PadicInt.inverseLimit.lift p f hf = (RingHom.pi f).codRestrict (PadicInt.inverseLimit p) ⋯
Instances For
PadicInt.inverseLimit.lift recovers the given family on each projection.
PadicInt.inverseLimit.lift is the only homomorphism recovering the given family on each
projection.
The compatible families are cut out of the product of the discrete rings ZMod (p ^ n) by
closed conditions.
The inverse limit of the finite rings ZMod (p ^ n) is compact.
The residue family of a p-adic integer, regarded as a homomorphism to the inverse
limit.
Equations
- PadicInt.toInverseLimit p = { toFun := fun (x : ℤ_[p]) => ⟨fun (n : ℕ) => (PadicInt.toZModPow n) x, ⋯⟩, map_one' := ⋯, map_mul' := ⋯, map_zero' := ⋯, map_add' := ⋯ }
Instances For
A compatible residue family determines a p-adic integer by Mathlib's inverse-limit
universal property.
Equations
Instances For
The ring of p-adic integers is the inverse limit of the rings ZMod (p ^ n).
Equations
- PadicInt.inverseLimitRingEquiv p = { toFun := ⇑(PadicInt.toInverseLimit p), invFun := ⇑(PadicInt.fromInverseLimit p), left_inv := ⋯, right_inv := ⋯, map_mul' := ⋯, map_add' := ⋯ }
Instances For
Taking all residues modulo p ^ n is continuous into their inverse limit.
The ring equivalence from ℤ_[p] to its inverse-limit presentation is continuous.
The ring equivalence from ℤ_[p] to its inverse-limit presentation is a homeomorphism.
Equations
Instances For
The underlying map of PadicInt.inverseLimitHomeomorph is the ring equivalence taking a
p-adic integer to all of its residues.
The additive group of ℤ_[p] is topologically isomorphic to the additive group of its
inverse-limit presentation.
Equations
- PadicInt.inverseLimitContinuousMulEquiv p = { toMulEquiv := AddEquiv.toMultiplicative (PadicInt.inverseLimitRingEquiv p).toAddEquiv, continuous_toFun := ⋯, continuous_invFun := ⋯ }