Documentation

Mathlib.Topology.Separation.Basic

Separation properties of topological spaces #

This file defines some of the weaker separation axioms (under the Kolmogorov classification), notably T₀, R₀, T₁ and R₁ spaces. For T₂ (Hausdorff) spaces and other stronger conditions, see the file Topology/Separation/Hausdorff.lean.

Main definitions #

Note that mathlib adopts the modern convention that m ≤ n if and only if T_m → T_n, but occasionally the literature swaps definitions for e.g. T₃ and regular.

Main results #

T₀ spaces #

T₁ spaces #

References #

class T0Space (X : Type u) [TopologicalSpace X] :

A T₀ space, also known as a Kolmogorov space, is a topological space such that for every pair x ≠ y, there is an open set containing one but not the other. We formulate the definition in terms of the Inseparable relation.

  • t0 x y : X : Inseparable x yx = y

    Two inseparable points in a T₀ space are equal.

Instances
theorem t0Space_iff_inseparable (X : Type u) [TopologicalSpace X] :
T0Space X ∀ (x y : X), Inseparable x yx = y
theorem Inseparable.eq {X : Type u_1} [TopologicalSpace X] [T0Space X] {x y : X} (h : Inseparable x y) :
x = y
theorem Topology.IsInducing.injective {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space X] {f : XY} (hf : IsInducing f) :

A topology inducing map from a T₀ space is injective.

@[deprecated Topology.IsInducing.injective (since := "2024-10-28")]
theorem Inducing.injective {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space X] {f : XY} (hf : Topology.IsInducing f) :

Alias of Topology.IsInducing.injective.


A topology inducing map from a T₀ space is injective.

theorem Topology.IsInducing.isEmbedding {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space X] {f : XY} (hf : IsInducing f) :

A topology inducing map from a T₀ space is a topological embedding.

@[deprecated Topology.IsInducing.isEmbedding (since := "2024-10-28")]
theorem Inducing.isEmbedding {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space X] {f : XY} (hf : Topology.IsInducing f) :

Alias of Topology.IsInducing.isEmbedding.


A topology inducing map from a T₀ space is a topological embedding.

@[deprecated Topology.IsInducing.isEmbedding (since := "2024-10-26")]
theorem Inducing.embedding {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space X] {f : XY} (hf : Topology.IsInducing f) :

Alias of Topology.IsInducing.isEmbedding.


A topology inducing map from a T₀ space is a topological embedding.

@[deprecated isEmbedding_iff_isInducing (since := "2024-10-28")]

Alias of isEmbedding_iff_isInducing.

@[deprecated isEmbedding_iff_isInducing (since := "2024-10-26")]

Alias of isEmbedding_iff_isInducing.

theorem inseparable_iff_eq {X : Type u_1} [TopologicalSpace X] [T0Space X] {x y : X} :
Inseparable x y x = y
@[simp]
theorem nhds_eq_nhds_iff {X : Type u_1} [TopologicalSpace X] [T0Space X] {a b : X} :
nhds a = nhds b a = b
theorem TopologicalSpace.IsTopologicalBasis.inseparable_iff {X : Type u_1} [TopologicalSpace X] {b : Set (Set X)} (hb : IsTopologicalBasis b) {x y : X} :
Inseparable x y sb, x s y s
theorem TopologicalSpace.IsTopologicalBasis.eq_iff {X : Type u_1} [TopologicalSpace X] [T0Space X] {b : Set (Set X)} (hb : IsTopologicalBasis b) {x y : X} :
x = y sb, x s y s
theorem t0Space_iff_exists_isOpen_xor'_mem (X : Type u) [TopologicalSpace X] :
T0Space X Pairwise fun (x y : X) => ∃ (U : Set X), IsOpen U Xor' (x U) (y U)
theorem exists_isOpen_xor'_mem {X : Type u_1} [TopologicalSpace X] [T0Space X] {x y : X} (h : x y) :
∃ (U : Set X), IsOpen U Xor' (x U) (y U)

Specialization forms a partial order on a t0 topological space.

