Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Friedmann–Lemaître dust equations, Hubble and deceleration parameters, critical density, density parameters, Laplacian on R3\mathbb R^3R3

Definition
CosmoConstCentury_Defs

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

cosmologygeneral-relativitymathematical-physics

This definition file fixes the notation of the review for the whole mission.

  1. Einstein's constant κ=8πGc2\kappa = \dfrac{8\pi G}{c^2}κ=c28πG​.
  2. Friedmann–Lemaître dust solution. Given constants GGG, ccc, Λ\LambdaΛ, a curvature index kkk, a set of times I⊆RI\subseteq\mathbb RI⊆R, a scale factor RRR and a density ρ\rhoρ, the pair (R,ρ)(R,\rho)(R,ρ) is a solution on III if for every t∈It\in It∈I: R(t)>0R(t)>0R(t)>0, RRR is twice continuously differentiable near ttt, and
3R′(t)2R(t)2+3kc2R(t)2−Λ=κc2ρ(t),R′(t)2R(t)2+2R′′(t)R(t)+kc2R(t)2−Λ=0.\frac{3R'(t)^2}{R(t)^2}+\frac{3kc^2}{R(t)^2}-\Lambda=\kappa c^2\rho(t),\qquad \frac{R'(t)^2}{R(t)^2}+\frac{2R''(t)}{R(t)}+\frac{kc^2}{R(t)^2}-\Lambda=0 .R(t)23R′(t)2​+R(t)23kc2​−Λ=κc2ρ(t),R(t)2R′(t)2​+R(t)2R′′(t)​+R(t)2kc2​−Λ=0.

For k=1k=1k=1 these are the review's equations (15) and (16). 3. Hubble parameter H(t)=R′(t)/R(t)H(t)=R'(t)/R(t)H(t)=R′(t)/R(t). 4. Deceleration parameter (eq. 26) q(t)=−1H(t)2R′′(t)R(t)q(t)=-\dfrac{1}{H(t)^2}\dfrac{R''(t)}{R(t)}q(t)=−H(t)21​R(t)R′′(t)​. 5. Critical density ρc(H)=3H28πG\rho_c(H)=\dfrac{3H^2}{8\pi G}ρc​(H)=8πG3H2​ (Section 5.1). 6. Density parameters ΩM(t)=ρ(t)/ρc(H(t))\Omega_M(t)=\rho(t)/\rho_c(H(t))ΩM​(t)=ρ(t)/ρc​(H(t)) and ΩΛ(t)=Λ/(3H(t)2)\Omega_\Lambda(t)=\Lambda/(3H(t)^2)ΩΛ​(t)=Λ/(3H(t)2) (Section 5.1). 7. Laplacian on Euclidean three-space: ∇2Φ=∂12Φ+∂22Φ+∂32Φ\nabla^2\Phi=\partial_1^2\Phi+\partial_2^2\Phi+\partial_3^2\Phi∇2Φ=∂12​Φ+∂22​Φ+∂32​Φ.

These objects are shared by every statement of the mission.

Formalization Note Derivatives are Lean's deriv; the Laplacian is written with iterated Fréchet derivatives along the standard basis vectors. Lean's division returns 000 on a zero denominator, so expressions such as qqq or ΩM\Omega_MΩM​ carry junk values when H=0H=0H=0 or G=0G=0G=0; the theorems exclude these cases where they matter.

Definition code
import Mathlib

/-!
Definitions for the mission "One Hundred Years of the Cosmological Constant"
(O'Raifeartaigh, O'Keeffe, Nahm, Mitton, Eur. Phys. J. H 43, 73–117 (2018)).

All cosmological quantities follow the paper's own conventions: the scale factor
(radius of the cosmos) is `R`, the mean matter density is `ρ`, the cosmological constant
is `Λ` (the paper's `λ`), `c` is the speed of light, `G` is Newton's constant and
`κ = 8πG/c²` is Einstein's constant.
-/

namespace CosmoConstCentury

/-- Einstein's constant `κ = 8πG/c²` (the paper's convention: eq. (18) together with
`ρ_c = 3H₀²/(8πG)` forces `κ c² = 8πG`). -/
noncomputable def einsteinKappa (G c : ℝ) : ℝ := 8 * Real.pi * G / c ^ 2

