Lean library · module TopologyByExample.Theorems.SquareConeArcs

Arcs in the Alexandroff square and the cone over the lexicographic square

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 arcJoined_unit

TopologyByExample.arcJoined_unit

private theorem arcJoined_unit (s t : unitInterval) : ArcJoined s t
Proof
:=
  arcConnectedSpace_unitInterval.exists_injective_path s t

theorem arcConnectedSpace

TopologyByExample.AlexandroffSquare.arcConnectedSpace

Vertical arcs and the diagonal join the points of the Alexandroff square.

theorem AlexandroffSquare.arcConnectedSpace : ArcConnectedSpace AlexandroffSquare
Proof
:= by
  have hv (p : AlexandroffSquare) : ArcJoined p (mk (fst p) (fst p)) :=
    (arcJoined_unit (snd p) (fst p)).map (continuous_vertical _)
      (isClosedEmbedding_vertical _).injective
  refine ⟨fun p q ↦ ((hv p).trans ?_).trans (hv q).symm⟩
  exact (arcJoined_unit (fst p) (fst q)).map continuous_diagonal
    isClosedEmbedding_diagonal.injective

On this site: Alexandroff square is arc connected

theorem arcJoined_infty

TopologyByExample.ConeLexicographicSquare.arcJoined_infty

Each ordinary point is joined to the apex by an arc parameterised by height.

private theorem arcJoined_infty (p : ConeLexicographicSquare) :
    ArcJoined p (∞ : ConeLexicographicSquare)
Proof
:= by
  induction p using OnePoint.rec with
  | infty => exact fun h ↦ (h rfl).elim
  | coe p =>
    let f (s : unitInterval) := ray p.1 (homeomorphUnitInterval.symm s)
    have hf : Continuous f := (continuous_ray _).comp homeomorphUnitInterval.symm.continuous
    have hi : Function.Injective f := fun s t he ↦ by
      simpa [f] using congrArg height he
    have h := (arcJoined_unit p.2.val 1).map hf hi
    simp only [f, homeomorphUnitInterval_symm_coe, homeomorphUnitInterval_symm_one] at h
    exact h

theorem arcConnectedSpace

TopologyByExample.ConeLexicographicSquare.arcConnectedSpace

Joining the rays at their common apex makes the cone arc connected.

theorem arcConnectedSpace : ArcConnectedSpace ConeLexicographicSquare
Proof
:=
  ⟨fun p q ↦ (arcJoined_infty p).trans (arcJoined_infty q).symm⟩

On this site: The cone over the lexicographic square is arc connected