Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Acceleration equation in effective variables

Proved
CosmologyEOS.effective_acceleration_equation

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

cosmologymathematical-physics

Let G≠0G\neq 0G=0 and Λ\LambdaΛ be real, and let a,ε,pa,\varepsilon,pa,ε,p be real functions of time. Define the effective energy density and pressure ε′=ε+Λ8πG\varepsilon' = \varepsilon + \frac{\Lambda}{8\pi G}ε′=ε+8πGΛ​ and p′=p−Λ8πGp' = p - \frac{\Lambda}{8\pi G}p′=p−8πGΛ​. Then at every time ttt:

  1. the acceleration equation 3a¨a=Λ−4πG(ε+3p)3\frac{\ddot a}{a} = \Lambda - 4\pi G(\varepsilon + 3p)3aa¨​=Λ−4πG(ε+3p) holds if and only if
a¨a=−43πG (ε′+3p′);\frac{\ddot a}{a} = -\frac43\pi G\,(\varepsilon' + 3p');aa¨​=−34​πG(ε′+3p′);
  1. if ε′≠0\varepsilon'\neq 0ε′=0 and w′=p′/ε′w' = p'/\varepsilon'w′=p′/ε′, then
−43πG (ε′+3p′)=−43πG (1+3w′) ε′.-\frac43\pi G\,(\varepsilon'+3p') = -\frac43\pi G\,(1+3w')\,\varepsilon'.−34​πG(ε′+3p′)=−34​πG(1+3w′)ε′.

This expresses the effect of the cosmological constant as a shift of the fluid variables.

Formalization Note No sign or regularity hypotheses are needed: the statement is an identity between the two forms of the equation at a single time.

Preamble
import Mathlib
import Definitions.Def_CosmologyEOS_Defs

open Real Filter Topology
Formal statement
namespace CosmologyEOS

theorem effective_acceleration_equation (G Λ : ℝ) (hG : G ≠ 0) (a ε p : ℝ → ℝ) (t : ℝ) :
    (AccelerationEquation G Λ a ε p t ↔
      deriv (deriv a) t / a t =
        -(4 / 3) * π * G *
          (effectiveEnergyDensity G Λ (ε t) + 3 * effectivePressure G Λ (p t))) ∧
    (effectiveEnergyDensity G Λ (ε t) ≠ 0 →
      -(4 / 3) * π * G *
          (effectiveEnergyDensity G Λ (ε t) + 3 * effectivePressure G Λ (p t)) =
        -(4 / 3) * π * G *
          (1 + 3 * eosParameter (effectivePressure G Λ (p t)) (effectiveEnergyDensity G Λ (ε t))) *
          effectiveEnergyDensity G Λ (ε t)) := by
  sorry

end CosmologyEOS
Source
Wikipedia, "Equation of state (cosmology)", revision 1375011367, https://en.wikipedia.org/w/index.php?title=Equation_of_state_(cosmology)&oldid=1375011367, section 'FLRW equations and the equation of state' (Friedmann acceleration equation, effective ε', p', w')
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 below, with full knowledge of the source text and of the intended meaning. It was not produced by a blind, independent auditor, so it must not be mistaken for independent testimony; reviewers should compare the Lean code with the source themselves.

Let G,Λ∈RG,\Lambda\in\mathbb RG,Λ∈R with G≠0G\ne 0G=0, let a,ε,p:R→Ra,\varepsilon,p:\mathbb R\to\mathbb Ra,ε,p:R→R and t∈Rt\in\mathbb Rt∈R. Write q=a′′(t)/a(t)q = a^{\prime\prime}(t)/a(t)q=a′′(t)/a(t) (second derivative with the convention that non-differentiability gives 000; x/0=0x/0 = 0x/0=0), E=ε(t)+Λ8πGE = \varepsilon(t) + \dfrac{\Lambda}{8\pi G}E=ε(t)+8πGΛ​ and P=p(t)−Λ8πGP = p(t) - \dfrac{\Lambda}{8\pi G}P=p(t)−8πGΛ​. The statement asserts both:

  1. 3q=Λ−4πG(ε(t)+3p(t))3q = \Lambda - 4\pi G(\varepsilon(t)+3p(t))3q=Λ−4πG(ε(t)+3p(t)) holds if and only if q=−43πG (E+3P)q = -\tfrac43\pi G\,(E + 3P)q=−34​πG(E+3P);
  2. if E≠0E\ne 0E=0, then −43πG (E+3P)=−43πG (1+3 PE)E-\tfrac43\pi G\,(E + 3P) = -\tfrac43\pi G\,\bigl(1 + 3\,\tfrac{P}{E}\bigr)E−34​πG(E+3P)=−34​πG(1+3EP​)E.

No differentiability, positivity of aaa, or sign condition on GGG is assumed (only G≠0G\neq0G=0).

Human review
  • Endorsed by marwahaha · Oct 21, 2026

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