The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.Module.Basic

39 declarations and 2 deprecated aliases. Mathlib docs · Source

theorem Submodule.topologicalClosure.congr_simp E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] (s s_1 : Submodule R M),
  s = s_1 → s.topologicalClosure = s_1.topologicalClosure

theorem ContinuousSMul.of_nhds_zero E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : TopologicalSpace R] [inst_2 : TopologicalSpace M]
  [inst_3 : AddCommGroup M] [inst_4 : Module R M] [IsTopologicalRing R] [IsTopologicalAddGroup M],
  Filter.Tendsto (fun p ↦ p.1 • p.2) (nhds 0 ×ˢ nhds 0) (nhds 0) →
    (∀ (m : M), Filter.Tendsto (fun a ↦ a • m) (nhds 0) (nhds 0)) →
      (∀ (a : R), Filter.Tendsto (fun m ↦ a • m) (nhds 0) (nhds 0)) → ContinuousSMul R M

theorem ContinuousNeg.of_continuousConstSMul E1 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommGroup M]
  [inst_3 : Module R M] [ContinuousConstSMul R M], ContinuousNeg M

A topological module over a ring has continuous negation.

This cannot be an instance, because it would cause search for [Module ?R M] with unknown R.

instance instContinuousConstSMulSubtypeMem E0 #

∀ {S : Type u_1} {R : Type u_2} {M : Type u_3} [inst : SetLike S M] [inst_1 : TopologicalSpace M] [inst_2 : SMul R M]
  [inst_3 : SMulMemClass S R M] [ContinuousConstSMul R M] (s : S), ContinuousConstSMul R ↥s

theorem Module.punctured_nhds_neBot E2 #

∀ (R : Type u_1) (M : Type u_2) [inst : Ring R] [inst_1 : TopologicalSpace R] [inst_2 : TopologicalSpace M]
  [inst_3 : AddCommGroup M] [ContinuousAdd M] [inst_5 : Module R M] [ContinuousSMul R M] [IsDomain R] [Nontrivial M]
  [(nhdsWithin 0 {0}ᶜ).NeBot] [Module.IsTorsionFree R M] (x : M), (nhdsWithin x {x}ᶜ).NeBot

Let R be a topological ring such that zero is not an isolated point (e.g., a nontrivially normed field, see NormedField.punctured_nhds_neBot). Let M be a nontrivial module over R such that c • x = 0 implies c = 0 ∨ x = 0. Then M has no isolated points. We formulate this using NeBot (𝓝[≠] x).

This lemma is not an instance because Lean would need to find [ContinuousSMul ?m_1 M] with unknown ?m_1. We register this as an instance for R = ℝ in Real.punctured_nhds_module_neBot. One can also use haveI := Module.punctured_nhds_neBot R M in a proof.

theorem continuousSMul_inducedₛₗ E1 #

∀ {R : Type u_1} {S : Type u_2} {M₁ : Type u_3} {M₂' : Type u_5} {φ : R → S} [inst : SMul R M₁] [inst_1 : SMul S M₂']
  [u : TopologicalSpace R] [u' : TopologicalSpace S] {t' : TopologicalSpace M₂'} [ContinuousSMul S M₂'] {F' : Type u_7}
  [inst_3 : FunLike F' M₁ M₂'] [MulActionSemiHomClass F' φ M₁ M₂'] (f' : F'), Continuous φ → ContinuousSMul R M₁

theorem continuousSMul_induced E1 #

∀ {R : Type u_1} {M₁ : Type u_3} {M₂ : Type u_4} [inst : SMul R M₁] [inst_1 : SMul R M₂] [u : TopologicalSpace R]
  {t : TopologicalSpace M₂} [ContinuousSMul R M₂] {F : Type u_6} [inst_3 : FunLike F M₁ M₂]
  [MulActionHomClass F R M₁ M₂] (f : F), ContinuousSMul R M₁

theorem TopologicalSpace.IsSeparable.span E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : AddCommMonoid M] [inst_1 : Semiring R] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] [inst_4 : TopologicalSpace R] [TopologicalSpace.SeparableSpace R] [ContinuousAdd M]
  [ContinuousSMul R M] {s : Set M}, TopologicalSpace.IsSeparable s → TopologicalSpace.IsSeparable ↑(Submodule.span R s)

