Curves, geodesics, proper time, Jacobi fields and conjugate points
Definitionnatario_gr_curvesCurves in a coordinate spacetime: the geodesic equation, timelike, unit timelike, null and causal curves, proper time, geodesic completeness and the resulting notion of a singular spacetime, the covariant derivative of a vector field along a curve, the Jacobi equation and conjugate points along a timelike geodesic.
import Definitions.Def_natario_gr_core
open scoped ContDiff
/-!
# Curves, geodesics, Jacobi fields and conjugate points
Continuation of the coordinate framework for J. Natário, *Mathematical Relativity*
(arXiv:2003.02855), Chapter 4.
-/
namespace MathematicalRelativity
/-- Coordinate velocity of a curve. -/
noncomputable def vel (c : ℝ → Pt) (t : ℝ) : Pt := fun a => deriv (fun s => c s a) t
/-- Coordinate acceleration of a curve. -/
noncomputable def acc (c : ℝ → Pt) (t : ℝ) : Pt :=
fun a => deriv (fun s => deriv (fun u => c u a) s) t
namespace Spacetime
variable (m : Spacetime)
/-- `c` solves the geodesic equation on the parameter set `I`. -/
def IsGeodesicOn (c : ℝ → Pt) (I : Set ℝ) : Prop :=
(∀ a, ContDiffOn ℝ 2 (fun s => c s a) I) ∧
∀ t ∈ I, ∀ a, acc c t a
+ ∑ b, ∑ d, m.christoffel a b d (c t) * vel c t b * vel c t d = 0
/-- A future-pointing timelike geodesic. -/
def IsTimelikeGeodesicOn (c : ℝ → Pt) (I : Set ℝ) : Prop :=
m.IsGeodesicOn c I ∧ ∀ t ∈ I, m.IsTimelike (c t) (vel c t) ∧ IsFuture (vel c t)
/-- A future-pointing timelike geodesic parameterized by proper time. -/
def IsUnitTimelikeGeodesicOn (c : ℝ → Pt) (I : Set ℝ) : Prop :=
m.IsTimelikeGeodesicOn c I ∧ ∀ t ∈ I, m.ip (c t) (vel c t) (vel c t) = -1
/-- A future-pointing, affinely parameterized null geodesic. -/
def IsNullGeodesicOn (c : ℝ → Pt) (I : Set ℝ) : Prop :=
m.IsGeodesicOn c I ∧ ∀ t ∈ I, m.IsNull (c t) (vel c t) ∧ IsFuture (vel c t)
/-- A future-pointing causal curve. -/
def IsCausalCurveOn (c : ℝ → Pt) (I : Set ℝ) : Prop :=
(∀ a, ContDiffOn ℝ 1 (fun s => c s a) I) ∧
∀ t ∈ I, m.IsCausalVec (c t) (vel c t) ∧ IsFuture (vel c t)
/-- A future-pointing timelike curve. -/
def IsTimelikeCurveOn (c : ℝ → Pt) (I : Set ℝ) : Prop :=
(∀ a, ContDiffOn ℝ 1 (fun s => c s a) I) ∧
∀ t ∈ I, m.IsTimelike (c t) (vel c t) ∧ IsFuture (vel c t)
/-- The proper time (Lorentzian length) of a timelike curve between two parameter values. -/
noncomputable def properTime (c : ℝ → Pt) (t₀ t₁ : ℝ) : ℝ :=
∫ t in t₀..t₁, Real.sqrt (-(m.ip (c t) (vel c t) (vel c t)))
/-- Geodesic completeness: every initial condition is the initial condition of a geodesic
defined for all values of the affine parameter. -/
def GeodesicallyComplete : Prop :=
∀ x v : Pt, ∃ c : ℝ → Pt, m.IsGeodesicOn c Set.univ ∧ c 0 = x ∧ vel c 0 = v
/-- A spacetime is singular when it is not geodesically complete (Natário, Def. 4.5.1). -/
def IsSingular : Prop := ¬ m.GeodesicallyComplete
/-- The covariant derivative along `c` of a vector field `Y` defined along `c`. -/
noncomputable def covDAlong (c Y : ℝ → Pt) (t : ℝ) : Pt :=
fun a => deriv (fun s => Y s a) t + ∑ b, ∑ d, m.christoffel a b d (c t) * vel c t b * Y t d
/-- `Y` solves the Jacobi (geodesic deviation) equation `∇_X ∇_X Y = R(X, Y) X` along `c`. -/
def IsJacobiFieldOn (c Y : ℝ → Pt) (I : Set ℝ) : Prop :=
(∀ a, ContDiffOn ℝ 2 (fun s => Y s a) I) ∧
∀ t ∈ I, ∀ a, m.covDAlong c (m.covDAlong c Y) t a
= ∑ b, ∑ e, ∑ d, m.riemann a b e d (c t) * vel c t b * vel c t e * Y t d
/-- `c t₁` is conjugate to `c t₀` along the timelike geodesic `c`: there is a nontrivial
Jacobi field along `c` vanishing at both parameters (Natário, Def. 4.3.1). -/
def ConjugatePointAlong (c : ℝ → Pt) (t₀ t₁ : ℝ) : Prop :=
∃ Y : ℝ → Pt, m.IsJacobiFieldOn c Y (Set.Icc t₀ t₁) ∧
(∃ t ∈ Set.Ioo t₀ t₁, Y t ≠ 0) ∧ Y t₀ = 0 ∧ Y t₁ = 0
end Spacetime
end MathematicalRelativity
Read-back
What the Lean code literally says, in plain math · self-authored by the drafting agent (non-blind; not an independent auditor)
Disclosure — non-blind read-back, not independent testimony. This read-back was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner. It is not the blind testimony of an independent auditor with fresh context, and it cannot serve the usual purpose of a read-back as an outside check on the drafter: any misreading in the formalization is likely to be repeated here. Please treat it as an authored restatement and obtain an independent audit before relying on it.
For a curve the velocity and the acceleration are defined componentwise by iterated one-dimensional derivatives of ; where those derivatives do not exist the Lean deriv returns .
Given a spacetime and a set of parameters:
- is a geodesic on when each component of is twice continuously differentiable on and, for every and every index , . The derivatives appearing here are the ordinary two-sided derivatives of the totally defined function , which is a slightly stronger demand than differentiability relative to at endpoints of .
- is a timelike geodesic on when in addition is timelike and for all ; a unit timelike geodesic when moreover on ; a null geodesic when is null (nonzero, of zero square) and future-pointing on .
- is a causal curve (resp. timelike curve) on when each component is on and is causal (resp. timelike) and future-pointing for every . No geodesic equation is imposed.
- The proper time of between parameters and is the interval integral , using the real square root (which is on negative arguments) and the Lean interval integral (which is for non-integrable integrands and changes sign when ).
The spacetime is geodesically complete when for every point and every vector there exists a curve which is a geodesic on all of with and ; note that this asks only for existence, not uniqueness, and places no causal character restriction on (in particular is included). The spacetime is singular exactly when it is not geodesically complete.
For a vector field along , the covariant derivative along is . is a Jacobi field on when each component of is on and, for all and all ,
Finally, is conjugate to along when there exists a vector field which is a Jacobi field on the closed interval , which is nonzero at some parameter strictly between and , and which satisfies and . The definition does not itself require to be a geodesic, nor ; if the open interval is empty and the nontriviality clause cannot be met.