Lean library · module TopologyByExample.Spaces.DeletedDiameter

The deleted diameter topology

Source file

In this file we define TopologyByExample.DeletedDiameter, the deleted diameter topology on the plane: a point p has the neighbourhood base of the open discs centred at p from which the horizontal diameter, except for p itself, is removed. It is DeletedDiscPlane S for S = {a | a ≠ 0}, and most of its properties come from TopologyByExample.Spaces.DeletedDiscs.

Every horizontal line is a closed discrete subset of cardinality 𝔠, since the basic neighbourhoods of a point meet the horizontal line through it only in that point.

Main definitions

Main statements

References

  • L. A. Steen and J. A. Seebach, Counterexamples in Topology, 2nd ed., Example 76.

Tags

deleted diameter topology, counterexample

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

definition DeletedDiameter

TopologyByExample.DeletedDiameter

The deleted diameter topology on the plane: a point p has the neighbourhood base of the open discs centred at p with their horizontal diameter, except for p, removed.

def DeletedDiameter : Type
:= DeletedDiscPlane {a : ℝ | a ≠ 0}

On this site: Space: Deleted diameter topology

instance

The deleted diameter topology.

instance : TopologicalSpace DeletedDiameter
Proof
:=
  inferInstanceAs (TopologicalSpace (DeletedDiscPlane {a : ℝ | a ≠ 0}))

instance

The plane with the deleted diameter topology is nonempty.

instance : Nonempty DeletedDiameter
Proof
:= inferInstanceAs (Nonempty (DeletedDiscPlane _))

theorem zero_notMem

TopologyByExample.DeletedDiameter.zero_notMem

0 is not a deleted offset.

theorem zero_notMem : (0 : ℝ) ∉ {a : ℝ | a ≠ 0}
Proof
:= fun h ↦ h rfl

theorem add_notMem

TopologyByExample.DeletedDiameter.add_notMem

The non-deleted offsets (only 0) are closed under addition.

theorem add_notMem : ∀ a b : ℝ, a ∉ {a : ℝ | a ≠ 0} → b ∉ {a : ℝ | a ≠ 0} →
    a + b ∉ {a : ℝ | a ≠ 0}
Proof
:= by
  intro a b ha hb
  simp only [mem_ofPred_eq, ne_eq, not_not] at ha hb ⊢
  simp [ha, hb]

definition toPlane

TopologyByExample.DeletedDiameter.toPlane

The point of the plane under a point of DeletedDiameter.

def toPlane (p : DeletedDiameter) : ℝ × ℝ
:= DeletedDiscPlane.toPlane p

definition ofPlane

TopologyByExample.DeletedDiameter.ofPlane

The point of DeletedDiameter over a point of the plane.

def ofPlane (q : ℝ × ℝ) : DeletedDiameter
:= DeletedDiscPlane.ofPlane q

theorem continuous_toPlane

TopologyByExample.DeletedDiameter.continuous_toPlane

The topology is finer than the Euclidean one: the map to the Euclidean plane is continuous.

theorem continuous_toPlane : Continuous toPlane
Proof
:= DeletedDiscPlane.continuous_toPlane

On this site: Deleted diameter topology: The topology is finer than the Euclidean topology

theorem continuous_line

TopologyByExample.DeletedDiameter.continuous_line

Lines that are not horizontal carry their Euclidean topology: for v.2 ≠ 0 the map t ↦ p + t • v into DeletedDiameter is continuous.

theorem continuous_line (p : ℝ × ℝ) {v : ℝ × ℝ} (hv : v.2 ≠ 0) :
    Continuous fun t : ℝ ↦ ofPlane (p + t • v)
Proof
:=
  DeletedDiscPlane.continuous_line zero_notMem add_notMem p hv

On this site: Deleted diameter topology: Lines that are not horizontal are continuous

instance

The deleted diameter topology is Hausdorff.

instance : T2Space DeletedDiameter
Proof
:= inferInstanceAs (T2Space (DeletedDiscPlane _))

theorem submetrizableSpace

TopologyByExample.DeletedDiameter.submetrizableSpace

The deleted diameter topology is submetrizable: it is finer than the Euclidean one.

theorem submetrizableSpace : SubmetrizableSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.submetrizableSpace

On this site: Deleted diameter topology is submetrizable

theorem separableSpace

TopologyByExample.DeletedDiameter.separableSpace

The deleted diameter topology is separable: the points with rational coordinates are dense.

theorem separableSpace : SeparableSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.separableSpace

On this site: Deleted diameter topology is separable

theorem firstCountableTopology

TopologyByExample.DeletedDiameter.firstCountableTopology

The deleted diameter topology is first countable.

theorem firstCountableTopology : FirstCountableTopology DeletedDiameter
Proof
:=
  DeletedDiscPlane.firstCountableTopology zero_notMem add_notMem

On this site: Deleted diameter topology is first countable

theorem baireSpace