/-- The Friedmann–Lemaître equations for a pressure-free (dust) universe with curvature
index `k`, cosmological constant `Λ`, scale factor `R` and matter density `ρ`, holding at
every time `t` of the time set `I`. For `k = 1` these are exactly the paper's equations
(15) and (16):

* (15) `3 R'²/R² + 3 k c²/R² − Λ = κ c² ρ`,
* (16) `R'²/R² + 2 R''/R + k c²/R² − Λ = 0`,

together with the requirement that `R` is positive and twice continuously differentiable
near every `t ∈ I`. Derivatives are with respect to the time `t`. -/
def IsFriedmannSolution (G c Λ k : ℝ) (I : Set ℝ) (R ρ : ℝ → ℝ) : Prop :=
  ∀ t ∈ I, 0 < R t ∧ ContDiffAt ℝ 2 R t ∧
    3 * deriv R t ^ 2 / R t ^ 2 + 3 * k * c ^ 2 / R t ^ 2 - Λ
        = einsteinKappa G c * c ^ 2 * ρ t ∧
    deriv R t ^ 2 / R t ^ 2 + 2 * deriv (deriv R) t / R t + k * c ^ 2 / R t ^ 2 - Λ = 0

/-- The Hubble parameter `H(t) = R'(t)/R(t)`. -/
noncomputable def hubbleParam (R : ℝ → ℝ) (t : ℝ) : ℝ := deriv R t / R t

/-- The deceleration parameter, eq. (26): `q = −(1/H²)·(R''/R)`. -/
noncomputable def decelParam (R : ℝ → ℝ) (t : ℝ) : ℝ :=
  -(1 / hubbleParam R t ^ 2) * (deriv (deriv R) t / R t)

/-- The critical density `ρ_c = 3H²/(8πG)` (Section 5, from eq. (18)). -/
noncomputable def criticalDensity (G H : ℝ) : ℝ := 3 * H ^ 2 / (8 * Real.pi * G)

/-- The matter density parameter `Ω_M = ρ/ρ_c = (8πG/(3H²))·ρ` at time `t`. -/
noncomputable def omegaMatter (G : ℝ) (R ρ : ℝ → ℝ) (t : ℝ) : ℝ :=
  ρ t / criticalDensity G (hubbleParam R t)

/-- The cosmological-constant density parameter `Ω_Λ = Λ/(3H²)` at time `t`. -/
noncomputable def omegaLambda (Λ : ℝ) (R : ℝ → ℝ) (t : ℝ) : ℝ :=
  Λ / (3 * hubbleParam R t ^ 2)

/-- The Laplacian `∇²Φ = ∂²Φ/∂x₁² + ∂²Φ/∂x₂² + ∂²Φ/∂x₃²` of a function on Euclidean
three-space, written with iterated Fréchet derivatives along the standard basis. -/
noncomputable def laplacian3 (Φ : EuclideanSpace ℝ (Fin 3) → ℝ)
    (x : EuclideanSpace ℝ (Fin 3)) : ℝ :=
  ∑ i : Fin 3, fderiv ℝ (fun y => fderiv ℝ Φ y (EuclideanSpace.single i 1)) x
    (EuclideanSpace.single i 1)

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; eqs. (15), (16) p. 82; eq. (26) p. 92; critical density and density parameters, Section 5.1 p. 85; Laplacian in eqs. (3), (4), (11).
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.