The span of a separable subset with respect to a separable scalar ring is again separable.

instance Submodule.isTopologicalAddGroup E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] [IsTopologicalAddGroup M] (S : Submodule R M), IsTopologicalAddGroup ↥S

theorem Submodule.mapsTo_smul_closure E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [ContinuousConstSMul R M] (s : Submodule R M) (c : R),
  Set.MapsTo (fun x ↦ c • x) (closure ↑s) (closure ↑s)

theorem Submodule.smul_closure_subset E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [ContinuousConstSMul R M] (s : Submodule R M) (c : R), c • closure ↑s ⊆ closure ↑s

def Submodule.topologicalClosure E3 #

{R : Type u} →
  {M : Type v} →
    [inst : Semiring R] →
      [inst_1 : TopologicalSpace M] →
        [inst_2 : AddCommMonoid M] →
          [inst_3 : Module R M] → [ContinuousConstSMul R M] → [ContinuousAdd M] → Submodule R M → Submodule R M

The (topological-space) closure of a submodule of a topological R-module M is itself a submodule.

theorem Submodule.topologicalClosure_coe E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] (s : Submodule R M),
  ↑s.topologicalClosure = closure ↑s

theorem Submodule.le_topologicalClosure E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] (s : Submodule R M),
  s ≤ s.topologicalClosure

theorem Submodule.closure_subset_topologicalClosure_span E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] (s : Set M),
  closure s ⊆ ↑(Submodule.span R s).topologicalClosure

theorem Submodule.isClosed_topologicalClosure E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] (s : Submodule R M),
  IsClosed ↑s.topologicalClosure

theorem Submodule.topologicalClosure_minimal E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] (s : Submodule R M)
  {t : Submodule R M}, s ≤ t → IsClosed ↑t → s.topologicalClosure ≤ t

theorem Submodule.topologicalClosure_mono E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] {s t : Submodule R M},
  s ≤ t → s.topologicalClosure ≤ t.topologicalClosure

theorem IsClosed.submodule_topologicalClosure_eq E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] {s : Submodule R M},
  IsClosed ↑s → s.topologicalClosure = s

The topological closure of a closed submodule s is equal to s.

theorem Submodule.dense_iff_topologicalClosure_eq_top E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : ContinuousConstSMul R M] [inst_5 : ContinuousAdd M] {s : Submodule R M},
  Dense ↑s ↔ s.topologicalClosure = ⊤

A subspace is dense iff its topological closure is the entire space.

instance Submodule.topologicalClosure.completeSpace E0 #

∀ {R : Type u} [inst : Semiring R] {M' : Type u_1} [inst_1 : AddCommMonoid M'] [inst_2 : Module R M']
  [inst_3 : UniformSpace M'] [inst_4 : ContinuousAdd M'] [inst_5 : ContinuousConstSMul R M'] [CompleteSpace M']
  (U : Submodule R M'), CompleteSpace ↥U.topologicalClosure

theorem Submodule.isClosed_or_dense_of_isCoatom E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : TopologicalSpace M] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [ContinuousConstSMul R M] [ContinuousAdd M] (s : Submodule R M),
  IsCoatom s → IsClosed ↑s ∨ Dense ↑s

A maximal proper subspace of a topological module (i.e a Submodule satisfying IsCoatom) is either closed or dense.

instance instCompleteSpaceSubtypeMemSubmoduleOfIsClosedCoe E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : UniformSpace M]
  [inst_3 : Module R M] [CompleteSpace M] (K : Submodule R M) [c : IsClosed ↑K], CompleteSpace ↥K

theorem Submodule.closure_coe_iSup_map_single E1 #

