The areas / V14. Topological algebra and infinite sums
Mathlib.Topology.Algebra.Nonarchimedean.AdicTopology
29 declarations. Mathlib docs · Source
Adic topology
Given a commutative ring R and an ideal I in R, this file constructs the unique
topology on R which is compatible with the ring structure and such that a set is a neighborhood
of zero if and only if it contains a power of I. This topology is non-archimedean: every
neighborhood of zero contains an open subgroup, namely a power of I.
It also studies the predicate IsAdic which states that a given topological ring structure is
adic, proving a characterization and showing that raising an ideal to a positive power does not
change the associated topology.
Finally, it defines WithIdeal, a class registering an ideal in a ring and providing the
corresponding adic topology to the type class inference system.
Main definitions and results
Ideal.adic_basis: the basis of submodules given by powers of an ideal.Ideal.adicTopology: the adic topology associated to an ideal. It has the above basis for neighborhoods of zero.Ideal.nonarchimedean: the adic topology is non-archimedeanisAdic_iff: A topological ring isJ-adic if and only if it admits the powers ofJas a basis of open neighborhoods of zero.WithIdeal: a class registering an ideal in a ring.
Implementation notes
The I-adic topology on a ring R has a contrived definition using I^n • ⊤ instead of I
to make sure it is definitionally equal to the I-topology on R seen as an R-module.
def WithIdeal.ctorIdx E1 #
{R : Type u_2} → {inst : CommRing R} → WithIdeal R → ℕ
theorem Ideal.adic_basis E1 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R), SubmodulesRingBasis fun n ↦ I ^ n • ⊤
def Ideal.ringFilterBasis E1 #
{R : Type u_1} → [inst : CommRing R] → Ideal R → RingFilterBasis R
The adic ring filter basis associated to an ideal I is made of powers of I.
def Ideal.adicTopology E1 #
{R : Type u_1} → [inst : CommRing R] → Ideal R → TopologicalSpace R
The adic topology associated to an ideal I. This topology admits powers of I as a basis of
neighborhoods of zero. It is compatible with the ring structure and is non-archimedean.
theorem Ideal.nonarchimedean E1 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R), NonarchimedeanRing R
theorem Ideal.hasBasis_nhds_zero_adic E1 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R), (nhds 0).HasBasis (fun _n ↦ True) fun n ↦ ↑(I ^ n)
For the I-adic topology, the neighborhoods of zero has basis given by the powers of I.
theorem Ideal.hasBasis_nhds_adic E1 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R) (x : R),
(nhds x).HasBasis (fun _n ↦ True) fun n ↦ (fun y ↦ x + y) '' ↑(I ^ n)
theorem Ideal.isLinearTopology E1 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R), IsLinearTopology R R
theorem Ideal.adic_module_basis E1 #
∀ {R : Type u_1} [inst : CommRing R] (I : Ideal R) (M : Type u_2) [inst_1 : AddCommGroup M] [inst_2 : Module R M],
I.ringFilterBasis.SubmodulesBasis fun n ↦ I ^ n • ⊤
def Ideal.adicModuleTopology E1 #
{R : Type u_1} →
[inst : CommRing R] → Ideal R → (M : Type u_2) → [inst_1 : AddCommGroup M] → [Module R M] → TopologicalSpace M
The topology on an R-module M associated to an ideal M. Submodules $I^n M$,
written I^n • ⊤ form a basis of neighborhoods of zero.
def Ideal.openAddSubgroup E1 #
{R : Type u_1} → [inst : CommRing R] → (I : Ideal R) → ℕ → OpenAddSubgroup R
The elements of the basis of neighborhoods of zero for the I-adic topology
on an R-module M, seen as open additive subgroups of M.
def IsAdic E1 #
{R : Type u_1} → [inst : CommRing R] → [H : TopologicalSpace R] → Ideal R → Prop
Given a topology on a ring R and an ideal J, IsAdic J means the topology is the
J-adic one.
theorem isAdic_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] [top : TopologicalSpace R] [IsTopologicalRing R] {J : Ideal R},
IsAdic J ↔ (∀ (n : ℕ), IsOpen ↑(J ^ n)) ∧ ∀ s ∈ nhds 0, ∃ n, ↑(J ^ n) ⊆ s
A topological ring is J-adic if and only if it admits the powers of J as a basis of
open neighborhoods of zero.
theorem is_ideal_adic_pow E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : TopologicalSpace R] [IsTopologicalRing R] {J : Ideal R},
IsAdic J → ∀ {n : ℕ}, 0 < n → IsAdic (J ^ n)
theorem is_bot_adic_iff E0 #
∀ {A : Type u_2} [inst : CommRing A] [inst_1 : TopologicalSpace A] [IsTopologicalRing A], IsAdic ⊥ ↔ DiscreteTopology A
theorem IsAdic.hasBasis_nhds_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : TopologicalSpace R] {I : Ideal R},
IsAdic I → (nhds 0).HasBasis (fun x ↦ True) fun n ↦ ↑(I ^ n)
theorem IsAdic.hasBasis_nhds E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : TopologicalSpace R] {I : Ideal R},
IsAdic I → ∀ (x : R), (nhds x).HasBasis (fun x ↦ True) fun n ↦ (fun x_1 ↦ x + x_1) '' ↑(I ^ n)
class WithIdeal E1 #
(R : Type u_2) → [CommRing R] → Type u_2
The ring R is equipped with a preferred ideal.
ctor WithIdeal.mk E0 #
{R : Type u_2} → [inst : CommRing R] → Ideal R → WithIdeal R
abbrev WithIdeal.i E1 #
{R : Type u_2} → {inst : CommRing R} → [self : WithIdeal R] → Ideal R
instance WithIdeal.instTopologicalSpace E0 #
(R : Type u_1) → [inst : CommRing R] → [WithIdeal R] → TopologicalSpace R
instance WithIdeal.instNonarchimedeanRing E0 #
∀ (R : Type u_1) [inst : CommRing R] [inst_1 : WithIdeal R], NonarchimedeanRing R
instance WithIdeal.instUniformSpace E0 #
(R : Type u_1) → [inst : CommRing R] → [WithIdeal R] → UniformSpace R
instance WithIdeal.instIsUniformAddGroup E0 #
∀ (R : Type u_1) [inst : CommRing R] [inst_1 : WithIdeal R], IsUniformAddGroup R
instance WithIdeal.instIsLinearTopology E0 #
∀ (R : Type u_1) [inst : CommRing R] [inst_1 : WithIdeal R], IsLinearTopology R R
theorem WithIdeal.uniformContinuous_of_map_le E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : WithIdeal R] {S : Type u_2} [inst_2 : CommRing S] [inst_3 : WithIdeal S]
{f : R →+* S}, Ideal.map f WithIdeal.i ≤ WithIdeal.i → UniformContinuous ⇑f
def WithIdeal.uniformEquiv E1 #
{R : Type u_1} →
[inst : CommRing R] →
[inst_1 : WithIdeal R] →
{S : Type u_2} →
[inst_2 : CommRing S] →
[inst_3 : WithIdeal S] → (e : R ≃+* S) → Ideal.map e.toRingHom WithIdeal.i = WithIdeal.i → R ≃ᵤ S
A ring equivalence induces a uniform equivalence with respect to the adic topologies, provided it preserves the defining ideals.
theorem WithIdeal.isTopologicallyNilpotent_of_mem E1 #
∀ {R : Type u_1} [inst : CommRing R] [inst_1 : WithIdeal R] {a : R}, a ∈ WithIdeal.i → IsTopologicallyNilpotent a
def WithIdeal.topologicalSpaceModule E1 #
(R : Type u_1) →
[inst : CommRing R] → [WithIdeal R] → (M : Type u_2) → [inst_2 : AddCommGroup M] → [Module R M] → TopologicalSpace M
The adic topology on an R module coming from the ideal WithIdeal.I.
This cannot be an instance because R cannot be inferred from M.