Lean library · module TopologyByExample.Theorems.CountableChainCondition

The countable chain condition

Source file

A topological space satisfies the countable chain condition if every family of pairwise disjoint nonempty open sets is countable. We state it as ∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id → S.Countable.

Main statements

Tags

countable chain condition, ccc, Suslin property, separable

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

theorem countableChainCondition_of_separableSpace

TopologyByExample.countableChainCondition_of_separableSpace

A separable space satisfies the countable chain condition: every family of pairwise disjoint nonempty open sets is countable.

theorem countableChainCondition_of_separableSpace {X : Type*} [TopologicalSpace X]
    [SeparableSpace X] :
    ∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id → S.Countable
Proof
:=
  fun _ hS hd ↦ hd.countable_of_isOpen (fun s hs ↦ (hS s hs).1) fun s hs ↦ (hS s hs).2

On this site: Theorem: Separable spaces satisfy the countable chain condition

The countable chain condition along maps

variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y]

theorem countable_setOf_preimage_nonempty_of_ccc

TopologyByExample.countable_setOf_preimage_nonempty_of_ccc

If X satisfies the countable chain condition and f : X → Y is continuous, then in a pairwise disjoint family of open subsets of Y only countably many members meet the range of f.

theorem countable_setOf_preimage_nonempty_of_ccc {f : X → Y} (hf : Continuous f)
    (hX : ∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable)
    {S : Set (Set Y)} (hSo : ∀ s ∈ S, IsOpen s) (hS : S.PairwiseDisjoint id) :
    {s ∈ S | (f ⁻¹' s).Nonempty}.Countable
Proof
:= by
  refine MapsTo.countable_of_injOn (mapsTo_image (preimage f) _) ?_ (hX _ ?_ ?_)
  · rintro s₁ ⟨hs₁, x, hx₁⟩ s₂ ⟨hs₂, -⟩ h
    have hx₂ : x ∈ f ⁻¹' s₂ := h ▸ hx₁
    exact hS.elim hs₁ hs₂ (not_disjoint_iff.2 ⟨f x, hx₁, hx₂⟩)
  · rintro _ ⟨s, ⟨hs, hne⟩, rfl⟩
    exact ⟨(hSo s hs).preimage hf, hne⟩
  · rintro _ ⟨s₁, ⟨hs₁, -⟩, rfl⟩ _ ⟨s₂, ⟨hs₂, -⟩, rfl⟩ hne
    exact (hS hs₁ hs₂ fun h ↦ hne (h ▸ rfl)).preimage f

theorem ccc_of_continuous_surjective

TopologyByExample.ccc_of_continuous_surjective

A continuous image of a space with the countable chain condition satisfies the countable chain condition.

theorem ccc_of_continuous_surjective {f : X → Y} (hf : Continuous f) (hsurj : Surjective f)
    (hX : ∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable) :
    ∀ S : Set (Set Y), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable
Proof
:= fun S hS hd ↦
  (countable_setOf_preimage_nonempty_of_ccc hf hX (fun s hs ↦ (hS s hs).1) hd).mono
    fun s hs ↦ (⟨hs, (hS s hs).2.preimage hsurj⟩ : s ∈ {s ∈ S | (f ⁻¹' s).Nonempty})

On this site: Theorem: Continuous images of spaces with the countable chain condition satisfy it

theorem ccc_of_isOpenEmbedding

TopologyByExample.ccc_of_isOpenEmbedding

An open subspace of a space with the countable chain condition satisfies the countable chain condition.

theorem ccc_of_isOpenEmbedding {f : X → Y} (hf : IsOpenEmbedding f)
    (hY : ∀ S : Set (Set Y), (∀ 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
  intro S hS hd
  refine MapsTo.countable_of_injOn (mapsTo_image (image f) S)
    (image_injective.2 hf.injective).injOn (hY _ ?_ ?_)
  · rintro _ ⟨s, hs, rfl⟩
    exact ⟨hf.isOpenMap s (hS s hs).1, (hS s hs).2.image f⟩
  · rintro _ ⟨s₁, hs₁, rfl⟩ _ ⟨s₂, hs₂, rfl⟩ hne
    exact (disjoint_image_iff hf.injective).2 (hd hs₁ hs₂ fun h ↦ hne (h ▸ rfl))

On this site: Theorem: Open subspaces of spaces with the countable chain condition satisfy it

theorem not_countableChainCondition_of_surjective

TopologyByExample.not_countableChainCondition_of_surjective

If a space fails the countable chain condition, so does any space that maps onto it continuously: the preimages of uncountably many disjoint nonempty open sets are uncountably many disjoint nonempty open sets.

theorem not_countableChainCondition_of_surjective {f : Y → X} (hf : Continuous f)
    (hs : Surjective f)
    (hX : ¬∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable) :
    ¬∀ S : Set (Set Y), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable
Proof
:=
  fun hY ↦ hX (ccc_of_continuous_surjective hf hs hY)

theorem not_countableChainCondition_of_isOpenEmbedding

TopologyByExample.not_countableChainCondition_of_isOpenEmbedding

If a space fails the countable chain condition, so does any space into which it embeds as an open subspace.

theorem not_countableChainCondition_of_isOpenEmbedding {f : X → Y} (hf : IsOpenEmbedding f)
    (hX : ¬∀ S : Set (Set X), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable) :
    ¬∀ S : Set (Set Y), (∀ s ∈ S, IsOpen s ∧ s.Nonempty) → S.PairwiseDisjoint id →
      S.Countable
Proof
:=
  fun hY ↦ hX (ccc_of_isOpenEmbedding hf hY)