∀ {ι : Type u_1} {R : Type u_2} {M : ι → Type u_3} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
  [inst_2 : (i : ι) → Module R (M i)] [inst_3 : (i : ι) → TopologicalSpace (M i)] [inst_4 : DecidableEq ι]
  (s : (i : ι) → Submodule R (M i)),
  closure ↑(⨆ i, Submodule.map (LinearMap.single R M i) (s i)) = Set.univ.pi fun i ↦ closure ↑(s i)

If s i is a family of submodules, each is in its module, then the closure of their span in the indexed product of the modules is the product of their closures.

In case of a finite index type, this statement immediately follows from Submodule.iSup_map_single. However, the statement is true for an infinite index type as well.

theorem Submodule.topologicalClosure_iSup_map_single E1 #

∀ {ι : Type u_1} {R : Type u_2} {M : ι → Type u_3} [inst : Semiring R] [inst_1 : (i : ι) → AddCommMonoid (M i)]
  [inst_2 : (i : ι) → Module R (M i)] [inst_3 : (i : ι) → TopologicalSpace (M i)] [inst_4 : DecidableEq ι]
  [inst_5 : ∀ (i : ι), ContinuousAdd (M i)] [inst_6 : ∀ (i : ι), ContinuousConstSMul R (M i)]
  (s : (i : ι) → Submodule R (M i)),
  (⨆ i, Submodule.map (LinearMap.single R M i) (s i)).topologicalClosure =
    Submodule.pi Set.univ fun i ↦ (s i).topologicalClosure

If s i is a family of submodules, each is in its module, then the closure of their span in the indexed product of the modules is the product of their closures.

In case of a finite index type, this statement immediately follows from Submodule.iSup_map_single. However, the statement is true for an infinite index type as well.

This version is stated in terms of Submodule.topologicalClosure, thus assumes that M is are topological modules over R. However, the statement is true without assuming continuity of the operations, see Submodule.closure_coe_iSup_map_single above.

theorem LinearMap.continuous_on_pi E1 #

∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} [Finite ι] [inst : Semiring R] [inst_1 : TopologicalSpace R]
  [inst_2 : AddCommMonoid M] [inst_3 : Module R M] [inst_4 : TopologicalSpace M] [ContinuousAdd M] [ContinuousSMul R M]
  (f : (ι → R) →ₗ[R] M), Continuous ⇑f

def linearMapOfMemClosureRangeCoe E1 #

{M₁ : Type u_1} →
  {M₂ : Type u_2} →
    {R : Type u_4} →
      {S : Type u_5} →
        [inst : TopologicalSpace M₂] →
          [T2Space M₂] →
            [inst_2 : Semiring R] →
              [inst_3 : Semiring S] →
                [inst_4 : AddCommMonoid M₁] →
                  [inst_5 : AddCommMonoid M₂] →
                    [inst_6 : Module R M₁] →
                      [inst_7 : Module S M₂] →
                        [ContinuousConstSMul S M₂] →
                          [ContinuousAdd M₂] →
                            {σ : R →+* S} → (f : M₁ → M₂) → f ∈ closure (Set.range DFunLike.coe) → M₁ →ₛₗ[σ] M₂

Constructs a bundled linear map from a function and a proof that this function belongs to the closure of the set of linear maps.

theorem linearMapOfMemClosureRangeCoe_apply E0 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {R : Type u_4} {S : Type u_5} [inst : TopologicalSpace M₂] [inst_1 : T2Space M₂]
  [inst_2 : Semiring R] [inst_3 : Semiring S] [inst_4 : AddCommMonoid M₁] [inst_5 : AddCommMonoid M₂]
  [inst_6 : Module R M₁] [inst_7 : Module S M₂] [inst_8 : ContinuousConstSMul S M₂] [inst_9 : ContinuousAdd M₂]
  {σ : R →+* S} (f : M₁ → M₂) (hf : f ∈ closure (Set.range DFunLike.coe)),
  ⇑(linearMapOfMemClosureRangeCoe f hf) = (↑(addMonoidHomOfMemClosureRangeCoe f hf)).toFun

def linearMapOfTendsto E1 #

