Documentation

Lightlike.Regge.Geodesic.Jet

Jets of a metric at a point #

Step 4 of RC6a, first part: the first and second derivatives of a coordinate metric at a point, written as matrices; the Christoffel contraction; uniform bounds on compact sets; and Taylor's theorem with remainder along a segment. For a point x and vectors u, u':

All three are linear in each vector argument; dmat and ddmat are symmetric matrices on U.

Main results #

Derivatives of the metric as matrices #

noncomputable def Lightlike.Geodesic.dmat {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (x u : Fin n → ℝ) :
Matrix (Fin n) (Fin n) ℝ

The derivative of the metric at x in the direction u: the matrix Σ_k u_k ∂_k g_{ij}(x).

Equations
Instances For
    noncomputable def Lightlike.Geodesic.ddmat {n : ℕ} (g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ) (x u u' : Fin n → ℝ) :
    Matrix (Fin n) (Fin n) ℝ

    The second derivative of the metric at x in the directions u, u': the matrix Σ_{k,l} u_k u'_l ∂_l ∂_k g_{ij}(x).

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

      The Christoffel contraction Γ_x(u, v)^i = Σ_{j,k} Γ^i_{jk}(x) u_j v_k.

      Equations
      Instances For
        theorem Lightlike.Geodesic.accel_eq_neg_chr {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x v : Fin n → ℝ) :
        accel g x v = -chr g x v v

        The geodesic acceleration is minus the Christoffel contraction: accel g x v = -Γ_x(v, v).

        Linearity #

        theorem Lightlike.Geodesic.dmat_add {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u u' : Fin n → ℝ) :
        dmat g x (u + u') = dmat g x u + dmat g x u'
        theorem Lightlike.Geodesic.dmat_smul {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u : Fin n → ℝ) (c : ℝ) :
        dmat g x (c • u) = c • dmat g x u
        theorem Lightlike.Geodesic.dmat_zero {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x : Fin n → ℝ) :
        dmat g x 0 = 0
        theorem Lightlike.Geodesic.ddmat_add_left {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u u' v : Fin n → ℝ) :
        ddmat g x (u + u') v = ddmat g x u v + ddmat g x u' v
        theorem Lightlike.Geodesic.ddmat_add_right {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u v v' : Fin n → ℝ) :
        ddmat g x u (v + v') = ddmat g x u v + ddmat g x u v'
        theorem Lightlike.Geodesic.ddmat_smul_left {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u v : Fin n → ℝ) (c : ℝ) :
        ddmat g x (c • u) v = c • ddmat g x u v
        theorem Lightlike.Geodesic.ddmat_smul_right {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u v : Fin n → ℝ) (c : ℝ) :
        ddmat g x u (c • v) = c • ddmat g x u v
        theorem Lightlike.Geodesic.ddmat_zero_left {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x v : Fin n → ℝ) :
        ddmat g x 0 v = 0
        theorem Lightlike.Geodesic.chr_add_left {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u u' v : Fin n → ℝ) :
        chr g x (u + u') v = chr g x u v + chr g x u' v
        theorem Lightlike.Geodesic.chr_add_right {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u v v' : Fin n → ℝ) :
        chr g x u (v + v') = chr g x u v + chr g x u v'
        theorem Lightlike.Geodesic.chr_smul_left {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u v : Fin n → ℝ) (c : ℝ) :
        chr g x (c • u) v = c • chr g x u v
        theorem Lightlike.Geodesic.chr_smul_right {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x u v : Fin n → ℝ) (c : ℝ) :
        chr g x u (c • v) = c • chr g x u v
        theorem Lightlike.Geodesic.chr_zero_left {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} (x v : Fin n → ℝ) :
        chr g x 0 v = 0

        Symmetry #

        theorem Lightlike.Geodesic.dot_mulVec_comm {n : ℕ} {M : Matrix (Fin n) (Fin n) ℝ} (hM : M.transpose = M) (p q : Fin n → ℝ) :

        For a symmetric matrix, p ⬝ (M q) = q ⬝ (M p).

        theorem Lightlike.IsCoordMetric.dmat_transpose {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsCoordMetric g U) {x : Fin n → ℝ} (hx : x ∈ U) (u : Fin n → ℝ) :

        The derivative of the metric is a symmetric matrix on U.

        theorem Lightlike.IsCoordMetric.ddmat_transpose {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsCoordMetric g U) {x : Fin n → ℝ} (hx : x ∈ U) (u u' : Fin n → ℝ) :

        The second derivative of the metric is a symmetric matrix on U.

        The lowered Christoffel symbols #

        theorem Lightlike.IsCoordMetric.dot_mulVec_chr {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsCoordMetric g U) {x : Fin n → ℝ} (hx : x ∈ U) (q u v : Fin n → ℝ) :
        q ⬝ᵥ (g x).mulVec (Geodesic.chr g x u v) = 1 / 2 * (q ⬝ᵥ (Geodesic.dmat g x u).mulVec v + q ⬝ᵥ (Geodesic.dmat g x v).mulVec u - u ⬝ᵥ (Geodesic.dmat g x q).mulVec v)

        Lowered Christoffel symbols through directional derivatives: on U, g(q, Γ(u, v)) = ½ (∂_u g(q, v) + ∂_v g(q, u) - ∂_q g(u, v)).

        Bounds (sup norms) #

        theorem Lightlike.Geodesic.abs_le_norm_apply {n : ℕ} (p : Fin n → ℝ) (i : Fin n) :
        theorem Lightlike.Geodesic.abs_sum_mul_le {n : ℕ} {a b : Fin n → ℝ} {A B : ℝ} (hA : 0 ≤ A) (ha : ∀ (k : Fin n), |a k| ≤ A) (hb : ∀ (k : Fin n), |b k| ≤ B) :
        |∑ k : Fin n, a k * b k| ≤ ↑n * A * B

        |Σ_k a_k b_k| ≤ n A B if |a_k| ≤ A and |b_k| ≤ B.

        theorem Lightlike.Geodesic.abs_dot_mulVec_le {n : ℕ} {M : Matrix (Fin n) (Fin n) ℝ} {m : ℝ} (hm : 0 ≤ m) (hM : ∀ (i j : Fin n), |M i j| ≤ m) (p q : Fin n → ℝ) :
        |p ⬝ᵥ M.mulVec q| ≤ ↑n ^ 2 * m * ‖p‖ * ‖q‖

        A bound on the entries bounds the bilinear form: |p ⬝ (M q)| ≤ n² m ‖p‖ ‖q‖.

        theorem Lightlike.Geodesic.norm_mulVec_le {n : ℕ} {M : Matrix (Fin n) (Fin n) ℝ} {m : ℝ} (hm : 0 ≤ m) (hM : ∀ (i j : Fin n), |M i j| ≤ m) (q : Fin n → ℝ) :
        ‖M.mulVec q‖ ≤ ↑n * m * ‖q‖

        ‖M q‖ ≤ n m ‖q‖ if the entries of M are bounded by m.

        theorem Lightlike.Geodesic.abs_dmat_le {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {x u : Fin n → ℝ} {m : ℝ} (hd : ∀ (i j k : Fin n), |pd k (fun (y : Fin n → ℝ) => g y i j) x| ≤ m) (i j : Fin n) :
        |dmat g x u i j| ≤ ↑n * m * ‖u‖

        Entries of ∂_u g are bounded by n m ‖u‖ if the first derivatives are bounded by m.

        theorem Lightlike.Geodesic.abs_ddmat_le {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {x u u' : Fin n → ℝ} {m : ℝ} (hd : ∀ (i j k l : Fin n), |pd l (pd k fun (y : Fin n → ℝ) => g y i j) x| ≤ m) (i j : Fin n) :
        |ddmat g x u u' i j| ≤ ↑n ^ 2 * m * ‖u‖ * ‖u'‖

        Entries of ∂_u ∂_{u'} g are bounded by n² m ‖u‖ ‖u'‖ if the second derivatives are bounded by m.

        theorem Lightlike.Geodesic.norm_chr_le {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {x u v : Fin n → ℝ} {m : ℝ} (hm : 0 ≤ m) (hc : ∀ (i j k : Fin n), |christoffel g i j k x| ≤ m) :
        ‖chr g x u v‖ ≤ ↑n ^ 2 * m * ‖u‖ * ‖v‖

        ‖Γ(u, v)‖ ≤ n² m ‖u‖ ‖v‖ if the Christoffel symbols are bounded by m.

        theorem Lightlike.Geodesic.exists_bound_fintype {n : ℕ} {ι : Type u_1} [Fintype ι] {K : Set (Fin n → ℝ)} (hK : IsCompact K) (f : ι → (Fin n → ℝ) → ℝ) (hf : ∀ (i : ι), ContinuousOn (f i) K) :
        ∃ (m : ℝ), 0 ≤ m ∧ ∀ (i : ι), ∀ z ∈ K, |f i z| ≤ m

        A finite family of functions continuous on a compact set has a common bound.

        theorem Lightlike.IsCoordMetric.exists_jet_bound {n : ℕ} {g : (Fin n → ℝ) → Matrix (Fin n) (Fin n) ℝ} {U : Set (Fin n → ℝ)} (hg : IsCoordMetric g U) {K : Set (Fin n → ℝ)} (hK : IsCompact K) (hKU : K ⊆ U) :
        ∃ (m : ℝ), 0 ≤ m ∧ ∀ z ∈ K, ∀ (i j k l p : Fin n), |g z i j| ≤ m ∧ |(g z)⁻¹ i j| ≤ m ∧ |pd k (fun (y : Fin n → ℝ) => g y i j) z| ≤ m ∧ |pd l (pd k fun (y : Fin n → ℝ) => g y i j) z| ≤ m ∧ |pd p (pd l (pd k fun (y : Fin n → ℝ) => g y i j)) z| ≤ m ∧ |christoffel g i j k z| ≤ m ∧ |pd l (christoffel g i j k) z| ≤ m

        Uniform bounds for the jets of the metric on a compact subset K of U: one m ≥ 0 bounds the entries of g and g⁻¹, the first three partial derivatives of g, the Christoffel symbols and their first partial derivatives.

        Taylor's theorem along a segment #

        theorem Lightlike.Geodesic.abs_le_of_hasDerivAt_le_pow {ψ ψ' : ℝ → ℝ} {K : ℝ} {k : ℕ} (h0 : ψ 0 = 0) (hd : ∀ s ∈ Set.Icc 0 1, HasDerivAt ψ (ψ' s) s) (hb : ∀ s ∈ Set.Icc 0 1, |ψ' s| ≤ K * s ^ k) (s : ℝ) :
        s ∈ Set.Icc 0 1 → |ψ s| ≤ K * s ^ (k + 1) / (↑k + 1)

        A function vanishing at 0 whose derivative is bounded by K s^k on [0, 1] is bounded by K s^(k+1) / (k+1) there.

        theorem Lightlike.Geodesic.taylor_aux_one {φ0 φ1 : ℝ → ℝ} {K : ℝ} (d0 : ∀ s ∈ Set.Icc 0 1, HasDerivAt φ0 (φ1 s) s) (hb : ∀ s ∈ Set.Icc 0 1, |φ1 s| ≤ K) :
        |φ0 1 - φ0 0| ≤ K

        One-dimensional Taylor estimate of order 1.

        theorem Lightlike.Geodesic.taylor_aux_two {φ0 φ1 φ2 : ℝ → ℝ} {K : ℝ} (d0 : ∀ s ∈ Set.Icc 0 1, HasDerivAt φ0 (φ1 s) s) (d1 : ∀ s ∈ Set.Icc 0 1, HasDerivAt φ1 (φ2 s) s) (hb : ∀ s ∈ Set.Icc 0 1, |φ2 s| ≤ K) :
        |φ0 1 - φ0 0 - φ1 0| ≤ K

        One-dimensional Taylor estimate of order 2.

        theorem Lightlike.Geodesic.taylor_aux_three {φ0 φ1 φ2 φ3 : ℝ → ℝ} {K : ℝ} (d0 : ∀ s ∈ Set.Icc 0 1, HasDerivAt φ0 (φ1 s) s) (d1 : ∀ s ∈ Set.Icc 0 1, HasDerivAt φ1 (φ2 s) s) (d2 : ∀ s ∈ Set.Icc 0 1, HasDerivAt φ2 (φ3 s) s) (hb : ∀ s ∈ Set.Icc 0 1, |φ3 s| ≤ K) :
        |φ0 1 - φ0 0 - φ1 0 - 1 / 2 * φ2 0| ≤ K

        One-dimensional Taylor estimate of order 3.

        theorem Lightlike.Geodesic.hasDerivAt_line {n : ℕ} {U : Set (Fin n → ℝ)} {f : (Fin n → ℝ) → ℝ} (hf : ContDiffOn ℝ (↑⊤) f U) (hU : IsOpen U) {x w : Fin n → ℝ} {s : ℝ} (hs : x + s • w ∈ U) :
        HasDerivAt (fun (s : ℝ) => f (x + s • w)) (∑ k : Fin n, w k * pd k f (x + s • w)) s

        The derivative of f along the line s ↦ x + s w.

        theorem Lightlike.Geodesic.taylor_one {n : ℕ} {U : Set (Fin n → ℝ)} {f : (Fin n → ℝ) → ℝ} (hf : ContDiffOn ℝ (↑⊤) f U) (hU : IsOpen U) {x w : Fin n → ℝ} (hseg : ∀ s ∈ Set.Icc 0 1, x + s • w ∈ U) {m : ℝ} (hm : ∀ s ∈ Set.Icc 0 1, ∀ (k : Fin n), |pd k f (x + s • w)| ≤ m) :
        |f (x + w) - f x| ≤ ↑n * m * ‖w‖

        Taylor's theorem of order 1 along a segment in U: |f(x + w) - f(x)| ≤ n m ‖w‖ if the first partial derivatives are bounded by m on the segment.

        theorem Lightlike.Geodesic.taylor_two {n : ℕ} {U : Set (Fin n → ℝ)} {f : (Fin n → ℝ) → ℝ} (hf : ContDiffOn ℝ (↑⊤) f U) (hU : IsOpen U) {x w : Fin n → ℝ} (hseg : ∀ s ∈ Set.Icc 0 1, x + s • w ∈ U) {m : ℝ} (hm : ∀ s ∈ Set.Icc 0 1, ∀ (k l : Fin n), |pd l (pd k f) (x + s • w)| ≤ m) :
        |f (x + w) - f x - ∑ k : Fin n, w k * pd k f x| ≤ ↑n ^ 2 * m * ‖w‖ ^ 2

        Taylor's theorem of order 2 along a segment in U, with the second partial derivatives bounded by m on the segment.

        theorem Lightlike.Geodesic.taylor_three {n : ℕ} {U : Set (Fin n → ℝ)} {f : (Fin n → ℝ) → ℝ} (hf : ContDiffOn ℝ (↑⊤) f U) (hU : IsOpen U) {x w : Fin n → ℝ} (hseg : ∀ s ∈ Set.Icc 0 1, x + s • w ∈ U) {m : ℝ} (hm : ∀ s ∈ Set.Icc 0 1, ∀ (k l p : Fin n), |pd p (pd l (pd k f)) (x + s • w)| ≤ m) :
        |f (x + w) - f x - ∑ k : Fin n, w k * pd k f x - 1 / 2 * ∑ k : Fin n, ∑ l : Fin n, w k * w l * pd l (pd k f) x| ≤ ↑n ^ 3 * m * ‖w‖ ^ 3

        Taylor's theorem of order 3 along a segment in U, with the third partial derivatives bounded by m on the segment: |f(x + w) - f(x) - ∂_w f(x) - ½ ∂_w ∂_w f(x)| ≤ n³ m ‖w‖³.