Documentation

Lightlike.Regge.Geodesic.Riemannian

The chart distance is Mathlib's Riemannian distance #

The remainder of step 1 of RC6a. An open set U ⊆ ℝⁿ is a manifold in Mathlib (TopologicalSpace.Opens, modelled on ℝⁿ), and a Riemannian metric g on U (IsRiemMetric g U) makes its tangent bundle a Riemannian bundle: the inner product on the tangent space at x is g_x(v, w) = v ⬝ g(x) w. Mathlib's Manifold.riemannianEDist is then the infimum of the lengths of C¹ paths in U, measured with these norms. This file proves that it agrees with the distance dist g U of Metric.lean, so that the expansion of the squared distance (DistExpansion.lean) is a statement about Mathlib's Riemannian distance.

The two definitions differ in two details, both handled here. Mathlib's paths are defined on [0, 1] and are C¹ as maps of manifolds with boundary; IsAdmissible asks for a C¹ map on all of ℝ that stays in U on [0, 1]. And dist is a real infimum, so it is the junk value 0 when no admissible curve joins the two points, where riemannianEDist is ⊤.

Definitions #

Main results #

The Riemannian bundle of g #

noncomputable def Lightlike.Geodesic.bilin {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) :
(Fin n → ℝ) →L[ℝ] (Fin n → ℝ) →L[ℝ] ℝ

The bilinear form (v, w) ↦ v ⬝ A w of a matrix A, as a continuous bilinear map.