{M₁ : Type u_1} →
  {M₂ : Type u_2} →
    {α : Type u_3} →
      {R : Type u_4} →
        {S : Type u_5} →
          [inst : TopologicalSpace M₂] →
            [T2Space M₂] →
              [inst_2 : Semiring R] →
                [inst_3 : Semiring S] →
                  [inst_4 : AddCommMonoid M₁] →
                    [inst_5 : AddCommMonoid M₂] →
                      [inst_6 : Module R M₁] →
                        [inst_7 : Module S M₂] →
                          [ContinuousConstSMul S M₂] →
                            [ContinuousAdd M₂] →
                              {σ : R →+* S} →
                                {l : Filter α} →
                                  (f : M₁ → M₂) →
                                    (g : α → M₁ →ₛₗ[σ] M₂) →
                                      [l.NeBot] → Filter.Tendsto (fun a x ↦ (g a) x) l (nhds f) → M₁ →ₛₗ[σ] M₂

Construct a bundled linear map from a pointwise limit of linear maps

theorem linearMapOfTendsto_apply E0 #

∀ {M₁ : Type u_1} {M₂ : Type u_2} {α : Type u_3} {R : Type u_4} {S : Type u_5} [inst : TopologicalSpace M₂]
  [inst_1 : T2Space M₂] [inst_2 : Semiring R] [inst_3 : Semiring S] [inst_4 : AddCommMonoid M₁]
  [inst_5 : AddCommMonoid M₂] [inst_6 : Module R M₁] [inst_7 : Module S M₂] [inst_8 : ContinuousConstSMul S M₂]
  [inst_9 : ContinuousAdd M₂] {σ : R →+* S} {l : Filter α} (f : M₁ → M₂) (g : α → M₁ →ₛₗ[σ] M₂) [inst_10 : l.NeBot]
  (h : Filter.Tendsto (fun a x ↦ (g a) x) l (nhds f)), ⇑(linearMapOfTendsto f g h) = f

theorem LinearMap.isClosed_range_coe E0 #

∀ (M₁ : Type u_1) (M₂ : Type u_2) {R : Type u_4} {S : Type u_5} [inst : TopologicalSpace M₂] [T2Space M₂]
  [inst_2 : Semiring R] [inst_3 : Semiring S] [inst_4 : AddCommMonoid M₁] [inst_5 : AddCommMonoid M₂]
  [inst_6 : Module R M₁] [inst_7 : Module S M₂] [ContinuousConstSMul S M₂] [ContinuousAdd M₂] (σ : R →+* S),
  IsClosed (Set.range DFunLike.coe)

instance QuotientModule.Quotient.topologicalSpace E0 #

{R : Type u_1} →
  {M : Type u_2} →
    [inst : Ring R] →
      [inst_1 : AddCommGroup M] →
        [inst_2 : Module R M] → [TopologicalSpace M] → (S : Submodule R M) → TopologicalSpace (M ⧸ S)

theorem Submodule.isOpenMap_mkQ E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M) [ContinuousAdd M], IsOpenMap ⇑S.mkQ

theorem Submodule.isOpenQuotientMap_mkQ E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M) [ContinuousAdd M], IsOpenQuotientMap ⇑S.mkQ

theorem Submodule.isQuotientMap_mkQ E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M), Topology.IsQuotientMap ⇑S.mkQ

theorem Submodule.continuous_mkQ E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M), Continuous ⇑S.mkQ

instance Submodule.isTopologicalAddGroup_quotient E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M) [IsTopologicalAddGroup M], IsTopologicalAddGroup (M ⧸ S)

instance Submodule.continuousSMul_quotient E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M) [inst_4 : TopologicalSpace R] [IsTopologicalAddGroup M]
  [ContinuousSMul R M], ContinuousSMul R (M ⧸ S)

instance Submodule.t3_quotient_of_isClosed E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : TopologicalSpace M] (S : Submodule R M) [IsTopologicalAddGroup M] [IsClosed ↑S], T3Space (M ⧸ S)

Deprecated aliases

NameNew nameSince
Submodule.topologicalAddGroupSubmodule.isTopologicalAddGroup2026-08-21
Submodule.topologicalAddGroup_quotientSubmodule.isTopologicalAddGroup_quotient2026-08-21