Lean library · module TopologyByExample.Theorems.ExtensionDispersion

Dispersion points in open and closed extensions

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 dispersion_iff_at_comparable_point

TopologyByExample.dispersion_iff_at_comparable_point

If every point is comparable to a fixed point in the specialization preorder, removing that fixed point witnesses any dispersion point property.

private theorem dispersion_iff_at_comparable_point [PreconnectedSpace X] (p : X)
    (hp : ∀ x, p ⤳ x ∨ x ⤳ p) : HasDispersionPoint X ↔ IsTotallyDisconnected ({p}ᶜ : Set X)
Proof
:= by
  constructor
  · intro h
    obtain ⟨w, hw⟩ := h.exists_point
    by_cases hwp : w = p
    · rwa [← hwp]
    let C := ({w}ᶜ : Set X)
    let : TotallyDisconnectedSpace C := totallyDisconnectedSpace_subtype_iff.2 hw
    let p' : C := ⟨p, Ne.symm hwp⟩
    have heq {x : X} (hx : x ≠ p) : x = w := by
      by_contra hxw
      let x' : C := ⟨x, hxw⟩
      have hpx : p' ⤳ x' ∨ x' ⤳ p' := by
        exact (hp x).imp IsInducing.subtypeVal.specializes_iff.mp
          IsInducing.subtypeVal.specializes_iff.mp
      exact hx (congrArg Subtype.val (hpx.elim (fun h ↦ h.eq.symm) (fun h ↦ h.eq)))
    exact fun s hsub _ a ha b hb ↦ (heq (hsub ha)).trans (heq (hsub hb)).symm
  · intro h
    exact { ‹PreconnectedSpace X› with exists_point := ⟨p, h⟩ }

theorem hasDispersionPoint_iff

TopologyByExample.OpenExtension.hasDispersionPoint_iff

An open extension has a dispersion point iff its ordinary subspace is totally disconnected.

theorem OpenExtension.hasDispersionPoint_iff :
    HasDispersionPoint (OpenExtension X) ↔ TotallyDisconnectedSpace X
Proof
:= by
  rw [dispersion_iff_at_comparable_point (point : OpenExtension X)
    (fun x ↦ Or.inr (specializes_point x)), ← range_some]
  exact isEmbedding_some.isTotallyDisconnected_range

On this site: Theorem: The open extension has a dispersion point iff the space is totally disconnected; Excluded point topologies: the space has a dispersion point

theorem hasDispersionPoint_iff

TopologyByExample.ClosedExtension.hasDispersionPoint_iff

A closed extension has a dispersion point iff its ordinary subspace is totally disconnected.

theorem ClosedExtension.hasDispersionPoint_iff :
    HasDispersionPoint (ClosedExtension X) ↔ TotallyDisconnectedSpace X
Proof
:= by
  rw [dispersion_iff_at_comparable_point (point : ClosedExtension X)
    (fun x ↦ Or.inl (point_specializes x)), ← range_some]
  exact isEmbedding_some.isTotallyDisconnected_range

On this site: Theorem: The closed extension has a dispersion point iff the space is totally disconnected; Particular point topologies: the space has a dispersion point