Lean library · module TopologyByExample.Theorems.BiconnectedProducts

Biconnected products

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

theorem subsingleton_or_subsingleton_of_biconnected_prod

TopologyByExample.subsingleton_or_subsingleton_of_biconnected_prod

A biconnected binary product has a factor with at most one point.

theorem subsingleton_or_subsingleton_of_biconnected_prod {X Y : Type*}
    [TopologicalSpace X] [TopologicalSpace Y] [BiconnectedSpace (X × Y)] :
    Subsingleton X ∨ Subsingleton Y
Proof
:= by
  by_contra! h
  let : Nontrivial X := h.1
  let : Nontrivial Y := h.2
  let : PreconnectedSpace X := preconnectedSpace_of_prod_left (Y := Y)
  obtain ⟨v, w, hvw⟩ := exists_pair_ne Y
  let f (y : Y) (x : X) : X × Y := (x, y)
  have hc (y : Y) : IsPreconnected (range (f y)) :=
    isPreconnected_range (continuous_id.prodMk continuous_const)
  have hd : Disjoint (range (f v)) (range (f w)) := by
    apply Set.disjoint_left.mpr
    rintro _ ⟨x, rfl⟩ ⟨z, h⟩
    exact hvw (congrArg Prod.snd h).symm
  have hn (y : Y) (hs : (range (f y)).Subsingleton) : False := by
    obtain ⟨x, z, hxz⟩ := exists_pair_ne X
    exact hxz (congrArg Prod.fst (hs (mem_range_self x) (mem_range_self z)))
  exact (BiconnectedSpace.subsingleton_or_subsingleton (hc v) (hc w) hd).elim (hn v) (hn w)

On this site: Theorem: A biconnected product has a factor with at most one point