Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Deceleration parameter q=12ΩM−ΩΛq=\tfrac12\Omega_M-\Omega_\Lambdaq=21​ΩM​−ΩΛ​ (eq. 29); accelerated expansion requires Λ>0\Lambda>0Λ>0

Proved
CosmoConstCentury.deceleration_parameter_and_cosmic_acceleration

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

cosmologygeneral-relativitymathematical-physics

Let G>0G>0G>0 and c>0c>0c>0, let Λ\LambdaΛ be the cosmological constant and kkk a real curvature index, and let (R,ρ)(R,\rho)(R,ρ) solve the Friedmann–Lemaître dust equations on a set of times III. Let t∈It\in It∈I, and write H=R′/RH=R'/RH=R′/R, q=−1H2R′′Rq=-\frac{1}{H^2}\frac{R''}{R}q=−H21​RR′′​, ΩM=ρ/ρc\Omega_M=\rho/\rho_cΩM​=ρ/ρc​ with ρc=3H2/(8πG)\rho_c=3H^2/(8\pi G)ρc​=3H2/(8πG), and ΩΛ=Λ/(3H2)\Omega_\Lambda=\Lambda/(3H^2)ΩΛ​=Λ/(3H2).

  1. If R′(t)≠0R'(t)\neq0R′(t)=0, then the deceleration parameter satisfies equation (29) of the review:
q=12 ΩM−ΩΛ.q=\frac12\,\Omega_M-\Omega_\Lambda .q=21​ΩM​−ΩΛ​.
  1. If the expansion is accelerating at time ttt, R′′(t)>0R''(t)>0R′′(t)>0, and the matter density is non-negative, ρ(t)≥0\rho(t)\ge0ρ(t)≥0, then
Λ>0.\Lambda>0 .Λ>0.

The first part generalizes (28) to cosmologies with a cosmological constant; the second part is the reason why the observed acceleration of cosmic expansion (Sections 9–10) points to a positive cosmological constant.

Formalization Note The predicate IsFriedmannSolution G c Λ k I R ρ requires, at every t∈It\in It∈I, that R(t)>0R(t)>0R(t)>0, that RRR is C2C^2C2 in a neighbourhood of ttt, and that the two equations hold with κ=8πG/c2\kappa=8\pi G/c^2κ=8πG/c2.

Preamble
import Mathlib
import Definitions.Def_CosmoConstCentury_Defs

open Filter Topology
Formal statement
namespace CosmoConstCentury

theorem deceleration_parameter_and_cosmic_acceleration (G c Λ k : ℝ) (hG : 0 < G) (hc : 0 < c)
    (I : Set ℝ) (R ρ : ℝ → ℝ) (hsol : IsFriedmannSolution G c Λ k I R ρ) (t : ℝ) (ht : t ∈ I) :
    (deriv R t ≠ 0 → decelParam R t = omegaMatter G R ρ t / 2 - omegaLambda Λ R t) ∧
    (0 < deriv (deriv R) t → 0 ≤ ρ t → 0 < Λ) := by sorry

end CosmoConstCentury
Source
C. O'Raifeartaigh, M. O'Keeffe, W. Nahm, S. Mitton, "One hundred years of the cosmological constant: from 'superfluous stunt' to dark energy", Eur. Phys. J. H 43, 73-117 (2018), https://doi.org/10.1140/epjh/e2017-80061-7; Section 7, pp. 92-93, eq. (29) (with eqs. (25)-(28)); density parameters Section 5.1 p. 85; accelerating expansion Sections 9.1 and 10.
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Disclosure: non-blind read-back. This read-back was written by the same agent that drafted the Lean statement (Aristotle, by Harmonic), at the explicit request of the proposal owner. It is not an independent or blind audit, and it must not be treated as independent testimony: its author knew the source paper and the intended meaning while writing it. Reviewers should compare it against the Lean code themselves.

Let G,c,Λ,kG,c,\Lambda,kG,c,Λ,k be real numbers with G>0G>0G>0 and c>0c>0c>0; let I⊆RI\subseteq\mathbb RI⊆R be any set and let R,ρ:R→RR,\rho:\mathbb R\to\mathbb RR,ρ:R→R form a Friedmann solution on III: for every s∈Is\in Is∈I, R(s)>0R(s)>0R(s)>0, RRR is C2C^2C2 near sss, and

3R′(s)2R(s)2+3kc2R(s)2−Λ=κc2ρ(s),R′(s)2R(s)2+2R′′(s)R(s)+kc2R(s)2−Λ=0,κ=8πGc2.\frac{3R'(s)^2}{R(s)^2}+\frac{3kc^2}{R(s)^2}-\Lambda=\kappa c^2\rho(s),\qquad \frac{R'(s)^2}{R(s)^2}+\frac{2R''(s)}{R(s)}+\frac{kc^2}{R(s)^2}-\Lambda=0,\qquad \kappa=\frac{8\pi G}{c^2}.R(s)23R′(s)2​+R(s)23kc2​−Λ=κc2ρ(s),R(s)2R′(s)2​+R(s)2R′′(s)​+R(s)2kc2​−Λ=0,κ=c28πG​.

Let t∈It\in It∈I. Write H=R′(t)/R(t)H=R'(t)/R(t)H=R′(t)/R(t), q=−1H2R′′(t)R(t)q=-\dfrac{1}{H^2}\dfrac{R''(t)}{R(t)}q=−H21​R(t)R′′(t)​, ρc=3H28πG\rho_c=\dfrac{3H^2}{8\pi G}ρc​=8πG3H2​, ΩM=ρ(t)/ρc\Omega_M=\rho(t)/\rho_cΩM​=ρ(t)/ρc​, ΩΛ=Λ3H2\Omega_\Lambda=\dfrac{\Lambda}{3H^2}ΩΛ​=3H2Λ​. The conclusion is the conjunction of:

  1. if R′(t)≠0R'(t)\neq0R′(t)=0, then q=ΩM2−ΩΛq=\dfrac{\Omega_M}{2}-\Omega_\Lambdaq=2ΩM​​−ΩΛ​;
  2. if R′′(t)>0R''(t)>0R′′(t)>0 and ρ(t)≥0\rho(t)\ge0ρ(t)≥0, then Λ>0\Lambda>0Λ>0.

Part 2 does not require R′(t)≠0R'(t)\neq0R′(t)=0. The curvature index kkk is an arbitrary real number and does not appear in the conclusion. Only the single time ttt is involved; III may be any set containing ttt.

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · 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