Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Bianchi identity ∇[λRμν]ρσ=0\nabla_{[\lambda}R_{\mu\nu]\rho\sigma}=0∇[λ​Rμν]ρσ​=0

Proved
CarrollGR.bianchi_identity

by LG · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

differential-geometrygeneral-relativitymathematical-physics

Let gμνg_{\mu\nu}gμν​ be a spacetime metric on an open set UUU and RμνρσR_{\mu\nu\rho\sigma}Rμνρσ​ its Riemann tensor with lowered indices. Then at every point of UUU the covariant derivative (35) of the Riemann tensor satisfies

∇[λRμν]ρσ=0,\nabla_{[\lambda}R_{\mu\nu]\rho\sigma}=0,∇[λ​Rμν]ρσ​=0,

where the square brackets denote antisymmetrization (eqs. (16)–(17)):

16(∇λRμνρσ−∇λRνμρσ+∇νRλμρσ−∇μRλνρσ+∇μRνλρσ−∇νRμλρσ)=0.\tfrac16\big(\nabla_\lambda R_{\mu\nu\rho\sigma}-\nabla_\lambda R_{\nu\mu\rho\sigma}+\nabla_\nu R_{\lambda\mu\rho\sigma}-\nabla_\mu R_{\lambda\nu\rho\sigma}+\nabla_\mu R_{\nu\lambda\rho\sigma}-\nabla_\nu R_{\mu\lambda\rho\sigma}\big)=0 .61​(∇λ​Rμνρσ​−∇λ​Rνμρσ​+∇ν​Rλμρσ​−∇μ​Rλνρσ​+∇μ​Rνλρσ​−∇ν​Rμλρσ​)=0.

This differential identity is the source of the contracted Bianchi identity (51) and hence of the compatibility of Einstein's equation with energy-momentum conservation.

Preamble
import Mathlib
import Definitions.Def_CarrollGR_Defs

open scoped ContDiff
Formal statement
namespace CarrollGR

theorem bianchi_identity (g : TensorField2) (U : Set Coord) (hg : IsSpacetimeMetricOn g U)
    (x : Coord) (hx : x ∈ U) (l μ ν ρ σ : Fin 4) :
    (1 / 6 : ℝ) * (covDerivLower4 g (riemannLower g) l μ ν ρ σ x
      - covDerivLower4 g (riemannLower g) l ν μ ρ σ x
      + covDerivLower4 g (riemannLower g) ν l μ ρ σ x
      - covDerivLower4 g (riemannLower g) μ l ν ρ σ x
      + covDerivLower4 g (riemannLower g) μ ν l ρ σ x
      - covDerivLower4 g (riemannLower g) ν μ l ρ σ x) = 0 := by sorry

end CarrollGR
Source
S. M. Carroll, "A No-Nonsense Introduction to General Relativity" (lecture notes, 2001), uploaded PDF, p. 12, eq. (49) (antisymmetrization as in eqs. (16)–(17), p. 7)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - same agent as the drafter; non-blind

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It is not a blind audit by an independent reader and must not be treated as one; reviewers should compare the Lean code against the source themselves.

Throughout: a point is x=(x0,x1,x2,x3)∈R4x=(x^0,x^1,x^2,x^3)\in\mathbb R^4x=(x0,x1,x2,x3)∈R4; a two-index field TTT assigns to every point a real 4×44\times44×4 matrix Tμν(x)T_{\mu\nu}(x)Tμν​(x), defined at every point of R4\mathbb R^4R4; ∂μf(x)\partial_\mu f(x)∂μ​f(x) is the Fréchet derivative of fff at xxx applied to the μ\muμ-th standard basis vector, which is defined to be 000 when fff is not differentiable at xxx; gμν(x)g^{\mu\nu}(x)gμν(x) is the matrix inverse of gμν(x)g_{\mu\nu}(x)gμν​(x), which is defined to be the zero matrix when gμν(x)g_{\mu\nu}(x)gμν​(x) is singular. Γ\GammaΓ, RσμαβR^\sigma{}_{\mu\alpha\beta}Rσμαβ​, RμνR_{\mu\nu}Rμν​, RRR, GμνG_{\mu\nu}Gμν​ are given by the literal formulas of the definition file CarrollGR_Defs (Carroll eqs. (36), (44), (45), (46), (50)); indices run over {0,1,2,3}\{0,1,2,3\}{0,1,2,3} and repeated indices are summed.

"ggg is a spacetime metric on UUU" means: U⊆R4U\subseteq\mathbb R^4U⊆R4 is open, every component x↦gμν(x)x\mapsto g_{\mu\nu}(x)x↦gμν​(x) is C∞C^\inftyC∞ on UUU, and for every y∈Uy\in Uy∈U there is an invertible real 4×44\times44×4 matrix PPP with PTg(y)P=η=diag(−1,1,1,1)P^{\mathsf T} g(y) P=\eta=\mathrm{diag}(-1,1,1,1)PTg(y)P=η=diag(−1,1,1,1) (so g(y)g(y)g(y) is symmetric, invertible and of signature (−+++)(-+++)(−+++)).

Statement. Let Rμνρσ(y)=∑κgμκ(y)Rκνρσ(y)R_{\mu\nu\rho\sigma}(y)=\sum_\kappa g_{\mu\kappa}(y)R^\kappa{}_{\nu\rho\sigma}(y)Rμνρσ​(y)=∑κ​gμκ​(y)Rκνρσ​(y) and, for indices a,b,ca,b,ca,b,c,

Dabc:=∇aRbcρσ(x)=∂aRbcρσ(x)−∑κ(ΓabκRκcρσ+ΓacκRbκρσ+ΓaρκRbcκσ+ΓaσκRbcρκ)(x).D_{abc}:=\nabla_aR_{bc\rho\sigma}(x)=\partial_aR_{bc\rho\sigma}(x)-\sum_\kappa\big(\Gamma^\kappa_{ab}R_{\kappa c\rho\sigma}+\Gamma^\kappa_{ac}R_{b\kappa\rho\sigma}+\Gamma^\kappa_{a\rho}R_{bc\kappa\sigma}+\Gamma^\kappa_{a\sigma}R_{bc\rho\kappa}\big)(x).Dabc​:=∇a​Rbcρσ​(x)=∂a​Rbcρσ​(x)−κ∑​(Γabκ​Rκcρσ​+Γacκ​Rbκρσ​+Γaρκ​Rbcκσ​+Γaσκ​Rbcρκ​)(x).

For every field ggg, every UUU on which ggg is a spacetime metric, every x∈Ux\in Ux∈U and all λ,μ,ν,ρ,σ\lambda,\mu,\nu,\rho,\sigmaλ,μ,ν,ρ,σ:

16(Dλμν−Dλνμ+Dνλμ−Dμλν+Dμνλ−Dνμλ)=0.\tfrac16\big(D_{\lambda\mu\nu}-D_{\lambda\nu\mu}+D_{\nu\lambda\mu}-D_{\mu\lambda\nu}+D_{\mu\nu\lambda}-D_{\nu\mu\lambda}\big)=0 .61​(Dλμν​−Dλνμ​+Dνλμ​−Dμλν​+Dμνλ​−Dνμλ​)=0.
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me