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 / V23. Manifolds and bundles

Mathlib.Geometry.Manifold.Riemannian.PathELength

20 declarations. Mathlib docs · Source

Lengths of paths in manifolds

Consider a manifold in which the tangent spaces have an enormed structure. Then one defines pathELength γ a b as the length of the path γ : ℝ → M between a and b, i.e., the integral of the norm of its derivative on Icc a b.

We give several ways to write this quantity (as an integral over Icc, or Ioo, or the subtype Icc, using either mfderiv or mfderivWithin).

We show that this notion is invariant under reparameterization by a monotone map, in pathELength_comp_of_monotoneOn.

We define riemannianEDist x y as the infimum of the length of C^1 paths between x and y. We prove, in exists_lt_locally_constant_of_riemannianEDist_lt, that it is also the infimum on such paths that are moreover locally constant near their endpoints. Such paths can be glued while retaining the C^1 property. We deduce that riemannianEDist satisfies the triangle inequality, in riemannianEDist_triangle.

Note that riemannianEDist x y could also be named finslerEDist x y as we do not require that the metric comes from an inner product space. However, as all the current applications in mathlib are to Riemannian spaces we stick with the simpler name. This could be changed when Finsler manifolds are studied in mathlib.

def Manifold.pathELength E1 #

{E : Type u_1} →
  [inst : NormedAddCommGroup E] →
    [inst_1 : NormedSpace ℝ E] →
      {H : Type u_2} →
        [inst_2 : TopologicalSpace H] →
          (I : ModelWithCorners ℝ E H) →
            {M : Type u_3} →
              [inst_3 : TopologicalSpace M] →
                [inst_4 : ChartedSpace H M] → [(x : M) → ENorm (TangentSpace I x)] → (ℝ → M) → ℝ → ℝ → ENNReal

The length on Icc a b of a path into a manifold, where the path is defined on the whole real line.

We use the whole real line to avoid subtype hell in API, but this is equivalent to considering functions on the manifold with boundary Icc a b, see lintegral_norm_mfderiv_Icc_eq_pathELength_projIcc.

We use mfderiv instead of mfderivWithin in the definition as these coincide (apart from the two endpoints which have zero measure) and mfderiv is easier to manipulate. However, we give a lemma pathELength_eq_integral_mfderivWithin_Icc to rewrite with the mfderivWithin form.

theorem Manifold.pathELength_eq_lintegral_mfderiv_Icc E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ : ℝ → M},
  Manifold.pathELength I γ a b = ∫⁻ (t : ℝ) in Set.Icc a b, ‖(mfderiv% γ t) 1‖ₑ

theorem Manifold.pathELength_eq_lintegral_mfderiv_Ioo E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ : ℝ → M},
  Manifold.pathELength I γ a b = ∫⁻ (t : ℝ) in Set.Ioo a b, ‖(mfderiv% γ t) 1‖ₑ

theorem Manifold.pathELength_eq_lintegral_mfderivWithin_Icc E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ : ℝ → M},
  Manifold.pathELength I γ a b = ∫⁻ (t : ℝ) in Set.Icc a b, ‖(mfderiv[Set.Icc a b] γ t) 1‖ₑ

theorem Manifold.pathELength_self E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a : ℝ} {γ : ℝ → M}, Manifold.pathELength I γ a a = 0

theorem Manifold.pathELength_congr_Ioo E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ γ' : ℝ → M},
  Set.EqOn γ γ' (Set.Ioo a b) → Manifold.pathELength I γ a b = Manifold.pathELength I γ' a b

theorem Manifold.pathELength_congr E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ γ' : ℝ → M},
  Set.EqOn γ γ' (Set.Icc a b) → Manifold.pathELength I γ a b = Manifold.pathELength I γ' a b

theorem Manifold.pathELength_mono E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b a' b' : ℝ} {γ : ℝ → M},
  a' ≤ a → b ≤ b' → Manifold.pathELength I γ a b ≤ Manifold.pathELength I γ a' b'

theorem Manifold.pathELength_add E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b c : ℝ} {γ : ℝ → M},
  a ≤ b → b ≤ c → Manifold.pathELength I γ a b + Manifold.pathELength I γ b c = Manifold.pathELength I γ a c

theorem Manifold.lintegral_norm_mfderiv_Icc_eq_pathELength_projIcc E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} [h : Fact (a < b)] {γ : ↑(Set.Icc a b) → M},
  ∫⁻ (t : ↑(Set.Icc a b)), ‖(mfderiv% γ t) 1‖ₑ = Manifold.pathELength I (γ ∘ Set.projIcc a b ⋯) a b

Given a path γ defined on the manifold with boundary [a, b], its length (as the integral of the norm of its manifold derivative) coincides with pathELength of the lift of γ to the real line, between a and b.

