The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V13. General topology

Mathlib.Topology.Subpath

23 declarations. Mathlib docs · Source

Subpaths and concatenation of paths

This file defines Path.subpath as a restriction of a path to a subinterval, reparameterized to have domain [0, 1] and possibly with a reverse of direction. It then defines Path.concat as a way to concatenate finite sequences of paths with compatible endpoints.

The main result Path.Homotopy.concatSubpath shows that subpaths concatenate nicely. In particular: following the subpaths of γ from t i to t (i + 1) for 0 ≤ i < n is homotopic to the subpath of γ from t 0 to t n.

TODO

Prove that Path.truncateOfLE and Path.subpath are reparameterizations of each other. (Path.subpath is still a useful definition because it works without assuming an order on t₀ and t₁, and is convenient for concrete manipulations.)

Subpaths

Concatenation of paths

def Path.subpath E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {a b : X} → (γ : Path a b) → (t₀ t₁ : ↑unitInterval) → Path (γ t₀) (γ t₁)

The subpath of γ from t₀ to t₁.

theorem Path.symm_subpath E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t₀ t₁ : ↑unitInterval),
  (γ.subpath t₀ t₁).symm = γ.subpath t₁ t₀

Reversing γ.subpath t₀ t₁ results in γ.subpath t₁ t₀.

theorem Path.range_subpathAux E0 #

∀ (t₀ t₁ : ↑unitInterval), Set.range (Set.Icc.convexComb t₀ t₁) = Set.uIcc t₀ t₁

theorem Path.range_subpath E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t₀ t₁ : ↑unitInterval),
  Set.range ⇑(γ.subpath t₀ t₁) = ⇑γ '' Set.uIcc t₀ t₁

The range of a subpath is the image of the original path on the relevant interval.

theorem Path.range_subpath_of_le E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t₀ t₁ : ↑unitInterval),
  t₀ ≤ t₁ → Set.range ⇑(γ.subpath t₀ t₁) = ⇑γ '' Set.Icc t₀ t₁

theorem Path.range_subpath_of_ge E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t₀ t₁ : ↑unitInterval),
  t₁ ≤ t₀ → Set.range ⇑(γ.subpath t₀ t₁) = ⇑γ '' Set.Icc t₁ t₀

theorem Path.subpath_self E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t : ↑unitInterval),
  γ.subpath t t = Path.refl (γ t)

The subpath of γ from t to t is just the constant path at γ t.

theorem Path.subpath_zero_one E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b), γ.subpath 0 1 = γ.cast ⋯ ⋯

The subpath of γ from 0 to 1 is just γ, with a slightly different type.

theorem Path.subpath_continuous_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b), Continuous fun x ↦ (γ.subpath x.1 x.2.1) x.2.2

For a path γ, γ.subpath gives a "continuous family of paths", by which we mean the uncurried function which maps (t₀, t₁, s) to γ.subpath t₀ t₁ s is continuous.

def Path.Homotopy.subpathTransSubpathRefl E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {a b : X} →
      (γ : Path a b) →
        (t₀ t₁ t₂ : ↑unitInterval) →
          ((γ.subpath t₀ t₁).trans (γ.subpath t₁ t₂)).Homotopy ((γ.subpath t₀ t₂).trans (Path.refl (γ t₂)))

Auxiliary homotopy for Path.Homotopy.subpathTransSubpath which includes an unnecessary copy of Path.refl.

def Path.Homotopy.subpathTransSubpath E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {a b : X} →
      (γ : Path a b) →
        (t₀ t₁ t₂ : ↑unitInterval) → ((γ.subpath t₀ t₁).trans (γ.subpath t₁ t₂)).Homotopy (γ.subpath t₀ t₂)

Following the subpath of γ from t₀ to t₁, and then that from t₁ to t₂, is in natural homotopy with following the subpath of γ from t₀ to t₂.

def Path.concat E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {n : ℕ} → (p : Fin (n + 1) → X) → ((k : Fin n) → Path (p k.castSucc) (p k.succ)) → Path (p 0) (p (Fin.last n))

Concatenation of a sequence of paths with compatible endpoints.

