Lean library Β· module TopologyByExample.Theorems.TwinPoints

Points that cannot be told apart by regular open sets

Source file

Let x and y be points of a topological space such that the closure of every neighbourhood of x is a neighbourhood of y. Then every neighbourhood of x meets every neighbourhood of y, every regular open set containing x contains y, and so, if some open set contains x but not y, the space is not semiregular.

The hypothesis holds for twin points: if x is not isolated and x and y have the same punctured neighbourhoods (𝓝[β‰ ] x = 𝓝[β‰ ] y), then the closure of every neighbourhood of x is a neighbourhood of y. This covers the doubled points of the line with two origins, the telophase space and the everywhere doubled line; the modified telophase space satisfies the hypothesis without its two endpoints being twins.

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] {x y : X}

theorem closure_mem_nhds_of_nhdsNE_eq

TopologyByExample.closure_mem_nhds_of_nhdsNE_eq

If x is not isolated and x and y have the same punctured neighbourhoods, then the closure of every neighbourhood of x is a neighbourhood of y.

theorem closure_mem_nhds_of_nhdsNE_eq (h : 𝓝[β‰ ] x = 𝓝[β‰ ] y) [(𝓝[β‰ ] x).NeBot] :
    βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y
Proof
:= by
  intro U hU
  have hUy : U ∈ 𝓝[β‰ ] y := h β–Έ mem_nhdsWithin_of_mem_nhds hU
  have : (𝓝[β‰ ] y).NeBot := h β–Έ inferInstance
  have hy : y ∈ closure U :=
    mem_closure_iff_nhds.2 fun W hW ↦
      nonempty_of_mem (inter_mem (mem_nhdsWithin_of_mem_nhds hW) hUy)
  have := insert_mem_nhds_iff.2 (mem_of_superset hUy subset_closure)
  rwa [insert_eq_of_mem hy] at this

On this site: Theorem: Points with the same punctured neighbourhoods

theorem mem_of_isRegularOpen_of_closure_mem_nhds

TopologyByExample.mem_of_isRegularOpen_of_closure_mem_nhds

If the closure of every neighbourhood of x is a neighbourhood of y, then every regular open set containing x contains y.

theorem mem_of_isRegularOpen_of_closure_mem_nhds (h : βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y) {V : Set X}
    (hV : IsRegularOpen V) (hx : x ∈ V) : y ∈ V
Proof
:= by
  rw [← hV, mem_interior_iff_mem_nhds]
  exact h V (hV.isOpen.mem_nhds hx)

theorem inter_nonempty_of_closure_mem_nhds

TopologyByExample.inter_nonempty_of_closure_mem_nhds

If the closure of every neighbourhood of x is a neighbourhood of y, then every neighbourhood of x meets every neighbourhood of y.

theorem inter_nonempty_of_closure_mem_nhds (h : βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y) {U W : Set X}
    (hU : U ∈ 𝓝 x) (hW : W ∈ 𝓝 y) : (U ∩ W).Nonempty
Proof
:= by
  obtain ⟨z, hzW, hz⟩ := mem_closure_iff_nhds.1 (mem_of_mem_nhds (h U hU)) W hW
  exact ⟨z, hz, hzW⟩

theorem not_semiregularSpace_of_closure_mem_nhds

TopologyByExample.not_semiregularSpace_of_closure_mem_nhds

If the closure of every neighbourhood of x is a neighbourhood of y, and some open set contains x but not y, then the space is not semiregular.

theorem not_semiregularSpace_of_closure_mem_nhds (h : βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y) {U : Set X}
    (hU : IsOpen U) (hxU : x ∈ U) (hyU : y βˆ‰ U) : Β¬SemiregularSpace X
Proof
:= by
  intro hs
  obtain ⟨V, hV, hxV, hVU⟩ :=
    (semiregularSpace_iff_isRegularOpen.1 hs).exists_subset_of_mem_open hxU hU
  exact hyU (hVU (mem_of_isRegularOpen_of_closure_mem_nhds h hV hxV))

theorem closure_mem_nhds_consequences

TopologyByExample.closure_mem_nhds_consequences

If the closure of every neighbourhood of x is a neighbourhood of y, then every neighbourhood of x meets every neighbourhood of y, every regular open set containing x contains y, and, if some open set contains x but not y, the space is not semiregular.

