Lean library · module TopologyByExample.Spaces.OpcRationalsSquare

The square of the one-point compactification of the rationals

Source file

The square OnePoint ℚ × OnePoint ℚ of the one-point compactification of ℚ is not semiregular: every neighbourhood of (∞, ∞) contains a product of two neighbourhoods of ∞, each of them dense, so it is dense; and the complement of the closed point (0, 0) is a neighbourhood of (∞, ∞) other than the whole space.

Main statements

Tags

one-point compactification, rationals, product, semiregular

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

theorem dense_of_mem_nhds_infty

TopologyByExample.OpcRationalsSquare.dense_of_mem_nhds_infty

Every neighbourhood of (∞, ∞) in the square of OnePoint ℚ is dense: it contains a product of two neighbourhoods of ∞, each of them dense.

theorem dense_of_mem_nhds_infty {s : Set (OnePoint ℚ × OnePoint ℚ)} (hs : s ∈ 𝓝 (∞, ∞)) :
    Dense s
Proof
:= by
  obtain ⟨u, hu, v, hv, huv⟩ := mem_nhds_prod_iff.1 hs
  exact ((OpcRationals.dense_of_mem_nhds_infty hu).prod
    (OpcRationals.dense_of_mem_nhds_infty hv)).mono huv

theorem not_semiregularSpace

TopologyByExample.OpcRationalsSquare.not_semiregularSpace

The square of OnePoint ℚ is not semiregular: every neighbourhood of (∞, ∞) is dense, and the complement of the closed point (0, 0) is a neighbourhood of (∞, ∞) other than the whole space.

theorem not_semiregularSpace : ¬SemiregularSpace (OnePoint ℚ × OnePoint ℚ)
Proof
:=
  not_semiregularSpace_of_forall_mem_nhds_dense (x := (∞, ∞)) (fun _ ↦ dense_of_mem_nhds_infty)
    (isOpen_compl_singleton.mem_nhds (show ((∞ : OnePoint ℚ), (∞ : OnePoint ℚ)) ≠
      (((0 : ℚ) : OnePoint ℚ), ((0 : ℚ) : OnePoint ℚ)) by simp [Prod.ext_iff]))
    (compl_ne_univ.2 (singleton_nonempty _))

On this site: Square of the one-point compactification of the rationals is not semiregular

On this site: Space: Square of the one-point compactification of the rationals