theorem Manifold.pathELength_comp_of_monotoneOn E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ : ℝ → M} [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)]
  {f : ℝ → ℝ},
  a ≤ b →
    MonotoneOn f (Set.Icc a b) →
      DifferentiableOn ℝ f (Set.Icc a b) →
        MDiff[Set.Icc (f a) (f b)] γ → Manifold.pathELength I (γ ∘ f) a b = Manifold.pathELength I γ (f a) (f b)

The length of a path in a manifold is invariant under a monotone reparametrization.

theorem Manifold.pathELength_comp_of_antitoneOn E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {a b : ℝ} {γ : ℝ → M} [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)]
  {f : ℝ → ℝ},
  a ≤ b →
    AntitoneOn f (Set.Icc a b) →
      DifferentiableOn ℝ f (Set.Icc a b) →
        MDiff[Set.Icc (f b) (f a)] γ → Manifold.pathELength I (γ ∘ f) a b = Manifold.pathELength I γ (f b) (f a)

The length of a path in a manifold is invariant under an antitone reparametrization.

def Manifold.riemannianEDist E1 #

{E : Type u_1} →
  [inst : NormedAddCommGroup E] →
    [inst_1 : NormedSpace ℝ E] →
      {H : Type u_2} →
        [inst_2 : TopologicalSpace H] →
          (I : ModelWithCorners ℝ E H) →
            {M : Type u_3} →
              [inst_3 : TopologicalSpace M] →
                [inst_4 : ChartedSpace H M] → [(x : M) → ENorm (TangentSpace I x)] → M → M → ENNReal

The Riemannian extended distance between two points, in a manifold where the tangent spaces have an extended norm, defined as the infimum of the lengths of C^1 paths between the points.

theorem Manifold.riemannianEDist_def E0 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  (I : ModelWithCorners ℝ E H) {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] (x y : M),
  Manifold.riemannianEDist I x y =
    ⨅ γ,
      ⨅ (_ : ContMDiff (modelWithCornersEuclideanHalfSpace 1) I 1 ⇑γ), ∫⁻ (x_2 : ↑unitInterval), ‖(mfderiv% ⇑γ x_2) 1‖ₑ

theorem Manifold.riemannianEDist_le_pathELength E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)] {x y : M} {a b : ℝ}
  {γ : ℝ → M},
  ContMDiffOn (modelWithCornersSelf ℝ ℝ) I 1 γ (Set.Icc a b) →
    γ a = x → γ b = y → a ≤ b → Manifold.riemannianEDist I x y ≤ Manifold.pathELength I γ a b

The Riemannian edistance is bounded above by the length of any C^1 path from x to y. Here, we express this using a path defined on the whole real line, considered on some interval [a, b].

theorem Manifold.exists_lt_of_riemannianEDist_lt E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] {x y : M} {r : ENNReal},
  Manifold.riemannianEDist I x y < r →
    ∃ γ,
      γ 0 = x ∧ γ 1 = y ∧ ContMDiffOn (modelWithCornersSelf ℝ ℝ) I 1 γ (Set.Icc 0 1) ∧ Manifold.pathELength I γ 0 1 < r

If some r is strictly larger than the Riemannian edistance between two points, there exists a path between these two points of length < r. Here, we get such a path on [0, 1]. For a more precise version giving locally constant paths around the endpoints, see exists_lt_locally_constant_of_riemannianEDist_lt

theorem Manifold.exists_lt_locally_constant_of_riemannianEDist_lt E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)] {x y : M} {r : ENNReal}
  {a b : ℝ},
  Manifold.riemannianEDist I x y < r →
    a < b →
      ∃ γ,
        γ a = x ∧
          γ b = y ∧
            ContMDiff (modelWithCornersSelf ℝ ℝ) I 1 γ ∧
              Manifold.pathELength I γ a b < r ∧ (γ =ᶠ[nhds a] fun x_1 ↦ x) ∧ γ =ᶠ[nhds b] fun x ↦ y

If some r is strictly larger than the Riemannian edistance between two points, there exists a path between these two points of length < r. Here, we get such a path on an arbitrary interval [a, b] with a < b, and moreover we ensure that the path is locally constant around a and b, which is convenient for gluing purposes.

theorem Manifold.riemannianEDist_self E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)] {x : M},
  Manifold.riemannianEDist I x x = 0

theorem Manifold.riemannianEDist_comm E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)] {x y : M},
  Manifold.riemannianEDist I x y = Manifold.riemannianEDist I y x

theorem Manifold.riemannianEDist_triangle E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners ℝ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M]
  [inst_5 : (x : M) → ENorm (TangentSpace I x)] [∀ (x : M), ENormSMulClass ℝ (TangentSpace I x)] {x y z : M},
  Manifold.riemannianEDist I x z ≤ Manifold.riemannianEDist I x y + Manifold.riemannianEDist I y z