Lean library · module TopologyByExample.Theorems.BiconnectedSmallNormal

Complete normality of non-T₀ biconnected spaces

Source file

This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.

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

theorem completelyNormalSpace_of_two_inseparable_classes

TopologyByExample.completelyNormalSpace_of_two_inseparable_classes

A space with at most two topological indistinguishability classes is completely normal.

theorem completelyNormalSpace_of_two_inseparable_classes (a b : X)
    (h : ∀ x, Inseparable a x ∨ Inseparable b x) : CompletelyNormalSpace X
Proof
:= by
  refine ⟨fun s t hst hts ↦ ?_⟩
  rcases s.eq_empty_or_nonempty with rfl | ⟨x, hx⟩
  · exact separatedNhds_iff_disjoint.mp
      ⟨∅, univ, isOpen_empty, isOpen_univ, subset_rfl, subset_univ _, empty_disjoint _⟩
  rcases t.eq_empty_or_nonempty with rfl | ⟨y, hy⟩
  · exact separatedNhds_iff_disjoint.mp
      ⟨univ, ∅, isOpen_univ, isOpen_empty, subset_univ _, subset_rfl, disjoint_empty _⟩
  have memcl {A : Set X} {u v : X} (hu : u ∈ A) (huv : Inseparable u v) : v ∈ closure A :=
    closure_mono (singleton_subset_iff.mpr hu) (specializes_iff_mem_closure.mp huv.specializes)
  have hxy : ¬Inseparable x y := fun hxy ↦ Set.disjoint_left.mp hst (memcl hx hxy) hy
  have hcover (z : X) : z ∈ closure s ∨ z ∈ closure t := by
    rcases h x with hax | hbx <;> rcases h y with hay | hby
    · exact (hxy (hax.symm.trans hay)).elim
    · exact (h z).elim (fun haz ↦ Or.inl (memcl hx (hax.symm.trans haz)))
        (fun hbz ↦ Or.inr (memcl hy (hby.symm.trans hbz)))
    · exact (h z).elim (fun haz ↦ Or.inr (memcl hy (hay.symm.trans haz)))
        (fun hbz ↦ Or.inl (memcl hx (hbx.symm.trans hbz)))
    · exact (hxy (hbx.symm.trans hby)).elim
  apply separatedNhds_iff_disjoint.mp
  refine ⟨(closure t)ᶜ, (closure s)ᶜ, isClosed_closure.isOpen_compl,
    isClosed_closure.isOpen_compl, ?_, ?_, ?_⟩
  · exact fun x hx ht ↦ Set.disjoint_left.mp hts hx ht
  · exact fun y hy hs ↦ Set.disjoint_left.mp hst hs hy
  · exact Set.disjoint_left.mpr fun z hz ht ↦ (hcover z).elim ht hz

theorem completelyNormalSpace_of_biconnected_not_t0

TopologyByExample.completelyNormalSpace_of_biconnected_not_t0

A biconnected space which is not T₀ is completely normal.

theorem completelyNormalSpace_of_biconnected_not_t0 [BiconnectedSpace X]
    (h : ¬T0Space X) : CompletelyNormalSpace X
Proof
:= by
  classical
  have hn : ¬∀ a b : X, Inseparable a b → a = b := by
    simpa only [← t0Space_iff_inseparable] using h
  push Not at hn
  obtain ⟨a, b, hab, hne⟩ := hn
  obtain ⟨u, v, w, hcov⟩ := BiconnectedSpace.exists_three_cover_of_not_t0 h
  have hsmall : ({a,b}ᶜ : Set X).Subsingleton := by
    intro c hc d hd
    have ha := hcov a
    have hb := hcov b
    have hcc := hcov c
    have hdd := hcov d
    simp only [mem_compl_iff, mem_insert_iff, mem_singleton_iff, not_or] at hc hd
    grind
  by_cases hex : ∃ c : X, c ≠ a ∧ c ≠ b
  · obtain ⟨c, hca, hcb⟩ := hex
    apply completelyNormalSpace_of_two_inseparable_classes a c
    intro z
    by_cases hza : z = a
    · exact Or.inl (hza ▸ Inseparable.refl a)
    by_cases hzb : z = b
    · exact Or.inl (hzb ▸ hab)
    have hzc : z = c := hsmall (by simp [hza, hzb]) (by simp [hca, hcb])
    exact Or.inr (hzc ▸ Inseparable.refl c)
  · apply completelyNormalSpace_of_two_inseparable_classes a a
    intro z
    by_cases hza : z = a
    · exact Or.inl (hza ▸ Inseparable.refl a)
    have hzb : z = b := by by_contra hzb; exact hex ⟨z, hza, hzb⟩
    exact Or.inl (hzb ▸ hab)

On this site: Theorem: Biconnected spaces that are not T₀ are completely normal