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.Path

116 declarations. Mathlib docs · Source

Paths in topological spaces

This file introduces continuous paths and provides API for them.

Main definitions

In this file the unit interval [0, 1] in ℝ is denoted by I, and X is a topological space.

  • Path x y is the type of paths from x to y, i.e., continuous maps from I to X mapping 0 to x and 1 to y.
  • Path.refl x : Path x x is the constant path at x.
  • Path.symm γ : Path y x is the reverse of a path γ : Path x y.
  • Path.trans γ γ' : Path x z is the concatenation of two paths γ : Path x y, γ' : Path y z.
  • Path.map γ hf : Path (f x) (f y) is the image of γ : Path x y under a continuous map f.
  • Path.reparam γ f hf hf₀ hf₁ : Path x y is the reparametrisation of γ : Path x y by a continuous map f : I → I fixing 0 and 1.
  • Path.truncate γ t₀ t₁ : Path (γ t₀) (γ t₁) is the path that follows γ from t₀ to t₁ and stays constant otherwise.
  • Path.extend γ : C(ℝ, X) is the extension γ to ℝ that is constant before 0 and after 1.

Path x y is equipped with the topology induced by the compact-open topology on C(I,X), and several of the above constructions are shown to be continuous.

Implementation notes

By default, all paths have I as their source and X as their target, but there is an operation Set.IccExtend that will extend any continuous map γ : I → X into a continuous map IccExtend zero_le_one γ : ℝ → X that is constant before 0 and after 1.

This is used to define Path.extend that turns γ : Path x y into a continuous map γ.extend : ℝ → X whose restriction to I is the original γ, and is equal to x on (-∞, 0] and to y on [1, +∞).

Paths

Space of paths

Product of paths

Pointwise operations on paths in a topological (additive) group

Truncating a path

Reparametrising a path

theorem Path.cast.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ γ_1 : Path x y),
  γ = γ_1 → ∀ {x' y' : X} (hx : x' = x) (hy : y' = y), γ.cast hx hy = γ_1.cast hx hy

theorem Path.map.congr_simp E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} (γ γ_1 : Path x y),
  γ = γ_1 → ∀ {f : X → Y} (h : Continuous f), γ.map h = γ_1.map h

def Path.ctorIdx E1 #

{X : Type u_1} → {inst : TopologicalSpace X} → {x y : X} → Path x y → ℕ

