Friedmann–Lemaître dust equations, Hubble and deceleration parameters, critical density, density parameters, Laplacian on
DefinitionCosmoConstCentury_DefsThis definition file fixes the notation of the review for the whole mission.
- Einstein's constant .
- Friedmann–Lemaître dust solution. Given constants , , , a curvature index , a set of times , a scale factor and a density , the pair is a solution on if for every : , is twice continuously differentiable near , and
For these are the review's equations (15) and (16). 3. Hubble parameter . 4. Deceleration parameter (eq. 26) . 5. Critical density (Section 5.1). 6. Density parameters and (Section 5.1). 7. Laplacian on Euclidean three-space: .
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 on a zero denominator, so expressions such as or carry junk values when or ; the theorems exclude these cases where they matter.
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
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.
-
. If this evaluates to (division by zero returns ).
-
For reals , a set and functions , the proposition " is a Friedmann solution on " means: for every ,
- ;
- is at (hence in a neighbourhood of );
- ;
- .
Here and are the first and second derivatives of . Nothing is required of or outside , and nothing is required of beyond the first equation (no sign, no differentiability). If is empty the condition holds vacuously. No restriction is placed on (any real number), nor on the signs of , , .
-
(equal to if ).
-
; when the factor is , so .
-
(equal to if ).
-
(equal to if , e.g. when ), and (equal to if ).
-
For (Euclidean three-space) and a point , , where is the Fréchet derivative and the standard basis vectors; for a function this is , and for a non-differentiable function the derivatives take the value .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.