Equations
theorem minimal_nonempty_closed_subsingleton {X : Type u_1} [TopologicalSpace X] [T0Space X] {s : Set X} (hs : IsClosed s) (hmin : ts, t.NonemptyIsClosed tt = s) :
theorem minimal_nonempty_closed_eq_singleton {X : Type u_1} [TopologicalSpace X] [T0Space X] {s : Set X} (hs : IsClosed s) (hne : s.Nonempty) (hmin : ts, t.NonemptyIsClosed tt = s) :
∃ (x : X), s = {x}
theorem IsClosed.exists_closed_singleton {X : Type u_1} [TopologicalSpace X] [T0Space X] [CompactSpace X] {S : Set X} (hS : IsClosed S) (hne : S.Nonempty) :
xS, IsClosed {x}

Given a closed set S in a compact T₀ space, there is some x ∈ S such that {x} is closed.

theorem minimal_nonempty_open_subsingleton {X : Type u_1} [TopologicalSpace X] [T0Space X] {s : Set X} (hs : IsOpen s) (hmin : ts, t.NonemptyIsOpen tt = s) :
theorem minimal_nonempty_open_eq_singleton {X : Type u_1} [TopologicalSpace X] [T0Space X] {s : Set X} (hs : IsOpen s) (hne : s.Nonempty) (hmin : ts, t.NonemptyIsOpen tt = s) :
∃ (x : X), s = {x}
theorem exists_isOpen_singleton_of_isOpen_finite {X : Type u_1} [TopologicalSpace X] [T0Space X] {s : Set X} (hfin : s.Finite) (hne : s.Nonempty) (ho : IsOpen s) :
xs, IsOpen {x}

Given an open finite set S in a T₀ space, there is some x ∈ S such that {x} is open.

theorem t0Space_of_injective_of_continuous {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] {f : XY} (hf : Function.Injective f) (hf' : Continuous f) [T0Space Y] :
theorem Topology.IsEmbedding.t0Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space Y] {f : XY} (hf : IsEmbedding f) :
@[deprecated Topology.IsEmbedding.t0Space (since := "2024-10-26")]
theorem Embedding.t0Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space Y] {f : XY} (hf : Topology.IsEmbedding f) :

Alias of Topology.IsEmbedding.t0Space.

instance Subtype.t0Space {X : Type u_1} [TopologicalSpace X] [T0Space X] {p : XProp} :
theorem t0Space_iff_or_not_mem_closure (X : Type u) [TopologicalSpace X] :
T0Space X Pairwise fun (a b : X) => aclosure {b} bclosure {a}
instance Prod.instT0Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T0Space X] [T0Space Y] :
T0Space (X × Y)
instance Pi.instT0Space {ι : Type u_3} {X : ιType u_4} [(i : ι) → TopologicalSpace (X i)] [∀ (i : ι), T0Space (X i)] :
T0Space ((i : ι) → X i)
theorem T0Space.of_cover {X : Type u_1} [TopologicalSpace X] (h : ∀ (x y : X), Inseparable x y∃ (s : Set X), x s y s T0Space s) :
theorem T0Space.of_open_cover {X : Type u_1} [TopologicalSpace X] (h : ∀ (x : X), ∃ (s : Set X), x s IsOpen s T0Space s) :
class R0Space (X : Type u) [TopologicalSpace X] :

A topological space is called an R₀ space, if Specializes relation is symmetric.

In other words, given two points x y : X, if every neighborhood of y contains x, then every neighborhood of x contains y.

Instances
theorem Specializes.symm {X : Type u_1} [TopologicalSpace X] [R0Space X] {x y : X} (h : x y) :
y x

In an R₀ space, the Specializes relation is symmetric, dot notation version.

theorem specializes_comm {X : Type u_1} [TopologicalSpace X] [R0Space X] {x y : X} :
x y y x

In an R₀ space, the Specializes relation is symmetric, Iff version.

theorem specializes_iff_inseparable {X : Type u_1} [TopologicalSpace X] [R0Space X] {x y : X} :

