Lean library · module TopologyByExample.Theorems.DenseTraceBiconnected

Connected intervals in the rational and irrational extensions of the 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
variable {X : Type*} [TopologicalSpace X] {e : X ≃ ℝ} {D : Set ℝ}

theorem isPreconnected_preimage_of_isOpen

TopologyByExample.RealExtension.DenseTrace.isPreconnected_preimage_of_isOpen

In a real-line extension with dense trace, Euclidean connected open sets remain connected.

theorem isPreconnected_preimage_of_isOpen (h : DenseTrace e D) {V : Set ℝ}
    (ho : IsOpen V) (hc : IsPreconnected V) : IsPreconnected (e ⁻¹' V)
Proof
:= by
  let f (x : e ⁻¹' V) := e x.val
  let t := induced f inferInstance
  have hr : range f = V := by
    ext r
    constructor
    · rintro ⟨x, rfl⟩
      exact x.property
    · intro hr
      exact ⟨⟨e.symm r, by simpa⟩, e.apply_symm_apply _⟩
  have hct : @PreconnectedSpace (e ⁻¹' V) t := by
    constructor
    have hi : @IsInducing _ _ t _ f := ⟨rfl⟩
    apply hi.isPreconnected_image.mp
    rwa [image_univ, hr]
  let : TopologicalSpace (e ⁻¹' V) := instTopologicalSpaceSubtype
  apply isPreconnected_iff_preconnectedSpace.mpr
  apply preconnectedSpace_of_closure_eq hct
  intro A hA
  have hAo := (ho.preimage h.continuous).isOpenEmbedding_subtypeVal.isOpenMap _ hA
  ext x
  rw [closure_subtype, closure_induced, h.closure_eq hAo]
  change e x.val ∈ closure (e '' (Subtype.val '' A)) ↔ e x.val ∈ closure (f '' A)
  rw [image_image]

On this site: Theorem: Connected open intervals in refinements of the Euclidean topology

theorem not_biconnected

TopologyByExample.RealExtension.DenseTrace.not_biconnected

Every real-line extension with dense trace fails to be biconnected.

theorem not_biconnected (h : DenseTrace e D) : ¬ BiconnectedSpace X
Proof
:= by
  intro _
  let a := e ⁻¹' Iio 0
  let b := e ⁻¹' Ioi 0
  have ha : IsPreconnected a := h.isPreconnected_preimage_of_isOpen isOpen_Iio isPreconnected_Iio
  have hb : IsPreconnected b := h.isPreconnected_preimage_of_isOpen isOpen_Ioi isPreconnected_Ioi
  have hd : Disjoint a b := Set.disjoint_left.mpr fun _ h₁ h₂ ↦ lt_asymm h₁ h₂
  rcases BiconnectedSpace.subsingleton_or_subsingleton ha hb hd with hs | hs
  · have h₁ : e.symm (-1) ∈ a := by simp [a]
    have h₂ : e.symm (-2) ∈ a := by simp [a]
    exact (by norm_num : (-1 : ℝ) ≠ -2) (e.symm.injective (hs h₁ h₂))
  · have h₁ : e.symm 1 ∈ b := by simp [b]
    have h₂ : e.symm 2 ∈ b := by simp [b]
    exact (by norm_num : (1 : ℝ) ≠ 2) (e.symm.injective (hs h₁ h₂))

On this site: The indiscrete irrational extension of the real line is not biconnected; The indiscrete rational extension of the real line is not biconnected; The pointed irrational extension of the real line is not biconnected; The pointed rational extension of the real line is not biconnected