Eq. (3.6): the Friedmann equations imply
ProvedHackCosmologicalAQFT.continuity_eq_of_friedmannLet , let be an open set of cosmological times, and let be the scale factor, energy density and pressure. Assume is twice continuously differentiable on with there, and that both Friedmann equations hold on :
Then for every the energy density obeys the conservation law
This is the observation in Hack (2016), p. 80, that eq. (3.6), the FLRW form of , can be obtained directly from the Friedmann equations.
Formalization Note No differentiability of is assumed. On the first Friedmann equation determines from , so is meaningful.
import Mathlib import Definitions.Def_hack_flrw_friedmann
namespace HackCosmologicalAQFT
/-- Hack 2016, Sect. 3.1, eq. (3.6): the Friedmann equations imply `ρ̇ + 3H(ρ + p) = 0`. -/
theorem continuity_eq_of_friedmann (G : ℝ) (hG : 0 < G) (a ρ p : ℝ → ℝ) (I : Set ℝ)
(hI : IsOpen I) (ha : ContDiffOn ℝ 2 a I) (hpos : ∀ t ∈ I, 0 < a t)
(hF1 : FirstFriedmannEq G a ρ I) (hF2 : SecondFriedmannEq G a ρ p I) :
∀ t ∈ I, deriv ρ t + 3 * hubbleRate a t * (ρ t + p t) = 0 := by sorry
end HackCosmologicalAQFTRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, same agent as drafter
NON-BLIND READ-BACK — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It was not produced by a blind, independent auditor, so it may silently read the intended meaning into the code. Reviewers must not mistake it for independent testimony; compare the Lean code against the source directly.
Fix a real number with , three functions , and a set . Assume:
- is open;
- is twice continuously differentiable on ;
- for every ;
- for every : ;
- for every : , where is the derivative of the function .
Here is the derivative of at (taken as where is not differentiable). On the open set , assumption 2 makes and the genuine derivatives.
Conclusion. For every ,
where is the derivative of at if is differentiable there, and otherwise. No hypothesis on differentiability of or , or on the signs of , is made. If is empty the statement holds trivially.