In an R₀ space, Specializes is equivalent to Inseparable.

theorem Specializes.inseparable {X : Type u_1} [TopologicalSpace X] [R0Space X] {x y : X} :
x yInseparable x y

In an R₀ space, Specializes implies Inseparable.

theorem Topology.IsInducing.r0Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R0Space X] [TopologicalSpace Y] {f : YX} (hf : IsInducing f) :
@[deprecated Topology.IsInducing.r0Space (since := "2024-10-28")]
theorem Inducing.r0Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R0Space X] [TopologicalSpace Y] {f : YX} (hf : Topology.IsInducing f) :

Alias of Topology.IsInducing.r0Space.

instance instR0SpaceSubtype {X : Type u_1} [TopologicalSpace X] [R0Space X] {p : XProp} :
R0Space { x : X // p x }
instance instR0SpaceProd {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R0Space X] [TopologicalSpace Y] [R0Space Y] :
R0Space (X × Y)
instance instR0SpaceForall {ι : Type u_3} {X : ιType u_4} [(i : ι) → TopologicalSpace (X i)] [∀ (i : ι), R0Space (X i)] :
R0Space ((i : ι) → X i)

In an R₀ space, the closure of a singleton is a compact set.

In an R₀ space, relatively compact sets form a bornology. Its cobounded filter is Filter.coclosedCompact. See also Bornology.inCompact the bornology of sets contained in a compact set.

Equations
theorem Set.Finite.isCompact_closure {X : Type u_1} [TopologicalSpace X] [R0Space X] {s : Set X} (hs : s.Finite) :

In an R₀ space, the closure of a finite set is a compact set.

class T1Space (X : Type u) [TopologicalSpace X] :

A T₁ space, also known as a Fréchet space, is a topological space where every singleton set is closed. Equivalently, for every pair x ≠ y, there is an open set containing x and not y.

  • t1 (x : X) : IsClosed {x}

    A singleton in a T₁ space is a closed set.

Instances
theorem isClosed_singleton {X : Type u_1} [TopologicalSpace X] [T1Space X] {x : X} :
theorem isOpen_ne {X : Type u_1} [TopologicalSpace X] [T1Space X] {x : X} :
IsOpen {y : X | y x}
theorem Continuous.isOpen_mulSupport {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] [One X] [TopologicalSpace Y] {f : YX} (hf : Continuous f) :
theorem Continuous.isOpen_support {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] [Zero X] [TopologicalSpace Y] {f : YX} (hf : Continuous f) :
theorem Ne.nhdsWithin_compl_singleton {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} (h : x y) :
theorem Ne.nhdsWithin_diff_singleton {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} (h : x y) (s : Set X) :
theorem Set.Finite.isClosed {X : Type u_1} [TopologicalSpace X] [T1Space X] {s : Set X} (hs : s.Finite) :
theorem TopologicalSpace.IsTopologicalBasis.exists_mem_of_ne {X : Type u_1} [TopologicalSpace X] [T1Space X] {b : Set (Set X)} (hb : IsTopologicalBasis b) {x y : X} (h : x y) :
ab, x a ya
theorem Finset.isClosed {X : Type u_1} [TopologicalSpace X] [T1Space X] (s : Finset X) :
theorem t1Space_TFAE (X : Type u) [TopologicalSpace X] :
[T1Space X, ∀ (x : X), IsClosed {x}, ∀ (x : X), IsOpen {x}, Continuous CofiniteTopology.of, ∀ ⦃x y : X⦄, x y{y} nhds x, ∀ ⦃x y : X⦄, x ysnhds x, ys, ∀ ⦃x y : X⦄, x y∃ (U : Set X), IsOpen U x U yU, ∀ ⦃x y : X⦄, x yDisjoint (nhds x) (pure y), ∀ ⦃x y : X⦄, x yDisjoint (pure x) (nhds y), ∀ ⦃x y : X⦄, x yx = y].TFAE
theorem t1Space_iff_exists_open {X : Type u_1} [TopologicalSpace X] :
T1Space X Pairwise fun (x y : X) => ∃ (U : Set X), IsOpen U x U yU
theorem t1Space_iff_disjoint_pure_nhds {X : Type u_1} [TopologicalSpace X] :
T1Space X ∀ ⦃x y : X⦄, x yDisjoint (pure x) (nhds y)
theorem t1Space_iff_disjoint_nhds_pure {X : Type u_1} [TopologicalSpace X] :
T1Space X ∀ ⦃x y : X⦄, x yDisjoint (nhds x) (pure y)
theorem t1Space_iff_specializes_imp_eq {X : Type u_1} [TopologicalSpace X] :
T1Space X ∀ ⦃x y : X⦄, x yx = y
theorem disjoint_pure_nhds {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} (h : x y) :
theorem disjoint_nhds_pure {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} (h : x y) :
theorem Specializes.eq {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} (h : x y) :
x = y
theorem specializes_iff_eq {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} :
x y x = y
@[simp]
theorem specializes_eq_eq {X : Type u_1} [TopologicalSpace X] [T1Space X] :
(fun (x1 x2 : X) => x1 x2) = Eq
@[simp]
theorem pure_le_nhds_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {a b : X} :
pure a nhds b a = b
@[simp]
theorem nhds_le_nhds_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {a b : X} :
nhds a nhds b a = b
@[instance 100]
theorem continuousWithinAt_update_of_ne {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] [DecidableEq X] [TopologicalSpace Y] {f : XY} {s : Set X} {x x' : X} {y : Y} (hne : x' x) :
theorem continuousAt_update_of_ne {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] [DecidableEq X] [TopologicalSpace Y] {f : XY} {x x' : X} {y : Y} (hne : x' x) :
theorem continuousOn_update_iff {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] [DecidableEq X] [TopologicalSpace Y] {f : XY} {s : Set X} {x : X} {y : Y} :
theorem t1Space_of_injective_of_continuous {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] {f : XY} (hf : Function.Injective f) (hf' : Continuous f) [T1Space Y] :
theorem Topology.IsEmbedding.t1Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space Y] {f : XY} (hf : IsEmbedding f) :
@[deprecated Topology.IsEmbedding.t1Space (since := "2024-10-26")]
theorem Embedding.t1Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space Y] {f : XY} (hf : Topology.IsEmbedding f) :

