Documentation

Lightlike.Regge.Geodesic.Metric

Riemannian metrics in a chart: lengths, energies and the distance #

The first step of RC6a (geodesics and the distance expansion, the prerequisite of the Cheeger–Müller–Schrader convergence theorem). A Riemannian metric on an open set U ⊆ ℝⁿ is a coordinate metric of the core (Lightlike.IsCoordMetric: smooth, symmetric, invertible) that is positive definite. The length and the energy of a curve are the integrals of √(g(c', c')) and g(c', c'), and the distance of (U, g) is the infimum of the lengths of C¹ curves in U.

Definitions #

Main results #

Relation to Mathlib #

Mathlib defines the Riemannian distance of a manifold with a Riemannian bundle, riemannianEDist (Mathlib/Geometry/Manifold/Riemannian/PathELength.lean), as an infimum over piecewise C¹ paths. The chart version here is the one the distance expansion needs (explicit matrices, curves [0, 1] → U); IsRiemMetric.riemannianEDist_eq (Lightlike/Regge/Geodesic/Riemannian.lean) proves that the two distances agree whenever an admissible curve joins the two points.

References #

Riemannian metrics #

structure Lightlike.Geodesic.IsRiemMetric {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (U : Set (Fin n → ℝ)) :

g is a Riemannian metric on U: a coordinate metric of the core (smooth, symmetric, invertible on the open set U) that is positive definite at every point of U.

  • coord : IsCoordMetric g U

    Smooth, symmetric and invertible on the open set U.

  • posDef (x : Fin n → ℝ) : x ∈ U → (g x).PosDef

    Positive definite on U.

Instances For
    def Lightlike.Geodesic.normSq {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (x v : Fin n → ℝ) :

    The squared length g_x(v, v) of the vector v at the point x.

    Equations
    Instances For
      def Lightlike.Geodesic.eNormSq {n : ℕ} (v : Fin n → ℝ) :

      The Euclidean squared norm v ⬝ v.

      Equations
      Instances For
        theorem Lightlike.Geodesic.eNormSq_eq_zero {n : ℕ} {v : Fin n → ℝ} :
        eNormSq v = 0 ↔ v = 0
        theorem Lightlike.Geodesic.IsRiemMetric.normSq_pos {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) {x : Fin n → ℝ} (hx : x ∈ U) {v : Fin n → ℝ} (hv : v ≠ 0) :
        0 < normSq g x v

        A Riemannian metric gives positive squared lengths to nonzero vectors.

        theorem Lightlike.Geodesic.IsRiemMetric.normSq_nonneg {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) {x : Fin n → ℝ} (hx : x ∈ U) (v : Fin n → ℝ) :
        0 ≤ normSq g x v

        A Riemannian metric gives nonnegative squared lengths.

        theorem Lightlike.Geodesic.normSq_smul {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (x : Fin n → ℝ) (c : ℝ) (v : Fin n → ℝ) :
        normSq g x (c • v) = c ^ 2 * normSq g x v

        Squared lengths are quadratic.

        theorem Lightlike.Geodesic.eNormSq_smul {n : ℕ} (c : ℝ) (v : Fin n → ℝ) :
        eNormSq (c • v) = c ^ 2 * eNormSq v

        The Euclidean squared norm is quadratic.

        theorem Lightlike.Geodesic.IsRiemMetric.continuousOn {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) (i j : Fin n) :
        ContinuousOn (fun (y : Fin n → ℝ) => g y i j) U

        The metric components are continuous on U.

        theorem Lightlike.Geodesic.IsRiemMetric.continuousOn_normSq {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) :
        ContinuousOn (fun (p : (Fin n → ℝ) × (Fin n → ℝ)) => normSq g p.1 p.2) (U ×ˢ Set.univ)

        (x, v) ↦ g_x(v, v) is continuous on U × ℝⁿ.

        theorem Lightlike.Geodesic.IsRiemMetric.exists_bounds_of_isCompact {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) {K : Set (Fin n → ℝ)} (hK : IsCompact K) (hKU : K ⊆ U) :
        ∃ (l : ℝ) (L : ℝ), 0 < l ∧ 0 < L ∧ ∀ x ∈ K, ∀ (v : Fin n → ℝ), l * eNormSq v ≤ normSq g x v ∧ normSq g x v ≤ L * eNormSq v

        Comparison with the Euclidean metric. On a compact subset K of U there are 0 < λ ≤ Λ with λ |v|² ≤ g_x(v, v) ≤ Λ |v|² for all x ∈ K and all v.

        Lengths and energies of curves #

        noncomputable def Lightlike.Geodesic.length {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (c : ℝ → Fin n → ℝ) (a b : ℝ) :

        The length ∫_a^b √(g(c', c')) of the curve c on [a, b].

        Equations
        Instances For
          noncomputable def Lightlike.Geodesic.energy {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (c : ℝ → Fin n → ℝ) (a b : ℝ) :

          The energy ∫_a^b g(c', c') of the curve c on [a, b].

          Equations
          Instances For
            theorem Lightlike.Geodesic.sq_integral_le {f : ℝ → ℝ} {a b : ℝ} (hab : a ≤ b) (hf : IntervalIntegrable f MeasureTheory.volume a b) (hf2 : IntervalIntegrable (fun (t : ℝ) => f t ^ 2) MeasureTheory.volume a b) :
            (∫ (t : ℝ) in a..b, f t) ^ 2 ≤ (b - a) * ∫ (t : ℝ) in a..b, f t ^ 2

            Cauchy–Schwarz for an interval integral: (∫ f)² ≤ (b - a) ∫ f².

            theorem Lightlike.Geodesic.length_sq_le_energy {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) {c : ℝ → Fin n → ℝ} {a b : ℝ} (hab : a ≤ b) (hmem : ∀ t ∈ Set.Icc a b, c t ∈ U) (h1 : IntervalIntegrable (fun (t : ℝ) => √(normSq g (c t) (deriv c t))) MeasureTheory.volume a b) (h2 : IntervalIntegrable (fun (t : ℝ) => normSq g (c t) (deriv c t)) MeasureTheory.volume a b) :
            length g c a b ^ 2 ≤ (b - a) * energy g c a b

            Length and energy: L² ≤ (b - a) E for a curve with integrable speed.

            Euclidean lower bounds #

            theorem Lightlike.Geodesic.sqrt_eNormSq_sub_le_integral {n : ℕ} {c : ℝ → Fin n → ℝ} (hc : ContDiff ℝ 1 c) {a b : ℝ} (hab : a ≤ b) :
            √(eNormSq (c b - c a)) ≤ ∫ (t : ℝ) in a..b, √(eNormSq (deriv c t))

            The Euclidean length bounds the displacement. For a C¹ curve c, |c b - c a| ≤ ∫_a^b |c'| (Euclidean norms).

            theorem Lightlike.Geodesic.length_ge_of_bounds {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {c : ℝ → Fin n → ℝ} (hc : ContDiff ℝ 1 c) {a b : ℝ} (hab : a ≤ b) {l : ℝ} (hl : 0 ≤ l) (hbd : ∀ t ∈ Set.Icc a b, ∀ (v : Fin n → ℝ), l * eNormSq v ≤ normSq g (c t) v) (hint : IntervalIntegrable (fun (t : ℝ) => √(normSq g (c t) (deriv c t))) MeasureTheory.volume a b) :
            √l * √(eNormSq (c b - c a)) ≤ length g c a b

            A lower bound on the metric bounds the length from below: if g ≥ λ |·|² along a C¹ curve, its length is at least √λ |c b - c a|.

            The distance #

            structure Lightlike.Geodesic.IsAdmissible {n : ℕ} (U : Set (Fin n → ℝ)) (c : ℝ → Fin n → ℝ) (x y : Fin n → ℝ) :

            c is an admissible curve from x to y in U: C¹, with c 0 = x, c 1 = y, and c t ∈ U for t ∈ [0, 1].

            • smooth : ContDiff ℝ 1 c

              C¹.

            • mem (t : ℝ) : t ∈ Set.Icc 0 1 → c t ∈ U

              Stays in U on [0, 1].

            • start : c 0 = x

              Starts at x.

            • finish : c 1 = y

              Ends at y.

            Instances For
              noncomputable def Lightlike.Geodesic.dist {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (U : Set (Fin n → ℝ)) (x y : Fin n → ℝ) :

              The distance of (U, g): the infimum of the lengths of admissible curves from x to y (0 if there is none).

              Equations
              Instances For
                theorem Lightlike.Geodesic.length_nonneg {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {c : ℝ → Fin n → ℝ} {a b : ℝ} (hab : a ≤ b) :
                0 ≤ length g c a b

                Lengths of curves in U are nonnegative.

                theorem Lightlike.Geodesic.dist_le_length {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} {c : ℝ → Fin n → ℝ} {x y : Fin n → ℝ} (hc : IsAdmissible U c x y) :
                dist g U x y ≤ length g c 0 1

                The distance is at most the length of any admissible curve.

                theorem Lightlike.Geodesic.dist_nonneg {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} {x y : Fin n → ℝ} :
                0 ≤ dist g U x y

                The distance is nonnegative.

                theorem Lightlike.Geodesic.IsRiemMetric.intervalIntegrable_speed {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) {c : ℝ → Fin n → ℝ} {x y : Fin n → ℝ} (hc : IsAdmissible U c x y) :
                IntervalIntegrable (fun (t : ℝ) => √(normSq g (c t) (deriv c t))) MeasureTheory.volume 0 1

                The speed of a C¹ curve in U is integrable on [0, 1].

                theorem Lightlike.Geodesic.IsRiemMetric.dist_ge_of_bounds {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsRiemMetric g U) {K : Set (Fin n → ℝ)} {l : ℝ} (hl : 0 ≤ l) (hbd : ∀ z ∈ K, ∀ (v : Fin n → ℝ), l * eNormSq v ≤ normSq g z v) {x y : Fin n → ℝ} (hne : ∃ (c : ℝ → Fin n → ℝ), IsAdmissible U c x y) (hK : ∀ (c : ℝ → Fin n → ℝ), IsAdmissible U c x y → ∀ t ∈ Set.Icc 0 1, c t ∈ K) :
                √l * √(eNormSq (y - x)) ≤ dist g U x y

                A lower bound on the metric bounds the distance from below, for curves that stay in a set where g ≥ λ |·|²: if every admissible curve from x to y stays in K, then dist ≥ √λ |y - x|.

                Trust check: the Euclidean metric #

                def Lightlike.Geodesic.euclid {n : ℕ} :
                (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ

                The Euclidean metric (the identity matrix).

                Equations
                Instances For

                  The Euclidean metric is a Riemannian metric on every open set.

                  @[simp]
                  theorem Lightlike.Geodesic.normSq_euclid {n : ℕ} (x v : Fin n → ℝ) :

                  For the Euclidean metric, g_x(v, v) = v ⬝ v.

                  theorem Lightlike.Geodesic.dist_euclid {n : ℕ} {U : Set (Fin n → ℝ)} (hU : IsOpen U) (hconv : Convex ℝ U) {x y : Fin n → ℝ} (hx : x ∈ U) (hy : y ∈ U) :
                  dist euclid U x y = √(eNormSq (y - x))

                  Trust check. For the Euclidean metric on a convex open set, the distance is the Euclidean distance: the straight segment is admissible with length |y - x|, and every curve is at least that long.