Lean library · module TopologyByExample.Spaces.PuncturedInterval

The open unit interval with its midpoint removed

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 subset

TopologyByExample.PuncturedInterval.subset

The exact subset in Example 32, item 5.

def subset : Set ℝ
:= Ioo 0 (1 / 2) ∪ Ioo (1 / 2) 1

definition homeomorph

TopologyByExample.PuncturedInterval.homeomorph

The punctured interval is the sum of two real lines.

def homeomorph : subset ≃ₜ ℝ ⊕ ℝ
Definition
:=
  (SeparatedRealSubsets.cutHomeomorph (Ioo 0 (1 / 2)) (Ioo (1 / 2) 1) (1 / 2)
    (fun _ h ↦ h.2) (fun _ h ↦ h.1)).trans
      ((SeparatedRealSubsets.intervalReal 0 (1 / 2) (by norm_num)).sumCongr
        (SeparatedRealSubsets.intervalReal (1 / 2) 1 (by norm_num)))

On this site: Punctured open interval: The punctured interval is the sum of two real lines

On this site: Space: Punctured open interval