Alias of Topology.IsEmbedding.t1Space.

instance Subtype.t1Space {X : Type u} [TopologicalSpace X] [T1Space X] {p : XProp} :
instance instT1SpaceProd {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] [T1Space Y] :
T1Space (X × Y)
instance instT1SpaceForall {ι : Type u_3} {X : ιType u_4} [(i : ι) → TopologicalSpace (X i)] [∀ (i : ι), T1Space (X i)] :
T1Space ((i : ι) → X i)
@[instance 100]
instance T1Space.t0Space {X : Type u_1} [TopologicalSpace X] [T1Space X] :
@[simp]
theorem compl_singleton_mem_nhds_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} :
theorem compl_singleton_mem_nhds {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} (h : y x) :
@[simp]
theorem closure_singleton {X : Type u_1} [TopologicalSpace X] [T1Space X] {x : X} :
theorem isClosedMap_prodMk_left {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] (x : X) :
IsClosedMap fun (y : Y) => (x, y)
theorem isClosedMap_prodMk_right {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space Y] (y : Y) :
IsClosedMap fun (x : X) => (x, y)
theorem nhdsWithin_insert_of_ne {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} {s : Set X} (hxy : x y) :
theorem insert_mem_nhdsWithin_of_subset_insert {X : Type u_1} [TopologicalSpace X] [T1Space X] {x y : X} {s t : Set X} (hu : t insert y s) :

If t is a subset of s, except for one point, then insert x s is a neighborhood of x within t.