theorem Path.mk.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (toContinuousMap toContinuousMap_1 : C(↑unitInterval, X))
  (e_toContinuousMap : toContinuousMap = toContinuousMap_1) (source' : toContinuousMap.toFun 0 = x)
  (target' : toContinuousMap.toFun 1 = y),
  { toContinuousMap := toContinuousMap, source' := source', target' := target' } =
    { toContinuousMap := toContinuousMap_1, source' := ⋯, target' := ⋯ }

theorem Path.mk.inj E1 #

∀ {X : Type u_1} {inst : TopologicalSpace X} {x y : X} {toContinuousMap : C(↑unitInterval, X)}
  {source' : toContinuousMap.toFun 0 = x} {target' : toContinuousMap.toFun 1 = y}
  {toContinuousMap_1 : C(↑unitInterval, X)} {source'_1 : toContinuousMap_1.toFun 0 = x}
  {target'_1 : toContinuousMap_1.toFun 1 = y},
  { toContinuousMap := toContinuousMap, source' := source', target' := target' } =
      { toContinuousMap := toContinuousMap_1, source' := source'_1, target' := target'_1 } →
    toContinuousMap = toContinuousMap_1

theorem Path.reparam.congr_simp E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ γ_1 : Path x y),
  γ = γ_1 →
    ∀ (f f_1 : ↑unitInterval → ↑unitInterval) (e_f : f = f_1) (hfcont : Continuous f) (hf₀ : f 0 = 0) (hf₁ : f 1 = 1),
      γ.reparam f hfcont hf₀ hf₁ = γ_1.reparam f_1 ⋯ ⋯ ⋯

theorem Path.mk.injEq E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (toContinuousMap : C(↑unitInterval, X))
  (source' : toContinuousMap.toFun 0 = x) (target' : toContinuousMap.toFun 1 = y)
  (toContinuousMap_1 : C(↑unitInterval, X)) (source'_1 : toContinuousMap_1.toFun 0 = x)
  (target'_1 : toContinuousMap_1.toFun 1 = y),
  ({ toContinuousMap := toContinuousMap, source' := source', target' := target' } =
      { toContinuousMap := toContinuousMap_1, source' := source'_1, target' := target'_1 }) =
    (toContinuousMap = toContinuousMap_1)

structure Path E3 #

{X : Type u_1} → [TopologicalSpace X] → X → X → Type u_1

Continuous path connecting two points x and y in a topological space

ctor Path.mk E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {x y : X} →
      (toContinuousMap : C(↑unitInterval, X)) → toContinuousMap.toFun 0 = x → toContinuousMap.toFun 1 = y → Path x y

abbrev Path.toContinuousMap E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → Path x y → C(↑unitInterval, X)

theorem Path.source' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (self : Path x y), self.toFun 0 = x

The start point of a Path.

theorem Path.target' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (self : Path x y), self.toFun 1 = y

The end point of a Path.

instance Path.instFunLike E0 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → FunLike (Path x y) (↑unitInterval) X

instance Path.continuousMapClass E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, ContinuousMapClass (Path x y) (↑unitInterval) X

theorem Path.ext_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {γ₁ γ₂ : Path x y}, γ₁ = γ₂ ↔ ⇑γ₁ = ⇑γ₂

theorem Path.ext E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {γ₁ γ₂ : Path x y}, ⇑γ₁ = ⇑γ₂ → γ₁ = γ₂

theorem Path.coe_mk' E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (f : C(↑unitInterval, X)) (h₁ : f.toFun 0 = x)
  (h₂ : f.toFun 1 = y), ⇑{ toContinuousMap := f, source' := h₁, target' := h₂ } = ⇑f

A path constructed from a continuous map f has the same underlying function.

theorem Path.coe_mk_mk E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (f : ↑unitInterval → X) (h₁ : Continuous f) (h₂ : f 0 = x)
  (h₃ : f 1 = y), ⇑{ toFun := f, continuous_toFun := h₁, source' := h₂, target' := h₃ } = f

theorem Path.continuous E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), Continuous ⇑γ

theorem Path.source E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ 0 = x

theorem Path.target E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ 1 = y

def Path.simps.apply E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → Path x y → ↑unitInterval → X

See Note [custom simps projection]. We need to specify this projection explicitly in this case, because it is a composition of multiple projections.

theorem Path.coe_toContinuousMap E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), ⇑γ.toContinuousMap = ⇑γ

theorem Path.range_coe E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, Set.range ContinuousMap.ofClass = {f | f 0 = x ∧ f 1 = y}

instance Path.instHasUncurryPath E0 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {α : Type u_4} → {x y : α → X} → Function.HasUncurry ((a : α) → Path (x a) (y a)) (α × ↑unitInterval) X

Any function φ : Π (a : α), Path (x a) (y a) can be seen as a function α × I → X.

theorem Path.source_mem_range E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), x ∈ Set.range ⇑γ

theorem Path.target_mem_range E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), y ∈ Set.range ⇑γ

def Path.id E1 #

Path 0 1

The path 0 ⟶ 1 in I

theorem Path.id_apply E0 #

∀ (a : ↑unitInterval), Path.id a = a

def Path.refl E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → (x : X) → Path x x

The constant path from a point to itself

theorem Path.refl_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] (x : X) (x_1 : ↑unitInterval), (Path.refl x) x_1 = x

theorem Path.refl_range E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a : X}, Set.range ⇑(Path.refl a) = {a}

def Path.symm E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → Path x y → Path y x

The reverse of a path from x to y, as a path from y to x

theorem Path.symm_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y) (a : ↑unitInterval),
  γ.symm a = (⇑γ ∘ unitInterval.symm) a

theorem Path.symm_symm E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ.symm.symm = γ

theorem Path.symm_bijective E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, Function.Bijective Path.symm

theorem Path.refl_symm E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a : X}, (Path.refl a).symm = Path.refl a

theorem Path.symm_range E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b), Set.range ⇑γ.symm = Set.range ⇑γ

instance Path.instTopologicalSpace E0 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → TopologicalSpace (Path x y)

The following instance defines the topology on the path space to be induced from the compact-open topology on the space C(I,X) of continuous maps from I to X.

