The areas / V13. General topology
Mathlib.Topology.Separation.Hausdorff
108 declarations. Mathlib docs · Source
T₂ and T₂.₅ spaces.
This file defines the T₂ (Hausdorff) condition, which is the most commonly-used among the various separation axioms, and the related T₂.₅ condition.
Main definitions
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₂.
See Mathlib/Topology/Separation/Regular.lean for regular, T₃, etc. spaces; and
Mathlib/Topology/Separation/GDelta.lean for the definitions of PerfectlyNormalSpace and
T6Space.
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
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.
Topology.IsEmbedding.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.
References
- https://en.wikipedia.org/wiki/Separation_axiom
- [Willard's General Topology][zbMATH02107988]
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_isOpenEmbeddingsays 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.
theorem T2Quotient.lift.congr_simp E1 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [inst_2 : T2Space Y]
{f f_1 : X → Y} (e_f : f = f_1) (hf : Continuous f) (a a_1 : T2Quotient X),
a = a_1 → T2Quotient.lift hf a = T2Quotient.lift ⋯ a_1
class T2Space E3 #
(X : Type u) → [TopologicalSpace X] → Prop
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.
theorem t2Space_iff E0 #
∀ (X : Type u) [inst : TopologicalSpace X],
T2Space X ↔ Pairwise fun x y ↦ ∃ u v, IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v
ctor T2Space.mk E0 #
∀ {X : Type u} [inst : TopologicalSpace X],
(Pairwise fun x y ↦ ∃ u v, IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v) → T2Space X
theorem T2Space.t2 E1 #
∀ {X : Type u} {inst : TopologicalSpace X} [self : T2Space X],
Pairwise fun x y ↦ ∃ u v, IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v
Every two points in a Hausdorff space admit disjoint open neighbourhoods.
theorem t2_separation E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x y : X},
x ≠ y → ∃ u v, IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v
Two different points can be separated by open sets.
theorem t2Space_iff_disjoint_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X], T2Space X ↔ Pairwise fun x y ↦ Disjoint (nhds x) (nhds y)
theorem disjoint_nhds_nhds E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x y : X}, Disjoint (nhds x) (nhds y) ↔ x ≠ y
theorem pairwise_disjoint_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X], Pairwise (Function.onFun Disjoint nhds)
theorem Set.pairwiseDisjoint_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] (s : Set X), s.PairwiseDisjoint nhds
theorem Set.Finite.t2_separation E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {s : Set X},
s.Finite → ∃ U, (∀ (x : X), x ∈ U x ∧ IsOpen (U x)) ∧ s.PairwiseDisjoint U
Points of a finite set can be separated by open sets from each other.
instance T2Space.t1Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X], T1Space X
instance T2Space.r1Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X], R1Space X
theorem SeparationQuotient.t2Space_iff E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X], T2Space (SeparationQuotient X) ↔ R1Space X
instance SeparationQuotient.t2Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [R1Space X], T2Space (SeparationQuotient X)
instance instT2SpaceOfR1SpaceOfT0Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [R1Space X] [T0Space X], T2Space X
theorem R1Space.t2Space_iff_t0Space E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [R1Space X], T2Space X ↔ T0Space X
theorem t2_iff_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X], T2Space X ↔ ∀ {x y : X}, (nhds x ⊓ nhds y).NeBot → x = y
A space is T₂ iff the neighbourhoods of distinct points generate the bottom filter.
theorem t2Space_iff_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X], T2Space X ↔ Pairwise fun x y ↦ ∃ U ∈ nhds x, ∃ V ∈ nhds y, Disjoint U V
theorem t2_separation_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x y : X},
x ≠ y → ∃ u v, u ∈ nhds x ∧ v ∈ nhds y ∧ Disjoint u v
theorem t2_separation_compact_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [LocallyCompactSpace X] [T2Space X] {x y : X},
x ≠ y → ∃ u v, u ∈ nhds x ∧ v ∈ nhds y ∧ IsCompact u ∧ IsCompact v ∧ Disjoint u v
theorem t2_iff_ultrafilter E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X],
T2Space X ↔ ∀ {x y : X} (f : Ultrafilter X), ↑f ≤ nhds x → ↑f ≤ nhds y → x = y
theorem t2_iff_isClosed_diagonal E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X], T2Space X ↔ IsClosed (Set.diagonal X)
theorem isClosed_diagonal E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X], IsClosed (Set.diagonal X)
theorem t2Space_iff_of_isOpenQuotientMap E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {π : X → Y},
IsOpenQuotientMap π → (T2Space Y ↔ IsClosed {q | π q.1 = π q.2})
theorem tendsto_nhds_unique E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {f : Y → X} {l : Filter Y} {a b : X} [l.NeBot],
Filter.Tendsto f l (nhds a) → Filter.Tendsto f l (nhds b) → a = b
theorem tendsto_nhds_unique' E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {f : Y → X} {l : Filter Y} {a b : X},
l.NeBot → Filter.Tendsto f l (nhds a) → Filter.Tendsto f l (nhds b) → a = b
theorem tendsto_nhds_unique_of_eventuallyEq E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {f g : Y → X} {l : Filter Y} {a b : X}
[l.NeBot], Filter.Tendsto f l (nhds a) → Filter.Tendsto g l (nhds b) → f =ᶠ[l] g → a = b
theorem tendsto_nhds_unique_of_frequently_eq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {f g : Y → X} {l : Filter Y} {a b : X},
Filter.Tendsto f l (nhds a) → Filter.Tendsto g l (nhds b) → (∃ᶠ (x : Y) in l, f x = g x) → a = b
theorem tendsto_nhds_unique_of_forall E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {f g : Y → X} {l : Filter Y} {a b : X}
[l.NeBot], Filter.Tendsto f l (nhds a) → Filter.Tendsto g l (nhds b) → (∀ (y : Y), f y = g y) → a = b
theorem IsCompact.nhdsSet_inter_eq E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {s t : Set X},
IsCompact s → IsCompact t → nhdsSet (s ∩ t) = nhdsSet s ⊓ nhdsSet t
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.
theorem IsCompact.separation_of_notMem E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x : X} {t : Set X},
IsCompact t → x ∉ t → ∃ U V, IsOpen U ∧ IsOpen V ∧ t ⊆ U ∧ x ∈ V ∧ Disjoint U V
In a T2Space X, for a compact set t and a point x outside t, there are open sets U,
V that separate t and x.
theorem IsCompact.disjoint_nhdsSet_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x : X} {t : Set X},
IsCompact t → x ∉ t → Disjoint (nhdsSet t) (nhds x)
In a T2Space X, for a compact set t and a point x outside t, 𝓝ˢ t and 𝓝 x are
disjoint.
theorem Set.InjOn.exists_mem_nhdsSet E1 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f : X → Y}
{s : Set X},
Set.InjOn f s →
IsCompact s → (∀ x ∈ s, ContinuousAt f x) → (∀ x ∈ s, ∃ u ∈ nhds x, Set.InjOn f u) → ∃ t ∈ nhdsSet s, Set.InjOn f t
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.
theorem Set.InjOn.exists_isOpen_superset E1 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f : X → Y}
{s : Set X},
Set.InjOn f s →
IsCompact s →
(∀ x ∈ s, ContinuousAt f x) → (∀ x ∈ s, ∃ u ∈ nhds x, Set.InjOn f u) → ∃ t, IsOpen t ∧ s ⊆ t ∧ Set.InjOn f t
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.
theorem lim_eq E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {f : Filter X} {x : X} [f.NeBot], f ≤ nhds x → f.lim = x
theorem lim_eq_iff E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {f : Filter X} [f.NeBot],
(∃ x, f ≤ nhds x) → ∀ {x : X}, f.lim = x ↔ f ≤ nhds x
theorem Ultrafilter.lim_eq_iff_le_nhds E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] [CompactSpace X] {x : X} {F : Ultrafilter X},
F.lim = x ↔ ↑F ≤ nhds x
theorem isOpen_iff_ultrafilter' E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] [CompactSpace X] (U : Set X),
IsOpen U ↔ ∀ (F : Ultrafilter X), F.lim ∈ U → U ∈ ↑F
theorem Filter.Tendsto.limUnder_eq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {x : X} {f : Filter Y} [f.NeBot] {g : Y → X},
Filter.Tendsto g f (nhds x) → f.limUnder g = x
theorem Filter.limUnder_eq_iff E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] {f : Filter Y} [f.NeBot] {g : Y → X},
(∃ x, Filter.Tendsto g f (nhds x)) → ∀ {x : X}, f.limUnder g = x ↔ Filter.Tendsto g f (nhds x)
theorem Continuous.limUnder_eq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] [inst_2 : TopologicalSpace Y] {f : Y → X},
Continuous f → ∀ (y : Y), (nhds y).limUnder f = f y
theorem lim_nhds E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] (x : X), (nhds x).lim = x
theorem limUnder_nhds_id E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] (x : X), (nhds x).limUnder id = x
theorem lim_nhdsWithin E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x : X} {s : Set X}, x ∈ closure s → (nhdsWithin x s).lim = x
theorem limUnder_nhdsWithin_id E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x : X} {s : Set X},
x ∈ closure s → (nhdsWithin x s).limUnder id = x
instance DiscreteTopology.toT2Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [DiscreteTopology X], T2Space X
theorem separated_by_continuous E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f : X → Y},
Continuous f → ∀ {x y : X}, f x ≠ f y → ∃ u v, IsOpen u ∧ IsOpen v ∧ x ∈ u ∧ y ∈ v ∧ Disjoint u v
theorem separated_by_isOpenEmbedding E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {f : X → Y},
Topology.IsOpenEmbedding f → ∀ {x y : X}, x ≠ y → ∃ u v, IsOpen u ∧ IsOpen v ∧ f x ∈ u ∧ f y ∈ v ∧ Disjoint u v
instance instT2SpaceSubtype E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] {p : X → Prop} [T2Space X], T2Space (Subtype p)
instance Prod.t2Space E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] [inst_2 : TopologicalSpace Y] [T2Space Y],
T2Space (X × Y)
theorem T2Space.of_injective_continuous E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f : X → Y},
Function.Injective f → Continuous f → T2Space X
If the codomain of an injective continuous function is a Hausdorff space, then so is its domain.
theorem Topology.IsEmbedding.t2Space E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f : X → Y},
Topology.IsEmbedding f → T2Space X
If the codomain of a topological embedding is a Hausdorff space, then so is its domain.
See also T2Space.of_continuous_injective.
theorem Homeomorph.t2Space E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] (h : X ≃ₜ Y),
T2Space Y
instance ULift.instT2Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X], T2Space (ULift.{u_3, u_1} X)
instance instT2SpaceSum E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [T2Space X] [inst_2 : TopologicalSpace Y] [T2Space Y],
T2Space (X ⊕ Y)
instance Pi.t2Space E0 #
∀ {X : Type u_1} {Y : X → Type v} [inst : (a : X) → TopologicalSpace (Y a)] [∀ (a : X), T2Space (Y a)],
T2Space ((a : X) → Y a)
instance Sigma.t2Space E0 #
∀ {ι : Type u_4} {X : ι → Type u_3} [inst : (i : ι) → TopologicalSpace (X i)] [∀ (a : ι), T2Space (X a)],
T2Space ((i : ι) × X i)
def t2Setoid E1 #
(X : Type u_1) → [TopologicalSpace X] → Setoid X
The smallest equivalence relation on a topological space giving a T2 quotient.
def T2Quotient E1 #
(X : Type u_1) → [TopologicalSpace X] → Type u_1
The largest T2 quotient of a topological space. This construction is left-adjoint to the inclusion of T2 spaces into all topological spaces.
instance T2Quotient.instTopologicalSpace E0 #
{X : Type u_1} → [inst : TopologicalSpace X] → TopologicalSpace (T2Quotient X)
def T2Quotient.mk E1 #
{X : Type u_1} → [inst : TopologicalSpace X] → X → T2Quotient X
The map from a topological space to its largest T2 quotient.
theorem T2Quotient.mk_eq E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X},
T2Quotient.mk x = T2Quotient.mk y ↔ ∀ (s : Setoid X), T2Space (Quotient s) → s x y
theorem T2Quotient.surjective_mk E0 #
∀ (X : Type u_1) [inst : TopologicalSpace X], Function.Surjective T2Quotient.mk
theorem T2Quotient.continuous_mk E0 #
∀ (X : Type u_1) [inst : TopologicalSpace X], Continuous T2Quotient.mk
theorem T2Quotient.inductionOn E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] {motive : T2Quotient X → Prop} (q : T2Quotient X),
(∀ (x : X), motive (T2Quotient.mk x)) → motive q
theorem T2Quotient.inductionOn₂ E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y]
{motive : T2Quotient X → T2Quotient Y → Prop} (q : T2Quotient X) (q' : T2Quotient Y),
(∀ (x : X) (y : Y), motive (T2Quotient.mk x) (T2Quotient.mk y)) → motive q q'
instance T2Quotient.instT2Space E0 #
∀ {X : Type u_1} [inst : TopologicalSpace X], T2Space (T2Quotient X)
The largest T2 quotient of a topological space is indeed T2.
theorem T2Quotient.compatible E1 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f : X → Y},
Continuous f → ∀ (a b : X), a ≈ b → f a = f b
def T2Quotient.lift E1 #
{X : Type u_3} →
{Y : Type u_4} →
[inst : TopologicalSpace X] →
[inst_1 : TopologicalSpace Y] → [T2Space Y] → {f : X → Y} → Continuous f → T2Quotient X → Y
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 uniqueness is T2Quotient.unique_lift.
theorem T2Quotient.continuous_lift E1 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [inst_2 : T2Space Y]
{f : X → Y} (hf : Continuous f), Continuous (T2Quotient.lift hf)
theorem T2Quotient.lift_mk E0 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [inst_2 : T2Space Y]
{f : X → Y} (hf : Continuous f) (x : X), T2Quotient.lift hf (T2Quotient.mk x) = f x
theorem T2Quotient.unique_lift E1 #
∀ {X : Type u_3} {Y : Type u_4} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [inst_2 : T2Space Y]
{f : X → Y} (hf : Continuous f) {g : T2Quotient X → Y}, g ∘ T2Quotient.mk = f → g = T2Quotient.lift hf
theorem isClosed_eq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {f g : Y → X},
Continuous f → Continuous g → IsClosed {y | f y = g y}
theorem IsClosed.isClosed_eq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {f g : X → Y}
{s : Set X}, IsClosed s → ContinuousOn f s → ContinuousOn g s → IsClosed {x | x ∈ s ∧ f x = g x}
If functions f and g are continuous on a closed set s,
then the set of points x ∈ s such that f x = g x is a closed set.
theorem isOpen_ne_fun E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {f g : Y → X},
Continuous f → Continuous g → IsOpen {y | f y ≠ g y}
theorem Continuous.isClosed_graph E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {f : Y → X},
Continuous f → IsClosed (Function.graph f)
The graph of a continuous function into a Hausdorff space is closed.
theorem Set.EqOn.closure E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {s : Set Y}
{f g : Y → X}, Set.EqOn f g s → Continuous f → Continuous g → Set.EqOn f g (closure s)
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.
theorem Continuous.ext_on E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {s : Set Y},
Dense s → ∀ {f g : Y → X}, Continuous f → Continuous g → Set.EqOn f g s → f = g
If two continuous functions are equal on a dense set, then they are equal.
theorem eqOn_closure₂' E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] {Z : Type u_3} [inst_1 : TopologicalSpace Y]
[inst_2 : TopologicalSpace Z] [T2Space Z] {s : Set X} {t : Set Y} {f g : X → Y → Z},
(∀ x ∈ s, ∀ y ∈ t, f x y = g x y) →
(∀ (x : X), Continuous (f x)) →
(∀ (y : Y), Continuous fun x ↦ f x y) →
(∀ (x : X), Continuous (g x)) →
(∀ (y : Y), Continuous fun x ↦ g x y) → ∀ x ∈ closure s, ∀ y ∈ closure t, f x y = g x y
theorem eqOn_closure₂ E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] {Z : Type u_3} [inst_1 : TopologicalSpace Y]
[inst_2 : TopologicalSpace Z] [T2Space Z] {s : Set X} {t : Set Y} {f g : X → Y → Z},
(∀ x ∈ s, ∀ y ∈ t, f x y = g x y) →
Continuous (Function.uncurry f) → Continuous (Function.uncurry g) → ∀ x ∈ closure s, ∀ y ∈ closure t, f x y = g x y
theorem Set.EqOn.of_subset_closure E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {s t : Set X}
{f g : X → Y}, Set.EqOn f g s → ContinuousOn f t → ContinuousOn g t → s ⊆ t → t ⊆ closure s → Set.EqOn f g t
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.
theorem Function.LeftInverse.isClosed_range E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {f : X → Y}
{g : Y → X}, Function.LeftInverse f g → Continuous f → Continuous g → IsClosed (Set.range g)
Retract subspaces of Hausdorff spaces are closed.
theorem Function.LeftInverse.isClosedEmbedding E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space X] {f : X → Y}
{g : Y → X}, Function.LeftInverse f g → Continuous f → Continuous g → Topology.IsClosedEmbedding g
theorem SeparatedNhds.of_isCompact_isCompact E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {s t : Set X},
IsCompact s → IsCompact t → Disjoint s t → SeparatedNhds s t
theorem SeparatedNhds.of_isClosed_isCompact_closure_compl_isClosed E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [R1Space X] {s t : Set X},
IsClosed s → IsCompact (closure sᶜ) → IsClosed t → Disjoint s t → SeparatedNhds s t
In a R1Space X, for disjoint closed sets s t such that closure sᶜ is compact,
there are neighbourhoods that separate s and t.
theorem SeparatedNhds.of_finset_finset E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] (s t : Finset X), Disjoint s t → SeparatedNhds ↑s ↑t
theorem SeparatedNhds.of_finite E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {s t : Set X},
s.Finite → t.Finite → Disjoint s t → SeparatedNhds s t
theorem SeparatedNhds.of_singleton_finset E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {x : X} {s : Finset X}, x ∉ s → SeparatedNhds {x} ↑s
theorem IsCompact.isClosed E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {s : Set X}, IsCompact s → IsClosed s
In a T2Space, every compact set is closed.
theorem IsCompact.preimage_continuous E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] [T2Space Y]
{f : X → Y} {s : Set Y}, IsCompact s → Continuous f → IsCompact (f ⁻¹' s)
theorem Pi.isCompact_iff E0 #
∀ {ι : Type u_4} {X : ι → Type u_5} [inst : (i : ι) → TopologicalSpace (X i)] [∀ (i : ι), T2Space (X i)]
{s : Set ((i : ι) → X i)}, IsCompact s ↔ IsClosed s ∧ ∀ (i : ι), IsCompact (Function.eval i '' s)
theorem Pi.isCompact_closure_iff E0 #
∀ {ι : Type u_4} {X : ι → Type u_5} [inst : (i : ι) → TopologicalSpace (X i)] [∀ (i : ι), R1Space (X i)]
{s : Set ((i : ι) → X i)}, IsCompact (closure s) ↔ ∀ (i : ι), IsCompact (closure (Function.eval i '' s))
theorem exists_subset_nhds_of_isCompact E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {ι : Type u_4} [Nonempty ι] {V : ι → Set X},
Directed (fun x1 x2 ↦ x1 ⊇ x2) V → (∀ (i : ι), IsCompact (V i)) → ∀ {U : Set X}, U ∈ nhdsSet (⋂ i, V i) → ∃ i, V i ⊆ U
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.
theorem CompactExhaustion.isClosed E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] (K : CompactExhaustion X) (n : ℕ), IsClosed (K n)
theorem IsCompact.inter E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {s t : Set X}, IsCompact s → IsCompact t → IsCompact (s ∩ t)
theorem image_closure_of_isCompact E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {s : Set X},
IsCompact (closure s) → ∀ {f : X → Y}, ContinuousOn f (closure s) → f '' closure s = closure (f '' s)
theorem ContinuousAt.ne_iff_eventually_ne E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {x : X}
{f g : X → Y}, ContinuousAt f x → ContinuousAt g x → (f x ≠ g x ↔ ∀ᶠ (x : X) in nhds x, f x ≠ g x)
Two continuous maps into a Hausdorff space disagree at a point iff they disagree in a neighborhood.
theorem ContinuousAt.eventuallyEq_nhds_iff_eventuallyEq_nhdsNE E2 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [T2Space Y] {x : X}
{f g : X → Y},
ContinuousAt f x → ContinuousAt g x → ∀ [(nhdsWithin x {x}ᶜ).NeBot], f =ᶠ[nhdsWithin x {x}ᶜ] g ↔ f =ᶠ[nhds x] g
Local identity principle for continuous maps: Two continuous maps into a Hausdorff space agree in a punctured neighborhood of a non-isolated point iff they agree in a neighborhood.
theorem Continuous.isClosedMap E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] [T2Space Y]
{f : X → Y}, Continuous f → IsClosedMap f
A continuous map from a compact space to a Hausdorff space is a closed map.
theorem Continuous.isClosedEmbedding E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] [T2Space Y]
{f : X → Y}, Continuous f → Function.Injective f → Topology.IsClosedEmbedding f
A continuous injective map from a compact space to a Hausdorff space is a closed embedding.
theorem Topology.IsQuotientMap.of_surjective_continuous E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [CompactSpace X] [T2Space Y]
{f : X → Y}, Function.Surjective f → Continuous f → Topology.IsQuotientMap f
A continuous surjective map from a compact space to a Hausdorff space is a quotient map.
theorem isPreirreducible_iff_forall_mem_subset_closure_singleton E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [R1Space X] {S : Set X}, IsPreirreducible S ↔ ∀ x ∈ S, S ⊆ closure {x}
theorem isPreirreducible_iff_subsingleton E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {S : Set X}, IsPreirreducible S ↔ S.Subsingleton
theorem IsPreirreducible.subsingleton E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {S : Set X}, IsPreirreducible S → S.Subsingleton
theorem isIrreducible_iff_singleton E1 #
∀ {X : Type u_1} [inst : TopologicalSpace X] [T2Space X] {S : Set X}, IsIrreducible S ↔ ∃ x, S = {x}
theorem not_preirreducible_nontrivial_t2 E1 #
∀ (X : Type u_4) [inst : TopologicalSpace X] [PreirreducibleSpace X] [Nontrivial X] [T2Space X], False
There does not exist a nontrivial preirreducible T₂ space.
theorem t2Space_antitone E1 #
∀ {X : Type u_4}, Antitone (@T2Space X)