Documentation

Mathlib.Topology.ClusterPt

Lemmas on cluster and accumulation points #

In this file we prove various lemmas on cluster points (also known as limit points and accumulation points) of a filter and of a sequence.

A filter F on X has x as a cluster point if ClusterPt x F : 𝓝 x βŠ“ F β‰  βŠ₯. A map f : Ξ± β†’ X clusters at x along F : Filter Ξ± if MapClusterPt x F f : ClusterPt x (map f F). In particular the notion of cluster point of a sequence u is MapClusterPt x atTop u.

@[simp]
theorem ClusterPt.top {X : Type u} [TopologicalSpace X] {x : X} :
theorem clusterPt_sup {X : Type u} [TopologicalSpace X] {x : X} {F G : Filter X} :
ClusterPt x (F βŠ” G) ↔ ClusterPt x F ∨ ClusterPt x G
theorem ClusterPt.neBot {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} (h : ClusterPt x F) :
(nhds x βŠ“ F).NeBot
theorem Filter.HasBasis.clusterPt_iff {X : Type u} [TopologicalSpace X] {x : X} {ΞΉX : Sort u_3} {ΞΉF : Sort u_4} {pX : ΞΉX β†’ Prop} {sX : ΞΉX β†’ Set X} {pF : ΞΉF β†’ Prop} {sF : ΞΉF β†’ Set X} {F : Filter X} (hX : (nhds x).HasBasis pX sX) (hF : F.HasBasis pF sF) :
ClusterPt x F ↔ βˆ€ ⦃i : ΞΉX⦄, pX i β†’ βˆ€ ⦃j : ΞΉF⦄, pF j β†’ (sX i ∩ sF j).Nonempty
theorem Filter.HasBasis.clusterPt_iff_frequently {X : Type u} [TopologicalSpace X] {x : X} {ΞΉ : Sort u_3} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} {F : Filter X} (hx : (nhds x).HasBasis p s) :
ClusterPt x F ↔ βˆ€ (i : ΞΉ), p i β†’ βˆƒαΆ  (x : X) in F, x ∈ s i
theorem clusterPt_iff_frequently {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} :
ClusterPt x F ↔ βˆ€ s ∈ nhds x, βˆƒαΆ  (y : X) in F, y ∈ s
theorem ClusterPt.frequently {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} {p : X β†’ Prop} (hx : ClusterPt x F) (hp : βˆ€αΆ  (y : X) in nhds x, p y) :
βˆƒαΆ  (y : X) in F, p y
theorem Filter.HasBasis.clusterPt_iff_frequently' {X : Type u} [TopologicalSpace X] {x : X} {ΞΉ : Sort u_3} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} {F : Filter X} (hx : F.HasBasis p s) :
ClusterPt x F ↔ βˆ€ (i : ΞΉ), p i β†’ βˆƒαΆ  (x : X) in nhds x, x ∈ s i
theorem clusterPt_iff_frequently' {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} :
ClusterPt x F ↔ βˆ€ s ∈ F, βˆƒαΆ  (y : X) in nhds x, y ∈ s
theorem ClusterPt.frequently' {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} {p : X β†’ Prop} (hx : ClusterPt x F) (hp : βˆ€αΆ  (y : X) in F, p y) :
βˆƒαΆ  (y : X) in nhds x, p y
theorem clusterPt_iff_nonempty {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} :
ClusterPt x F ↔ βˆ€ ⦃U : Set X⦄, U ∈ nhds x β†’ βˆ€ ⦃V : Set X⦄, V ∈ F β†’ (U ∩ V).Nonempty
theorem Filter.HasBasis.clusterPt_iff_forall_mem_closure {X : Type u} [TopologicalSpace X] {x : X} {ΞΉ : Sort u_3} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} {F : Filter X} (hF : F.HasBasis p s) :
ClusterPt x F ↔ βˆ€ (i : ΞΉ), p i β†’ x ∈ closure (s i)
theorem clusterPt_iff_forall_mem_closure {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} :
ClusterPt x F ↔ βˆ€ s ∈ F, x ∈ closure s
theorem ClusterPt.mem_closure_of_mem {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} :
ClusterPt x F β†’ βˆ€ s ∈ F, x ∈ closure s

Alias of the forward direction of clusterPt_iff_forall_mem_closure.

theorem clusterPt_principal_iff {X : Type u} [TopologicalSpace X] {x : X} {s : Set X} :
ClusterPt x (Filter.principal s) ↔ βˆ€ U ∈ nhds x, (U ∩ s).Nonempty

x is a cluster point of a set s if every neighbourhood of x meets s on a nonempty set. See also mem_closure_iff_clusterPt.