instance Path.instContinuousEvalElemRealUnitInterval E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, ContinuousEval (Path x y) (↑unitInterval) X

theorem Path.continuous_uncurry_iff E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {Y : Type u_4} [inst_1 : TopologicalSpace Y] {g : Y → Path x y},
  Continuous ↿g ↔ Continuous g

def Path.extend E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → Path x y → C(ℝ, X)

A continuous map extending a path to ℝ, constant before 0 and after 1.

theorem Continuous.pathExtend E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} {γ : Y → Path x y}
  {f : Y → ℝ}, Continuous ↿γ → Continuous f → Continuous fun t ↦ (γ t).extend (f t)

See Note [continuity lemma statement].

theorem Path.continuous_extend E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), Continuous ⇑γ.extend

A useful special case of Continuous.path_extend.

theorem Filter.Tendsto.pathExtend E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {l r : Y → X} {y : Y}
  {l₁ : Filter ℝ} {l₂ : Filter X} {γ : (y : Y) → Path (l y) (r y)},
  Filter.Tendsto (↿γ) (nhds y ×ˢ Filter.map (Set.projIcc 0 1 ⋯) l₁) l₂ →
    Filter.Tendsto (↿fun x ↦ ⇑(γ x).extend) (nhds y ×ˢ l₁) l₂

theorem ContinuousAt.pathExtend E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {g : Y → ℝ} {l r : Y → X}
  (γ : (y : Y) → Path (l y) (r y)) {y : Y},
  ContinuousAt ↿γ (y, Set.projIcc 0 1 ⋯ (g y)) → ContinuousAt g y → ContinuousAt (fun i ↦ (γ i).extend (g i)) y

theorem Path.extend_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) {t : ℝ} (ht : t ∈ Set.Icc 0 1),
  γ.extend t = γ ⟨t, ht⟩

theorem Path.extend_zero E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ.extend 0 = x

theorem Path.extend_one E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ.extend 1 = y

theorem Path.extend_extends' E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t : ↑(Set.Icc 0 1)), γ.extend ↑t = γ t

theorem Path.extend_range E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b), Set.range ⇑γ.extend = Set.range ⇑γ

theorem Path.image_extend_of_subset E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y) {s : Set ℝ},
  unitInterval ⊆ s → ⇑γ.extend '' s = Set.range ⇑γ

theorem Path.extend_of_le_zero E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) {t : ℝ}, t ≤ 0 → γ.extend t = a

theorem Path.extend_of_one_le E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) {t : ℝ}, 1 ≤ t → γ.extend t = b

theorem Path.refl_extend E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a : X}, (Path.refl a).extend = ContinuousMap.const ℝ a

theorem Path.extend_symm_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y) (t : ℝ), γ.symm.extend t = γ.extend (1 - t)

theorem Path.extend_symm E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), ⇑γ.symm.extend = fun x_1 ↦ γ.extend (1 - x_1)

def Path.ofLine E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] → {x y : X} → {f : ℝ → X} → ContinuousOn f unitInterval → f 0 = x → f 1 = y → Path x y

The path obtained from a map defined on ℝ by restriction to the unit interval.

theorem Path.ofLine_mem E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} {f : ℝ → X} (hf : ContinuousOn f unitInterval) (h₀ : f 0 = x)
  (h₁ : f 1 = y) (t : ↑unitInterval), (Path.ofLine hf h₀ h₁) t ∈ f '' unitInterval

theorem Path.ofLine_extend E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), Path.ofLine ⋯ ⋯ ⋯ = γ

def Path.trans E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y z : X} → Path x y → Path y z → Path x z

Concatenation of two paths from x to y and from y to z, putting the first path on [0, 1/2] and the second one on [1/2, 1].

