Lean library · module TopologyByExample.Theorems.DispersionT0

Separation at a dispersion point

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 indiscreteTopology_of_dispersion_inseparable

TopologyByExample.indiscreteTopology_of_dispersion_inseparable

If a dispersion point is inseparable from another point, the whole space is indiscrete.

theorem indiscreteTopology_of_dispersion_inseparable [PreconnectedSpace X] {p q : X}
    (hp : IsTotallyDisconnected ({p}ᶜ : Set X)) (hpq : Inseparable p q) (hne : p ≠ q) :
    IndiscreteTopology X
Proof
:= by
  have hc : IsPreconnected ({p}ᶜ : Set X) := by
    rw [compl_eq_univ_sdiff]
    exact IsPreconnected.diff_singleton_of_inseparable isPreconnected_univ hpq hne (mem_univ q)
  have hs := hp _ subset_rfl hc
  have h (x : X) : Inseparable p x := by
    by_cases hx : x = p
    · subst x
      exact Inseparable.refl p
    · have hxq : x = q := hs hx hne.symm
      simpa only [hxq] using hpq
  exact .of_forall_inseparable fun x y ↦ (h x).symm.trans (h y)

theorem indiscreteTopology_of_hasDispersionPoint_not_t0

TopologyByExample.indiscreteTopology_of_hasDispersionPoint_not_t0

A space with a dispersion point that is not T₀ is indiscrete.

theorem indiscreteTopology_of_hasDispersionPoint_not_t0 [HasDispersionPoint X]
    (h : ¬T0Space X) : IndiscreteTopology X
Proof
:= by
  classical
  obtain ⟨p, hp⟩ := HasDispersionPoint.exists_point (X := X)
  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
  by_cases ha : a = p
  · subst a
    exact indiscreteTopology_of_dispersion_inseparable hp hab hne
  by_cases hb : b = p
  · subst b
    exact indiscreteTopology_of_dispersion_inseparable hp hab.symm hne.symm
  have hc : IsPreconnected ({a, b} : Set X) := by
    apply (isPreconnected_singleton (x := a)).subset_closure (by simp)
    exact insert_subset (subset_closure (by simp))
      (singleton_subset_iff.mpr (specializes_iff_mem_closure.mp hab.specializes))
  have hs := hp _ (by simpa only [insert_subset_iff, singleton_subset_iff, mem_compl_iff,
    mem_singleton_iff] using And.intro ha hb) hc
  exact (hne (hs (by simp) (by simp))).elim

On this site: Theorem: A space with a dispersion point that is not T₀ is indiscrete