Equations
Instances For
    theorem Lightlike.Geodesic.bilin_apply {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (v w : Fin n → ℝ) :
    ((bilin A) v) w = v ⬝ᵥ A.mulVec w

    bilin A v w = v ⬝ A w.

    The sup norm of ℝⁿ is at most the Euclidean norm.

    theorem Lightlike.Geodesic.bilin_symm {n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} (hA : A.transpose = A) (v w : Fin n → ℝ) :
    ((bilin A) v) w = ((bilin A) w) v

    The form of a symmetric matrix is symmetric.

    noncomputable def Lightlike.Geodesic.IsRiemMetric.riemannianMetric {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) :

    The Riemannian metric of g on the tangent bundle of U: at x the inner product g_x(v, w) = v ⬝ g(x) w. It is positive definite because g is, and it defines the topology of ℝⁿ on each tangent space because g(x) ≥ λ |·|² for some λ > 0.

    Equations
    Instances For
      @[instance_reducible]
      noncomputable def Lightlike.Geodesic.IsRiemMetric.riemannianBundle {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) :

      The tangent bundle of U as a Riemannian bundle with the metric g. It is not a global instance (it depends on g); statements install it with letI.

      Equations
      Instances For
        theorem Lightlike.Geodesic.IsRiemMetric.enorm_tangent {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) (x : ↥U) (v : TangentSpace (modelWithCornersSelf ℝ (Fin n → ℝ)) x) :

        In the Riemannian bundle of g the norm of a tangent vector v at x is √(g_x(v, v)).

        theorem Lightlike.Geodesic.mfderiv_eq_deriv {n : ℕ} {U : TopologicalSpace.Opens (Fin n → ℝ)} {γ : ℝ → ↥U} {t : ℝ} (hd : DifferentiableAt ℝ (fun (s : ℝ) => ↑(γ s)) t) :
        (mfderiv% γ t) 1 = deriv (fun (s : ℝ) => ↑(γ s)) t

        The manifold derivative of a curve γ in U, applied to 1, is the ordinary derivative of the curve in ℝⁿ: the charts of U are restrictions of the identity.

        Lengths and distances #

        theorem Lightlike.Geodesic.IsRiemMetric.pathELength_eq {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) {γ : ℝ → ↥U} {c : ℝ → Fin n → ℝ} (hc : ContDiff ℝ 1 c) (hmem : ∀ t ∈ Set.Icc 0 1, c t ∈ ↑U) (hγ : ∀ t ∈ Set.Ioo 0 1, (fun (s : ℝ) => ↑(γ s)) =ᶠ[nhds t] c) :

        Mathlib's length is length g. If a curve γ in U agrees near every point of (0, 1) with a C¹ curve c that stays in U on [0, 1], then Mathlib's length of γ on [0, 1] is the length length g c 0 1.

        theorem Lightlike.Geodesic.IsRiemMetric.riemannianEDist_le_length {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) {x y : ↥U} {c : ℝ → Fin n → ℝ} (hc : IsAdmissible (↑U) c ↑x ↑y) :

        Mathlib's Riemannian distance is at most the length of every admissible curve.

        theorem Lightlike.Geodesic.IsRiemMetric.exists_isAdmissible_of_riemannianEDist_lt {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) {x y : ↥U} {r : ENNReal} (hr : Manifold.riemannianEDist (modelWithCornersSelf ℝ (Fin n → ℝ)) x y < r) :
        ∃ (c : ℝ → Fin n → ℝ), IsAdmissible (↑U) c ↑x ↑y ∧ ENNReal.ofReal (length g c 0 1) < r

        If Mathlib's Riemannian distance is less than r, some admissible curve is shorter than r. Mathlib provides a C¹ path on all of ℝ (constant near the endpoints); in ℝⁿ it is an admissible curve.

        theorem Lightlike.Geodesic.IsRiemMetric.riemannianEDist_eq_iInf {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) (x y : ↥U) :
        Manifold.riemannianEDist (modelWithCornersSelf ℝ (Fin n → ℝ)) x y = ⨅ (c : ℝ → Fin n → ℝ), ⨅ (_ : IsAdmissible (↑U) c ↑x ↑y), ENNReal.ofReal (length g c 0 1)

        Mathlib's Riemannian distance is the infimum of the lengths of admissible curves, with no hypothesis on x and y (the infimum of the empty family is ⊤).

        theorem Lightlike.Geodesic.IsRiemMetric.riemannianEDist_eq_top {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) {x y : ↥U} (hxy : ¬∃ (c : ℝ → Fin n → ℝ), IsAdmissible (↑U) c ↑x ↑y) :

        If no admissible curve joins x and y, Mathlib's Riemannian distance is ⊤ (while dist g U x y is the junk value 0).

        theorem Lightlike.Geodesic.IsRiemMetric.riemannianEDist_eq {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) {x y : ↥U} (hxy : ∃ (c : ℝ → Fin n → ℝ), IsAdmissible (↑U) c ↑x ↑y) :

        The chart distance is Mathlib's Riemannian distance. If an admissible curve joins x and y, then riemannianEDist x y = dist g U x y for the Riemannian bundle of g on U.

        theorem Lightlike.Geodesic.IsRiemMetric.dist_eq_toReal_riemannianEDist {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) (x y : ↥U) :

        dist g U x y = (riemannianEDist x y).toReal for all x, y ∈ U: when no admissible curve exists, both sides are 0.

        Connected domains #

        theorem Lightlike.Geodesic.isAdmissible_segment {n : ℕ} {V : Set (Fin n → ℝ)} (hV : Convex ℝ V) {x y : Fin n → ℝ} (hx : x ∈ V) (hy : y ∈ V) :
        IsAdmissible V (fun (t : ℝ) => x + t • (y - x)) x y

        The straight segment from x to y is admissible in a convex set containing both.

        theorem Lightlike.Geodesic.IsAdmissible.mono {n : ℕ} {V W : Set (Fin n → ℝ)} (hVW : V ⊆ W) {c : ℝ → Fin n → ℝ} {x y : Fin n → ℝ} (hc : IsAdmissible V c x y) :
        IsAdmissible W c x y

        An admissible curve in V is admissible in every larger set.

        theorem Lightlike.Geodesic.IsRiemMetric.riemannianEDist_lt_top {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) (hU : IsPreconnected ↑U) (x y : ↥U) :

        On a connected U Mathlib's Riemannian distance is finite. Points of a small ball are joined by a segment, and the relation "finite distance" is transitive (Mathlib's triangle inequality), so it holds on all of the connected set U.

        theorem Lightlike.Geodesic.IsRiemMetric.exists_isAdmissible {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) (hU : IsPreconnected ↑U) (x y : ↥U) :
        ∃ (c : ℝ → Fin n → ℝ), IsAdmissible (↑U) c ↑x ↑y

        On a connected U any two points are joined by an admissible curve, so dist g U takes no junk values there.

        theorem Lightlike.Geodesic.IsRiemMetric.riemannianEDist_eq_of_isPreconnected {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : TopologicalSpace.Opens (Fin n → ℝ)} (hg : IsRiemMetric g ↑U) (hU : IsPreconnected ↑U) (x y : ↥U) :

        The chart distance is Mathlib's Riemannian distance on a connected U, for all x, y ∈ U.