Lean library · module TopologyByExample.Theorems.ClosuresMeet

Spaces in which the closures of any two nonempty open sets meet

Source file

Several classical countable connected Hausdorff spaces (the Golomb space, the Kirch space, the irrational slope topology) are connected for the same reason: the closures of any two nonempty open sets meet. In this file we record what that condition gives.

Main statements

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
variable {X : Type*} [TopologicalSpace X]

theorem closure_inter_closure_nonempty_of_mem_nhds

TopologyByExample.closure_inter_closure_nonempty_of_mem_nhds

If the closures of any two nonempty open sets meet, then the closures of any neighbourhood of x and any neighbourhood of y meet.

theorem closure_inter_closure_nonempty_of_mem_nhds
    (h : ∀ U V : Set X, IsOpen U → IsOpen V → U.Nonempty → V.Nonempty →
      (closure U ∩ closure V).Nonempty)
    {x y : X} {s t : Set X} (hs : s ∈ 𝓝 x) (ht : t ∈ 𝓝 y) : (closure s ∩ closure t).Nonempty
Proof
:=
  (h _ _ isOpen_interior isOpen_interior ⟨x, mem_interior_iff_mem_nhds.2 hs⟩
    ⟨y, mem_interior_iff_mem_nhds.2 ht⟩).mono
    (inter_subset_inter (closure_mono interior_subset) (closure_mono interior_subset))

theorem preconnectedSpace_of_closure_inter_closure

TopologyByExample.preconnectedSpace_of_closure_inter_closure

If the closures of any two nonempty open sets meet, then the space is preconnected.

theorem preconnectedSpace_of_closure_inter_closure
    (h : ∀ U V : Set X, IsOpen U → IsOpen V → U.Nonempty → V.Nonempty →
      (closure U ∩ closure V).Nonempty) : PreconnectedSpace X
Proof
:= by
  refine preconnectedSpace_iff_clopen.2 fun u hu ↦ ?_
  rw [or_iff_not_imp_left, ← ne_eq, ne_empty_iff_nonempty]
  intro hne
  by_contra hne'
  have hc : uᶜ.Nonempty := by
    by_contra h'
    exact hne' (by simpa [not_nonempty_iff_eq_empty] using h')
  obtain ⟨z, hz, hz'⟩ := h u uᶜ hu.isOpen hu.compl.isOpen hne hc
  rw [hu.isClosed.closure_eq, hu.compl.isClosed.closure_eq] at *
  exact hz' hz

theorem preconnectedSpace_and_not_t25_of_closure_inter_closure

TopologyByExample.preconnectedSpace_and_not_t25_of_closure_inter_closure

The closures of any two nonempty open sets meet. In a space where the closures of any two nonempty open sets meet, the space is preconnected, the closures of a neighbourhood of any point and a neighbourhood of any point meet, and the space is Urysohn (T₂½) only if it has at most one point.

theorem preconnectedSpace_and_not_t25_of_closure_inter_closure
    (h : ∀ U V : Set X, IsOpen U → IsOpen V → U.Nonempty → V.Nonempty →
      (closure U ∩ closure V).Nonempty) :
    PreconnectedSpace X ∧
      (∀ x y : X, ∀ s ∈ 𝓝 x, ∀ t ∈ 𝓝 y, (closure s ∩ closure t).Nonempty) ∧
      (T25Space X → Subsingleton X)
Proof
:= by
  refine ⟨preconnectedSpace_of_closure_inter_closure h,
    fun x y s hs t ht ↦ closure_inter_closure_nonempty_of_mem_nhds h hs ht, fun _ ↦ ?_⟩
  refine ⟨fun x y ↦ ?_⟩
  by_contra hxy
  obtain ⟨s, hs, t, ht, hst⟩ := exists_nhds_disjoint_closure hxy
  exact (closure_inter_closure_nonempty_of_mem_nhds h hs ht).ne_empty hst.inter_eq

On this site: Theorem: If the closures of any two nonempty open sets meet, the space is connected and is Urysohn only if it has at most one point