Lean library · module TopologyByExample.Theorems.SeparationVariants
Functionally Hausdorff and semiregular spaces
This file places two refinements of the separation axioms, functional Hausdorffness
(TopologyByExample.FunctionallyHausdorffSpace) and semiregularity
(TopologyByExample.SemiregularSpace), among the separation axioms already studied, and shows how
they behave under the separation quotient. Their behaviour under disjoint sums, products and
countable powers is proved with the other transfers, in TopologyByExample.Operators.Sum,
TopologyByExample.Operators.Product and TopologyByExample.Operators.CountablePower.
A completely regular T₀ space is functionally Hausdorff: it is T₁, so a point and a different
point (a closed set) are separated by a continuous function. A totally separated space is
functionally Hausdorff, through the indicator function of a clopen set. A functionally Hausdorff
space is T₂½ (Mathlib's T25Space): the preimages of small closed neighbourhoods of the two
values are closed neighbourhoods of the two points, and they are disjoint.
A regular space is semiregular: inside a closed neighbourhood t ⊆ U of a point lies the regular
open set interior (closure (interior t)). In a hyperconnected space every nonempty open set is
dense, so the only regular open sets are ∅ and the whole space; a hyperconnected semiregular
space is therefore indiscrete. In an extremally disconnected space the closure of an open set is
open, so every regular open set is clopen; an extremally disconnected semiregular space is
therefore zero-dimensional.
Main statements
TopologyByExample.functionallyHausdorffSpace_of_completelyRegularSpace_of_t0Space,TopologyByExample.functionallyHausdorffSpace_of_totallySeparatedSpace,TopologyByExample.t25Space_of_functionallyHausdorffSpace(instances).TopologyByExample.semiregularSpace_of_regularSpace(an instance),TopologyByExample.indiscreteTopology_of_preirreducibleSpace_of_semiregularSpace,TopologyByExample.zeroDimensionalSpace_of_extremallyDisconnected_of_semiregularSpace.TopologyByExample.SemiregularSpace.of_isOpenEmbedding: an open subspace of a semiregular space is semiregular.TopologyByExample.semiregularSpace_separationQuotient_iff: a space is semiregular if and only if its separation quotient is;TopologyByExample.functionallyHausdorffSpace_iff_separationQuotient: a space is functionally Hausdorff if and only if it is T₀ and its separation quotient is functionally Hausdorff.
Tags
functionally Hausdorff, Urysohn, semiregular, regular open, hyperconnected, extremally disconnected, zero-dimensional
This file was written by Claude (Anthropic's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
Functionally Hausdorff spaces
theorem of_injective_continuous
TopologyByExample.FunctionallyHausdorffSpace.of_injective_continuous
A space with a continuous injection into a functionally Hausdorff space is functionally Hausdorff.
theorem FunctionallyHausdorffSpace.of_injective_continuous [FunctionallyHausdorffSpace Y]
{f : X → Y} (hinj : Injective f) (hf : Continuous f) : FunctionallyHausdorffSpace X
Proof
:=
⟨fun _ _ hxy ↦
let ⟨g, hx, hy⟩ := FunctionallyHausdorffSpace.exists_continuousMap _ _ (hinj.ne hxy)
⟨g.comp ⟨f, hf⟩, hx, hy⟩⟩
instance functionallyHausdorffSpace_of_completelyRegularSpace_of_t0Space
TopologyByExample.functionallyHausdorffSpace_of_completelyRegularSpace_of_t0Space
A completely regular T₀ space is functionally Hausdorff: it is T₁, so a point can be separated from the closed set consisting of another point.
instance (priority := 100) functionallyHausdorffSpace_of_completelyRegularSpace_of_t0Space
[CompletelyRegularSpace X] [T0Space X] : FunctionallyHausdorffSpace X
Proof
:=
⟨fun x y hxy ↦
let ⟨f, hf, hfx, hfy⟩ := CompletelyRegularSpace.completely_regular x {y} isClosed_singleton hxy
⟨⟨f, hf⟩, hfx, hfy rfl⟩⟩
instance functionallyHausdorffSpace_of_totallySeparatedSpace
TopologyByExample.functionallyHausdorffSpace_of_totallySeparatedSpace
A totally separated space is functionally Hausdorff: the indicator function of a clopen set containing one point but not the other is continuous.
instance (priority := 100) functionallyHausdorffSpace_of_totallySeparatedSpace
[TotallySeparatedSpace X] : FunctionallyHausdorffSpace X
Proof
:= by
refine functionallyHausdorffSpace_iff_real.2 fun x y hxy ↦ ?_
obtain ⟨U, hU, hxU, hyU⟩ := exists_isClopen_of_totally_separated hxy
let g : Bool → ℝ := fun b ↦ if b then 1 else 0
refine ⟨⟨g ∘ U.boolIndicator,
continuous_of_discreteTopology.comp ((continuous_boolIndicator_iff_isClopen U).2 hU)⟩, ?_⟩
simp_all [g, Set.boolIndicator]
instance t25Space_of_functionallyHausdorffSpace
TopologyByExample.t25Space_of_functionallyHausdorffSpace
A functionally Hausdorff space is T₂½: if f x ≠ f y for a continuous real function f, the
closed neighbourhoods of x and y map into the closed neighbourhoods of f x and f y, which
are disjoint.
instance (priority := 100) t25Space_of_functionallyHausdorffSpace [FunctionallyHausdorffSpace X] :
T25Space X
Proof
:= by
refine ⟨fun x y hxy ↦ ?_⟩
obtain ⟨f, hf⟩ := functionallyHausdorffSpace_iff_real.1 ‹_› x y hxy
exact (tendsto_lift'_closure_nhds f.continuous x).disjoint (disjoint_lift'_closure_nhds.2 hf)
(tendsto_lift'_closure_nhds f.continuous y)
theorem functionallyHausdorffSpace_iff_separationQuotient
TopologyByExample.functionallyHausdorffSpace_iff_separationQuotient
A space is functionally Hausdorff if and only if it is T₀ and its separation quotient is functionally Hausdorff. (The separation quotient of any indiscrete space is a point, so T₀ cannot be dropped.)
theorem functionallyHausdorffSpace_iff_separationQuotient :
FunctionallyHausdorffSpace X ↔
FunctionallyHausdorffSpace (SeparationQuotient X) ∧ T0Space X
Proof
:= by
refine ⟨fun _ ↦ ⟨functionallyHausdorffSpace_iff_real.2 ?_, inferInstance⟩, fun ⟨_, _⟩ ↦
.of_injective_continuous (fun _ _ h ↦ (SeparationQuotient.mk_eq_mk.1 h).eq)
SeparationQuotient.continuous_mk⟩
intro p q hpq
obtain ⟨x, rfl⟩ := SeparationQuotient.surjective_mk p
obtain ⟨y, rfl⟩ := SeparationQuotient.surjective_mk q
obtain ⟨f, hf⟩ := functionallyHausdorffSpace_iff_real.1 ‹_› x y (ne_of_apply_ne _ hpq)
have hl : ∀ a b, Inseparable a b → f a = f b := fun a b h ↦ (h.map f.continuous).eq
exact ⟨⟨SeparationQuotient.lift f hl, SeparationQuotient.continuous_lift f.continuous⟩,
by simpa using hf⟩
Semiregular spaces
instance semiregularSpace_of_regularSpace
TopologyByExample.semiregularSpace_of_regularSpace
A regular space is semiregular: if t ⊆ U is a closed neighbourhood of x, then
interior (closure (interior t)) is a regular open set containing x and contained in U.
instance (priority := 100) semiregularSpace_of_regularSpace [RegularSpace X] :
SemiregularSpace X
Proof
:= by
rw [semiregularSpace_iff_isRegularOpen]
refine isTopologicalBasis_of_isOpen_of_nhds (fun _ hs ↦ IsRegularOpen.isOpen hs)
fun x U hx hU ↦ ?_
obtain ⟨t, ht, htc, htU⟩ := exists_mem_nhds_isClosed_subset (hU.mem_nhds hx)
refine ⟨interior (closure (interior t)), isRegularOpen_interior_closure _, ?_, ?_⟩
· exact interior_maximal subset_closure isOpen_interior (mem_interior_iff_mem_nhds.2 ht)
· exact (interior_mono (closure_minimal interior_subset htc)).trans (interior_subset.trans htU)
theorem indiscreteTopology_of_preirreducibleSpace_of_semiregularSpace
TopologyByExample.indiscreteTopology_of_preirreducibleSpace_of_semiregularSpace
A hyperconnected semiregular space is indiscrete: a nonempty regular open set is dense, so it is the whole space.
theorem indiscreteTopology_of_preirreducibleSpace_of_semiregularSpace [PreirreducibleSpace X]
[SemiregularSpace X] : IndiscreteTopology X
Proof
:= by
have key (U : Set X) (hU : IsOpen U) (x y : X) (hx : x ∈ U) : y ∈ U := by
obtain ⟨V, hV, hxV, hVU⟩ :=
(semiregularSpace_iff_isRegularOpen.1 ‹_›).exists_subset_of_mem_open hx hU
have hV' : IsRegularOpen V := hV
have : V = univ := calc
V = interior (closure V) := hV'.symm
_ = univ := by rw [(hV'.isOpen.dense ⟨x, hxV⟩).closure_eq, interior_univ]
exact hVU (this ▸ mem_univ y)
exact .of_forall_inseparable fun x y ↦ inseparable_iff_forall_isOpen.2 fun U hU ↦
⟨key U hU x y, key U hU y x⟩
On this site: Theorem: Hyperconnected semiregular spaces are indiscrete
theorem zeroDimensionalSpace_of_extremallyDisconnected_of_semiregularSpace
TopologyByExample.zeroDimensionalSpace_of_extremallyDisconnected_of_semiregularSpace
An extremally disconnected semiregular space is zero-dimensional: its regular open sets form a base and are clopen.
theorem zeroDimensionalSpace_of_extremallyDisconnected_of_semiregularSpace
[ExtremallyDisconnected X] [SemiregularSpace X] : ZeroDimensionalSpace X
Proof
:= by
rw [zeroDimensionalSpace_iff_isTopologicalBasis_isClopen]
exact (semiregularSpace_iff_isRegularOpen.1 ‹_›).of_isOpen_of_subset
(fun _ hs ↦ IsClopen.isOpen hs) fun _ hs ↦ IsRegularOpen.isClopen hs
On this site: Theorem: Extremally disconnected semiregular spaces are zero-dimensional
theorem of_isOpenEmbedding
TopologyByExample.SemiregularSpace.of_isOpenEmbedding
A space with an open embedding into a semiregular space is semiregular.
theorem SemiregularSpace.of_isOpenEmbedding [SemiregularSpace Y] {f : X → Y}
(hf : IsOpenEmbedding f) : SemiregularSpace X
Proof
:= by
rw [semiregularSpace_iff_isRegularOpen]
refine isTopologicalBasis_of_isOpen_of_nhds (fun _ hs ↦ IsRegularOpen.isOpen hs)
fun x U hx hU ↦ ?_
obtain ⟨V, hV, hxV, hVU⟩ := (semiregularSpace_iff_isRegularOpen.1 ‹_›).exists_subset_of_mem_open
(mem_image_of_mem f hx) (hf.isOpenMap U hU)
exact ⟨f ⁻¹' V, IsRegularOpen.preimage hf.continuous hf.isOpenMap hV, hxV,
fun y hy ↦ hf.injective.mem_set_image.1 (hVU hy)⟩
theorem semiregularSpace_separationQuotient_iff
TopologyByExample.semiregularSpace_separationQuotient_iff
A space is semiregular if and only if its separation quotient is: the quotient map is continuous, open and surjective, and the open sets of the space are exactly the preimages of the open sets of the quotient.
theorem semiregularSpace_separationQuotient_iff :
SemiregularSpace (SeparationQuotient X) ↔ SemiregularSpace X
Proof
:= by
simp only [semiregularSpace_iff_isRegularOpen]
constructor
· intro h
refine isTopologicalBasis_of_isOpen_of_nhds (fun _ hs ↦ IsRegularOpen.isOpen hs)
fun x U hx hU ↦ ?_
obtain ⟨V, hV, hxV, hVU⟩ := h.exists_subset_of_mem_open
(mem_image_of_mem SeparationQuotient.mk hx) (SeparationQuotient.isOpenMap_mk U hU)
refine ⟨SeparationQuotient.mk ⁻¹' V, isRegularOpen_preimage_mk_iff.2 hV, hxV, ?_⟩
rw [← SeparationQuotient.preimage_image_mk_open hU]
exact preimage_mono hVU
· intro h
refine isTopologicalBasis_of_isOpen_of_nhds (fun _ hs ↦ IsRegularOpen.isOpen hs) ?_
intro q U hq hU
obtain ⟨x, rfl⟩ := SeparationQuotient.surjective_mk q
obtain ⟨V, hV, hxV, hVU⟩ := h.exists_subset_of_mem_open (show x ∈ _ from hq)
(hU.preimage SeparationQuotient.continuous_mk)
refine ⟨SeparationQuotient.mk '' V, ?_, mem_image_of_mem _ hxV, image_subset_iff.2 hVU⟩
change IsRegularOpen _
rw [← isRegularOpen_preimage_mk_iff,
SeparationQuotient.preimage_image_mk_open (IsRegularOpen.isOpen hV)]
exact hV