Lean library · module TopologyByExample.Operators.OnePoint
Countability and separation properties of the one-point compactification
Mathlib's OnePoint X is the one-point (Alexandroff) compactification of X. It is always
compact (a Mathlib instance), and it is Hausdorff when X is Hausdorff and weakly
locally compact (through Mathlib's instance NormalSpace (OnePoint X)). This file adds:
- the converse for the Hausdorff property: if
OnePoint Xis Hausdorff, thenXis Hausdorff and weakly locally compact; - separability:
OnePoint Xis separable if and only ifXis, since adding the point at infinity to a countable dense subset ofXgives a countable dense subset ofOnePoint X; - first and second countability pass from
OnePoint Xdown toX, an open subspace; - countability:
OnePoint Xis countable if and only ifXis (TopologyByExample.countable_onePoint_iff).
Main statements
TopologyByExample.t2Space_onePoint:OnePoint Xis Hausdorff ifXis Hausdorff and weakly locally compact.TopologyByExample.t2Space_onePoint_iff: the converse as well.TopologyByExample.separableSpace_onePoint_iff:OnePoint Xis separable if and only ifXis.TopologyByExample.scatteredSpace_onePoint_iff,TopologyByExample.ccc_onePoint_iff: scatteredness and the countable chain condition of the one-point compactification.
Separation axioms
OnePoint X is T₀ (respectively T₁) if and only if X is, and T₂½ if and only if X is Hausdorff
and weakly locally compact; for a T₁ space X the same holds for regularity, complete regularity
and normality (TopologyByExample.t0Space_onePoint_iff, TopologyByExample.t1Space_onePoint_iff,
TopologyByExample.t25Space_onePoint_iff, TopologyByExample.normalSpace_onePoint_iff, ...).
Regularity, complete regularity, complete normality and perfect normality pass to X, an open
subspace; and if X is not normal, OnePoint X is not completely normal
(TopologyByExample.not_completelyNormalSpace_onePoint).
Compactness properties
OnePoint X is sequentially compact if X is (TopologyByExample.seqCompactSpace_onePoint, an
instance). If X is T₁ and the point at infinity has a countable neighbourhood base, then X is
σ-compact (TopologyByExample.sigmaCompactSpace_of_isCountablyGenerated_nhds_infty).
Connectedness properties
X is an open subspace of OnePoint X, so local connectedness, local path connectedness, total
disconnectedness, total separatedness and zero-dimensionality pass from OnePoint X to X
(TopologyByExample.locallyConnectedSpace_of_onePoint, ...,
TopologyByExample.zeroDimensionalSpace_of_onePoint). Conversely, the one-point compactification
of a weakly locally compact zero-dimensional space is zero-dimensional
(TopologyByExample.zeroDimensionalSpace_onePoint, an instance, with no Hausdorff assumption), and
that of a locally connected space is locally connected if the point at infinity has a base of
preconnected neighbourhoods (TopologyByExample.locallyConnectedSpace_onePoint). If X is
connected, then either X is compact or OnePoint X is connected
(TopologyByExample.compactSpace_or_preconnectedSpace_onePoint): when X is not compact it is
dense in OnePoint X. Extremal disconnectedness and total path disconnectedness also pass from
OnePoint X to X (TopologyByExample.extremallyDisconnected_of_onePoint,
TopologyByExample.totallyPathDisconnectedSpace_of_onePoint).
Tags
one-point compactification, Alexandroff compactification, separable, Hausdorff, sequentially compact, locally connected, zero-dimensional, countable, extremally disconnected
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.Bases
- Mathlib.Topology.Compactification.OnePoint.Basic
- Mathlib.Topology.Sequences
- TopologyByExample.Theorems.Category
- 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
variable {X : Type*} [TopologicalSpace X]
theorem t2Space_onePoint
TopologyByExample.t2Space_onePoint
The one-point compactification of a Hausdorff, weakly locally compact space is Hausdorff.
theorem t2Space_onePoint [T2Space X] [WeaklyLocallyCompactSpace X] : T2Space (OnePoint X)
Proof
:=
inferInstance
theorem weaklyLocallyCompactSpace_of_t2Space_onePoint
TopologyByExample.weaklyLocallyCompactSpace_of_t2Space_onePoint
If the one-point compactification of X is Hausdorff, then X is weakly locally compact:
a point of X and the point at infinity have disjoint open neighbourhoods U and V, and the
complement of V is a compact set of X containing U.
theorem weaklyLocallyCompactSpace_of_t2Space_onePoint [T2Space (OnePoint X)] :
WeaklyLocallyCompactSpace X
Proof
where
exists_compact_mem_nhds x := by
obtain ⟨U, V, hU, hV, hxU, hVinf, hUV⟩ := t2_separation (OnePoint.coe_ne_infty x)
refine ⟨((↑) ⁻¹' V : Set X)ᶜ, ((isOpen_iff_of_mem hVinf).1 hV).2, ?_⟩
refine mem_of_superset ((hU.preimage continuous_coe).mem_nhds hxU) fun y hyU hyV ↦ ?_
exact hUV.le_bot ⟨hyU, hyV⟩
theorem t2Space_onePoint_iff
TopologyByExample.t2Space_onePoint_iff
The one-point compactification of X is Hausdorff if and only if X is Hausdorff and weakly
locally compact.
theorem t2Space_onePoint_iff :
T2Space (OnePoint X) ↔ T2Space X ∧ WeaklyLocallyCompactSpace X
Proof
:=
⟨fun _ ↦ ⟨isOpenEmbedding_coe.isEmbedding.t2Space,
weaklyLocallyCompactSpace_of_t2Space_onePoint⟩, fun ⟨_, _⟩ ↦ t2Space_onePoint⟩
On this site: Theorem: A one-point compactification is Hausdorff iff the space is Hausdorff and weakly locally compact
instance
The one-point compactification of a separable space is separable: a countable dense subset of
X together with the point at infinity is dense.
instance [SeparableSpace X] : SeparableSpace (OnePoint X)
Proof
:= by
obtain ⟨D, hDc, hD⟩ := exists_countable_dense X
refine ⟨⟨insert ∞ ((↑) '' D), (hDc.image _).insert _, ?_⟩⟩
refine dense_iff_closure_eq.2 (eq_univ_of_forall fun z ↦ ?_)
cases z with
| infty => exact subset_closure (mem_insert _ _)
| coe x =>
refine closure_mono (subset_insert _ _) ?_
exact image_closure_subset_closure_image continuous_coe ⟨x, hD.closure_eq ▸ mem_univ x, rfl⟩
theorem separableSpace_onePoint_iff
TopologyByExample.separableSpace_onePoint_iff
The one-point compactification of X is separable if and only if X is.
theorem separableSpace_onePoint_iff : SeparableSpace (OnePoint X) ↔ SeparableSpace X
Proof
:=
⟨fun _ ↦ isOpenEmbedding_coe.separableSpace, fun _ ↦ inferInstance⟩
On this site: Theorem: A one-point compactification is separable iff the space is
theorem firstCountableTopology_of_onePoint
TopologyByExample.firstCountableTopology_of_onePoint
If the one-point compactification of X is first countable, then so is X.
theorem firstCountableTopology_of_onePoint [FirstCountableTopology (OnePoint X)] :
FirstCountableTopology X
Proof
:=
isOpenEmbedding_coe.isEmbedding.firstCountableTopology
On this site: Theorem: If a one-point compactification is first countable, so is the space
theorem secondCountableTopology_of_onePoint
TopologyByExample.secondCountableTopology_of_onePoint
If the one-point compactification of X is second countable, then so is X.
theorem secondCountableTopology_of_onePoint [SecondCountableTopology (OnePoint X)] :
SecondCountableTopology X
Proof
:=
isOpenEmbedding_coe.isInducing.secondCountableTopology
On this site: Theorem: If a one-point compactification is second countable, so is the space
The one-point compactification
variable {X : Type*} [TopologicalSpace X]
omit [TopologicalSpace X] in
theorem countable_onePoint_iff
TopologyByExample.countable_onePoint_iff
The one-point compactification of X is countable if and only if X is.
theorem countable_onePoint_iff : Countable (OnePoint X) ↔ Countable X
Proof
:=
Option.countable_iff
On this site: Theorem: A one-point compactification is countable iff the space is
theorem t0Space_onePoint_iff
TopologyByExample.t0Space_onePoint_iff
The one-point compactification of X is T₀ if and only if X is.
theorem t0Space_onePoint_iff : T0Space (OnePoint X) ↔ T0Space X
Proof
:=
⟨fun _ ↦ isOpenEmbedding_coe.isEmbedding.t0Space, fun _ ↦ inferInstance⟩
On this site: Theorem: A one-point compactification is T₀ iff the space is
theorem t1Space_onePoint_iff
TopologyByExample.t1Space_onePoint_iff
The one-point compactification of X is T₁ if and only if X is.
theorem t1Space_onePoint_iff : T1Space (OnePoint X) ↔ T1Space X
Proof
:=
⟨fun _ ↦ isOpenEmbedding_coe.isEmbedding.t1Space, fun _ ↦ inferInstance⟩
On this site: Theorem: A one-point compactification is T₁ iff the space is
theorem t25Space_onePoint
TopologyByExample.t25Space_onePoint
The one-point compactification of a Hausdorff, weakly locally compact space is normal and T₁, hence completely regular, regular and T₂½.
theorem t25Space_onePoint [T2Space X] [WeaklyLocallyCompactSpace X] : T25Space (OnePoint X)
Proof
:=
inferInstance
theorem t25Space_onePoint_iff
TopologyByExample.t25Space_onePoint_iff
The one-point compactification of X is T₂½ if and only if X is Hausdorff and weakly
locally compact.
theorem t25Space_onePoint_iff :
T25Space (OnePoint X) ↔ T2Space X ∧ WeaklyLocallyCompactSpace X
Proof
:=
⟨fun _ ↦ t2Space_onePoint_iff.1 inferInstance, fun ⟨_, _⟩ ↦ t25Space_onePoint⟩
On this site: Theorem: A one-point compactification is Urysohn iff the space is Hausdorff and weakly locally compact
theorem regularSpace_onePoint_iff
TopologyByExample.regularSpace_onePoint_iff
The one-point compactification of a T₁ space X is regular if and only if X is Hausdorff and
weakly locally compact.
theorem regularSpace_onePoint_iff [T1Space X] :
RegularSpace (OnePoint X) ↔ T2Space X ∧ WeaklyLocallyCompactSpace X
Proof
:=
⟨fun _ ↦ t2Space_onePoint_iff.1 inferInstance, fun ⟨_, _⟩ ↦ inferInstance⟩
On this site: Theorem: The one-point compactification of a T₁ space is regular iff the space is Hausdorff and weakly locally compact
theorem completelyRegularSpace_onePoint_iff
TopologyByExample.completelyRegularSpace_onePoint_iff
The one-point compactification of a T₁ space X is completely regular if and only if X is
Hausdorff and weakly locally compact.
theorem completelyRegularSpace_onePoint_iff [T1Space X] :
CompletelyRegularSpace (OnePoint X) ↔ T2Space X ∧ WeaklyLocallyCompactSpace X
Proof
:=
⟨fun _ ↦ t2Space_onePoint_iff.1 inferInstance, fun ⟨_, _⟩ ↦ inferInstance⟩
theorem normalSpace_onePoint_iff
TopologyByExample.normalSpace_onePoint_iff
The one-point compactification of a T₁ space X is normal if and only if X is Hausdorff and
weakly locally compact.
theorem normalSpace_onePoint_iff [T1Space X] :
NormalSpace (OnePoint X) ↔ T2Space X ∧ WeaklyLocallyCompactSpace X
Proof
:=
⟨fun _ ↦ t2Space_onePoint_iff.1 inferInstance, fun ⟨_, _⟩ ↦ inferInstance⟩
On this site: Theorem: The one-point compactification of a T₁ space is normal iff the space is Hausdorff and weakly locally compact
theorem regularSpace_of_onePoint
TopologyByExample.regularSpace_of_onePoint
If the one-point compactification of X is regular, then so is X.
theorem regularSpace_of_onePoint [RegularSpace (OnePoint X)] : RegularSpace X
Proof
:=
isOpenEmbedding_coe.isInducing.regularSpace
On this site: Theorem: If a one-point compactification is regular, so is the space
theorem completelyRegularSpace_of_onePoint
TopologyByExample.completelyRegularSpace_of_onePoint
If the one-point compactification of X is completely regular, then so is X.
theorem completelyRegularSpace_of_onePoint [CompletelyRegularSpace (OnePoint X)] :
CompletelyRegularSpace X
Proof
:=
isOpenEmbedding_coe.isInducing.completelyRegularSpace
On this site: Theorem: If a one-point compactification is completely regular, so is the space
theorem completelyNormalSpace_of_onePoint
TopologyByExample.completelyNormalSpace_of_onePoint
If the one-point compactification of X is completely normal, then so is X.
theorem completelyNormalSpace_of_onePoint [CompletelyNormalSpace (OnePoint X)] :
CompletelyNormalSpace X
Proof
:=
isOpenEmbedding_coe.isInducing.completelyNormalSpace
On this site: Theorem: If a one-point compactification is completely normal, so is the space
theorem perfectlyNormalSpace_of_onePoint
TopologyByExample.perfectlyNormalSpace_of_onePoint
If the one-point compactification of X is perfectly normal, then so is X.
theorem perfectlyNormalSpace_of_onePoint [PerfectlyNormalSpace (OnePoint X)] :
PerfectlyNormalSpace X
Proof
:=
isOpenEmbedding_coe.isInducing.perfectlyNormalSpace
On this site: Theorem: If a one-point compactification is perfectly normal, so is the space
theorem not_completelyNormalSpace_onePoint
TopologyByExample.not_completelyNormalSpace_onePoint
The one-point compactification of a space that is not normal is not completely normal.
theorem not_completelyNormalSpace_onePoint (h : ¬NormalSpace X) :
¬CompletelyNormalSpace (OnePoint X)
Proof
:=
not_completelyNormalSpace_of_isInducing isOpenEmbedding_coe.isInducing h
On this site: Theorem: The one-point compactification of a space that is not normal is not completely normal
Compactness properties
variable {X : Type*} [TopologicalSpace X]
instance seqCompactSpace_onePoint
TopologyByExample.seqCompactSpace_onePoint
The one-point compactification of a sequentially compact space is sequentially compact: a
sequence either takes the value ∞ infinitely often, or eventually lies in X and has a
subsequence converging in X.
instance seqCompactSpace_onePoint [SeqCompactSpace X] : SeqCompactSpace (OnePoint X)
Proof
:= by
refine ⟨fun u _ ↦ ?_⟩
by_cases hinf : ∃ᶠ n in atTop, u n = ∞
· obtain ⟨φ, hφ, hu⟩ := extraction_of_frequently_atTop hinf
exact ⟨∞, mem_univ _, φ, hφ, tendsto_const_nhds.congr fun n ↦ (hu n).symm⟩
· have hX : ∀ᶠ n in atTop, ∃ x : X, u n = x := (not_frequently.1 hinf).mono fun n hn ↦ by
cases h : u n with
| infty => exact absurd h hn
| coe x => exact ⟨x, rfl⟩
obtain ⟨φ, hφ, hu⟩ := extraction_of_eventually_atTop hX
choose v hv using hu
obtain ⟨a, -, ψ, hψ, ha⟩ := (isSeqCompact_univ : IsSeqCompact (univ : Set X))
(fun n ↦ mem_univ (v n))
refine ⟨a, mem_univ _, φ ∘ ψ, hφ.comp hψ, ((continuous_coe.tendsto a).comp ha).congr
fun n ↦ ?_⟩
simp [hv]
On this site: Theorem: The one-point compactification of a sequentially compact space is sequentially compact
theorem sigmaCompactSpace_of_isCountablyGenerated_nhds_infty
TopologyByExample.sigmaCompactSpace_of_isCountablyGenerated_nhds_infty
If the point at infinity of the one-point compactification of a T₁ space X has a countable
neighbourhood basis, then X is σ-compact: the complements of the basic neighbourhoods are
compact sets of X, and every point of X lies in one of them, since {x}ᶜ is a neighbourhood
of ∞.
theorem sigmaCompactSpace_of_isCountablyGenerated_nhds_infty [T1Space X]
[(𝓝 (∞ : OnePoint X)).IsCountablyGenerated] : SigmaCompactSpace X
Proof
:= by
obtain ⟨K, hK, hKb⟩ := (hasBasis_nhds_infty (X := X)).exists_antitone_subbasis
refine ⟨⟨K, fun n ↦ (hK n).2, eq_univ_of_forall fun x ↦ ?_⟩⟩
obtain ⟨n, -, hn⟩ := hKb.toHasBasis.mem_iff.1
(isClosed_singleton.isOpen_compl.mem_nhds (OnePoint.coe_ne_infty x).symm :
({(x : OnePoint X)}ᶜ : Set (OnePoint X)) ∈ 𝓝 ∞)
refine mem_iUnion.2 ⟨n, ?_⟩
by_contra hx
exact hn (Or.inl ⟨x, hx, rfl⟩) rfl
On this site: Theorem: A T₁ space is σ-compact if the new point of its one-point compactification has a countable neighbourhood base
Connectedness properties
variable {X : Type*} [TopologicalSpace X]
theorem locallyConnectedSpace_of_onePoint
TopologyByExample.locallyConnectedSpace_of_onePoint
If OnePoint X is locally connected, so is X, an open subspace.
theorem locallyConnectedSpace_of_onePoint [LocallyConnectedSpace (OnePoint X)] :
LocallyConnectedSpace X
Proof
:=
OnePoint.isOpenEmbedding_coe.locallyConnectedSpace
On this site: Theorem: If a one-point compactification is locally connected, so is the space
theorem locallyPathConnectedSpace_of_onePoint
TopologyByExample.locallyPathConnectedSpace_of_onePoint
If OnePoint X is locally path connected, so is X, an open subspace.
theorem locallyPathConnectedSpace_of_onePoint [LocallyPathConnectedSpace (OnePoint X)] :
LocallyPathConnectedSpace X
Proof
:=
OnePoint.isOpenEmbedding_coe.locallyPathConnectedSpace
On this site: Theorem: If a one-point compactification is locally path connected, so is the space
theorem totallyDisconnectedSpace_of_onePoint
TopologyByExample.totallyDisconnectedSpace_of_onePoint
If OnePoint X is totally disconnected, so is X, a subspace.
theorem totallyDisconnectedSpace_of_onePoint [TotallyDisconnectedSpace (OnePoint X)] :
TotallyDisconnectedSpace X
Proof
:=
totallyDisconnectedSpace_of_injective OnePoint.continuous_coe OnePoint.coe_injective
On this site: Theorem: If a one-point compactification is totally disconnected, so is the space
theorem totallySeparatedSpace_of_onePoint
TopologyByExample.totallySeparatedSpace_of_onePoint
If OnePoint X is totally separated, so is X, a subspace.
theorem totallySeparatedSpace_of_onePoint [TotallySeparatedSpace (OnePoint X)] :
TotallySeparatedSpace X
Proof
:=
totallySeparatedSpace_of_injective OnePoint.continuous_coe OnePoint.coe_injective
On this site: Theorem: If a one-point compactification is totally separated, so is the space
theorem zeroDimensionalSpace_of_onePoint
TopologyByExample.zeroDimensionalSpace_of_onePoint
If OnePoint X is zero-dimensional, so is X, a subspace.
theorem zeroDimensionalSpace_of_onePoint [ZeroDimensionalSpace (OnePoint X)] :
ZeroDimensionalSpace X
Proof
:=
zeroDimensionalSpace_of_isInducing OnePoint.isOpenEmbedding_coe.isInducing
On this site: Theorem: If a one-point compactification is zero-dimensional, so is the space
theorem exists_isCompact_isClopen_mem_of_isOpen
TopologyByExample.exists_isCompact_isClopen_mem_of_isOpen
In a weakly locally compact zero-dimensional space, every open set contains a compact clopen neighbourhood of each of its points.
theorem exists_isCompact_isClopen_mem_of_isOpen [ZeroDimensionalSpace X]
[WeaklyLocallyCompactSpace X] {U : Set X} (hU : IsOpen U) {x : X} (hx : x ∈ U) :
∃ V : Set X, IsCompact V ∧ IsClopen V ∧ x ∈ V ∧ V ⊆ U
Proof
:= by
obtain ⟨K, hK, hxK⟩ := exists_compact_mem_nhds x
obtain ⟨V, hV, hxV, hVU⟩ := exists_isClopen_mem_of_isOpen (hU.inter isOpen_interior)
⟨hx, mem_interior_iff_mem_nhds.2 hxK⟩
exact ⟨V, hK.of_isClosed_subset hV.isClosed (hVU.trans (inter_subset_right.trans
interior_subset)), hV, hxV, hVU.trans inter_subset_left⟩
theorem isClopen_image_coe
TopologyByExample.OnePoint.isClopen_image_coe
The image in OnePoint X of a compact clopen set of X is clopen.
theorem OnePoint.isClopen_image_coe {V : Set X} (hc : IsCompact V) (hV : IsClopen V) :
IsClopen ((↑) '' V : Set (OnePoint X))
instance zeroDimensionalSpace_onePoint
TopologyByExample.zeroDimensionalSpace_onePoint
The one-point compactification of a weakly locally compact zero-dimensional space is
zero-dimensional. At a point of X, the images of the compact clopen neighbourhoods form a base.
At the new point, a neighbourhood is the complement of a compact set, which is covered by
finitely many compact clopen sets; the complement of the image of their union is a clopen
neighbourhood of the new point inside the given one.
instance zeroDimensionalSpace_onePoint [ZeroDimensionalSpace X] [WeaklyLocallyCompactSpace X] :
ZeroDimensionalSpace (OnePoint X)
Proof
:= by
refine .of_isTopologicalBasis (u := {s | IsClopen s}) (fun _ hs ↦ hs) <|
isTopologicalBasis_of_isOpen_of_nhds (fun _ hs ↦ hs.isOpen) fun z U hz hU ↦ ?_
induction z using OnePoint.rec with
| infty =>
rw [OnePoint.isOpen_iff_of_mem hz] at hU
choose V hVc hV hxV _ using fun x : X ↦
exists_isCompact_isClopen_mem_of_isOpen isOpen_univ (mem_univ x)
obtain ⟨t, ht⟩ := hU.2.elim_finite_subcover V (fun x ↦ (hV x).isOpen)
fun x _ ↦ mem_iUnion.2 ⟨x, hxV x⟩
have hWc : IsCompact (⋃ i ∈ t, V i) := t.isCompact_biUnion fun i _ ↦ hVc i
have hW : IsClopen (⋃ i ∈ t, V i) := t.finite_toSet.isClopen_biUnion fun i _ ↦ hV i
refine ⟨((↑) '' ⋃ i ∈ t, V i)ᶜ, (OnePoint.isClopen_image_coe hWc hW).compl,
fun ⟨_, _, h⟩ ↦ OnePoint.coe_ne_infty _ h, fun w hw ↦ ?_⟩
induction w using OnePoint.rec with
| infty => exact hz
| coe y => exact not_not.1 fun hy ↦ hw (mem_image_of_mem _ (ht hy))
| coe x =>
obtain ⟨V, hVc, hV, hxV, hVU⟩ := exists_isCompact_isClopen_mem_of_isOpen
(hU.preimage OnePoint.continuous_coe) hz
exact ⟨(↑) '' V, OnePoint.isClopen_image_coe hVc hV, mem_image_of_mem _ hxV,
image_subset_iff.2 hVU⟩
On this site: Theorem: The one-point compactification of a zero-dimensional, weakly locally compact space is zero-dimensional
theorem locallyConnectedSpace_onePoint
TopologyByExample.locallyConnectedSpace_onePoint
The one-point compactification of a locally connected space is locally connected, provided the point at infinity has a neighbourhood base of preconnected sets.
theorem locallyConnectedSpace_onePoint [LocallyConnectedSpace X] {ι : Type*} {p : ι → Prop}
{s : ι → Set (OnePoint X)} (h : (𝓝 (∞ : OnePoint X)).HasBasis p s)
(hs : ∀ i, p i → IsPreconnected (s i)) : LocallyConnectedSpace (OnePoint X)
Proof
:= by
refine locallyConnectedSpace_iff_connected_subsets.2 fun x U hU ↦ ?_
induction x using OnePoint.rec with
| infty =>
obtain ⟨i, hi, hiU⟩ := h.mem_iff.1 hU
exact ⟨s i, h.mem_of_mem hi, hs i hi, hiU⟩
| coe x =>
rw [nhds_coe_eq, mem_map] at hU
obtain ⟨V, hV, hVc, hVU⟩ := locallyConnectedSpace_iff_connected_subsets.1 ‹_› x _ hU
refine ⟨(↑) '' V, ?_, hVc.image _ continuous_coe.continuousOn, ?_⟩
· rw [nhds_coe_eq]
exact image_mem_map hV
· rintro _ ⟨y, hy, rfl⟩
exact hVU hy
theorem compactSpace_or_preconnectedSpace_onePoint
TopologyByExample.compactSpace_or_preconnectedSpace_onePoint
If X is connected, then X is compact or its one-point compactification is connected: when
X is not compact it is dense in OnePoint X, and the closure of a connected set is connected.
theorem compactSpace_or_preconnectedSpace_onePoint [PreconnectedSpace X] :
CompactSpace X ∨ PreconnectedSpace (OnePoint X)
Proof
:= by
by_cases h : CompactSpace X
· exact Or.inl h
· have := not_compactSpace_iff.1 h
exact Or.inr inferInstance
On this site: Theorem: The one-point compactification of a connected space that is not compact is connected
Discreteness, scatteredness, extremal disconnectedness and total path disconnectedness
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
The one-point compactification and the closed extension
instance
The one-point compactification of a scattered space is scattered: a set meeting the space has an isolated point there, and otherwise it is the point at infinity alone.
instance [ScatteredSpace X] : ScatteredSpace (OnePoint X)
Proof
:= by
refine scatteredSpace_iff_exists_isolated.2 fun s hs ↦ ?_
by_cases h : (s ∩ range ((↑) : X → OnePoint X)).Nonempty
· exact ScatteredSpace.exists_isolated_of_isOpenEmbedding OnePoint.isOpenEmbedding_coe h
· obtain ⟨z, hz⟩ := hs
have hinf : s ⊆ {(OnePoint.infty : OnePoint X)} := fun w hw ↦ by
induction w using OnePoint.rec with
| infty => rfl
| coe x => exact absurd ⟨_, hw, x, rfl⟩ h
exact ⟨z, hz, univ, univ_mem, fun w hw ↦ (hinf hw.2).trans (hinf hz).symm⟩
theorem scatteredSpace_onePoint_iff
TopologyByExample.scatteredSpace_onePoint_iff
The one-point compactification of X is scattered if and only if X is.
theorem scatteredSpace_onePoint_iff : ScatteredSpace (OnePoint X) ↔ ScatteredSpace X
Proof
:=
⟨fun _ ↦ ScatteredSpace.of_injective OnePoint.coe_injective OnePoint.continuous_coe,
fun _ ↦ inferInstance⟩
On this site: Theorem: A one-point compactification is scattered iff the space is
theorem extremallyDisconnected_of_onePoint
TopologyByExample.extremallyDisconnected_of_onePoint
If the one-point compactification of X is extremally disconnected, so is X, an open
subspace of it.
theorem extremallyDisconnected_of_onePoint [ExtremallyDisconnected (OnePoint X)] :
ExtremallyDisconnected X
Proof
:=
ExtremallyDisconnected.of_isOpenEmbedding OnePoint.isOpenEmbedding_coe
On this site: Theorem: If a one-point compactification is extremally disconnected, so is the space
theorem totallyPathDisconnectedSpace_of_onePoint
TopologyByExample.totallyPathDisconnectedSpace_of_onePoint
If the one-point compactification of X is totally path disconnected, so is X.
theorem totallyPathDisconnectedSpace_of_onePoint
[TotallyPathDisconnectedSpace (OnePoint X)] : TotallyPathDisconnectedSpace X
On this site: Theorem: If a one-point compactification is totally path disconnected, so is the space
Paracompactness, countable paracompactness and the countable chain condition
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]
theorem ccc_onePoint_iff
TopologyByExample.ccc_onePoint_iff
The one-point compactification of X satisfies the countable chain condition if and only if
X does: at most one member of a disjoint family contains the point at infinity.
theorem ccc_onePoint_iff :
(∀ S : Set (Set (OnePoint X)), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
S.Countable) ↔
(∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
S.Countable)
Proof
:= by
refine ⟨ccc_of_isOpenEmbedding OnePoint.isOpenEmbedding_coe, fun hX S hS hd ↦ ?_⟩
have hinf : {s ∈ S | (OnePoint.infty : OnePoint X) ∈ s}.Subsingleton :=
fun s₁ h₁ s₂ h₂ ↦ hd.elim h₁.1 h₂.1 (not_disjoint_iff.2 ⟨_, h₁.2, h₂.2⟩)
refine ((countable_setOf_preimage_nonempty_of_ccc OnePoint.continuous_coe hX
(fun s hs ↦ (hS s hs).1) hd).union hinf.countable).mono fun s hs ↦ ?_
obtain ⟨z, hz⟩ := (hS s hs).2
induction z using OnePoint.rec with
| infty => exact Or.inr ⟨hs, hz⟩
| coe x => exact Or.inl ⟨hs, x, hz⟩
On this site: Theorem: A one-point compactification satisfies the countable chain condition iff the space does