theorem ClusterPt.of_le_nhds {X : Type u} [TopologicalSpace X] {x : X} {f : Filter X} (H : f ≀ nhds x) [f.NeBot] :
theorem ClusterPt.of_le_nhds' {X : Type u} [TopologicalSpace X] {x : X} {f : Filter X} (H : f ≀ nhds x) (_hf : f.NeBot) :
theorem ClusterPt.of_nhds_le {X : Type u} [TopologicalSpace X] {x : X} {f : Filter X} (H : nhds x ≀ f) :
theorem ClusterPt.mono {X : Type u} [TopologicalSpace X] {x : X} {f g : Filter X} (H : ClusterPt x f) (h : f ≀ g) :
theorem ClusterPt.of_inf_left {X : Type u} [TopologicalSpace X] {x : X} {f g : Filter X} (H : ClusterPt x (f βŠ“ g)) :
theorem ClusterPt.of_inf_right {X : Type u} [TopologicalSpace X] {x : X} {f g : Filter X} (H : ClusterPt x (f βŠ“ g)) :
theorem mapClusterPt_def {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} :
theorem MapClusterPt.clusterPt {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} :
MapClusterPt x F u β†’ ClusterPt x (Filter.map u F)

Alias of the forward direction of mapClusterPt_def.

theorem Filter.EventuallyEq.mapClusterPt_iff {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} {v : Ξ± β†’ X} (h : u =αΆ [F] v) :
theorem MapClusterPt.congrFun {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} {v : Ξ± β†’ X} (h : u =αΆ [F] v) :
MapClusterPt x F u β†’ MapClusterPt x F v

Alias of the forward direction of Filter.EventuallyEq.mapClusterPt_iff.

theorem MapClusterPt.mono {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} {G : Filter Ξ±} (h : MapClusterPt x F u) (hle : F ≀ G) :
theorem MapClusterPt.tendsto_comp' {X : Type u} [TopologicalSpace X] {Y : Type v} {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} [TopologicalSpace Y] {f : X β†’ Y} {y : Y} (hf : Filter.Tendsto f (nhds x βŠ“ Filter.map u F) (nhds y)) (hu : MapClusterPt x F u) :
theorem MapClusterPt.tendsto_comp {X : Type u} [TopologicalSpace X] {Y : Type v} {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} [TopologicalSpace Y] {f : X β†’ Y} {y : Y} (hf : Filter.Tendsto f (nhds x) (nhds y)) (hu : MapClusterPt x F u) :
theorem mapClusterPt_id_iff {Ξ± : Type u_1} {F : Filter Ξ±} [TopologicalSpace Ξ±] {a : Ξ±} :
theorem ClusterPt.mapClusterPt_id {Ξ± : Type u_1} {F : Filter Ξ±} [TopologicalSpace Ξ±] {a : Ξ±} :
ClusterPt a F β†’ MapClusterPt a F id

Alias of the reverse direction of mapClusterPt_id_iff.

