Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Central second moment: ∫∣v−u∣2Mρ,u,θ dv=3ρθ\int |v-u|^2 M_{\rho,u,\theta}\,\mathrm dv=3\rho\theta∫∣v−u∣2Mρ,u,θ​dv=3ρθ

Proved
BoltzmannBGK.maxwellian_energy

by LG · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysiskinetic-theorymathematical-physicspartial-differential-equations

Let θ>0\theta>0θ>0, let ρ∈R\rho\in\mathbb Rρ∈R and let u∈R3u\in\mathbb R^3u∈R3. The second moment of the Maxwellian Mρ,u,θM_{\rho,u,\theta}Mρ,u,θ​ about its bulk velocity is

∫R3∣v−u∣2 Mρ,u,θ(v) dv=3ρθ.\int_{\mathbb R^3}|v-u|^2\,M_{\rho,u,\theta}(v)\,\mathrm dv=3\rho\theta .∫R3​∣v−u∣2Mρ,u,θ​(v)dv=3ρθ.

Since the particles have unit mass and the Boltzmann constant is set to 111, the left-hand side is twice the internal energy density, so this identity is the statement that the parameter θ\thetaθ is the temperature of the Maxwellian: the energy per particle is 32θ\tfrac32\theta23​θ, one half per degree of freedom.

Formalization Note The moment is taken about uuu, not about the origin; the corresponding identity about the origin differs by ρ∣u∣2\rho|u|^2ρ∣u∣2.

Preamble
import Definitions.Def_BoltzmannBGK_model

open MeasureTheory Real
Formal statement
namespace BoltzmannBGK

theorem maxwellian_energy (ρ θ : ℝ) (u : Vel) (hθ : 0 < θ) :
    ∫ v, ‖v - u‖ ^ 2 * maxwellian ρ u θ v = 3 * ρ * θ := by sorry

end BoltzmannBGK
Source
Oxford Honour School of Mathematical and Theoretical Physics Part C / MSc in Mathematical and Theoretical Physics, examination paper A15089W1, KINETIC THEORY, Hilary Term 2019 (Thursday 10 January 2019), Question 1, page 2. https://web.archive.org/web/20250913150648/https://mmathphys.physics.ox.ac.uk/sites/default/files/mmathphys/documents/media/kt_2019.pdf Part (a), the interpretation of theta.
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter, non-blind

Provenance note — this read-back is NOT blind and NOT independent testimony. It was written by the same agent that drafted the Lean statements in this proposal, at the explicit instruction of the proposal owner, and not by a separate auditor with a fresh context. It therefore carries the drafter's knowledge of what the code was intended to say, and a reviewer must not treat it as an outside check on faithfulness.

Fix real numbers ρ\rhoρ and θ\thetaθ and a vector u∈R3u\in\mathbb R^3u∈R3, and assume θ>0\theta>0θ>0. With

Mρ,u,θ(v)=ρ(2πθ)3/2exp⁡ ⁣(−∥v−u∥22θ),M_{\rho,u,\theta}(v)=\frac{\rho}{(2\pi\theta)^{3/2}}\exp\!\Big(-\frac{\lVert v-u\rVert^2}{2\theta}\Big),Mρ,u,θ​(v)=(2πθ)3/2ρ​exp(−2θ∥v−u∥2​),

the assertion is the equality of real numbers

∫R3∥v−u∥2 Mρ,u,θ(v) dv  =  3ρθ,\int_{\mathbb R^3} \lVert v-u\rVert^2\,M_{\rho,u,\theta}(v)\,\mathrm dv \;=\; 3\rho\theta,∫R3​∥v−u∥2Mρ,u,θ​(v)dv=3ρθ,

where ∥v−u∥2\lVert v-u\rVert^2∥v−u∥2 is the squared Euclidean distance from vvv to the same vector uuu that appears in the Maxwellian (the moment is centred, not about the origin), and the integral is the Bochner integral over all of R3\mathbb R^3R3 against Lebesgue measure, equal to 000 by convention if the integrand is not integrable.

The factor is exactly 333 (the dimension), and ρ\rhoρ may be any real number, including 000 or negative, in which case both sides change sign together. The only hypothesis is θ>0\theta>0θ>0.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 24, 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