theorem closure_mem_nhds_consequences (h : βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y) :
    (βˆ€ U ∈ 𝓝 x, βˆ€ W ∈ 𝓝 y, (U ∩ W).Nonempty) ∧
      (βˆ€ V : Set X, IsRegularOpen V β†’ x ∈ V β†’ y ∈ V) ∧
      ((βˆƒ U : Set X, IsOpen U ∧ x ∈ U ∧ y βˆ‰ U) β†’ Β¬SemiregularSpace X)
Proof
:=
  ⟨fun _ hU _ hW ↦ inter_nonempty_of_closure_mem_nhds h hU hW,
    fun _ hV hx ↦ mem_of_isRegularOpen_of_closure_mem_nhds h hV hx,
    fun ⟨_, hU, hxU, hyU⟩ ↦ not_semiregularSpace_of_closure_mem_nhds h hU hxU hyU⟩

On this site: Theorem: If the closure of every neighbourhood of \(x\) is a neighbourhood of \(y\), every regular open set containing \(x\) contains \(y\)

theorem not_semiregularSpace_of_closure_mem_nhds_of_ne

TopologyByExample.not_semiregularSpace_of_closure_mem_nhds_of_ne

In a T₁ space, if the closure of every neighbourhood of x is a neighbourhood of a point y β‰  x, the space is not semiregular.

theorem not_semiregularSpace_of_closure_mem_nhds_of_ne [T1Space X]
    (h : βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y) (hxy : x β‰  y) : Β¬SemiregularSpace X
Proof
:=
  not_semiregularSpace_of_closure_mem_nhds h isOpen_compl_singleton hxy (by simp)

theorem not_t2Space_of_closure_mem_nhds

TopologyByExample.not_t2Space_of_closure_mem_nhds

If the closure of every neighbourhood of x is a neighbourhood of a point y β‰  x, the space is not Hausdorff.

theorem not_t2Space_of_closure_mem_nhds (h : βˆ€ U ∈ 𝓝 x, closure U ∈ 𝓝 y) (hxy : x β‰  y) :
    Β¬T2Space X
Proof
:= by
  intro _
  obtain ⟨U, W, hU, hW, hxU, hyW, hUW⟩ := t2_separation hxy
  obtain ⟨z, hzU, hzW⟩ := inter_nonempty_of_closure_mem_nhds h (hU.mem_nhds hxU) (hW.mem_nhds hyW)
  exact hUW.le_bot ⟨hzU, hzW⟩
variable {Y : Type*} [TopologicalSpace Y] [T1Space Y] {p : Y} {I : Type*}

theorem nhdsNE_origin

TopologyByExample.WithOrigins.nhdsNE_origin

The punctured neighbourhoods of an origin are the images of the punctured neighbourhoods of p on its sheet.

theorem nhdsNE_origin (i : I) :
    𝓝[β‰ ] (origin i : WithOrigins Y p I) = map (chart i) (𝓝[β‰ ] p)
Proof
:= by
  rw [nhdsWithin, origin, nhds_mk, ← map_inf_principal_preimage, nhdsWithin]
  congr 3
  ext x
  simp only [mem_preimage, mem_compl_iff, mem_singleton_iff, chart_apply]
  exact (chart_injective i).ne_iff

theorem nhdsNE_origin_eq

TopologyByExample.WithOrigins.nhdsNE_origin_eq

Any two origins have the same punctured neighbourhoods.

theorem nhdsNE_origin_eq (i j : I) :
    𝓝[β‰ ] (origin i : WithOrigins Y p I) = 𝓝[β‰ ] (origin j)
Proof
:= by
  rw [nhdsNE_origin, nhdsNE_origin]
  exact map_congr (eventually_nhdsWithin_of_forall fun x hx ↦ mk_eq_mk_of_ne hx i j)

instance

If p is not isolated, neither is any origin.

instance [(𝓝[β‰ ] p).NeBot] (i : I) : (𝓝[β‰ ] (origin i : WithOrigins Y p I)).NeBot
Proof
:= by
  rw [nhdsNE_origin]
  infer_instance

theorem closure_mem_nhds_origin

TopologyByExample.WithOrigins.closure_mem_nhds_origin

If p is not isolated, the closure of every neighbourhood of one origin is a neighbourhood of any other.

theorem closure_mem_nhds_origin [(𝓝[β‰ ] p).NeBot] (i j : I) :
    βˆ€ U ∈ 𝓝 (origin i : WithOrigins Y p I), closure U ∈ 𝓝 (origin j)
Proof
:=
  closure_mem_nhds_of_nhdsNE_eq (nhdsNE_origin_eq i j)