Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Hamiltonian mechanics recovers the geodesic equation with the force tensor

Proved
RelPartMech.kinetic_momentum_geodesic_equation

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

mathematical-physicsrelativity

Consider a charged particle in extended phase space with canonical coordinates (qα,pα)(q^\alpha,p_\alpha)(qα,pα​) on Rn×Rn\mathbb R^n\times\mathbb R^nRn×Rn and canonical Poisson bracket ({qα,pβ}=δβα\{q^\alpha,p_\beta\}=\delta^\alpha_\beta{qα,pβ​}=δβα​). Let gαβ(x)g_{\alpha\beta}(x)gαβ​(x) be a smooth, symmetric, nondegenerate metric with Christoffel symbols Γδαγ\Gamma^\gamma_{\delta\alpha}Γδαγ​, Aα(x)A_\alpha(x)Aα​(x) a smooth vector potential with force tensor Fαβ=∂αAβ−∂βAαF_{\alpha\beta}=\partial_\alpha A_\beta-\partial_\beta A_\alphaFαβ​=∂α​Aβ​−∂β​Aα​, eee the charge and m≠0m\neq0m=0 the mass. With kinetic momentum Πα=pα−eAα(x)\Pi_\alpha=p_\alpha-eA_\alpha(x)Πα​=pα​−eAα​(x) and Hamiltonian

H=12m ΠαgαβΠβ,H=\frac1{2m}\,\Pi_\alpha g^{\alpha\beta}\Pi_\beta ,H=2m1​Πα​gαβΠβ​,

write dsf={f,H}d_s f=\{f,H\}ds​f={f,H} for the evolution along the affine parameter sss. Then

DsΠα  =  dsΠα−dsxδ Γδαγ Πγ  =  em Fαβ gβγ Πγ.D_s\Pi_\alpha \;=\; d_s\Pi_\alpha - d_s x^\delta\,\Gamma^\gamma_{\delta\alpha}\,\Pi_\gamma \;=\; \frac{e}{m}\,F_{\alpha\beta}\,g^{\beta\gamma}\,\Pi_\gamma .Ds​Πα​=ds​Πα​−ds​xδΓδαγ​Πγ​=me​Fαβ​gβγΠγ​.

This is the geodesic equation modified by the force tensor (the covariant Lorentz-force law), recovered purely from Hamiltonian particle mechanics, where the metric enters only as the linear relation between kinetic momentum and velocity.

Formalization Note Everything is expressed in a single global chart; dsd_sds​ is the canonical Poisson bracket with HHH, evaluated at an arbitrary phase-space point (x,p)(x,p)(x,p). The charge, written qqq in the source, is called eee.

Preamble
import Mathlib
import Definitions.Def_RelPartMech_coordinates

open scoped ContDiff
Formal statement
namespace RelPartMech

theorem kinetic_momentum_geodesic_equation {n : ℕ} (g : MetricField n) (hg : IsSmoothMetric g)
    (A : CovectorField n) (hA : ∀ α, ContDiff ℝ ∞ (A α)) (e m : ℝ) (hm : m ≠ 0)
    (α : Fin n) (x p : Coord n) :
    poisson (kineticMomentum A e α) (hamiltonian g A e m) x p
      - ∑ δ, ∑ γ, poisson (posFn δ) (hamiltonian g A e m) x p * christoffel g γ δ α x
          * kineticMomentum A e γ x p =
      (e / m) * ∑ β, ∑ γ, forceTensor A α β x * ginv g x β γ * kineticMomentum A e γ x p := by
  sorry

end RelPartMech
Source
G. Carcassi, C. A. Aidala, "Relativity and Particle Mechanics" (note, uploaded PDF), p. 4, eq. (9), final line (D_s Π_α = (q/m) F_αβ g^βγ Π_γ)
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me