The file declares, inside the namespace CosmoConstCentury, the following objects; all variables are real numbers unless stated otherwise.

  1. κ(G,c)=8πGc2\kappa(G,c)=\dfrac{8\pi G}{c^2}κ(G,c)=c28πG​. If c=0c=0c=0 this evaluates to 000 (division by zero returns 000).

  2. For reals G,c,Λ,kG,c,\Lambda,kG,c,Λ,k, a set I⊆RI\subseteq\mathbb RI⊆R and functions R,ρ:R→RR,\rho:\mathbb R\to\mathbb RR,ρ:R→R, the proposition "(R,ρ)(R,\rho)(R,ρ) is a Friedmann solution on III" means: for every t∈It\in It∈I,

    • R(t)>0R(t)>0R(t)>0;
    • RRR is C2C^2C2 at ttt (hence in a neighbourhood of ttt);
    • 3R′(t)2R(t)2+3kc2R(t)2−Λ=κ(G,c) c2 ρ(t)\dfrac{3R'(t)^2}{R(t)^2}+\dfrac{3kc^2}{R(t)^2}-\Lambda=\kappa(G,c)\,c^2\,\rho(t)R(t)23R′(t)2​+R(t)23kc2​−Λ=κ(G,c)c2ρ(t);
    • R′(t)2R(t)2+2R′′(t)R(t)+kc2R(t)2−Λ=0\dfrac{R'(t)^2}{R(t)^2}+\dfrac{2R''(t)}{R(t)}+\dfrac{kc^2}{R(t)^2}-\Lambda=0R(t)2R′(t)2​+R(t)2R′′(t)​+R(t)2kc2​−Λ=0.

    Here R′R'R′ and R′′R''R′′ are the first and second derivatives of RRR. Nothing is required of RRR or ρ\rhoρ outside III, and nothing is required of ρ\rhoρ beyond the first equation (no sign, no differentiability). If III is empty the condition holds vacuously. No restriction is placed on kkk (any real number), nor on the signs of GGG, ccc, Λ\LambdaΛ.

  3. HR(t)=R′(t)/R(t)H_R(t)=R'(t)/R(t)HR​(t)=R′(t)/R(t) (equal to 000 if R(t)=0R(t)=0R(t)=0).

  4. qR(t)=−1HR(t)2⋅R′′(t)R(t)q_R(t)=-\dfrac{1}{H_R(t)^2}\cdot\dfrac{R''(t)}{R(t)}qR​(t)=−HR​(t)21​⋅R(t)R′′(t)​; when HR(t)=0H_R(t)=0HR​(t)=0 the factor 1/HR(t)21/H_R(t)^21/HR​(t)2 is 000, so qR(t)=0q_R(t)=0qR​(t)=0.

  5. ρc(G,H)=3H28πG\rho_c(G,H)=\dfrac{3H^2}{8\pi G}ρc​(G,H)=8πG3H2​ (equal to 000 if G=0G=0G=0).

  6. ΩM(G,R,ρ,t)=ρ(t)/ρc(G,HR(t))\Omega_M(G,R,\rho,t)=\rho(t)/\rho_c(G,H_R(t))ΩM​(G,R,ρ,t)=ρ(t)/ρc​(G,HR​(t)) (equal to 000 if ρc=0\rho_c=0ρc​=0, e.g. when HR(t)=0H_R(t)=0HR​(t)=0), and ΩΛ(Λ,R,t)=Λ/(3HR(t)2)\Omega_\Lambda(\Lambda,R,t)=\Lambda/(3H_R(t)^2)ΩΛ​(Λ,R,t)=Λ/(3HR​(t)2) (equal to 000 if HR(t)=0H_R(t)=0HR​(t)=0).

  7. For Φ:R3→R\Phi:\mathbb R^3\to\mathbb RΦ:R3→R (Euclidean three-space) and a point xxx, ∇2Φ(x)=∑i=13D(y↦DΦ(y) ei)(x) ei\nabla^2\Phi(x)=\sum_{i=1}^{3}D\big(y\mapsto D\Phi(y)\,e_i\big)(x)\,e_i∇2Φ(x)=∑i=13​D(y↦DΦ(y)ei​)(x)ei​, where DDD is the Fréchet derivative and eie_iei​ the standard basis vectors; for a C2C^2C2 function this is ∑i∂i2Φ(x)\sum_i\partial_i^2\Phi(x)∑i​∂i2​Φ(x), and for a non-differentiable function the derivatives take the value 000.

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