Lean library · module TopologyByExample.Operators.ClosedExtension
The closed extension of a space
The closed extension of a topological space X is X with one new point p adjoined, whose
nonempty open sets are the sets U ∪ {p} with U open in X. Equivalently, a set is open if
its trace on X is open in X and it contains p as soon as it is nonempty.
The new point is open and dense, and X sits inside the closed extension as a closed subspace (the
complement of the new point). Since every point lies in the closure of the new point, the closed
extension of a nonempty space is never T₁, and in particular never Hausdorff.
The closed extension has many properties of X exactly: it is first countable, second countable,
Lindelöf, compact, σ-compact, countably compact, sequentially compact or weakly locally compact if
and only if X is. It is always separable, whatever X is, since the new point is dense.
Main definitions
TopologyByExample.ClosedExtension X: the closed extension ofX, with its topology.TopologyByExample.ClosedExtension.point: the new point.TopologyByExample.ClosedExtension.some: the inclusion ofX, also available as a coercion.
Main statements
TopologyByExample.ClosedExtension.isClosedEmbedding_some:Xis a closed subspace.TopologyByExample.ClosedExtension.isOpen_singleton_point,TopologyByExample.ClosedExtension.dense_singleton_point: the new point is open and dense.TopologyByExample.ClosedExtension.nhds_some: the neighbourhoods of a point ofXare the sets that contain the new point and whose trace onXis a neighbourhood of the point inX.TopologyByExample.ClosedExtension.not_t2Space: the closed extension of a nonempty space is not Hausdorff.TopologyByExample.ClosedExtension.firstCountableTopology_iff,secondCountableTopology_iff,lindelofSpace_iff,compactSpace_iff,sigmaCompactSpace_iff,countablyCompactSpace_iff,seqCompactSpace_iff,weaklyLocallyCompactSpace_iff: the properties that the closed extension shares withX.TopologyByExample.ClosedExtension.instPreirreducibleSpace,TopologyByExample.ClosedExtension.ultraconnectedSpace_iff,TopologyByExample.ClosedExtension.scatteredSpace_iff,TopologyByExample.ClosedExtension.not_isMeagre_univ: the closed extension is hyperconnected and of second category, and ultraconnected or scattered exactly when the space is.TopologyByExample.ClosedExtension.instAlexandrovDiscrete: the closed extension of an Alexandrov space is Alexandrov.TopologyByExample.ClosedExtension.instFinite,instCountable,instInfinite,instUncountable: the closed extension has one point more thanX.
Separation axioms
The closed extension is T₀ if and only if X is
(TopologyByExample.ClosedExtension.t0Space_iff). If X is nonempty it is not R₀
(TopologyByExample.ClosedExtension.not_r0Space), hence not T₁, regular, completely regular or
perfectly normal; and it is normal if and only if no two disjoint
closed sets of X are both nonempty (TopologyByExample.ClosedExtension.normalSpace_iff), so not
normal when X is a T₁ space with two points (TopologyByExample.ClosedExtension.not_normalSpace).
Connectedness properties
The closed extension of any space is path connected and locally path connected (hence connected and
locally connected), because its new point lies in every nonempty open set
(TopologyByExample.ClosedExtension.instPathPreconnectedSpace,
TopologyByExample.ClosedExtension.instLocallyPathConnectedSpace). If X is nonempty, the closed
extension is not T₁, so not totally disconnected or totally separated, and it is not
zero-dimensional (TopologyByExample.ClosedExtension.not_totallyDisconnectedSpace, ...). The
closed extension of X is hereditarily connected if and only if X is
(TopologyByExample.ClosedExtension.hereditarilyConnectedSpace_iff): its open sets are ∅ and
the open sets of X with the new point added, and these form a chain when the open sets of X do.
References
Steen and Seebach, Counterexamples in Topology, Example 12, item 20, where the construction
gets its name: X is a closed subspace of its closed extension, and the closed sets other than the
whole space are exactly the closed sets of X. The particular point topologies are the closed
extensions of discrete spaces. The open extension (Example 16, item 8;
TopologyByExample.OpenExtension) instead adjoins a point whose only open neighbourhood is the
whole space, so that X is an open subspace.
Tags
closed extension, particular point, adjoining a point
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.
Imports
- Mathlib.Topology.AlexandrovDiscrete
- Mathlib.Topology.Bases
- Mathlib.Topology.Compactness.CountablyCompact
- Mathlib.Topology.Compactness.Lindelof
- Mathlib.Topology.Compactness.LocallyCompact
- Mathlib.Topology.Compactness.SigmaCompact
- Mathlib.Topology.Sequences
- TopologyByExample.Theorems.Category
- TopologyByExample.Theorems.Compactness
- TopologyByExample.Theorems.CompactnessVariants
- TopologyByExample.Theorems.Connectedness
- TopologyByExample.Theorems.ConnectednessExtremes
- TopologyByExample.Theorems.CountableChainCondition
- TopologyByExample.Theorems.Disconnectedness
- TopologyByExample.Theorems.GridProperties
- TopologyByExample.Theorems.Paracompactness
- TopologyByExample.Theorems.Separation
- TopologyByExample.Theorems.SeparationVariants
- TopologyByExample.Theorems.SmallClasses
definition ClosedExtension
TopologyByExample.ClosedExtension
The closed extension of X: X with one new point adjoined, whose nonempty open sets are the
open sets of X with the new point added. The topology is the instance
ClosedExtension.instTopologicalSpace.
def ClosedExtension (X : Type*) : Type _
:= Option X
variable {X : Type*}
definition point
TopologyByExample.ClosedExtension.point
The new point of the closed extension.
@[match_pattern] def point : ClosedExtension X
:= Option.none
definition some
TopologyByExample.ClosedExtension.some
The inclusion of X in its closed extension.
@[coe, match_pattern] def some : X → ClosedExtension X
:= Option.some
instance
The points of X are points of its closed extension.
instance : CoeTC X (ClosedExtension X)
Proof
:= ⟨some⟩
instance
The closed extension always has a point, the new one.
instance : Inhabited (ClosedExtension X)
Proof
:= ⟨point⟩
definition rec
TopologyByExample.ClosedExtension.rec
Recursor for ClosedExtension using the forms point and ↑x.
@[elab_as_elim, induction_eliminator, cases_eliminator]
protected def rec {C : ClosedExtension X → Sort*} (point : C point) (coe : ∀ x : X, C x) :
∀ z : ClosedExtension X, C z
| Option.none => point
| Option.some x => coe x
theorem some_injective
TopologyByExample.ClosedExtension.some_injective
The inclusion of X in its closed extension is injective.
theorem some_injective : Function.Injective (some : X → ClosedExtension X)
Proof
:=
Option.some_injective X
theorem some_inj
TopologyByExample.ClosedExtension.some_inj
Two points of X are equal in the closed extension if and only if they are equal.
@[simp, norm_cast]
theorem some_inj {x y : X} : (x : ClosedExtension X) = y ↔ x = y
Proof
:=
some_injective.eq_iff
theorem some_ne_point
TopologyByExample.ClosedExtension.some_ne_point
A point of X is not the new point.
@[simp]
theorem some_ne_point (x : X) : (x : ClosedExtension X) ≠ point
Proof
:=
nofun
theorem point_ne_some
TopologyByExample.ClosedExtension.point_ne_some
The new point is not a point of X.
@[simp]
theorem point_ne_some (x : X) : point ≠ (x : ClosedExtension X)
Proof
:=
nofun
theorem range_some
TopologyByExample.ClosedExtension.range_some
The points of X are exactly the points other than the new one.
theorem range_some : range (some : X → ClosedExtension X) = {point}ᶜ
Proof
:= by
ext z
cases z with
| point => simp
| coe x => simp
theorem insert_point_range_some
TopologyByExample.ClosedExtension.insert_point_range_some
The closed extension is the inclusion of X with the new point inserted.
theorem insert_point_range_some : insert point (range (some : X → ClosedExtension X)) = univ
Proof
:= by
rw [range_some, insert_eq, union_compl_self]
theorem preimage_some_insert_point
TopologyByExample.ClosedExtension.preimage_some_insert_point
The preimage of a set with the new point inserted is the preimage of the set.
@[simp]
theorem preimage_some_insert_point (s : Set (ClosedExtension X)) :
some ⁻¹' insert point s = some ⁻¹' s
Proof
:= by
ext; simp
theorem preimage_some_image_some
TopologyByExample.ClosedExtension.preimage_some_image_some
The trace on X of the image of a set of X is the set.
@[simp]
theorem preimage_some_image_some (s : Set X) : some ⁻¹' (some '' s : Set (ClosedExtension X)) = s
Proof
:=
some_injective.preimage_image s
variable [TopologicalSpace X]
instance instTopologicalSpace
TopologyByExample.ClosedExtension.instTopologicalSpace
The topology of the closed extension: a set is open if its trace on X is open and it contains
the new point whenever it is nonempty.
instance instTopologicalSpace : TopologicalSpace (ClosedExtension X)
Proof
where
IsOpen s := IsOpen (some ⁻¹' s) ∧ (s.Nonempty → point ∈ s)
isOpen_univ := ⟨isOpen_univ, fun _ ↦ mem_univ _⟩
isOpen_inter s t hs ht :=
⟨hs.1.inter ht.1, fun ⟨_, hzs, hzt⟩ ↦ ⟨hs.2 ⟨_, hzs⟩, ht.2 ⟨_, hzt⟩⟩⟩
isOpen_sUnion S hS := by
refine ⟨?_, fun ⟨z, s, hs, hz⟩ ↦ ⟨s, hs, (hS s hs).2 ⟨z, hz⟩⟩⟩
rw [preimage_sUnion]
exact isOpen_biUnion fun s hs ↦ (hS s hs).1
theorem isOpen_iff
TopologyByExample.ClosedExtension.isOpen_iff
A set is open if and only if its trace on X is open and, if it is nonempty, it contains the
new point.
theorem isOpen_iff {s : Set (ClosedExtension X)} :
IsOpen s ↔ IsOpen (some ⁻¹' s) ∧ (s.Nonempty → point ∈ s)
Proof
:=
Iff.rfl
theorem isOpen_iff_of_point_mem
TopologyByExample.ClosedExtension.isOpen_iff_of_point_mem
A set containing the new point is open if and only if its trace on X is open.
theorem isOpen_iff_of_point_mem {s : Set (ClosedExtension X)} (hs : point ∈ s) :
IsOpen s ↔ IsOpen (some ⁻¹' s)
Proof
:=
⟨And.left, fun h ↦ ⟨h, fun _ ↦ hs⟩⟩
theorem point_mem_of_isOpen
TopologyByExample.ClosedExtension.point_mem_of_isOpen
A nonempty open set contains the new point.
theorem point_mem_of_isOpen {s : Set (ClosedExtension X)} (hs : IsOpen s) (hne : s.Nonempty) :
point ∈ s
Proof
:=
hs.2 hne
theorem isOpen_insert_point_image
TopologyByExample.ClosedExtension.isOpen_insert_point_image
An open set of X with the new point added is open.
theorem isOpen_insert_point_image {U : Set X} (hU : IsOpen U) :
IsOpen (insert point (some '' U))
Proof
:=
(isOpen_iff_of_point_mem (mem_insert _ _)).2 (by simpa using hU)
theorem isOpen_singleton_point
TopologyByExample.ClosedExtension.isOpen_singleton_point
The new point is open.
theorem isOpen_singleton_point : IsOpen ({point} : Set (ClosedExtension X))
Proof
:= by
simpa using isOpen_insert_point_image (X := X) isOpen_empty
theorem nhds_point
TopologyByExample.ClosedExtension.nhds_point
The neighbourhoods of the new point are the sets containing it.
theorem nhds_point : 𝓝 (point : ClosedExtension X) = pure point
Proof
:=
(isOpen_singleton_iff_nhds_eq_pure _).1 isOpen_singleton_point
theorem continuous_some
TopologyByExample.ClosedExtension.continuous_some
The inclusion of X in its closed extension is continuous.
theorem continuous_some : Continuous (some : X → ClosedExtension X)
Proof
:=
⟨fun _ hs ↦ hs.1⟩
theorem isEmbedding_some
TopologyByExample.ClosedExtension.isEmbedding_some
X is a subspace of its closed extension.
theorem isEmbedding_some : IsEmbedding (some : X → ClosedExtension X)
Proof
:= by
refine ⟨⟨?_⟩, some_injective⟩
ext U
refine ⟨fun hU ↦ ⟨_, isOpen_insert_point_image hU, by simp⟩, ?_⟩
rintro ⟨s, hs, rfl⟩
exact hs.1
theorem isClosed_range_some
TopologyByExample.ClosedExtension.isClosed_range_some
The points of X form a closed set.
theorem isClosed_range_some : IsClosed (range (some : X → ClosedExtension X))
Proof
:= by
rw [range_some, isClosed_compl_iff]
exact isOpen_singleton_point
theorem isClosedEmbedding_some
TopologyByExample.ClosedExtension.isClosedEmbedding_some
X is a closed subspace of its closed extension.
theorem isClosedEmbedding_some : IsClosedEmbedding (some : X → ClosedExtension X)
Proof
:=
⟨isEmbedding_some, isClosed_range_some⟩
On this site: Theorem: A space is a closed subspace of its closed extension
theorem dense_singleton_point
TopologyByExample.ClosedExtension.dense_singleton_point
Every nonempty open set contains the new point.
theorem dense_singleton_point : Dense ({point} : Set (ClosedExtension X))
Proof
:=
dense_iff_inter_open.2 fun _ hU hne ↦ ⟨point, point_mem_of_isOpen hU hne, rfl⟩
On this site: Theorem: The new point of a closed extension is dense
theorem closure_singleton_point
TopologyByExample.ClosedExtension.closure_singleton_point
Every point lies in the closure of the new point.
theorem closure_singleton_point : closure ({point} : Set (ClosedExtension X)) = univ
Proof
:=
dense_singleton_point.closure_eq
theorem point_specializes
TopologyByExample.ClosedExtension.point_specializes
The new point specializes to every point.
theorem point_specializes (z : ClosedExtension X) : (point : ClosedExtension X) ⤳ z
Proof
:=
specializes_iff_mem_closure.2 ((closure_singleton_point (X := X)).symm ▸ mem_univ z)
theorem mem_nhds_some
TopologyByExample.ClosedExtension.mem_nhds_some
A set is a neighbourhood of a point of X in the closed extension if and only if it contains
the new point and its trace on X is a neighbourhood of the point.
theorem mem_nhds_some {x : X} {s : Set (ClosedExtension X)} :
s ∈ 𝓝 (x : ClosedExtension X) ↔ some ⁻¹' s ∈ 𝓝 x ∧ point ∈ s
Proof
:= by
refine ⟨fun hs ↦ ⟨continuous_some.continuousAt hs, ?_⟩, fun ⟨hs, hp⟩ ↦ ?_⟩
· obtain ⟨t, hts, ht, hxt⟩ := mem_nhds_iff.1 hs
exact hts (point_mem_of_isOpen ht ⟨_, hxt⟩)
· obtain ⟨U, hUs, hU, hxU⟩ := mem_nhds_iff.1 hs
refine mem_nhds_iff.2 ⟨_, ?_, isOpen_insert_point_image hU, mem_insert_of_mem _ ⟨x, hxU, rfl⟩⟩
exact insert_subset hp (image_subset_iff.2 hUs)
theorem nhds_some
TopologyByExample.ClosedExtension.nhds_some
The neighbourhood filter of a point of X in its closed extension.
theorem nhds_some (x : X) : 𝓝 (x : ClosedExtension X) = map some (𝓝 x) ⊔ pure point
Proof
:= by
ext s
rw [mem_nhds_some, mem_sup, mem_map, mem_pure]
theorem not_t1Space
TopologyByExample.ClosedExtension.not_t1Space
The closed extension of a nonempty space is not T₁.
theorem not_t1Space [Nonempty X] : ¬T1Space (ClosedExtension X)
Proof
:= fun _ ↦
point_ne_some (Classical.arbitrary X) (point_specializes (X := X) _).eq
theorem not_t2Space
TopologyByExample.ClosedExtension.not_t2Space
The closed extension of a nonempty space is not Hausdorff.
theorem not_t2Space [Nonempty X] : ¬T2Space (ClosedExtension X)
Proof
:= fun _ ↦
not_t1Space (X := X) inferInstance
On this site: Theorem: The closed extension of a nonempty space is not Hausdorff
Properties shared with X
instance
The closed extension of any space is separable: the new point is dense.
instance : SeparableSpace (ClosedExtension X)
Proof
:=
⟨⟨{point}, countable_singleton _, dense_singleton_point⟩⟩
instance
The closed extension of a first countable space is first countable.
instance [FirstCountableTopology X] : FirstCountableTopology (ClosedExtension X)
Proof
where
nhds_generated_countable
| .point => by rw [nhds_point]; infer_instance
| (x : X) => by rw [nhds_some]; infer_instance
theorem firstCountableTopology_iff
TopologyByExample.ClosedExtension.firstCountableTopology_iff
The closed extension of X is first countable if and only if X is.
theorem firstCountableTopology_iff :
FirstCountableTopology (ClosedExtension X) ↔ FirstCountableTopology X
Proof
:=
⟨fun _ ↦ isEmbedding_some.firstCountableTopology, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is first countable iff the space is
instance
The closed extension of a second countable space is second countable.
instance [SecondCountableTopology X] : SecondCountableTopology (ClosedExtension X)
Proof
:= by
refine IsTopologicalBasis.secondCountableTopology
(b := insert {point} ((fun U ↦ insert point (some '' U)) '' countableBasis X)) ?_
(((countable_countableBasis X).image _).insert _)
refine isTopologicalBasis_of_isOpen_of_nhds ?_ fun z u hzu hu ↦ ?_
· rintro _ (rfl | ⟨U, hU, rfl⟩)
exacts [isOpen_singleton_point, isOpen_insert_point_image (isOpen_of_mem_countableBasis hU)]
· cases z with
| point => exact ⟨{point}, mem_insert _ _, rfl, singleton_subset_iff.2 hzu⟩
| coe x =>
obtain ⟨U, hU, hxU, hUu⟩ :=
(isBasis_countableBasis X).exists_subset_of_mem_open (mem_preimage.2 hzu) hu.1
exact ⟨_, mem_insert_of_mem _ ⟨U, hU, rfl⟩, mem_insert_of_mem _ ⟨x, hxU, rfl⟩,
insert_subset (point_mem_of_isOpen hu ⟨_, hzu⟩) (image_subset_iff.2 hUu)⟩
theorem secondCountableTopology_iff
TopologyByExample.ClosedExtension.secondCountableTopology_iff
The closed extension of X is second countable if and only if X is.
theorem secondCountableTopology_iff :
SecondCountableTopology (ClosedExtension X) ↔ SecondCountableTopology X
Proof
:=
⟨fun _ ↦ isEmbedding_some.isInducing.secondCountableTopology, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is second countable iff the space is
instance
The closed extension of a Lindelöf space is Lindelöf.
instance [LindelofSpace X] : LindelofSpace (ClosedExtension X)
Proof
:= by
rw [← isLindelof_univ_iff, ← insert_point_range_some]
exact (isLindelof_range continuous_some).insert _
theorem lindelofSpace_iff
TopologyByExample.ClosedExtension.lindelofSpace_iff
The closed extension of X is Lindelöf if and only if X is.
theorem lindelofSpace_iff : LindelofSpace (ClosedExtension X) ↔ LindelofSpace X
Proof
:=
⟨fun _ ↦ isClosedEmbedding_some.LindelofSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is Lindelöf iff the space is
instance
The closed extension of a compact space is compact.
instance [CompactSpace X] : CompactSpace (ClosedExtension X)
Proof
:= by
rw [← isCompact_univ_iff, ← insert_point_range_some]
exact (isCompact_range continuous_some).insert _
theorem compactSpace_iff
TopologyByExample.ClosedExtension.compactSpace_iff
The closed extension of X is compact if and only if X is.
theorem compactSpace_iff : CompactSpace (ClosedExtension X) ↔ CompactSpace X
Proof
:=
⟨fun _ ↦ isClosedEmbedding_some.compactSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is compact iff the space is
instance
The closed extension of a σ-compact space is σ-compact.
instance [SigmaCompactSpace X] : SigmaCompactSpace (ClosedExtension X)
Proof
:= by
refine ⟨⟨fun n ↦ insert point (some '' compactCovering X n),
fun n ↦ ((isCompact_compactCovering X n).image continuous_some).insert _, ?_⟩⟩
refine eq_univ_of_forall fun z ↦ ?_
cases z with
| point => exact mem_iUnion.2 ⟨0, mem_insert _ _⟩
| coe x =>
obtain ⟨n, hn⟩ := mem_iUnion.1 (iUnion_compactCovering X ▸ mem_univ x)
exact mem_iUnion.2 ⟨n, mem_insert_of_mem _ ⟨x, hn, rfl⟩⟩
theorem sigmaCompactSpace_iff
TopologyByExample.ClosedExtension.sigmaCompactSpace_iff
The closed extension of X is σ-compact if and only if X is.
theorem sigmaCompactSpace_iff : SigmaCompactSpace (ClosedExtension X) ↔ SigmaCompactSpace X
Proof
:=
⟨fun _ ↦ isClosedEmbedding_some.sigmaCompactSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is σ-compact iff the space is
instance
The closed extension of a countably compact space is countably compact.
instance [CountablyCompactSpace X] : CountablyCompactSpace (ClosedExtension X)
Proof
:= by
rw [← isCountablyCompact_univ_iff, ← insert_point_range_some, insert_eq, ← image_univ]
exact isCountablyCompact_singleton.union
((isCountablyCompact_univ_iff.2 ‹_›).image continuous_some)
theorem countablyCompactSpace_iff
TopologyByExample.ClosedExtension.countablyCompactSpace_iff
The closed extension of X is countably compact if and only if X is.
theorem countablyCompactSpace_iff :
CountablyCompactSpace (ClosedExtension X) ↔ CountablyCompactSpace X
Proof
:=
⟨fun _ ↦ isClosedEmbedding_some.countablyCompactSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is countably compact iff the space is
instance
The closed extension of a sequentially compact space is sequentially compact.
instance [SeqCompactSpace X] : SeqCompactSpace (ClosedExtension X)
Proof
:= by
rw [← isSeqCompact_univ_iff, ← insert_point_range_some, insert_eq, ← image_univ]
exact isSeqCompact_singleton.union
((isSeqCompact_univ_iff.2 ‹_›).image continuous_some.seqContinuous)
theorem seqCompactSpace_iff
TopologyByExample.ClosedExtension.seqCompactSpace_iff
The closed extension of X is sequentially compact if and only if X is.
theorem seqCompactSpace_iff : SeqCompactSpace (ClosedExtension X) ↔ SeqCompactSpace X
Proof
:=
⟨fun _ ↦ isClosedEmbedding_some.seqCompactSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is sequentially compact iff the space is
instance
The closed extension of a weakly locally compact space is weakly locally compact.
instance [WeaklyLocallyCompactSpace X] : WeaklyLocallyCompactSpace (ClosedExtension X)
Proof
where
exists_compact_mem_nhds
| .point => ⟨{point}, isCompact_singleton, isOpen_singleton_point.mem_nhds rfl⟩
| (x : X) => by
obtain ⟨K, hK, hKx⟩ := exists_compact_mem_nhds x
refine ⟨insert point (some '' K), (hK.image continuous_some).insert _,
mem_nhds_some.2 ⟨?_, mem_insert _ _⟩⟩
simpa using hKx
theorem weaklyLocallyCompactSpace_iff
TopologyByExample.ClosedExtension.weaklyLocallyCompactSpace_iff
The closed extension of X is weakly locally compact if and only if X is.
theorem weaklyLocallyCompactSpace_iff :
WeaklyLocallyCompactSpace (ClosedExtension X) ↔ WeaklyLocallyCompactSpace X
Proof
:=
⟨fun _ ↦ isClosedEmbedding_some.weaklyLocallyCompactSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is weakly locally compact iff the space is
Separation axioms
variable {X : Type*} [TopologicalSpace X]
theorem not_some_specializes_point
TopologyByExample.ClosedExtension.not_some_specializes_point
A point of X does not specialize to the new point of the closed extension, which is open.
theorem not_some_specializes_point (x : X) : ¬(x : ClosedExtension X) ⤳ point
Proof
:= fun h ↦
some_ne_point x (h.mem_open isOpen_singleton_point rfl)
instance
The closed extension is T₀ if X is.
instance [T0Space X] : T0Space (ClosedExtension X)
Proof
:= by
refine (t0Space_iff_inseparable _).2 fun a b h ↦ ?_
cases a with
| point =>
cases b with
| point => rfl
| coe y => exact absurd h.specializes' (not_some_specializes_point y)
| coe x =>
cases b with
| point => exact absurd h.specializes (not_some_specializes_point x)
| coe y => exact congrArg some (isEmbedding_some.isInducing.inseparable_iff.1 h).eq
theorem t0Space_iff
TopologyByExample.ClosedExtension.t0Space_iff
The closed extension is T₀ if and only if X is.
theorem t0Space_iff : T0Space (ClosedExtension X) ↔ T0Space X
Proof
:=
⟨fun _ ↦ isEmbedding_some.t0Space, fun _ ↦ inferInstance⟩
On this site: Theorem: The closed extension is T₀ iff the space is
theorem not_r0Space
TopologyByExample.ClosedExtension.not_r0Space
The closed extension of a nonempty space is not R₀: the new point specializes to every point,
but no point of X specializes to the new point.
theorem not_r0Space [Nonempty X] : ¬R0Space (ClosedExtension X)
Proof
:= fun _ ↦
not_some_specializes_point (Classical.arbitrary X) (point_specializes _).symm
On this site: Theorem: The closed extension of a nonempty space is not R₀
theorem not_regularSpace
TopologyByExample.ClosedExtension.not_regularSpace
The closed extension of a nonempty space is not regular.
theorem not_regularSpace [Nonempty X] : ¬RegularSpace (ClosedExtension X)
Proof
:= fun _ ↦
not_r0Space (X := X) inferInstance
On this site: Theorem: The closed extension of a nonempty space is not regular
theorem not_perfectlyNormalSpace
TopologyByExample.ClosedExtension.not_perfectlyNormalSpace
The closed extension of a nonempty space is not perfectly normal.
theorem not_perfectlyNormalSpace [Nonempty X] : ¬PerfectlyNormalSpace (ClosedExtension X)
Proof
:=
fun _ ↦ not_r0Space (X := X) inferInstance
On this site: Theorem: The closed extension of a nonempty space is not perfectly normal
theorem eq_univ_of_isClosed_of_point_mem
TopologyByExample.ClosedExtension.eq_univ_of_isClosed_of_point_mem
A closed set of the closed extension that contains the new point is everything.
theorem eq_univ_of_isClosed_of_point_mem {s : Set (ClosedExtension X)} (hs : IsClosed s)
(h : point ∈ s) : s = univ
Proof
:= by
have : closure ({point} : Set (ClosedExtension X)) ⊆ s :=
closure_minimal (singleton_subset_iff.2 h) hs
rwa [closure_singleton_point, univ_subset_iff] at this
theorem normalSpace_iff
TopologyByExample.ClosedExtension.normalSpace_iff
The closed extension of X is normal if and only if no two disjoint closed sets of X are
both nonempty: two nonempty open sets of the closed extension always meet at the new point.
theorem normalSpace_iff : NormalSpace (ClosedExtension X) ↔
∀ s t : Set X, IsClosed s → IsClosed t → Disjoint s t → s = ∅ ∨ t = ∅
Proof
:= by
constructor
· intro _ s t hs ht hst
by_contra! h
obtain ⟨U, V, hU, hV, hsU, htV, hUV⟩ :=
normal_separation (isClosedEmbedding_some.isClosedMap s hs)
(isClosedEmbedding_some.isClosedMap t ht)
((disjoint_image_iff some_injective).2 hst)
have hpU := point_mem_of_isOpen hU ((h.1.image some).mono hsU)
have hpV := point_mem_of_isOpen hV ((h.2.image some).mono htV)
exact hUV.ne_of_mem hpU hpV rfl
· intro h
refine ⟨fun s t hs ht hst ↦ ?_⟩
by_cases hps : point ∈ s
· rw [eq_univ_of_isClosed_of_point_mem hs hps, univ_disjoint] at hst
rw [hst]
exact SeparatedNhds.empty_right _
by_cases hpt : point ∈ t
· rw [eq_univ_of_isClosed_of_point_mem ht hpt, disjoint_univ] at hst
rw [hst]
exact SeparatedNhds.empty_left _
have hsub {u : Set (ClosedExtension X)} (hu : point ∉ u) : u = some '' (some ⁻¹' u) := by
rw [image_preimage_eq_inter_range, range_some, inter_eq_left.2]
exact fun z hz hzp ↦ hu (mem_singleton_iff.1 hzp ▸ hz)
rcases h _ _ (hs.preimage continuous_some) (ht.preimage continuous_some)
(hst.preimage some) with h' | h'
· rw [hsub hps, h', image_empty]
exact SeparatedNhds.empty_left _
· rw [hsub hpt, h', image_empty]
exact SeparatedNhds.empty_right _
theorem not_normalSpace
TopologyByExample.ClosedExtension.not_normalSpace
The closed extension of a T₁ space with two distinct points is not normal.
theorem not_normalSpace [T1Space X] [Nontrivial X] : ¬NormalSpace (ClosedExtension X)
Proof
:= by
obtain ⟨x, y, hxy⟩ := exists_pair_ne X
intro h
rcases normalSpace_iff.1 h {x} {y} isClosed_singleton isClosed_singleton
(disjoint_singleton.2 hxy) with h' | h' <;> exact (singleton_nonempty _).ne_empty h'
On this site: Theorem: The closed extension of a T₁ space with at least two points is not normal
Connectedness properties
variable {X : Type*} [TopologicalSpace X]
instance instPathPreconnectedSpace
TopologyByExample.ClosedExtension.instPathPreconnectedSpace
The closed extension of any space is path preconnected: the new point specializes to every point, so it is joined to every point by a path.
instance instPathPreconnectedSpace : PathPreconnectedSpace (ClosedExtension X)
instance instLocallyPathConnectedSpace
TopologyByExample.ClosedExtension.instLocallyPathConnectedSpace
The closed extension of any space is locally path connected: every neighbourhood of a point contains the new point, so it is path connected.
instance instLocallyPathConnectedSpace : LocallyPathConnectedSpace (ClosedExtension X)
theorem not_totallyDisconnectedSpace
TopologyByExample.ClosedExtension.not_totallyDisconnectedSpace
The closed extension of a nonempty space is not totally disconnected: it is not T₁.
theorem not_totallyDisconnectedSpace [Nonempty X] :
¬TotallyDisconnectedSpace (ClosedExtension X)
Proof
:=
fun _ ↦ not_t1Space (X := X) inferInstance
On this site: Theorem: The closed extension of a nonempty space is not totally disconnected
theorem not_totallySeparatedSpace
TopologyByExample.ClosedExtension.not_totallySeparatedSpace
The closed extension of a nonempty space is not totally separated.
theorem not_totallySeparatedSpace [Nonempty X] : ¬TotallySeparatedSpace (ClosedExtension X)
Proof
:=
fun _ ↦ not_totallyDisconnectedSpace (X := X) inferInstance
On this site: Theorem: The closed extension of a nonempty space is not totally separated
theorem not_zeroDimensionalSpace
TopologyByExample.ClosedExtension.not_zeroDimensionalSpace
The closed extension of a nonempty space is not zero-dimensional: being connected, it would be indiscrete, but the new point is a nonempty open set other than the whole space.
theorem not_zeroDimensionalSpace [Nonempty X] : ¬ZeroDimensionalSpace (ClosedExtension X)
Proof
:=
fun _ ↦ by
have := indiscreteTopology_of_preconnectedSpace (X := ClosedExtension X)
rcases (IndiscreteTopology.isOpen_iff _).1 (isOpen_singleton_point (X := X)) with h | h
· exact (singleton_nonempty _).ne_empty h
· exact some_ne_point (Classical.arbitrary X) (h ▸ mem_univ _ : _ ∈ ({point} : Set _))
On this site: Theorem: The closed extension of a nonempty space is not zero-dimensional
Complete metrizability and second category
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
instance hasIsolatedPoint
TopologyByExample.ClosedExtension.hasIsolatedPoint
The new point of the closed extension is isolated.
instance hasIsolatedPoint : HasIsolatedPoint (ClosedExtension X)
Proof
:=
⟨⟨point, isOpen_singleton_point⟩⟩
On this site: Theorem: A closed extension has an isolated point
theorem not_isMeagre_univ
TopologyByExample.ClosedExtension.not_isMeagre_univ
The closed extension of any space is of second category in itself: its new point is isolated.
theorem not_isMeagre_univ : ¬IsMeagre (univ : Set (ClosedExtension X))
Hyperconnectedness, ultraconnectedness and strong connectedness
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
The closed extension
instance instPreirreducibleSpace
TopologyByExample.ClosedExtension.instPreirreducibleSpace
The closed extension of any space is hyperconnected: every nonempty open set contains the new point.
instance instPreirreducibleSpace : PreirreducibleSpace (ClosedExtension X)
Proof
:=
.of_forall_nonempty_inter fun _ _ hU hV hUne hVne ↦
⟨point, point_mem_of_isOpen hU hUne, point_mem_of_isOpen hV hVne⟩
On this site: Theorem: A closed extension is hyperconnected
theorem ultraconnectedSpace_iff
TopologyByExample.ClosedExtension.ultraconnectedSpace_iff
The closed extension of X is ultraconnected if and only if X is. A point of X specialises
in the closed extension only to points of X, exactly as in X; the new point specialises to every
point.
theorem ultraconnectedSpace_iff :
UltraconnectedSpace (ClosedExtension X) ↔ UltraconnectedSpace X
Proof
:= by
refine ⟨fun _ ↦ ultraconnectedSpace_iff_exists_specializes.2 fun x y ↦ ?_,
fun _ ↦ ultraconnectedSpace_iff_exists_specializes.2 fun z w ↦ ?_⟩
· obtain ⟨z, hx, hy⟩ := UltraconnectedSpace.exists_specializes (x : ClosedExtension X) y
cases z with
| point => exact (not_some_specializes_point x hx).elim
| coe z =>
exact ⟨z, isEmbedding_some.isInducing.specializes_iff.1 hx,
isEmbedding_some.isInducing.specializes_iff.1 hy⟩
· cases z with
| point => exact ⟨w, point_specializes w, specializes_rfl⟩
| coe x =>
cases w with
| point => exact ⟨x, specializes_rfl, point_specializes _⟩
| coe y =>
obtain ⟨z, hx, hy⟩ := UltraconnectedSpace.exists_specializes x y
exact ⟨z, hx.map continuous_some, hy.map continuous_some⟩
On this site: Theorem: A closed extension is ultraconnected iff the space is
Discreteness, scatteredness, extremal disconnectedness and total path disconnectedness
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
instance
The closed extension of a scattered space is scattered: the new point is isolated, and a set
missing it lies in the subspace X.
instance [ScatteredSpace X] : ScatteredSpace (ClosedExtension X)
Proof
:= by
refine scatteredSpace_iff_exists_isolated.2 fun s hs ↦ ?_
by_cases hp : point ∈ s
· exact ⟨_, hp, {point}, isOpen_singleton_point.mem_nhds rfl, inter_subset_left⟩
· refine ScatteredSpace.exists_isolated_of_isEmbedding isEmbedding_some (fun z hz ↦ ?_) hs
rw [range_some]
rintro rfl
exact hp hz
theorem scatteredSpace_iff
TopologyByExample.ClosedExtension.scatteredSpace_iff
The closed extension of X is scattered if and only if X is.
theorem scatteredSpace_iff : ScatteredSpace (ClosedExtension X) ↔ ScatteredSpace X
Proof
:=
⟨fun _ ↦ ScatteredSpace.of_injective some_injective continuous_some, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is scattered iff the space is
Counting the points, and Alexandrov spaces
Counting the points
variable {X : Type*}
instance instFinite
TopologyByExample.ClosedExtension.instFinite
The closed extension of a finite set is finite.
instance instFinite [Finite X] : Finite (ClosedExtension X)
Proof
:=
inferInstanceAs (Finite (Option X))
instance instCountable
TopologyByExample.ClosedExtension.instCountable
The closed extension of a countable set is countable.
instance instCountable [Countable X] : Countable (ClosedExtension X)
Proof
:=
inferInstanceAs (Countable (Option X))
instance instInfinite
TopologyByExample.ClosedExtension.instInfinite
The closed extension of an infinite set is infinite.
instance instInfinite [Infinite X] : Infinite (ClosedExtension X)
Proof
:=
inferInstanceAs (Infinite (Option X))
instance instUncountable
TopologyByExample.ClosedExtension.instUncountable
The closed extension of an uncountable set is uncountable.
instance instUncountable [Uncountable X] : Uncountable (ClosedExtension X)
Proof
:=
inferInstanceAs (Uncountable (Option X))
variable {X : Type*} [TopologicalSpace X]
Alexandrov spaces
instance instAlexandrovDiscrete
TopologyByExample.ClosedExtension.instAlexandrovDiscrete
The closed extension of an Alexandrov space is Alexandrov: an intersection of open sets has an
open trace on X, and if it is nonempty, each of the sets is nonempty and so contains the new
point.
instance instAlexandrovDiscrete [AlexandrovDiscrete X] :
AlexandrovDiscrete (ClosedExtension X)
Proof
where
isOpen_sInter S hS := by
refine ⟨?_, fun ⟨z, hz⟩ s hs ↦ point_mem_of_isOpen (hS s hs) ⟨z, hz s hs⟩⟩
rw [preimage_sInter]
exact isOpen_iInter₂ fun s hs ↦ (hS s hs).1
On this site: Theorem: The closed extension of an Alexandrov space is Alexandrov
Hereditary connectedness
variable {X : Type*} [TopologicalSpace X]
instance instHereditarilyConnectedSpace
TopologyByExample.ClosedExtension.instHereditarilyConnectedSpace
The closed extension of a hereditarily connected space is hereditarily connected: its open
sets are ∅ and the open sets of X with the new point added, and these form a chain when the open
sets of X do.
instance instHereditarilyConnectedSpace [HereditarilyConnectedSpace X] :
HereditarilyConnectedSpace (ClosedExtension X)
Proof
:= by
rw [hereditarilyConnectedSpace_iff_isChain_isOpen]
have hX := (hereditarilyConnectedSpace_iff_isChain_isOpen (X := X)).1 inferInstance
have key : ∀ u v : Set (ClosedExtension X), IsOpen u → IsOpen v → v.Nonempty →
some ⁻¹' u ⊆ some ⁻¹' v → u ⊆ v := by
intro u v _ hv hvne huv z hz
cases z with
| point => exact point_mem_of_isOpen hv hvne
| coe x => exact huv hz
intro u hu v hv _
rcases v.eq_empty_or_nonempty with rfl | hvne
· exact Or.inr (empty_subset _)
rcases u.eq_empty_or_nonempty with rfl | hune
· exact Or.inl (empty_subset _)
by_cases htr : some ⁻¹' u = some ⁻¹' v
· exact Or.inl (key u v hu hv hvne htr.le)
rcases hX (isOpen_iff.1 hu).1 (isOpen_iff.1 hv).1 htr with h | h
· exact Or.inl (key u v hu hv hvne h)
· exact Or.inr (key v u hv hu hune h)
theorem hereditarilyConnectedSpace_iff
TopologyByExample.ClosedExtension.hereditarilyConnectedSpace_iff
The closed extension of X is hereditarily connected if and only if X is: X is a subspace
of its closed extension, and conversely the open sets of the extension form a chain when those of
X do.
theorem hereditarilyConnectedSpace_iff :
HereditarilyConnectedSpace (ClosedExtension X) ↔ HereditarilyConnectedSpace X
Proof
:=
⟨fun _ ↦ ⟨fun s ↦ isEmbedding_some.isInducing.isPreconnected_image.1
(HereditarilyConnectedSpace.isPreconnected (some '' s))⟩, fun _ ↦ inferInstance⟩
On this site: Theorem: A closed extension is hereditarily connected iff the space is
On this site: Space: Closed extension of the first uncountable ordinal; Space: Closed extension of the countable power of the first uncountable ordinal; Space: Three-point space with open sets ∅, {0} and the whole space