Lean library · module TopologyByExample.Theorems.PathDispersion

Specialization at a dispersion point in a path-connected space

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 specializes_or_of_dispersion

TopologyByExample.specializes_or_of_dispersion

Every point is comparable in the specialization order with a dispersion point of a path-connected space.

theorem specializes_or_of_dispersion [PathPreconnectedSpace X] {p : X}
    (hp : IsTotallyDisconnected ({p}ᶜ : Set X)) (q : X) : p ⤳ q ∨ q ⤳ p
Proof
:= by
  classical
  by_cases h : p ⤳ q
  · exact Or.inl h
  right
  by_contra hn
  have hqp : q ≠ p := fun he ↦ h (he ▸ specializes_rfl)
  have hclosed : IsClosed ({q} : Set X) := by
    apply isClosed_of_closure_subset
    intro z hz
    rcases closure_singleton_subset_pair_of_dispersion hp hqp hz with he | he
    · exact (hn (specializes_iff_mem_closure.mpr (he ▸ hz))).elim
    · exact he
  obtain ⟨g⟩ := PathPreconnectedSpace.joined q p
  let : LocallyPathConnectedSpace unitInterval := (convex_Icc (0 : ℝ) 1).locallyPathConnectedSpace
  let F : Set unitInterval := g ⁻¹' {q}
  have hFclosed : IsClosed F := hclosed.preimage g.continuous
  have hFopen : IsOpen F := by
    apply isOpen_iff_mem_nhds.mpr
    intro t ht
    have htq : g t = q := ht
    have htout : g t ∈ (closure ({p} : Set X))ᶜ := by
      rw [mem_compl_iff, htq]
      exact fun hh ↦ h (specializes_iff_mem_closure.mpr hh)
    obtain ⟨A, hAs, hAo, htA, hAc⟩ := locallyConnectedSpace_iff_subsets_isOpen_isConnected.mp
      (inferInstance : LocallyConnectedSpace unitInterval) t _
        ((isClosed_closure.isOpen_compl.preimage g.continuous).mem_nhds htout)
    have hsub : g '' A ⊆ ({p}ᶜ : Set X) := by
      rintro _ ⟨z, hz, rfl⟩
      intro he
      apply hAs hz
      change g z = p at he
      simpa only [he] using (subset_closure (mem_singleton p))
    have hs := hp (g '' A) hsub (hAc.isPreconnected.image g g.continuous.continuousOn)
    exact Filter.mem_of_superset (hAo.mem_nhds htA) fun z hz ↦
      (hs (mem_image_of_mem g hz) (mem_image_of_mem g htA)).trans htq
  have hall : F = univ := IsClopen.eq_univ ⟨hFclosed, hFopen⟩ ⟨0, g.source⟩
  have he : p = q := g.target.symm.trans (show g 1 = q from (hall ▸ mem_univ 1 : 1 ∈ F))
  exact hqp he.symm

theorem dispersion_specialization_dichotomy

TopologyByExample.dispersion_specialization_dichotomy

A dispersion point of a path-connected space either specializes to every point or is specialized to by every point.

theorem dispersion_specialization_dichotomy [PathPreconnectedSpace X] {p : X}
    (hp : IsTotallyDisconnected ({p}ᶜ : Set X)) :
    (∀ q, p ⤳ q) ∨ (∀ q, q ⤳ p)
Proof
:= by
  classical
  by_cases h : ∀ q, p ⤳ q
  · exact Or.inl h
  push Not at h
  obtain ⟨q, hq⟩ := h
  have hqp := (specializes_or_of_dispersion hp q).resolve_left hq
  have hne : q ≠ p := fun he ↦ hq (he ▸ specializes_rfl)
  right
  intro x
  rcases specializes_or_of_dispersion hp x with hx | hx
  · have hm := closure_singleton_subset_pair_of_dispersion hp hne
      (specializes_iff_mem_closure.mp (hqp.trans hx))
    rcases hm with hx | hx
    · subst x
      exact specializes_rfl
    · simp only [mem_singleton_iff] at hx
      subst x
      exact hqp
  · exact hx

On this site: Theorem: Neighbourhood dichotomy at a dispersion point

theorem locallyPathConnectedSpace_or_ultraconnectedSpace_of_hasDispersionPoint

TopologyByExample.locallyPathConnectedSpace_or_ultraconnectedSpace_of_hasDispersionPoint

A path-connected space with a dispersion point is locally path connected or ultraconnected.

theorem locallyPathConnectedSpace_or_ultraconnectedSpace_of_hasDispersionPoint
    [PathPreconnectedSpace X] [HasDispersionPoint X] :
    LocallyPathConnectedSpace X ∨ UltraconnectedSpace X
Proof
:= by
  obtain ⟨p, hp⟩ := HasDispersionPoint.exists_point (X := X)
  rcases dispersion_specialization_dichotomy hp with h | h
  · exact Or.inl (locallyPathConnectedSpace_of_forall_specializes p h)
  · exact Or.inr ⟨fun x y ↦ ⟨p, specializes_iff_mem_closure.mp (h x),
      specializes_iff_mem_closure.mp (h y)⟩⟩

theorem ultraconnectedSpace_of_path_dispersion_not_locallyPathConnected

TopologyByExample.ultraconnectedSpace_of_path_dispersion_not_locallyPathConnected

Failure of local path connectedness forces ultraconnectedness in a path-connected space with a dispersion point.

theorem ultraconnectedSpace_of_path_dispersion_not_locallyPathConnected
    [PathPreconnectedSpace X] [HasDispersionPoint X] (h : ¬LocallyPathConnectedSpace X) :
    UltraconnectedSpace X
Proof
:=
  locallyPathConnectedSpace_or_ultraconnectedSpace_of_hasDispersionPoint.resolve_left h

On this site: Theorem: Path-connected spaces with dispersion points and no local path connectedness are ultraconnected