theorem Path.trans_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X} (γ : Path x y) (γ' : Path y z) (t : ↑unitInterval),
  (γ.trans γ') t = if h : ↑t ≤ 1 / 2 then γ ⟨2 * ↑t, ⋯⟩ else γ' ⟨2 * ↑t - 1, ⋯⟩

theorem Path.trans_symm E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X} (γ : Path x y) (γ' : Path y z),
  (γ.trans γ').symm = γ'.symm.trans γ.symm

theorem Path.extend_trans_of_le_half E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X} (γ₁ : Path x y) (γ₂ : Path y z) {t : ℝ},
  t ≤ 1 / 2 → (γ₁.trans γ₂).extend t = γ₁.extend (2 * t)

theorem Path.extend_trans_of_half_le E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X} (γ₁ : Path x y) (γ₂ : Path y z) {t : ℝ},
  1 / 2 ≤ t → (γ₁.trans γ₂).extend t = γ₂.extend (2 * t - 1)

theorem Path.refl_trans_refl E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a : X}, (Path.refl a).trans (Path.refl a) = Path.refl a

theorem Path.trans_range E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b c : X} (γ₁ : Path a b) (γ₂ : Path b c),
  Set.range ⇑(γ₁.trans γ₂) = Set.range ⇑γ₁ ∪ Set.range ⇑γ₂

def Path.map' E1 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] →
        {x y : X} → (γ : Path x y) → {f : X → Y} → ContinuousOn f (Set.range ⇑γ) → Path (f x) (f y)

Image of a path from x to y by a map which is continuous on the path.

def Path.map E1 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {x y : X} → Path x y → {f : X → Y} → Continuous f → Path (f x) (f y)

Image of a path from x to y by a continuous map

theorem Path.map_coe E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} (γ : Path x y)
  {f : X → Y} (h : Continuous f), ⇑(γ.map h) = f ∘ ⇑γ

theorem Path.map_symm E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} (γ : Path x y)
  {f : X → Y} (h : Continuous f), (γ.map h).symm = γ.symm.map h

theorem Path.map_trans E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y z : X} (γ : Path x y)
  (γ' : Path y z) {f : X → Y} (h : Continuous f), (γ.trans γ').map h = (γ.map h).trans (γ'.map h)

theorem Path.map_id E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ.map ⋯ = γ

theorem Path.map_map E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y : X} (γ : Path x y)
  {Z : Type u_4} [inst_2 : TopologicalSpace Z] {f : X → Y} (hf : Continuous f) {g : Y → Z} (hg : Continuous g),
  (γ.map hf).map hg = γ.map ⋯

def Path.cast E1 #

{X : Type u_1} → [inst : TopologicalSpace X] → {x y : X} → Path x y → {x' y' : X} → x' = x → y' = y → Path x' y'

Casting a path from x to y to a path from x' to y' when x' = x and y' = y

theorem Path.cast_rfl_rfl E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ.cast ⋯ ⋯ = γ

theorem Path.cast_symm E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a₁ a₂ b₁ b₂ : X} (γ : Path a₂ b₂) (ha : a₁ = a₂) (hb : b₁ = b₂),
  γ.symm.cast hb ha = (γ.cast ha hb).symm

theorem Path.cast_trans E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a₁ a₂ b₁ b₂ c₁ c₂ : X} (γ : Path a₂ b₂) (γ' : Path b₂ c₂) (ha : a₁ = a₂)
  (hb : b₁ = b₂) (hc : c₁ = c₂), (γ.trans γ').cast ha hc = (γ.cast ha hb).trans (γ'.cast hb hc)

theorem Path.extend_cast E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y x' y' : X} (γ : Path x y) (hx : x' = x) (hy : y' = y),
  (γ.cast hx hy).extend = γ.extend

theorem Path.cast_coe E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y) {x' y' : X} (hx : x' = x) (hy : y' = y),
  ⇑(γ.cast hx hy) = ⇑γ

theorem Path.bijective_cast E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y x' y' : X} (hx : x' = x) (hy : y' = y),
  Function.Bijective fun x_1 ↦ x_1.cast hx hy

theorem Path.exists_congr E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x₁ x₂ y₁ y₂ : X} {p : Path x₁ y₁ → Prop} (hx : x₁ = x₂) (hy : y₁ = y₂),
  (∃ γ, p γ) ↔ ∃ γ, p (γ.cast hx hy)

theorem Path.symm_continuous_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {ι : Type u_4} [inst_1 : TopologicalSpace ι] {a b : ι → X}
  (γ : (t : ι) → Path (a t) (b t)), Continuous ↿γ → Continuous ↿fun t ↦ (γ t).symm

theorem Path.continuous_symm E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X}, Continuous Path.symm

