Gravitational self-energy and interaction energy of mass distributions
Definitionpenrose_energyThis bundle introduces the two gravitational energy functionals of the mission.
Given a real gravitational constant , the gravitational self-energy of a smooth, rapidly decreasing mass distribution on three-dimensional Euclidean space is
and the gravitational interaction energy between two mass distributions is
The signs are the standard physics convention: gravity is attractive, so the binding energy of a positive mass distribution is negative. The self-energy of the difference of the two superposed mass distributions is the quantity Penrose identifies, up to the explicit constant , with his measure of incompatibility ; the interaction energy appears in his remark that, when the two individual states have equal gravitational self-energies, either expression determines the scale of the energy uncertainty (Penrose 1996, Section 6, pp. 595–597).
Formalization Note The distributions are elements of Mathlib's Schwartz space over Euclidean three-space; the double integrals are nested Bochner integrals, the inner one over , the outer one over , both with respect to the standard volume.
import Mathlib
open MeasureTheory
namespace Penrose
/-- The gravitational self-energy of a Schwartz mass distribution: minus G/2
times the double integral of the product of the density at x and the density
at y, divided by their distance. -/
noncomputable def gravSelfEnergy (G : ℝ) (σ : SchwartzMap (EuclideanSpace ℝ (Fin 3)) ℝ) : ℝ :=
-(G / 2) * ∫ x, ∫ y, ⇑σ x * ⇑σ y / ‖x - y‖ ∂volume ∂volume
/-- The gravitational interaction energy between two Schwartz mass
distributions: minus G times the double integral of the first density at x
times the second density at y, divided by their distance. -/
noncomputable def interactionEnergy (G : ℝ)
(ρ ρ' : SchwartzMap (EuclideanSpace ℝ (Fin 3)) ℝ) : ℝ :=
-G * ∫ x, ∫ y, ⇑ρ x * ⇑ρ' y / ‖x - y‖ ∂volume ∂volume
end Penrose
Read-back
What the Lean code literally says, in plain math · glm-5-latest-short
This file declares two definitions, both inside the namespace Penrose, each returning a real number and parameterized by an arbitrary real number .
First: gravSelfEnergy G σ, for σ an element of the Schwartz space of real-valued functions on three-dimensional Euclidean space, is defined as times a nested Bochner integral: the outer integral over of the inner integral over (both with respect to the standard volume measure) of the function , where is the Euclidean distance between and .
Second: interactionEnergy G ρ ρ', for two Schwartz functions , is defined as times the analogous nested integral of , the inner integral over , the outer over .
No hypotheses accompany either definition. The parameter is an arbitrary real number (including zero or negative values), and the distributions are arbitrary Schwartz functions, including ones that take negative values or the zero function. The integrals are total functions: for a non-integrable integrand the Bochner integral is by convention.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.