theorem Path.concat_zero E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (p : Fin 1 → X) (F : (k : Fin 0) → Path (p k.castSucc) (p k.succ)),
  Path.concat p F = Path.refl (p 0)

Concatenating zero paths yields the constant path (the identity of Path.trans).

theorem Path.concat_succ E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {n : ℕ} (p : Fin (n + 2) → X)
  (F : (k : Fin (n + 1)) → Path (p k.castSucc) (p k.succ)),
  Path.concat p F = (Path.concat (p ∘ Fin.castSucc) fun k ↦ F k.castSucc).trans (F (Fin.last n))

Concatenating n + 1 paths corresponds to concatenating n paths and then the last path.

theorem Path.concat_refl E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (n : ℕ) (x : X),
  (Path.concat (fun x_1 ↦ x) fun x_1 ↦ Path.refl x) = Path.refl x

Concatenating the constant path at x with itself just yields the constant path at x.

def Path.Homotopy.concat E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {n : ℕ} →
      (p : Fin (n + 1) → X) →
        (F G : (k : Fin n) → Path (p k.castSucc) (p k.succ)) →
          ((k : Fin n) → (F k).Homotopy (G k)) → (Path.concat p F).Homotopy (Path.concat p G)

Given two sequences of paths F and G, and a sequence H of homotopies between them, there is a natural homotopy between concat _ F and concat _ G.

def Path.Homotopy.concatSubpath E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {a b : X} →
      {n : ℕ} →
        (γ : Path a b) →
          (t : Fin (n + 1) → ↑unitInterval) →
            (Path.concat (⇑γ ∘ t) fun k ↦ γ.subpath (t k.castSucc) (t k.succ)).Homotopy
              (γ.subpath (t 0) (t (Fin.last n)))

Given a path γ and a sequence t of n + 1 points in [0, 1], there is a natural homotopy between the concatenation of paths γ.subpath (t k) (t (k + 1)), and γ.subpath (t 0) (t n).

theorem Path.Homotopic.concat_one E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (p : Fin 2 → X) (F : (k : Fin 1) → Path (p k.castSucc) (p k.succ)),
  (Path.concat p F).Homotopic (F 0)

Concatenating one path F 0 is homotopic to that path.

theorem Path.Homotopic.concat_two E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (p : Fin 3 → X) (F : (k : Fin 2) → Path (p k.castSucc) (p k.succ)),
  (Path.concat p F).Homotopic ((F 0).trans (F 1))

Concatenating two paths F 0 and F 1 is homotopic to Path.trans (F 0) (F 1).

theorem Path.Homotopic.concat_hcomp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {n : ℕ} (p : Fin (n + 1) → X)
  (F G : (k : Fin n) → Path (p k.castSucc) (p k.succ)),
  (∀ (k : Fin n), (F k).Homotopic (G k)) → (Path.concat p F).Homotopic (Path.concat p G)

Alternative to Path.Homotopy.concatHcomp in terms of Path.Homotopic.

theorem Path.Homotopic.concat_subpath E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} {n : ℕ} (γ : Path a b) (t : Fin (n + 1) → ↑unitInterval),
  (Path.concat (⇑γ ∘ t) fun k ↦ γ.subpath (t k.castSucc) (t k.succ)).Homotopic (γ.subpath (t 0) (t (Fin.last n)))

Alternative to Path.Homotopy.concatSubpath in terms of Path.Homotopic.

theorem Path.Homotopic.subpath_trans_subpath E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (s t u : ↑unitInterval),
  ((γ.subpath s t).trans (γ.subpath t u)).Homotopic (γ.subpath s u)

Two consecutive subpaths are homotopic to the subpath between their outer endpoints.

theorem Path.Homotopic.mk_subpath_trans_mk_subpath E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (s t u : ↑unitInterval),
  (Path.Homotopic.Quotient.mk (γ.subpath s t)).trans (Path.Homotopic.Quotient.mk (γ.subpath t u)) =
    Path.Homotopic.Quotient.mk (γ.subpath s u)

Composition of consecutive subpath classes is the class of the subpath between their outer endpoints.