theorem Path.continuous_uncurry_extend_of_continuous_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {ι : Type u_4} [inst_1 : TopologicalSpace ι] {a b : ι → X}
  (γ : (t : ι) → Path (a t) (b t)), Continuous ↿γ → Continuous ↿fun t ↦ ⇑(γ t).extend

theorem Path.trans_continuous_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {ι : Type u_4} [inst_1 : TopologicalSpace ι] {a b c : ι → X}
  (γ₁ : (t : ι) → Path (a t) (b t)),
  Continuous ↿γ₁ → ∀ (γ₂ : (t : ι) → Path (b t) (c t)), Continuous ↿γ₂ → Continuous ↿fun t ↦ (γ₁ t).trans (γ₂ t)

theorem Continuous.path_trans E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {x y z : X} {f : Y → Path x y}
  {g : Y → Path y z}, Continuous f → Continuous g → Continuous fun t ↦ (f t).trans (g t)

theorem Path.continuous_trans E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y z : X}, Continuous fun ρ ↦ ρ.1.trans ρ.2

def Path.prod E1 #

{X : Type u_1} →
  {Y : Type u_2} →
    [inst : TopologicalSpace X] →
      [inst_1 : TopologicalSpace Y] → {a₁ a₂ : X} → {b₁ b₂ : Y} → Path a₁ a₂ → Path b₁ b₂ → Path (a₁, b₁) (a₂, b₂)

Given a path in X and a path in Y, we can take their pointwise product to get a path in X × Y.

theorem Path.prod_coe E0 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {a₁ a₂ : X} {b₁ b₂ : Y}
  (γ₁ : Path a₁ a₂) (γ₂ : Path b₁ b₂), ⇑(γ₁.prod γ₂) = fun t ↦ (γ₁ t, γ₂ t)

theorem Path.trans_prod_eq_prod_trans E1 #

∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {a₁ a₂ a₃ : X} {b₁ b₂ b₃ : Y}
  (γ₁ : Path a₁ a₂) (δ₁ : Path a₂ a₃) (γ₂ : Path b₁ b₂) (δ₂ : Path b₂ b₃),
  (γ₁.prod γ₂).trans (δ₁.prod δ₂) = (γ₁.trans δ₁).prod (γ₂.trans δ₂)

Path composition commutes with products

def Path.pi E1 #

{ι : Type u_3} →
  {χ : ι → Type u_4} →
    [inst : (i : ι) → TopologicalSpace (χ i)] → {as bs : (i : ι) → χ i} → ((i : ι) → Path (as i) (bs i)) → Path as bs

Given a family of paths, one in each Xᵢ, we take their pointwise product to get a path in Π i, Xᵢ.

theorem Path.pi_coe E0 #

∀ {ι : Type u_3} {χ : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (χ i)] {as bs : (i : ι) → χ i}
  (γ : (i : ι) → Path (as i) (bs i)), ⇑(Path.pi γ) = fun t i ↦ (γ i) t

theorem Path.trans_pi_eq_pi_trans E1 #

∀ {ι : Type u_3} {χ : ι → Type u_4} [inst : (i : ι) → TopologicalSpace (χ i)] {as bs cs : (i : ι) → χ i}
  (γ₀ : (i : ι) → Path (as i) (bs i)) (γ₁ : (i : ι) → Path (bs i) (cs i)),
  (Path.pi γ₀).trans (Path.pi γ₁) = Path.pi fun i ↦ (γ₀ i).trans (γ₁ i)

Path composition commutes with products

def Path.mul E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    [inst_1 : Mul X] → [ContinuousMul X] → {a₁ b₁ a₂ b₂ : X} → Path a₁ b₁ → Path a₂ b₂ → Path (a₁ * a₂) (b₁ * b₂)

Pointwise multiplication of paths in a topological group.

def Path.add E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    [inst_1 : Add X] → [ContinuousAdd X] → {a₁ b₁ a₂ b₂ : X} → Path a₁ b₁ → Path a₂ b₂ → Path (a₁ + a₂) (b₁ + b₂)

Pointwise addition of paths in a topological additive group.

theorem Path.mul_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : Mul X] [inst_2 : ContinuousMul X] {a₁ b₁ a₂ b₂ : X}
  (γ₁ : Path a₁ b₁) (γ₂ : Path a₂ b₂) (t : ↑unitInterval), (γ₁.mul γ₂) t = γ₁ t * γ₂ t

