Lean library · module TopologyByExample.Theorems.EverywhereDoubledArcs
Failure of arc connectedness in the everywhere doubled line
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
theorem not_injective_between_origins
TopologyByExample.EverywhereDoubledLine.not_injective_between_origins
The two points over zero are not joined by any injective path.
theorem not_injective_between_origins (p : Path (pt 0 false) (pt 0 true)) :
¬ Function.Injective p
Proof
:= by
intro hp
let g := coord ∘ p
have hg : Continuous g := continuous_coord.comp p.continuous
have h₀ : g 0 = 0 := by simp [g]
have h₁ : g 1 = 0 := by simp [g]
let t : unitInterval := ⟨1 / 2, by constructor <;> norm_num⟩
have ht₀ : t ≠ 0 := by intro h; have := congrArg Subtype.val h; norm_num [t] at this
have ht₁ : t ≠ 1 := by intro h; have := congrArg Subtype.val h; norm_num [t] at this
have ht : g t ≠ 0 := by
intro h
have hc := (pt_coord (p t)).symm
change coord (p t) = 0 at h
rw [h] at hc
cases hb : (toProd (p t)).2 with
| false => exact ht₀ (hp ((hb ▸ hc).trans p.source.symm))
| true => exact ht₁ (hp ((hb ▸ hc).trans p.target.symm))
have hfin : (range p ∩ upper).Finite :=
((isCompact_range p.continuous).inter_right isClosed_upper).finite
(isDiscrete_upper.mono inter_subset_right)
have hInf : (uIoo 0 (g t)).Infinite := by
rcases lt_or_gt_of_ne ht with h | h
· rw [uIoo_of_gt h]
exact Ioo_infinite h
· rw [uIoo_of_lt h]
exact Ioo_infinite h
obtain ⟨m, hm, hnot⟩ := hInf.exists_notMem_finite (hfin.image coord)
have hm' := uIoo_subset_uIcc_self hm
obtain ⟨a, ha, ham⟩ := intermediate_value_uIcc (a := 0) (b := t) hg.continuousOn
(show m ∈ uIcc (g 0) (g t) by rwa [h₀])
obtain ⟨b, hb, hbm⟩ := intermediate_value_uIcc (a := t) (b := 1) hg.continuousOn
(show m ∈ uIcc (g t) (g 1) by rwa [h₁, uIcc_comm])
have hl (u : unitInterval) (hu : g u = m) : p u = pt m false := by
have hc := (pt_coord (p u)).symm
change coord (p u) = m at hu
rw [hu] at hc
cases hlabel : (toProd (p u)).2 with
| false => simpa only [hlabel] using hc
| true =>
have hupper : p u ∈ upper := ⟨m, by simpa only [hlabel] using hc.symm⟩
exact (hnot ⟨p u, ⟨mem_range_self u, hupper⟩, hu⟩).elim
have hab := hp ((hl _ ham).trans (hl _ hbm).symm)
rw [uIcc_of_le (show 0 ≤ t from bot_le)] at ha
rw [uIcc_of_le (show t ≤ 1 from le_top)] at hb
have hat : a = t := le_antisymm ha.2 (hab ▸ hb.1)
have he : m = g t := ham.symm.trans (congrArg g hat)
exact right_notMem_uIoo (he ▸ hm)
theorem not_arcConnectedSpace
TopologyByExample.EverywhereDoubledLine.not_arcConnectedSpace
The everywhere doubled line is not arc connected.
theorem not_arcConnectedSpace : ¬ ArcConnectedSpace EverywhereDoubledLine
Proof
:= by
intro h
obtain ⟨p, hi⟩ := h.exists_injective_path (pt 0 false) (pt 0 true)
(fun h ↦ Bool.false_ne_true (pt_injective.mp h).2)
exact not_injective_between_origins p hi
On this site: The everywhere doubled line is not arc connected