Lean library · module TopologyByExample.Theorems.IndiscreteFactorArcs
Arcs in products with an indiscrete factor
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
variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [IndiscreteTopology Y]
definition changeLabel
TopologyByExample.changeLabel
private noncomputable def changeLabel (i j : Y) : Path i j
Definition
where
toFun := fun t ↦ if t = 0 then i else j
continuous_toFun := continuous_of_indiscreteTopology
source' := by simp
target' := by simp
theorem arcConnectedSpace_prod_indiscrete
TopologyByExample.arcConnectedSpace_prod_indiscrete
The product of a nontrivial arc-connected space with an indiscrete space is arc connected.
theorem arcConnectedSpace_prod_indiscrete [ArcConnectedSpace X] [Nontrivial X] :
ArcConnectedSpace (X × Y)
Proof
:= by
refine ⟨fun ⟨x, i⟩ ⟨y, j⟩ hxy ↦ ?_⟩
by_cases he : x = y
· subst y
obtain ⟨w, hw⟩ := exists_ne x
obtain ⟨p, hp⟩ := ArcConnectedSpace.exists_injective_path x w hw.symm
let a := p.prod (Path.refl i)
let b := p.symm.prod (changeLabel i j)
have ha : Function.Injective a := fun _ _ hh ↦ hp (congrArg Prod.fst hh)
have hb : Function.Injective b := fun _ _ hh ↦
(hp.comp unitInterval.symm_bijective.injective) (congrArg Prod.fst hh)
refine ⟨a.trans b, injective_path_trans a b ha hb ?_⟩
intro s t h
by_cases ht : t = 0
· subst t
exact ⟨ha (h.trans (b.source.trans a.target.symm)), rfl⟩
· have hl := congrArg Prod.snd h
change i = (if t = 0 then i else j) at hl
exact (hxy (Prod.ext rfl (by simpa [ht] using hl))).elim
· obtain ⟨p, hp⟩ := ArcConnectedSpace.exists_injective_path x y he
exact ⟨p.prod (changeLabel i j), fun _ _ hh ↦ hp (congrArg Prod.fst hh)⟩
On this site: Theorem: A nontrivial arc connected space times an indiscrete space is arc connected
theorem locallyArcConnectedSpace_prod_indiscrete
TopologyByExample.locallyArcConnectedSpace_prod_indiscrete
If every nonempty open set in a locally arc-connected space has at least two points, its product with any indiscrete space is locally arc connected.
theorem locallyArcConnectedSpace_prod_indiscrete [LocallyArcConnectedSpace X]
(hn : ∀ U : Set X, IsOpen U → U.Nonempty → U.Nontrivial) :
LocallyArcConnectedSpace (X × Y)
Proof
:= by
refine ⟨fun x U hU hx ↦ ?_⟩
obtain ⟨A, B, hAo, hBo, hxA, hxB, hAB⟩ := isOpen_prod_iff.mp hU x.1 x.2 hx
obtain ⟨C, hCo, hxC, hCA, hC⟩ := LocallyArcConnectedSpace.exists_open x.1 A hAo hxA
have := hC
have := (hn C hCo ⟨x.1, hxC⟩).coe_sort
refine ⟨C ×ˢ B, hCo.prod hBo, ⟨hxC, hxB⟩, (prod_mono hCA subset_rfl).trans hAB, ?_⟩
exact (Homeomorph.arcConnectedSpace_iff (Homeomorph.Set.prod C B)).mpr
arcConnectedSpace_prod_indiscrete
theorem nontrivial_open_of_arcConnectedSpace
TopologyByExample.nontrivial_open_of_arcConnectedSpace
Every nonempty open subset of a nontrivial arc-connected space has two distinct points.
theorem nontrivial_open_of_arcConnectedSpace [ArcConnectedSpace X] [Nontrivial X]
{U : Set X} (hU : IsOpen U) (hne : U.Nonempty) : U.Nontrivial
Proof
:= by
obtain ⟨x, hx⟩ := hne
obtain ⟨y, hy⟩ := exists_ne x
obtain ⟨p, hp⟩ := ArcConnectedSpace.exists_injective_path x y hy.symm
by_contra h
have hs : U.Subsingleton := by
intro a ha b hb
by_contra hab
exact h ⟨a, ha, b, hb, hab⟩
have he : p ⁻¹' U = {0} := by
ext t
constructor
· intro ht
exact hp ((hs ht hx).trans p.source.symm)
· rintro rfl
simpa only [mem_preimage, p.source] using hx
have ho : IsOpen ({0} : Set unitInterval) := he ▸ hU.preimage p.continuous
have hall : ({0} : Set unitInterval) = univ :=
IsClopen.eq_univ ⟨isClosed_singleton, ho⟩ (singleton_nonempty 0)
have : (1 : unitInterval) ∈ ({0} : Set unitInterval) := hall ▸ mem_univ 1
exact one_ne_zero this
theorem locallyArcConnectedSpace_arcConnected_prod_indiscrete
TopologyByExample.locallyArcConnectedSpace_arcConnected_prod_indiscrete
A nontrivial arc-connected locally arc-connected space remains locally arc connected when multiplied by an indiscrete space.
theorem locallyArcConnectedSpace_arcConnected_prod_indiscrete
[ArcConnectedSpace X] [LocallyArcConnectedSpace X] [Nontrivial X] :
LocallyArcConnectedSpace (X × Y)
Proof
:=
locallyArcConnectedSpace_prod_indiscrete fun _ hU hne ↦
nontrivial_open_of_arcConnectedSpace hU hne
On this site: Theorem: Products with an indiscrete second factor preserve local arc connectedness under arc connectedness
theorem locallyArcConnectedSpace_real_prod_indiscrete
TopologyByExample.locallyArcConnectedSpace_real_prod_indiscrete
The real line times an indiscrete space is locally arc connected.
theorem locallyArcConnectedSpace_real_prod_indiscrete : LocallyArcConnectedSpace (ℝ × Y)
Proof
:= by
let : LocallyArcConnectedSpace ℝ := locallyArcConnectedSpace_of_normedSpace
apply locallyArcConnectedSpace_prod_indiscrete
intro U hU hne
obtain ⟨a, b, hab, hsub⟩ := hU.exists_Ioo_subset hne
exact (Ioo_infinite hab).nontrivial.mono hsub
On this site: The double pointed real line is locally arc connected
theorem arcConnectedSpace_real_prod_indiscrete
TopologyByExample.arcConnectedSpace_real_prod_indiscrete
The real line times an indiscrete space is arc connected.
theorem arcConnectedSpace_real_prod_indiscrete : ArcConnectedSpace (ℝ × Y)
Proof
:= by
let : ArcConnectedSpace ℝ := arcConnectedSpace_of_real_vector_space
exact arcConnectedSpace_prod_indiscrete
On this site: The double pointed real line is arc connected
theorem arcConnectedSpace_indiscrete_prod
TopologyByExample.arcConnectedSpace_indiscrete_prod
An indiscrete space times a nontrivial arc-connected space is arc connected.
theorem arcConnectedSpace_indiscrete_prod [ArcConnectedSpace X] [Nontrivial X] :
ArcConnectedSpace (Y × X)
Proof
:=
(Homeomorph.arcConnectedSpace_iff (Homeomorph.prodComm Y X)).mpr
arcConnectedSpace_prod_indiscrete
On this site: Theorem: An indiscrete space times a nontrivial arc connected space is arc connected
theorem locallyArcConnectedSpace_indiscrete_prod_arcConnected
TopologyByExample.locallyArcConnectedSpace_indiscrete_prod_arcConnected
An indiscrete space times a nontrivial arc-connected locally arc-connected space is locally arc connected.
theorem locallyArcConnectedSpace_indiscrete_prod_arcConnected
[ArcConnectedSpace X] [LocallyArcConnectedSpace X] [Nontrivial X] :
LocallyArcConnectedSpace (Y × X)
Proof
:=
(Homeomorph.locallyArcConnectedSpace_iff (Homeomorph.prodComm Y X)).mpr
locallyArcConnectedSpace_arcConnected_prod_indiscrete
On this site: Theorem: Products with an indiscrete first factor preserve local arc connectedness under arc connectedness