theorem Path.add_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] [inst_1 : Add X] [inst_2 : ContinuousAdd X] {a₁ b₁ a₂ b₂ : X}
  (γ₁ : Path a₁ b₁) (γ₂ : Path a₂ b₂) (t : ↑unitInterval), (γ₁.add γ₂) t = γ₁ t + γ₂ t

def Path.inv E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] → {a b : X} → [inst_1 : Inv X] → [ContinuousInv X] → Path a b → Path a⁻¹ b⁻¹

Pointwise inversion of paths in a topological group.

def Path.neg E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] → {a b : X} → [inst_1 : Neg X] → [ContinuousNeg X] → Path a b → Path (-a) (-b)

Pointwise negation of paths in a topological group.

theorem Path.inv_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} [inst_1 : Inv X] [inst_2 : ContinuousInv X] (γ : Path a b)
  (t : ↑unitInterval), γ.inv t = (γ t)⁻¹

theorem Path.neg_apply E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} [inst_1 : Neg X] [inst_2 : ContinuousNeg X] (γ : Path a b)
  (t : ↑unitInterval), γ.neg t = -γ t

def Path.truncate E1 #

{X : Type u_4} →
  [inst : TopologicalSpace X] → {a b : X} → (γ : Path a b) → (t₀ t₁ : ℝ) → Path (γ.extend (min t₀ t₁)) (γ.extend t₁)

γ.truncate t₀ t₁ is the path which follows the path γ on the time interval [t₀, t₁] and stays still otherwise.

def Path.truncateOfLE E1 #

{X : Type u_4} →
  [inst : TopologicalSpace X] → {a b : X} → (γ : Path a b) → {t₀ t₁ : ℝ} → t₀ ≤ t₁ → Path (γ.extend t₀) (γ.extend t₁)

γ.truncateOfLE t₀ t₁ h, where h : t₀ ≤ t₁ is γ.truncate t₀ t₁ casted as a path from γ.extend t₀ to γ.extend t₁.

theorem Path.truncate_range E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) {t₀ t₁ : ℝ},
  Set.range ⇑(γ.truncate t₀ t₁) ⊆ Set.range ⇑γ

theorem Path.truncate_continuous_family E1 #

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

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

theorem Path.truncate_const_continuous_family E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t : ℝ), Continuous ↿(γ.truncate t)

theorem Path.truncate_self E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {a b : X} (γ : Path a b) (t : ℝ),
  γ.truncate t t = (Path.refl (γ.extend t)).cast ⋯ ⋯

theorem Path.truncate_zero_zero E1 #

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

theorem Path.truncate_one_one E1 #

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

theorem Path.truncate_zero_one E0 #

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

def Path.reparam E1 #

{X : Type u_1} →
  [inst : TopologicalSpace X] →
    {x y : X} → Path x y → (f : ↑unitInterval → ↑unitInterval) → Continuous f → f 0 = 0 → f 1 = 1 → Path x y

Given a path γ and a function f : I → I where f 0 = 0 and f 1 = 1, γ.reparam f is the path defined by γ ∘ f.

theorem Path.coe_reparam E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y) {f : ↑unitInterval → ↑unitInterval}
  (hfcont : Continuous f) (hf₀ : f 0 = 0) (hf₁ : f 1 = 1), ⇑(γ.reparam f hfcont hf₀ hf₁) = ⇑γ ∘ f

theorem Path.reparam_id E0 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y), γ.reparam id ⋯ ⋯ ⋯ = γ

theorem Path.range_reparam E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x y : X} (γ : Path x y) {f : ↑unitInterval → ↑unitInterval}
  (hfcont : Continuous f) (hf₀ : f 0 = 0) (hf₁ : f 1 = 1), Set.range ⇑(γ.reparam f hfcont hf₀ hf₁) = Set.range ⇑γ

theorem Path.refl_reparam E1 #

∀ {X : Type u_1} [inst : TopologicalSpace X] {x : X} {f : ↑unitInterval → ↑unitInterval} (hfcont : Continuous f)
  (hf₀ : f 0 = 0) (hf₁ : f 1 = 1), (Path.refl x).reparam f hfcont hf₀ hf₁ = Path.refl x