Separation properties of topological spaces. #
This file defines the predicate SeparatedNhds, and common separation axioms
(under the Kolmogorov classification).
Main definitions #
SeparatedNhds: TwoSets are separated by neighbourhoods if they are contained in disjoint open sets.HasSeparatingCover: A set has a countable cover that can be used withhasSeparatingCovers_iff_separatedNhdsto witness when twoSets haveSeparatedNhds.T0Space: A T₀/Kolmogorov space is a space where, for every two pointsx ≠ y, there is an open set that contains one, but not the other.R0Space: An R₀ space (sometimes called a symmetric space) is a topological space such that theSpecializesrelation is symmetric.T1Space: A T₁/Fréchet space is a space where every singleton set is closed. This is equivalent to, for every pairx ≠ y, there existing an open set containingxbut noty(t1Space_iff_exists_openshows that these conditions are equivalent.) T₁ implies T₀ and R₀.R1Space: An R₁/preregular space is a space where any two topologically distinguishable points have disjoint neighbourhoods. R₁ implies R₀.T2Space: A T₂/Hausdorff space is a space where, for every two pointsx ≠ y, there is two disjoint open sets, one containingx, and the othery. T₂ implies T₁ and R₁.T25Space: A T₂.₅/Urysohn space is a space where, for every two pointsx ≠ y, there is two open sets, one containingx, and the othery, whose closures are disjoint. T₂.₅ implies T₂.RegularSpace: A regular space is one where, given any closedCandx ∉ C, there are disjoint open sets containingxandCrespectively. Such a space is not necessarily Hausdorff.T3Space: A T₃ space is a regular T₀ space. T₃ implies T₂.₅.NormalSpace: A normal space, is one where given two disjoint closed sets, we can find two open sets that separate them. Such a space is not necessarily Hausdorff, even if it is T₀.T4Space: A T₄ space is a normal T₁ space. T₄ implies T₃.CompletelyNormalSpace: A completely normal space is one in which for any two setss,tsuch that if bothclosure sis disjoint witht, andsis disjoint withclosure t, then there exist disjoint neighbourhoods ofsandt.Embedding.completelyNormalSpaceallows us to conclude that this is equivalent to all subspaces being normal. Such a space is not necessarily Hausdorff or regular, even if it is T₀.T5Space: A T₅ space is a completely normal T₁ space. T₅ implies T₄.
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.
TODOs #
- Add perfectly normal and T6 spaces.
- Use
hasSeparatingCovers_iff_separatedNhdsto prove that perfectly normal spaces are completely normal.
Main results #
T₀ spaces #
IsClosed.exists_closed_singleton: Given a closed setSin a compact T₀ space, there is somex ∈ Ssuch that{x}is closed.exists_isOpen_singleton_of_isOpen_finite: Given an open finite setSin a T₀ space, there is somex ∈ Ssuch that{x}is open.
T₁ spaces #
isClosedMap_const: The constant map is a closed map.discrete_of_t1_of_finite: A finite T₁ space must have the discrete topology.
T₂ spaces #
t2_iff_nhds: A space is T₂ iff the neighbourhoods of distinct points generate the bottom filter.t2_iff_isClosed_diagonal: A space is T₂ iff thediagonalofX(that is, the set of all points of the form(a, a) : X × X) is closed under the product topology.separatedNhds_of_finset_finset: Any two disjoint finsets areSeparatedNhds.- Most topological constructions preserve Hausdorffness;
these results are part of the typeclass inference system (e.g.
Embedding.t2Space) Set.EqOn.closure: If two functions are equal on some sets, they are equal on its closure.IsCompact.isClosed: All compact sets are closed.WeaklyLocallyCompactSpace.locallyCompactSpace: If a topological space is both weakly locally compact (i.e., each point has a compact neighbourhood) and is T₂, then it is locally compact.totallySeparatedSpace_of_t1_of_basis_clopen: IfXhas a clopen basis, then it is aTotallySeparatedSpace.loc_compact_t2_tot_disc_iff_tot_sep: A locally compact T₂ space is totally disconnected iff it is totally separated.t2Quotient: the largest T2 quotient of a given topological space.
If the space is also compact:
normalOfCompactT2: A compact T₂ space is aNormalSpace.connectedComponent_eq_iInter_isClopen: The connected component of a point is the intersection of all its clopen neighbourhoods.compact_t2_tot_disc_iff_tot_sep: Being aTotallyDisconnectedSpaceis equivalent to being aTotallySeparatedSpace.ConnectedComponents.t2:ConnectedComponents Xis T₂ forXT₂ and compact.
Regular spaces #
If the space is also Lindelöf:
NormalSpace.of_regularSpace_lindelofSpace: every regular Lindelöf space is normal.
T₃ spaces #
disjoint_nested_nhds: Given two pointsx ≠ y, we can find neighbourhoodsx ∈ V₁ ⊆ U₁andy ∈ V₂ ⊆ U₂, with theVₖclosed and theUₖopen, such that theUₖare disjoint.
References #
- https://en.wikipedia.org/wiki/Separation_axiom
- https://en.wikipedia.org/wiki/Normal_space
- [Willard's General Topology][zbMATH02107988]
SeparatedNhds is a predicate on pairs of subSets of a topological space. It holds if the two
subSets are contained in disjoint open sets.
Equations
Instances For
Alias of the forward direction of separatedNhds_iff_disjoint.
Used to prove that a regular topological space with Lindelöf topology is a normal space, and (todo) a perfectly normal space is a completely normal space.
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 y → x = y
Two inseparable points in a T₀ space are equal.
Instances
Two inseparable points in a T₀ space are equal.
A topology Inducing map from a T₀ space is injective.
A topology Inducing map from a T₀ space is a topological embedding.
Specialization forms a partial order on a t0 topological space.
Equations
- specializationOrder X = let __src := specializationPreorder X; let __src_1 := PartialOrder.lift (⇑OrderDual.toDual ∘ nhds) ⋯; PartialOrder.mk ⋯
Instances For
Equations
- ⋯ = ⋯
Given a closed set S in a compact T₀ space, there is some x ∈ S such that {x} is
closed.
Given an open finite set S in a T₀ space, there is some x ∈ S such that {x} is open.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
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.
- specializes_symmetric : Symmetric Specializes
In an R₀ space, the
Specializesrelation is symmetric.
Instances
In an R₀ space, the Specializes relation is symmetric.
In an R₀ space, the Specializes relation is symmetric, dot notation version.
In an R₀ space, the Specializes relation is symmetric, Iff version.
In an R₀ space, Specializes is equivalent to Inseparable.
In an R₀ space, Specializes implies Inseparable.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
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
- Bornology.relativelyCompact X = { cobounded' := Filter.coclosedCompact X, le_cofinite' := ⋯ }
Instances For
In an R₀ space, the closure of a finite set is a compact set.
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
A singleton in a T₁ space is a closed set.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
If t is a subset of s, except for one point,
then insert x s is a neighborhood of x within t.
Removing a non-isolated point from a dense set, one still obtains a dense set.
Removing a finset from a dense set in a space without isolated points, one still obtains a dense set.
Removing a finite set from a dense set in a space without isolated points, one still obtains a dense set.
If a function to a T1Space tends to some limit y at some point x, then necessarily
y = f x.
To prove a function to a T1Space is continuous at some point x, it suffices to prove that
f admits some limit at x.
A point with a finite neighborhood has to be isolated.
If the punctured neighborhoods of a point form a nontrivial filter, then any neighborhood is infinite.
A non-trivial connected T1 space has no isolated points.
Equations
- ⋯ = ⋯
Alias of IsGδ.compl_singleton.
Alias of IsGδ.singleton.
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}.)
A point x in a discrete subset s of a topological space admits a neighbourhood
that only meets s at 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.
For point x in a discrete subset s of a topological space, there is a set U
such that
Uis a punctured neighborhood ofx(ie.U ∪ {x}is a neighbourhood ofx),Uis disjoint froms.
R₁ (preregular) spaces #
Equations
- ⋯ = ⋯
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.
In an R₁ space, the closure of a compact set is the union of the closures of its points.
The closure of a compact set in an R₁ space is a compact set.
Alias of IsCompact.closure_of_subset.
Alias of exists_isCompact_superset_iff.
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.
Alias of SeparatedNhds.of_isCompact_isCompact_isClosed.
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.
For every finite open cover Uᵢ of a compact set, there exists a compact cover Kᵢ ⊆ Uᵢ.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
If a point in an R₁ space has a compact neighborhood, then it has a basis of compact closed neighborhoods.
In an R₁ space, the filters coclosedCompact and cocompact are equal.
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.
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.
A weakly locally compact R₁ space is locally compact.
Equations
- ⋯ = ⋯
In a weakly locally compact R₁ space, every compact set has an open neighborhood with compact closure.
Alias of exists_isOpen_superset_and_isCompact_closure.
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.
Alias of exists_isOpen_mem_isCompact_closure.
In a weakly locally compact R₁ space, every point has an open neighborhood with compact closure.
A T₂ space, also known as a Hausdorff space, is one in which for every
x ≠ y there exists disjoint open sets around x and y. This is
the most widely used of the separation axioms.
- t2 : Pairwise fun (x y : X) => ∃ (u : Set X) (v : Set X), IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v
Every two points in a Hausdorff space admit disjoint open neighbourhoods.
Instances
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
A space is T₂ iff the neighbourhoods of distinct points generate the bottom filter.
If s and t are compact sets in a T₂ space, then the set neighborhoods filter of s ∩ t
is the infimum of set neighborhoods filters for s and t.
For general sets, only the ≤ inequality holds, see nhdsSet_inter_le.
If a function f is
- injective on a compact set
s; - continuous at every point of this set;
- injective on a neighborhood of each point of this set,
then it is injective on a neighborhood of this set.
If a function f is
- injective on a compact set
s; - continuous at every point of this set;
- injective on a neighborhood of each point of this set,
then it is injective on an open neighborhood of this set.
Properties of lim and limUnder #
In this section we use explicit Nonempty X instances for lim and limUnder. This way the lemmas
are useful without a Nonempty X instance.
T2Space constructions #
We use two lemmas to prove that various standard constructions generate Hausdorff spaces from Hausdorff spaces:
separated_by_continuoussays that two pointsx y : Xcan be separated by open neighborhoods provided that there exists a continuous mapf : X → Ywith a Hausdorff codomain such thatf x ≠ f y. We use this lemma to prove that topological spaces defined usinginducedare Hausdorff spaces.separated_by_openEmbeddingsays that for an open embeddingf : X → Yof a Hausdorff spaceX, the images of two distinct pointsx y : X,x ≠ ycan be separated by open neighborhoods. We use this lemma to prove that topological spaces defined usingcoinducedare Hausdorff spaces.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
If the codomain of an injective continuous function is a Hausdorff space, then so is its domain.
If the codomain of a topological embedding is a Hausdorff space, then so is its domain.
See also T2Space.of_continuous_injective.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
The largest T2 quotient of a topological space. This construction is left-adjoint to the inclusion of T2 spaces into all topological spaces.
Equations
- t2Quotient X = Quotient (t2Setoid X)
Instances For
Equations
- t2Quotient.instTopologicalSpace = inferInstanceAs (TopologicalSpace (Quotient (t2Setoid X)))
The map from a topological space to its largest T2 quotient.
Equations
- t2Quotient.mk = Quotient.mk (t2Setoid X)
Instances For
The largest T2 quotient of a topological space is indeed T2.
Equations
- ⋯ = ⋯
The universal property of the largest T2 quotient of a topological space X: any continuous
map from X to a T2 space Y uniquely factors through t2Quotient X. This declaration builds the
factored map. Its continuity is t2Quotient.continuous_lift, the fact that it indeed factors the
original map is t2Quotient.lift_mk and uniquenes is t2Quotient.unique_lift.
Equations
- t2Quotient.lift hf = Quotient.lift f ⋯
Instances For
If two continuous maps are equal on s, then they are equal on the closure of s. See also
Set.EqOn.of_subset_closure for a more general version.
If two continuous functions are equal on a dense set, then they are equal.
If f x = g x for all x ∈ s and f, g are continuous on t, s ⊆ t ⊆ closure s, then
f x = g x for all x ∈ t. See also Set.EqOn.closure.
Alias of Function.LeftInverse.isClosed_range.
Alias of SeparatedNhds.of_isCompact_isCompact.
Alias of SeparatedNhds.of_finset_finset.
Alias of SeparatedNhds.of_singleton_finset.
In a T2Space, every compact set is closed.
If V : ι → Set X is a decreasing family of compact sets then any neighborhood of
⋂ i, V i contains some V i. This is a version of exists_subset_nhds_of_isCompact' where we
don't need to assume each V i closed because it follows from compactness since X is
assumed to be Hausdorff.
A continuous map from a compact space to a Hausdorff space is a closed map.
A continuous injective map from a compact space to a Hausdorff space is a closed embedding.
A continuous surjective map from a compact space to a Hausdorff space is a quotient map.
There does not exist a nontrivial preirreducible T₂ space.
A topological space is called a regular space if for any closed set s and a ∉ s, there
exist disjoint open sets U ⊇ s and V ∋ a. We formulate this condition in terms of Disjointness
of filters 𝓝ˢ s and 𝓝 a.
If
ais a point that does not belong to a closed sets, thenaandsadmit disjoint neighborhoods.
Instances
If a is a point that does not belong to a closed set s, then a and s admit disjoint
neighborhoods.
Alias of RegularSpace.of_lift'_closure.
Alias of RegularSpace.of_hasBasis.
A weakly locally compact R₁ space is regular.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
In a regular space, if a compact set and a closed set are disjoint, then they have disjoint neighborhoods.
Alias of SeparatedNhds.of_isCompact_isClosed.
In a regular space, if a compact set and a closed set are disjoint, then they have disjoint neighborhoods.
This technique to witness HasSeparatingCover in regular Lindelöf topological spaces
will be used to prove regular Lindelöf spaces are normal.
In a (possibly non-Hausdorff) locally compact regular space, for every containment K ⊆ U of
a compact set K in an open set U, there is a compact closed neighborhood L
such that K ⊆ L ⊆ U: equivalently, there is a compact closed set L such
that K ⊆ interior L and L ⊆ U.
In a locally compact regular space, given a compact set K inside an open set U, we can find
an open set V between these sets with compact closure: K ⊆ V and the closure of V is
inside U.
A T₂.₅ space, also known as a Urysohn space, is a topological space
where for every pair x ≠ y, there are two open sets, with the intersection of closures
empty, one containing x and the other y .
Given two distinct points in a T₂.₅ space, their filters of closed neighborhoods are disjoint.
Instances
Given two distinct points in a T₂.₅ space, their filters of closed neighborhoods are disjoint.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
A T₃ space is a T₀ space which is a regular space. Any T₃ space is a T₁ space, a T₂ space, and a T₂.₅ space.
Instances
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Given two points x ≠ y, we can find neighbourhoods x ∈ V₁ ⊆ U₁ and y ∈ V₂ ⊆ U₂,
with the Vₖ closed and the Uₖ open, such that the Uₖ are disjoint.
The SeparationQuotient of a regular space is a T₃ space.
Equations
- ⋯ = ⋯
A topological space is said to be a normal space if any two disjoint closed sets have disjoint open neighborhoods.
- normal : ∀ (s t : Set X), IsClosed s → IsClosed t → Disjoint s t → SeparatedNhds s t
Two disjoint sets in a normal space admit disjoint neighbourhoods.
Instances
Two disjoint sets in a normal space admit disjoint neighbourhoods.
If the codomain of a closed embedding is a normal space, then so is the domain.
Equations
- ⋯ = ⋯
A regular topological space with a Lindelöf topology is a normal space. A consequence of e.g. Corollaries 20.8 and 20.10 of [Willard's General Topology][zbMATH02107988] (without the assumption of Hausdorff).
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
A T₄ space is a normal T₁ space.
Instances
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
If the codomain of a closed embedding is a T₄ space, then so is the domain.
Equations
- ⋯ = ⋯
The SeparationQuotient of a normal space is a normal space.
Equations
- ⋯ = ⋯
A topological space X is a completely normal space provided that for any two sets s, t
such that if both closure s is disjoint with t, and s is disjoint with closure t,
then there exist disjoint neighbourhoods of s and t.
Instances
If closure s is disjoint with t, and s is disjoint with closure t, then s and t
admit disjoint neighbourhoods.
A completely normal space is a normal space.
Equations
- ⋯ = ⋯
A subspace of a completely normal space is a completely normal space.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
A T₅ space is a normal T₁ space.
Instances
A subspace of a T₅ space is a T₅ space.
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
The SeparationQuotient of a completely normal R₀ space is a T₅ space.
Equations
- ⋯ = ⋯
In a compact T₂ space, the connected component of a point equals the intersection of all its clopen neighbourhoods.
A T1 space with a clopen basis is totally separated.
A compact Hausdorff space is totally disconnected if and only if it is totally separated, this is also true for locally compact spaces.
A totally disconnected compact Hausdorff space is totally separated.
Equations
- ⋯ = ⋯
Every member of an open set in a compact Hausdorff totally disconnected space is contained in a clopen set contained in the open set.
A locally compact Hausdorff totally disconnected space has a basis with clopen elements.
A locally compact Hausdorff space is totally disconnected if and only if it is totally separated.
ConnectedComponents X is Hausdorff when X is Hausdorff and compact
Equations
- ⋯ = ⋯