Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Derivative of the inverse metric

Proved
RelPartMech.inv_metric_deriv

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

mathematical-physicsrelativity

Let gαβ(x)g_{\alpha\beta}(x)gαβ​(x) be a smooth, symmetric, nondegenerate metric on a coordinate chart Rn\mathbb R^nRn, with inverse gαβ(x)g^{\alpha\beta}(x)gαβ(x). Then for all indices α,β,γ\alpha,\beta,\gammaα,β,γ and every point xxx,

∂αgβγ=− gβδ gγϵ ∂αgδϵ,\partial_\alpha g^{\beta\gamma} = -\,g^{\beta\delta}\,g^{\gamma\epsilon}\,\partial_\alpha g_{\delta\epsilon},∂α​gβγ=−gβδgγϵ∂α​gδϵ​,

with summation over δ,ϵ\delta,\epsilonδ,ϵ. It follows from differentiating gβδgδγ=δγβg^{\beta\delta}g_{\delta\gamma}=\delta^\beta_\gammagβδgδγ​=δγβ​.

This identity is used throughout the note to trade derivatives of the inverse metric for derivatives of the metric.

Formalization Note Space-time is a single global chart Rn\mathbb R^nRn (Fin n → ℝ); ∂α\partial_\alpha∂α​ is the Fréchet derivative in direction eαe_\alphaeα​; the metric is assumed smooth, symmetric and pointwise invertible (IsSmoothMetric), with no signature condition.

Preamble
import Mathlib
import Definitions.Def_RelPartMech_coordinates

open scoped ContDiff
Formal statement
namespace RelPartMech

theorem inv_metric_deriv {n : ℕ} (g : MetricField n) (hg : IsSmoothMetric g)
    (α β γ : Fin n) (x : Coord n) :
    pd α (fun y => ginv g y β γ) x =
      -∑ δ, ∑ ε, ginv g x β δ * ginv g x γ ε * pd α (fun y => g y δ ε) x := by sorry

end RelPartMech
Source
G. Carcassi, C. A. Aidala, "Relativity and Particle Mechanics" (note, uploaded PDF), p. 1, eq. (2), second and third lines
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