TopologyByExample.DeletedDiameter.baireSpace

The deleted diameter topology is a Baire space: every nonempty open set contains a nonempty Euclidean open set.

theorem baireSpace : BaireSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.baireSpace

On this site: Deleted diameter topology is a Baire space

theorem pathPreconnectedSpace

TopologyByExample.DeletedDiameter.pathPreconnectedSpace

The deleted diameter topology is path connected.

theorem pathPreconnectedSpace : PathPreconnectedSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.pathPreconnectedSpace zero_notMem add_notMem

On this site: Deleted diameter topology is path connected

theorem locallyPathConnectedSpace

TopologyByExample.DeletedDiameter.locallyPathConnectedSpace

The deleted diameter topology is locally path connected: its basic neighbourhoods are path connected.

theorem locallyPathConnectedSpace : LocallyPathConnectedSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.locallyPathConnectedSpace zero_notMem add_notMem

theorem not_semiregularSpace

TopologyByExample.DeletedDiameter.not_semiregularSpace

The deleted diameter topology is not semiregular.

theorem not_semiregularSpace : ¬SemiregularSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.not_semiregularSpace zero_notMem add_notMem fun ε hε ↦
    ⟨ε / 2, (half_pos hε).ne', by rw [abs_of_pos (half_pos hε)]; linarith⟩

On this site: Deleted diameter topology is not semiregular

theorem not_pseudocompactSpace

TopologyByExample.DeletedDiameter.not_pseudocompactSpace

The deleted diameter topology is not pseudocompact: the first coordinate is an unbounded continuous function.

theorem not_pseudocompactSpace : ¬PseudocompactSpace DeletedDiameter
Proof
:=
  DeletedDiscPlane.not_pseudocompactSpace

On this site: Deleted diameter topology is not pseudocompact

definition horizontalLine

TopologyByExample.DeletedDiameter.horizontalLine

The horizontal line at height c.

def horizontalLine (c : ℝ) : Set DeletedDiameter
:= {p | (toPlane p).2 = c}

theorem isClosed_isDiscrete_mk_horizontalLine

TopologyByExample.DeletedDiameter.isClosed_isDiscrete_mk_horizontalLine

Every horizontal line is closed, discrete, and of cardinality 𝔠. It is closed since its complement is Euclidean open, and discrete since the basic neighbourhood of radius 1 at one of its points meets it only in that point.

theorem isClosed_isDiscrete_mk_horizontalLine (c : ℝ) :
    IsClosed (horizontalLine c) ∧ IsDiscrete (horizontalLine c) ∧ #(horizontalLine c) = 𝔠
Proof
:= by
  refine ⟨?_, ?_, ?_⟩
  · exact isClosed_eq (continuous_snd.comp continuous_toPlane) continuous_const
  · refine isDiscrete_iff_forall_mem_exists_isOpen.2 fun y hy ↦
      ⟨_, DeletedDiscPlane.isOpen_nbhd add_notMem (DeletedDiscPlane.toPlane y) 1, ?_⟩
    ext z
    simp only [mem_singleton_iff]
    constructor
    · rintro ⟨⟨w, hw, rfl⟩, hz⟩
      have h2 : w.2 = (DeletedDiscPlane.toPlane y).2 := hz.trans hy.symm
      have h1 : w.1 = (DeletedDiscPlane.toPlane y).1 := by
        by_contra h
        exact hw.2 ⟨h2, sub_ne_zero.2 h⟩
      exact Prod.ext h1 h2
    · rintro rfl
      exact ⟨⟨_, DeletedDiscPlane.mem_nbhd_self zero_notMem _ one_pos, rfl⟩, hy⟩
  · rw [← Cardinal.mk_real]
    refine Equiv.cardinal_eq ⟨fun p ↦ (toPlane p.val).1, fun x ↦ ⟨ofPlane (x, c), rfl⟩, ?_, ?_⟩
    · rintro ⟨p, hp⟩
      exact Subtype.ext (Prod.ext rfl hp.symm)
    · intro x
      rfl

On this site: Deleted diameter topology: Every horizontal line is closed, discrete and of cardinality continuum

theorem exists_closed_discrete_continuum_le

TopologyByExample.DeletedDiameter.exists_closed_discrete_continuum_le

Some closed discrete subset has cardinality at least 𝔠: the x-axis.

theorem exists_closed_discrete_continuum_le :
    ∃ s : Set DeletedDiameter, IsClosed s ∧ IsDiscrete s ∧ 𝔠 ≤ #s
Proof
:=
  ⟨horizontalLine 0, (isClosed_isDiscrete_mk_horizontalLine 0).1,
    (isClosed_isDiscrete_mk_horizontalLine 0).2.1, (isClosed_isDiscrete_mk_horizontalLine 0).2.2.ge⟩

On this site: Deleted diameter topology has a closed discrete subset of cardinality \(\mathfrak{c}\)