LeanPool.DirectedTopologyLean4.Dipath #
A dipath is a path together with a proof that that path "is a dipath"
- toFun : ↑unitInterval → X
- continuous_toFun : Continuous self.toFun
Instances For
Convert a dipath to its underlying directed map D(I, X).
Equations
- γ.toDirectedMap = { toContinuousMap := γ.toContinuousMap, directed_toFun := ⋯ }
Instances For
Promote a path with a proof of directedness into a dipath.
Equations
- Dipath.ofIsDipath hγ = { toPath := γ, dipath_toPath := hγ }
Instances For
An directed map from I to a directed space can be turned into a dipath
Equations
- Dipath.ofDirectedMap f = { toFun := ⇑f, continuous_toFun := ⋯, source' := ⋯, target' := ⋯, dipath_toPath := ⋯ }
Instances For
See Note [custom simps projection]. We need to specify this projection explicitly in this case, because it is a composition of multiple projections.
Equations
- Dipath.simps.apply γ = ⇑γ
Instances For
Any function φ : Π (a : α), Dipath (x a) (y a) can be seen as a function α × I → X.
Equations
- Dipath.hasUncurryDipath = { uncurry := fun (φ : (a : α) → Dipath (x a) (y a)) (p : α × ↑unitInterval) => (φ p.1) p.2 }
Properites about the range of dipaths #
Reflexive dipaths #
The constant dipath from a point to itself
Equations
- Dipath.refl x = { toPath := Path.refl x, dipath_toPath := ⋯ }
Instances For
Concatenation of dipaths #
Mapping dipaths #
Casting dipaths #
Reparametrising a path #
Reparametrize a dipath by precomposing it with a directed self-map of the unit interval.
Equations
Instances For
Given a dipath γ and a dimap f : I → I where f 0 = 0 and f 1 = 1, γ.reparam f is the
dipath defined by γ ∘ f.
Instances For
Two dipaths together form a dipath in the product space
Equations
- γ₁.dipathProduct γ₂ = { toFun := fun (t : ↑unitInterval) => (γ₁ t, γ₂ t), continuous_toFun := ⋯, source' := ⋯, target' := ⋯, dipath_toPath := ⋯ }
Instances For
Given a directed path in a product space, we can project it to its first coordinate to obtain a directed path
Equations
- γ.ofProductFst = { toPath := γ.map ⋯, dipath_toPath := ⋯ }
Instances For
Given a directed path in a product space, we can project it to its second coordinate to obtain a directed path
Equations
- γ.ofProductSnd = { toPath := γ.map ⋯, dipath_toPath := ⋯ }