Lean library · module TopologyByExample.Spaces.DoubledDiscreteReals

The doubled discrete real line

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

definition Space

TopologyByExample.DoubledDiscreteReals.Space

Continuum many disjoint indiscrete pairs.

abbrev Space
:= WithDiscreteTopology ℝ × WithTopology Bool ⊤

On this site: Space: Doubled discrete real line

theorem countable_path_range

TopologyByExample.DoubledDiscreteReals.countable_path_range

Every continuous interval image lies in a single two-point block.

theorem countable_path_range (f : unitInterval → Space) (hf : Continuous f) :
    (Set.range f).Countable
Proof
:= by
  have hs : Set.range f ⊆ ({(f 0).1} ×ˢ (Set.univ : Set (WithTopology Bool ⊤))) := by
    rintro _ ⟨t, rfl⟩
    exact ⟨TotallyDisconnectedSpace.eq_of_continuous (fun s ↦ (f s).1) hf.fst t 0, trivial⟩
  exact ((Set.finite_singleton _).prod (Set.toFinite _)).countable.mono hs

theorem not_discreteTopology

TopologyByExample.DoubledDiscreteReals.not_discreteTopology

A two-point block prevents the doubled space from being discrete.

theorem not_discreteTopology : ¬ DiscreteTopology Space
Proof
:= by
  intro h
  exact IndiscretePair.not_t0Space
    (isEmbedding_prodMkRight (WithTopology.toTopology ⊥ (0 : ℝ))).t0Space

theorem not_locallyArcConnectedSpace

TopologyByExample.DoubledDiscreteReals.not_locallyArcConnectedSpace

The doubled discrete real line is not locally arc connected.

theorem not_locallyArcConnectedSpace : ¬ LocallyArcConnectedSpace Space
Proof
:=
  (not_arcConnectedSpace_and_not_locallyArcConnectedSpace_of_countable_ranges
    countable_path_range not_discreteTopology).2

On this site: The doubled discrete real line is not locally arc connected