theorem MapClusterPt.continuousAt_comp {X : Type u} [TopologicalSpace X] {Y : Type v} {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} [TopologicalSpace Y] {f : X β†’ Y} (hf : ContinuousAt f x) (hu : MapClusterPt x F u) :
MapClusterPt (f x) F (f ∘ u)
theorem ContinuousAt.mapClusterPt {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} [TopologicalSpace Ξ±] {a : Ξ±} (hf : ContinuousAt u a) (hu : ClusterPt a F) :
MapClusterPt (u a) F u
theorem Filter.HasBasis.mapClusterPt_iff_frequently {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} {ΞΉ : Sort u_3} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} (hx : (nhds x).HasBasis p s) :
MapClusterPt x F u ↔ βˆ€ (i : ΞΉ), p i β†’ βˆƒαΆ  (a : Ξ±) in F, u a ∈ s i
theorem mapClusterPt_iff_frequently {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} :
MapClusterPt x F u ↔ βˆ€ s ∈ nhds x, βˆƒαΆ  (a : Ξ±) in F, u a ∈ s
theorem MapClusterPt.frequently {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} (h : MapClusterPt x F u) {p : X β†’ Prop} (hp : βˆ€αΆ  (y : X) in nhds x, p y) :
βˆƒαΆ  (a : Ξ±) in F, p (u a)
theorem mapClusterPt_comp {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {Ξ² : Type u_2} {F : Filter Ξ±} {x : X} {Ο† : Ξ± β†’ Ξ²} {u : Ξ² β†’ X} :
theorem Filter.Tendsto.mapClusterPt {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} [F.NeBot] (h : Tendsto u F (nhds x)) :
theorem MapClusterPt.of_comp {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {Ξ² : Type u_2} {F : Filter Ξ±} {u : Ξ± β†’ X} {x : X} {Ο† : Ξ² β†’ Ξ±} {p : Filter Ξ²} (h : Filter.Tendsto Ο† p F) (H : MapClusterPt x p (u ∘ Ο†)) :
theorem IsClosed.mem_of_mapClusterPt {X : Type u} [TopologicalSpace X] {Ξ± : Type u_1} {l : X} {s : Set X} {f : Ξ± β†’ X} {b : Filter Ξ±} (hs : IsClosed s) (hf : MapClusterPt l b f) (h : βˆ€αΆ  (x : Ξ±) in b, f x ∈ s) :
l ∈ s
theorem mapClusterPt_atTop_iff_forall_mem_closure {X : Type u} [TopologicalSpace X] {ΞΉ : Type u_3} [Preorder ΞΉ] [IsDirectedOrder ΞΉ] [Nonempty ΞΉ] {x : ΞΉ β†’ X} {a : X} :
MapClusterPt a Filter.atTop x ↔ βˆ€ (i : ΞΉ), a ∈ closure (x '' Set.Ici i)

A point a is a cluster point of the sequence x if and only if a belongs to the closure of every tail x '' {n | i ≀ n}.

theorem accPt_sup {X : Type u} [TopologicalSpace X] {x : X} {F G : Filter X} :
AccPt x (F βŠ” G) ↔ AccPt x F ∨ AccPt x G

x is an accumulation point of a set C iff it is a cluster point of C βˆ– {x}.

theorem accPt_iff_nhds {X : Type u} [TopologicalSpace X] {x : X} {C : Set X} :
AccPt x (Filter.principal C) ↔ βˆ€ U ∈ nhds x, βˆƒ y ∈ U ∩ C, y β‰  x

x is an accumulation point of a set C iff every neighborhood of x contains a point of C other than x.

theorem accPt_iff_frequently {X : Type u} [TopologicalSpace X] {x : X} {C : Set X} :

x is an accumulation point of a set C iff there are points near x in C and different from x.

Variant of accPt_iff_frequently: A point x is an accumulation point of a set C iff points in punctured neighborhoods are frequently contained in C.

theorem AccPt.mono {X : Type u} [TopologicalSpace X] {x : X} {F G : Filter X} (h : AccPt x F) (hFG : F ≀ G) :
AccPt x G

If x is an accumulation point of F and F ≀ G, then x is an accumulation point of G.

theorem AccPt.clusterPt {X : Type u} [TopologicalSpace X] {x : X} {F : Filter X} (h : AccPt x F) :

The set of cluster points of a filter is closed. In particular, the set of limit points of a sequence is closed.

@[deprecated isClosed_setOfPred_clusterPt (since := "2026-07-09")]

Alias of isClosed_setOfPred_clusterPt.


The set of cluster points of a filter is closed. In particular, the set of limit points of a sequence is closed.

theorem ClusterPt.mem_closure {X : Type u} [TopologicalSpace X] {x : X} {s : Set X} :

Alias of the reverse direction of mem_closure_iff_clusterPt.

If x is not an isolated point of a topological space, then {x}ᢜ is dense in the whole space.

If x is not an isolated point of a topological space, then the closure of {x}ᢜ is the whole space.

@[simp]

If x is not an isolated point of a topological space, then the interior of {x} is empty.

theorem mem_closure_iff_nhds {X : Type u} [TopologicalSpace X] {x : X} {s : Set X} :
x ∈ closure s ↔ βˆ€ t ∈ nhds x, (t ∩ s).Nonempty
theorem mem_closure_iff_nhds' {X : Type u} [TopologicalSpace X] {x : X} {s : Set X} :
x ∈ closure s ↔ βˆ€ t ∈ nhds x, βˆƒ (y : ↑s), ↑y ∈ t
theorem mem_closure_iff_nhds_basis' {X : Type u} [TopologicalSpace X] {ΞΉ : Sort w} {x : X} {t : Set X} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} (h : (nhds x).HasBasis p s) :
x ∈ closure t ↔ βˆ€ (i : ΞΉ), p i β†’ (s i ∩ t).Nonempty
theorem mem_closure_iff_nhds_basis {X : Type u} [TopologicalSpace X] {ΞΉ : Sort w} {x : X} {t : Set X} {p : ΞΉ β†’ Prop} {s : ΞΉ β†’ Set X} (h : (nhds x).HasBasis p s) :
x ∈ closure t ↔ βˆ€ (i : ΞΉ), p i β†’ βˆƒ y ∈ t, y ∈ s i
theorem isClosed_iff_clusterPt {X : Type u} [TopologicalSpace X] {s : Set X} :
IsClosed s ↔ βˆ€ (a : X), ClusterPt a (Filter.principal s) β†’ a ∈ s
theorem isClosed_iff_accPt {X : Type u} [TopologicalSpace X] {s : Set X} :
IsClosed s ↔ βˆ€ (a : X), AccPt a (Filter.principal s) β†’ a ∈ s
theorem isClosed_iff_nhds {X : Type u} [TopologicalSpace X] {s : Set X} :
IsClosed s ↔ βˆ€ (x : X), (βˆ€ U ∈ nhds x, (U ∩ s).Nonempty) β†’ x ∈ s
theorem isClosed_iff_forall_filter {X : Type u} [TopologicalSpace X] {s : Set X} :
IsClosed s ↔ βˆ€ (x : X) (F : Filter X), F.NeBot β†’ F ≀ Filter.principal s β†’ F ≀ nhds x β†’ x ∈ s
theorem mem_closure_of_mem_closure_union {X : Type u} [TopologicalSpace X] {x : X} {s₁ sβ‚‚ : Set X} (h : x ∈ closure (s₁ βˆͺ sβ‚‚)) (h₁ : sβ‚αΆœ ∈ nhds x) :
x ∈ closure sβ‚‚