Lean library · module TopologyByExample.Theorems.SierpinskiContinuum
Sierpiński's theorem on countable closed partitions of continua
Sierpiński's theorem (1918): a compact connected Hausdorff space is not the union of countably many pairwise disjoint nonempty closed sets, unless there is only one of them. In particular the unit interval is not such a union.
We prove it for a compact preconnected subset of a Hausdorff space, in the form: if such a set is covered by countably many pairwise disjoint closed sets, then it meets at most one of them.
The proof is the classical nested-continua argument. The boundary bumping lemma says that if
D is a compact preconnected set and U an open set meeting D, then the connected component
of a point x ∈ D \ U in D \ U meets the closure of U. With it, a compact preconnected set
meeting two of the pieces and any given piece F k contain a compact preconnected subset that
misses F k and still meets two of the pieces. Enumerating the pieces gives a decreasing
sequence of nonempty compact sets, the n-th missing the n-th piece; a point of their
intersection lies in no piece, a contradiction.
As a consequence, every continuous map from a compact preconnected Hausdorff space (for example
the unit interval) to a countable T₁ space is constant, since its fibres are countably many
pairwise disjoint closed sets covering the domain. So a countable T₁ space has only constant
paths: its path components are points, and it is not path connected unless it has at most one
point. (The application to the cofinite topology on ℕ is in
TopologyByExample.Spaces.CofiniteNat.)
Main statements
IsPreconnected.subsingleton_setOf_inter_nonempty: a compact preconnected subset of a Hausdorff space covered by countably many pairwise disjoint closed sets meets at most one of them (Sierpiński's theorem).PreconnectedSpace.subsingleton_setOf_nonempty_of_iUnion_eq_univ: the same for the whole space.PreconnectedSpace.constant_of_countable: a continuous map from a compact preconnected Hausdorff space to a countable T₁ space is constant.Joined.eq_of_countable,pathComponent_eq_singleton_of_countable,not_pathConnectedSpace_of_countable: in a countable T₁ space only equal points are joined by a path, path components are points, and the space is not path connected if it is nontrivial.
References
- W. Sierpiński, Un théorème sur les ensembles fermés, Bull. Int. Acad. Sci. Cracovie (1918), 49–51.
- S. Willard, General Topology, Exercise 28E.
Tags
Sierpiński's theorem, continuum, countable partition, closed sets, boundary bumping, path connected, countable space
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 : Type*} [TopologicalSpace X]
theorem connectedComponentIn_diff_inter_closure_nonempty
Boundary bumping: if D is a compact preconnected subset of a Hausdorff space and U is an
open set meeting D, then the connected component in D \ U of any point of D \ U meets the
closure of U.
theorem connectedComponentIn_diff_inter_closure_nonempty [T2Space X]
{D U : Set X} (hDc : IsPreconnected D) (hD : IsCompact D) (hU : IsOpen U)
(hDU : (D ∩ U).Nonempty) {x : X} (hx : x ∈ D \ U) :
(connectedComponentIn (D \ U) x ∩ closure U).Nonempty
Proof
:= by
by_contra hK
rw [not_nonempty_iff_eq_empty] at hK
have : CompactSpace (D \ U : Set X) := isCompact_iff_compactSpace.1 (hD.diff hU)
set T : Set (D \ U : Set X) := (↑) ⁻¹' closure U
have hT : IsClosed T := isClosed_closure.preimage continuous_subtypeVal
-- The component of `x` in `D \ U` is the intersection of the clopen sets containing it, so
-- finitely many of them already miss the compact set `T`.
let ι := {s : Set (D \ U : Set X) // IsClopen s ∧ ⟨x, hx⟩ ∈ s}
have h : Disjoint T (⋂ s : ι, s.val) := by
rw [← connectedComponent_eq_iInter_isClopen, Set.disjoint_left]
intro z hzT hzK
have hz : (z : X) ∈ connectedComponentIn (D \ U) x := by
rw [connectedComponentIn_eq_image hx]
exact mem_image_of_mem _ hzK
exact (eq_empty_iff_forall_notMem.1 hK) z ⟨hz, hzT⟩
obtain ⟨u, hu⟩ := hT.isCompact.elim_finite_subfamily_closed (fun s : ι ↦ s.val)
(fun s ↦ s.property.1.1) h
set W : Set (D \ U : Set X) := ⋂ i ∈ u, i.val
have hW : IsClopen W := isClopen_biInter_finset fun i _ ↦ i.property.1
have hxW : (⟨x, hx⟩ : (D \ U : Set X)) ∈ W := mem_iInter₂.2 fun i _ ↦ i.property.2
have hWT : ∀ z ∈ W, (z : X) ∉ closure U := fun z hzW hzT ↦ hu.notMem_of_mem_left hzT hzW
obtain ⟨O, hO, hOW⟩ := isOpen_induced_iff.1 hW.isOpen
have hWc : IsClosed (((↑) : (D \ U : Set X) → X) '' W) :=
(hW.isClosed.isCompact.image continuous_subtypeVal).isClosed
-- The image of `W` is relatively clopen in `D`, so it is all of `D`; but `D` meets `U`.
have hcov : D ⊆ O \ closure U ∪ (((↑) : (D \ U : Set X) → X) '' W)ᶜ := by
intro z hzD
by_cases hz : z ∈ ((↑) : (D \ U : Set X) → X) '' W
· obtain ⟨w, hwW, rfl⟩ := hz
refine Or.inl ⟨?_, hWT w hwW⟩
rwa [← hOW] at hwW
· exact Or.inr hz
have hdisj : D ∩ ((O \ closure U) ∩ (((↑) : (D \ U : Set X) → X) '' W)ᶜ) = ∅ := by
rw [eq_empty_iff_forall_notMem]
rintro z ⟨hzD, ⟨hzO, hzU⟩, hzW⟩
have hzDU : z ∈ D \ U := ⟨hzD, fun h ↦ hzU (subset_closure h)⟩
refine hzW ⟨⟨z, hzDU⟩, ?_, rfl⟩
rwa [← hOW]
rcases isPreconnected_iff_subset_of_disjoint.1 hDc _ _ (hO.sdiff isClosed_closure)
hWc.isOpen_compl hcov hdisj with hDO | hDW
· obtain ⟨z, hzD, hzU⟩ := hDU
exact (hDO hzD).2 (subset_closure hzU)
· exact hDW hx.1 (mem_image_of_mem _ hxW)
variable [T2Space X] {ι : Type*} {F : ι → Set X}
lemma exists_subset_disjoint
The inductive step of Sierpiński's theorem: a compact preconnected set covered by pairwise
disjoint closed sets and meeting two of them contains, for any index k, a compact preconnected
subset that misses F k and still meets two of them.
private lemma exists_subset_disjoint (hF : ∀ i, IsClosed (F i)) (hd : Pairwise (Disjoint on F))
{D : Set X} (hDc : IsPreconnected D) (hD : IsCompact D) (hDF : D ⊆ ⋃ i, F i) {i j : ι}
(hij : i ≠ j) (hi : (D ∩ F i).Nonempty) (hj : (D ∩ F j).Nonempty) (k : ι) :
∃ E ⊆ D, IsPreconnected E ∧ IsCompact E ∧ Disjoint E (F k) ∧
∃ i j, i ≠ j ∧ (E ∩ F i).Nonempty ∧ (E ∩ F j).Nonempty
Proof
:= by
by_cases hk : (D ∩ F k).Nonempty
swap
· refine ⟨D, subset_rfl, hDc, hD, ?_, i, j, hij, hi, hj⟩
rw [Set.disjoint_iff_inter_eq_empty]
exact not_nonempty_iff_eq_empty.1 hk
-- Some piece `F m` other than `F k` meets `D`.
obtain ⟨m, hmk, hm⟩ : ∃ m, m ≠ k ∧ (D ∩ F m).Nonempty := by
by_cases hik : i = k
· exact ⟨j, hik ▸ hij.symm, hj⟩
· exact ⟨i, hik, hi⟩
obtain ⟨U, V, hU, hV, hkU, hmV, hUV⟩ := SeparatedNhds.of_isCompact_isCompact
(hD.inter_right (hF k)) (hD.inter_right (hF m))
((hd hmk.symm).mono inter_subset_right inter_subset_right)
obtain ⟨x, hxD, hxm⟩ := hm
have hxU : x ∉ U := fun h ↦ hUV.notMem_of_mem_left h (hmV ⟨hxD, hxm⟩)
have hx : x ∈ D \ U := ⟨hxD, hxU⟩
obtain ⟨y, hyE, hyU⟩ := connectedComponentIn_diff_inter_closure_nonempty hDc hD hU
(hk.mono (subset_inter inter_subset_left hkU)) hx
set E := connectedComponentIn (D \ U) x
have hED : E ⊆ D \ U := connectedComponentIn_subset _ _
have hEc : IsClosed E := by
refine closure_subset_iff_isClosed.1 <|
isPreconnected_connectedComponentIn.closure.subset_connectedComponentIn
(subset_closure (mem_connectedComponentIn hx)) ?_
exact closure_minimal hED (hD.isClosed.inter hU.isClosed_compl)
obtain ⟨l, hl⟩ := mem_iUnion.1 (hDF (hED hyE).1)
have hlm : l ≠ m := by
rintro rfl
exact (hUV.closure_left hV).notMem_of_mem_left hyU (hmV ⟨(hED hyE).1, hl⟩)
refine ⟨E, hED.trans sdiff_subset, isPreconnected_connectedComponentIn,
hD.of_isClosed_subset hEc (hED.trans sdiff_subset), ?_, l, m, hlm, ⟨y, hyE, hl⟩,
⟨x, mem_connectedComponentIn hx, hxm⟩⟩
rw [Set.disjoint_left]
intro z hzE hzk
exact (hED hzE).2 (hkU ⟨(hED hzE).1, hzk⟩)
theorem IsPreconnected.subsingleton_setOf_inter_nonempty
Sierpiński's theorem. If a compact preconnected subset C of a Hausdorff space is covered
by countably many pairwise disjoint closed sets, then it meets at most one of them.
theorem IsPreconnected.subsingleton_setOf_inter_nonempty [Countable ι]
(hF : ∀ i, IsClosed (F i)) (hd : Pairwise (Disjoint on F)) {C : Set X}
(hCc : IsPreconnected C) (hC : IsCompact C) (hCF : C ⊆ ⋃ i, F i) :
{i | (C ∩ F i).Nonempty}.Subsingleton
Proof
:= by
intro i hi j hj
by_contra hij
have : Nonempty ι := ⟨i⟩
obtain ⟨e, he⟩ := exists_surjective_nat ι
-- The compact preconnected subsets of `C` that meet two of the pieces.
let P : Set X → Prop := fun E ↦ E ⊆ C ∧ IsPreconnected E ∧ IsCompact E ∧
∃ i j, i ≠ j ∧ (E ∩ F i).Nonempty ∧ (E ∩ F j).Nonempty
have step (E : {E // P E}) (n : ℕ) : ∃ E' : {E // P E}, E'.val ⊆ E.val ∧
Disjoint E'.val (F (e n)) := by
obtain ⟨hEC, hEc, hE, i, j, hij, hi, hj⟩ := E.property
obtain ⟨E', hE'E, hE'c, hE', hE'n, h'⟩ :=
exists_subset_disjoint hF hd hEc hE (hEC.trans hCF) hij hi hj (e n)
exact ⟨⟨E', hE'E.trans hEC, hE'c, hE', h'⟩, hE'E, hE'n⟩
choose g hg using step
let s : ℕ → {E // P E} := fun n ↦
Nat.rec ⟨C, subset_rfl, hCc, hC, i, j, hij, hi, hj⟩ (fun n E ↦ g E n) n
have hs (n : ℕ) : s (n + 1) = g (s n) n := rfl
obtain ⟨p, hp⟩ := IsCompact.nonempty_iInter_of_sequence_nonempty_isCompact_isClosed
(fun n ↦ (s n).val) (fun n ↦ (hs n).symm ▸ (hg (s n) n).1)
(fun n ↦ by
obtain ⟨-, -, -, i, -, -, hi, -⟩ := (s n).property
exact hi.mono inter_subset_left)
hC (fun n ↦ (s n).property.2.2.1.isClosed)
rw [mem_iInter] at hp
obtain ⟨k, hk⟩ := mem_iUnion.1 (hCF ((s 0).property.1 (hp 0)))
obtain ⟨n, rfl⟩ := he k
have hpn := hp (n + 1)
rw [hs] at hpn
exact (hg (s n) n).2.notMem_of_mem_left hpn hk
On this site: Theorem: Sierpiński's theorem on countable partitions of continua
theorem PreconnectedSpace.subsingleton_setOf_nonempty_of_iUnion_eq_univ
Sierpiński's theorem for spaces: if a compact preconnected Hausdorff space is the union of countably many pairwise disjoint closed sets, then at most one of them is nonempty.
theorem PreconnectedSpace.subsingleton_setOf_nonempty_of_iUnion_eq_univ [PreconnectedSpace X]
[CompactSpace X] [Countable ι] (hF : ∀ i, IsClosed (F i)) (hd : Pairwise (Disjoint on F))
(hFU : ⋃ i, F i = univ) : {i | (F i).Nonempty}.Subsingleton
Proof
:= by
simpa using isPreconnected_univ.subsingleton_setOf_inter_nonempty hF hd isCompact_univ hFU.ge
variable {Y : Type*} [TopologicalSpace Y] [T1Space Y] [Countable Y]
theorem PreconnectedSpace.constant_of_countable
A continuous map from a compact preconnected Hausdorff space to a countable T₁ space is constant: its fibres are countably many pairwise disjoint closed sets covering the domain.
theorem PreconnectedSpace.constant_of_countable [T2Space X] [CompactSpace X]
(hp : PreconnectedSpace X) {f : X → Y} (hf : Continuous f) {x y : X} : f x = f y
Proof
:=
PreconnectedSpace.subsingleton_setOf_nonempty_of_iUnion_eq_univ (F := fun z : Y ↦ f ⁻¹' {z})
(fun _ ↦ isClosed_singleton.preimage hf)
(fun _ _ hab ↦ (disjoint_singleton.2 hab).preimage f) (by ext; simp)
⟨x, mem_singleton _⟩ ⟨y, mem_singleton _⟩
theorem Path.eq_of_countable
In a countable T₁ space every path is constant.
theorem Path.eq_of_countable {x y : Y} (γ : Path x y) (s t : unitInterval) : γ s = γ t
Proof
:=
PreconnectedSpace.constant_of_countable inferInstance γ.continuous
theorem Joined.eq_of_countable
In a countable T₁ space two points joined by a path are equal.
theorem Joined.eq_of_countable {x y : Y} (h : Joined x y) : x = y
Proof
:= by
simpa using h.somePath.eq_of_countable 0 1
On this site: Theorem: In a countable T₁ space only equal points are joined by a path
theorem pathComponent_eq_singleton_of_countable
In a countable T₁ space the path component of a point is that point alone.
theorem pathComponent_eq_singleton_of_countable (x : Y) : pathComponent x = {x}
Proof
:= by
ext y
rw [mem_pathComponent_iff, mem_singleton_iff]
exact ⟨fun h ↦ h.eq_of_countable.symm, fun h ↦ h ▸ Joined.refl x⟩
theorem not_pathConnectedSpace_of_countable
A countable T₁ space with at least two points is not path connected.
theorem not_pathConnectedSpace_of_countable [Nontrivial Y] : ¬PathConnectedSpace Y
Proof
:= fun h ↦ by
obtain ⟨x, y, hxy⟩ := exists_pair_ne Y
exact hxy (h.joined x y).eq_of_countable