theorem eventuallyEq_insert {X : Type u_1} [TopologicalSpace X] [T1Space X] {s t : Set X} {x y : X} (h : s =ᶠ[nhdsWithin x {y}] t) :
@[simp]
theorem ker_nhds {X : Type u_1} [TopologicalSpace X] [T1Space X] (x : X) :
(nhds x).ker = {x}
theorem biInter_basis_nhds {X : Type u_1} [TopologicalSpace X] [T1Space X] {ι : Sort u_3} {p : ιProp} {s : ιSet X} {x : X} (h : (nhds x).HasBasis p s) :
⋂ (i : ι), ⋂ (_ : p i), s i = {x}
@[simp]
theorem compl_singleton_mem_nhdsSet_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {x : X} {s : Set X} :
{x} nhdsSet s xs
@[simp]
theorem nhdsSet_le_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {s t : Set X} :
@[simp]
theorem nhdsSet_inj_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {s t : Set X} :
@[simp]
theorem nhds_le_nhdsSet_iff {X : Type u_1} [TopologicalSpace X] [T1Space X] {s : Set X} {x : X} :
theorem Dense.diff_singleton {X : Type u_1} [TopologicalSpace X] [T1Space X] {s : Set X} (hs : Dense s) (x : X) [(nhdsWithin x {x}).NeBot] :
Dense (s \ {x})

Removing a non-isolated point from a dense set, one still obtains a dense set.

theorem Dense.diff_finset {X : Type u_1} [TopologicalSpace X] [T1Space X] [∀ (x : X), (nhdsWithin x {x}).NeBot] {s : Set X} (hs : Dense s) (t : Finset X) :
Dense (s \ t)

Removing a finset from a dense set in a space without isolated points, one still obtains a dense set.

theorem Dense.diff_finite {X : Type u_1} [TopologicalSpace X] [T1Space X] [∀ (x : X), (nhdsWithin x {x}).NeBot] {s : Set X} (hs : Dense s) {t : Set X} (ht : t.Finite) :
Dense (s \ t)

Removing a finite set from a dense set in a space without isolated points, one still obtains a dense set.

theorem eq_of_tendsto_nhds {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space Y] {f : XY} {x : X} {y : Y} (h : Filter.Tendsto f (nhds x) (nhds y)) :
f x = y

If a function to a T1Space tends to some limit y at some point x, then necessarily y = f x.

theorem Filter.Tendsto.eventually_ne {Y : Type u_2} {X : Type u_3} [TopologicalSpace Y] [T1Space Y] {g : XY} {l : Filter X} {b₁ b₂ : Y} (hg : Tendsto g l (nhds b₁)) (hb : b₁ b₂) :
∀ᶠ (z : X) in l, g z b₂
theorem ContinuousAt.eventually_ne {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space Y] {g : XY} {x : X} {y : Y} (hg1 : ContinuousAt g x) (hg2 : g x y) :
∀ᶠ (z : X) in nhds x, g z y
theorem eventually_ne_nhds {X : Type u_1} [TopologicalSpace X] [T1Space X] {a b : X} (h : a b) :
∀ᶠ (x : X) in nhds a, x b
theorem eventually_ne_nhdsWithin {X : Type u_1} [TopologicalSpace X] [T1Space X] {a b : X} {s : Set X} (h : a b) :
∀ᶠ (x : X) in nhdsWithin a s, x b
theorem continuousWithinAt_insert {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] {x y : X} {s : Set X} {f : XY} :
theorem ContinuousWithinAt.of_insert {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] {x y : X} {s : Set X} {f : XY} :

Alias of the forward direction of continuousWithinAt_insert.

theorem ContinuousWithinAt.insert' {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] {x y : X} {s : Set X} {f : XY} :

Alias of the reverse direction of continuousWithinAt_insert.

theorem continuousWithinAt_diff_singleton {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] {x y : X} {s : Set X} {f : XY} :

See also continuousWithinAt_diff_self for the case y = x but not requiring T1Space.

theorem continuousWithinAt_congr_set' {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space X] {x : X} {s t : Set X} {f : XY} (y : X) (h : s =ᶠ[nhdsWithin x {y}] t) :

If two sets coincide locally around x, except maybe at y, then it is equivalent to be continuous at x within one set or the other.

theorem continuousAt_of_tendsto_nhds {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [TopologicalSpace Y] [T1Space Y] {f : XY} {x : X} {y : Y} (h : Filter.Tendsto f (nhds x) (nhds y)) :

To prove a function to a T1Space is continuous at some point x, it suffices to prove that f admits some limit at x.

@[simp]
theorem tendsto_const_nhds_iff {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] {l : Filter Y} [l.NeBot] {c d : X} :
Filter.Tendsto (fun (x : Y) => c) l (nhds d) c = d
theorem isOpen_singleton_of_finite_mem_nhds {X : Type u_1} [TopologicalSpace X] [T1Space X] (x : X) {s : Set X} (hs : s nhds x) (hsf : s.Finite) :

A point with a finite neighborhood has to be isolated.

theorem infinite_of_mem_nhds {X : Type u_3} [TopologicalSpace X] [T1Space X] (x : X) [hx : (nhdsWithin x {x}).NeBot] {s : Set X} (hs : s nhds x) :

If the punctured neighborhoods of a point form a nontrivial filter, then any neighborhood is infinite.

theorem Set.Finite.continuousOn {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [T1Space X] [TopologicalSpace Y] {s : Set X} (hs : s.Finite) (f : XY) :
@[instance 100]

A non-trivial connected T1 space has no isolated points.

theorem isClosed_inter_singleton {X : Type u_1} [TopologicalSpace X] [T1Space X] {A : Set X} {a : X} :
theorem isClosed_singleton_inter {X : Type u_1} [TopologicalSpace X] [T1Space X] {A : Set X} {a : X} :
theorem singleton_mem_nhdsWithin_of_mem_discrete {X : Type u_1} [TopologicalSpace X] {s : Set X} [DiscreteTopology s] {x : X} (hx : x s) :
theorem nhdsWithin_of_mem_discrete {X : Type u_1} [TopologicalSpace X] {s : Set X} [DiscreteTopology s] {x : X} (hx : x s) :

The neighbourhoods filter of x within s, under the discrete topology, is equal to the pure x filter (which is the principal filter at the singleton {x}.)

theorem Filter.HasBasis.exists_inter_eq_singleton_of_mem_discrete {X : Type u_1} [TopologicalSpace X] {ι : Type u_3} {p : ιProp} {t : ιSet X} {s : Set X} [DiscreteTopology s] {x : X} (hb : (nhds x).HasBasis p t) (hx : x s) :
∃ (i : ι), p i t i s = {x}
theorem nhds_inter_eq_singleton_of_mem_discrete {X : Type u_1} [TopologicalSpace X] {s : Set X} [DiscreteTopology s] {x : X} (hx : x s) :
Unhds x, U s = {x}

A point x in a discrete subset s of a topological space admits a neighbourhood that only meets s at x.

theorem isOpen_inter_eq_singleton_of_mem_discrete {X : Type u_1} [TopologicalSpace X] {s : Set X} [DiscreteTopology s] {x : X} (hx : x s) :
∃ (U : Set X), IsOpen U U s = {x}

Let x be a point in a discrete subset s of a topological space, then there exists an open set that only meets s at x.

theorem disjoint_nhdsWithin_of_mem_discrete {X : Type u_1} [TopologicalSpace X] {s : Set X} [DiscreteTopology s] {x : X} (hx : x s) :
UnhdsWithin x {x}, Disjoint U s

For point x in a discrete subset s of a topological space, there is a set U such that

  1. U is a punctured neighborhood of x (ie. U ∪ {x} is a neighbourhood of x),
  2. U is disjoint from s.
theorem isClosedEmbedding_update {ι : Type u_3} {β : ιType u_4} [DecidableEq ι] [(i : ι) → TopologicalSpace (β i)] (x : (i : ι) → β i) (i : ι) [∀ (i : ι), T1Space (β i)] :
@[deprecated isClosedEmbedding_update (since := "2024-10-20")]
theorem closedEmbedding_update {ι : Type u_3} {β : ιType u_4} [DecidableEq ι] [(i : ι) → TopologicalSpace (β i)] (x : (i : ι) → β i) (i : ι) [∀ (i : ι), T1Space (β i)] :

Alias of isClosedEmbedding_update.

R₁ (preregular) spaces #

class R1Space (X : Type u_3) [TopologicalSpace X] :

A topological space is called a preregular (a.k.a. R₁) space, if any two topologically distinguishable points have disjoint neighbourhoods.

Instances
@[instance 100]
instance instR0Space {X : Type u_1} [TopologicalSpace X] [R1Space X] :
theorem specializes_iff_not_disjoint {X : Type u_1} [TopologicalSpace X] [R1Space X] {x y : X} :
x y ¬Disjoint (nhds x) (nhds y)
theorem Inseparable.of_nhds_neBot {X : Type u_1} [TopologicalSpace X] [R1Space X] {x y : X} (h : (nhds x nhds y).NeBot) :
theorem tendsto_nhds_unique_inseparable {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R1Space X] {f : YX} {l : Filter Y} {a b : X} [l.NeBot] (ha : Filter.Tendsto f l (nhds a)) (hb : Filter.Tendsto f l (nhds b)) :

Limits are unique up to separability.

A weaker version of tendsto_nhds_unique for R1Space.

theorem IsCompact.mem_closure_iff_exists_inseparable {X : Type u_1} [TopologicalSpace X] [R1Space X] {y : X} {K : Set X} (hK : IsCompact K) :
y closure K xK, Inseparable x y

In an R₁ space, a point belongs to the closure of a compact set K if and only if it is topologically inseparable from some point of K.

theorem IsCompact.closure_eq_biUnion_inseparable {X : Type u_1} [TopologicalSpace X] [R1Space X] {K : Set X} (hK : IsCompact K) :
closure K = xK, {y : X | Inseparable x y}
theorem IsCompact.closure_eq_biUnion_closure_singleton {X : Type u_1} [TopologicalSpace X] [R1Space X] {K : Set X} (hK : IsCompact K) :
closure K = xK, closure {x}

In an R₁ space, the closure of a compact set is the union of the closures of its points.

theorem IsCompact.closure_subset_of_isOpen {X : Type u_1} [TopologicalSpace X] [R1Space X] {K : Set X} (hK : IsCompact K) {U : Set X} (hU : IsOpen U) (hKU : K U) :

In an R₁ space, if a compact set K is contained in an open set U, then its closure is also contained in U.

theorem IsCompact.closure {X : Type u_1} [TopologicalSpace X] [R1Space X] {K : Set X} (hK : IsCompact K) :

The closure of a compact set in an R₁ space is a compact set.

theorem IsCompact.closure_of_subset {X : Type u_1} [TopologicalSpace X] [R1Space X] {s K : Set X} (hK : IsCompact K) (h : s K) :
@[simp]
theorem exists_isCompact_superset_iff {X : Type u_1} [TopologicalSpace X] [R1Space X] {s : Set X} :
(∃ (K : Set X), IsCompact K s K) IsCompact (closure s)
theorem SeparatedNhds.of_isCompact_isCompact_isClosed {X : Type u_1} [TopologicalSpace X] [R1Space X] {K L : Set X} (hK : IsCompact K) (hL : IsCompact L) (h'L : IsClosed L) (hd : Disjoint K L) :

If K and L are disjoint compact sets in an R₁ topological space and L is also closed, then K and L have disjoint neighborhoods.

theorem IsCompact.binary_compact_cover {X : Type u_1} [TopologicalSpace X] [R1Space X] {K U V : Set X} (hK : IsCompact K) (hU : IsOpen U) (hV : IsOpen V) (h2K : K U V) :
∃ (K₁ : Set X) (K₂ : Set X), IsCompact K₁ IsCompact K₂ K₁ U K₂ V K = K₁ K₂

If a compact set is covered by two open sets, then we can cover it by two compact subsets.

theorem IsCompact.finite_compact_cover {X : Type u_1} [TopologicalSpace X] [R1Space X] {s : Set X} (hs : IsCompact s) {ι : Type u_3} (t : Finset ι) (U : ιSet X) (hU : it, IsOpen (U i)) (hsC : s it, U i) :
∃ (K : ιSet X), (∀ (i : ι), IsCompact (K i)) (∀ (i : ι), K i U i) s = it, K i

For every finite open cover Uᵢ of a compact set, there exists a compact cover Kᵢ ⊆ Uᵢ.

theorem R1Space.of_continuous_specializes_imp {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R1Space X] [TopologicalSpace Y] {f : YX} (hc : Continuous f) (hspec : ∀ (x y : Y), f x f yx y) :
theorem Topology.IsInducing.r1Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R1Space X] [TopologicalSpace Y] {f : YX} (hf : IsInducing f) :
@[deprecated Topology.IsInducing.r1Space (since := "2024-10-28")]
theorem Inducing.r1Space {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R1Space X] [TopologicalSpace Y] {f : YX} (hf : Topology.IsInducing f) :

Alias of Topology.IsInducing.r1Space.

theorem R1Space.induced {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R1Space X] (f : YX) :
instance instR1SpaceSubtype {X : Type u_1} [TopologicalSpace X] [R1Space X] (p : XProp) :
theorem R1Space.sInf {X : Type u_3} {T : Set (TopologicalSpace X)} (hT : tT, R1Space X) :
theorem R1Space.iInf {ι : Type u_3} {X : Type u_4} {t : ιTopologicalSpace X} (ht : ∀ (i : ι), R1Space X) :
theorem R1Space.inf {X : Type u_3} {t₁ t₂ : TopologicalSpace X} (h₁ : R1Space X) (h₂ : R1Space X) :
instance instR1SpaceProd {X : Type u_1} {Y : Type u_2} [TopologicalSpace X] [R1Space X] [TopologicalSpace Y] [R1Space Y] :
R1Space (X × Y)
instance instR1SpaceForall {ι : Type u_3} {X : ιType u_4} [(i : ι) → TopologicalSpace (X i)] [∀ (i : ι), R1Space (X i)] :
R1Space ((i : ι) → X i)
theorem exists_mem_nhds_isCompact_mapsTo_of_isCompact_mem_nhds {X : Type u_3} {Y : Type u_4} [TopologicalSpace X] [TopologicalSpace Y] [R1Space Y] {f : XY} {x : X} {K : Set X} {s : Set Y} (hf : Continuous f) (hs : s nhds (f x)) (hKc : IsCompact K) (hKx : K nhds x) :
Lnhds x, IsCompact L Set.MapsTo f L s
theorem IsCompact.isCompact_isClosed_basis_nhds {X : Type u_1} [TopologicalSpace X] [R1Space X] {x : X} {L : Set X} (hLc : IsCompact L) (hxL : L nhds x) :
(nhds x).HasBasis (fun (K : Set X) => K nhds x IsCompact K IsClosed K) fun (x : Set X) => x

If a point in an R₁ space has a compact neighborhood, then it has a basis of compact closed neighborhoods.

@[simp]

In an R₁ space, the filters coclosedCompact and cocompact are equal.

@[simp]

In an R₁ space, the bornologies relativelyCompact and inCompact are equal.

Lemmas about a weakly locally compact R₁ space #

In fact, a space with these properties is locally compact and regular. Some lemmas are formulated using the latter assumptions below.

theorem isCompact_isClosed_basis_nhds {X : Type u_1} [TopologicalSpace X] [R1Space X] [WeaklyLocallyCompactSpace X] (x : X) :
(nhds x).HasBasis (fun (K : Set X) => K nhds x IsCompact K IsClosed K) fun (x : Set X) => x

In a (weakly) locally compact R₁ space, compact closed neighborhoods of a point x form a basis of neighborhoods of x.

In a (weakly) locally compact R₁ space, each point admits a compact closed neighborhood.

@[instance 80]

A weakly locally compact R₁ space is locally compact.

In a weakly locally compact R₁ space, every compact set has an open neighborhood with compact closure.

In a weakly locally compact R₁ space, every point has an open neighborhood with compact closure.