Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Entropy production of the BGK operator: ∫(log⁡f) C[f] dv≤0\int (\log f)\,C[f]\,\mathrm dv\le 0∫(logf)C[f]dv≤0

Proved
BoltzmannBGK.entropy_production_nonpos

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

analysiskinetic-theorymathematical-physicspartial-differential-equations

Let τ>0\tau>0τ>0 and let fff be an admissible distribution function on velocity space: everywhere strictly positive, integrable, with finite second velocity moment; assume in addition that the entropy-production integrand v↦(log⁡f(v)) C[f](v)v\mapsto(\log f(v))\,C[f](v)v↦(logf(v))C[f](v) is integrable. Then

∫R3dv (log⁡f) C[f]  ≤  0.\int_{\mathbb R^3}\mathrm dv\,(\log f)\,C[f]\;\le\;0 .∫R3​dv(logf)C[f]≤0.

This is the inequality of part (b) of the source question, and it is the HHH-theorem for the BGK model: writing H=∫flog⁡f dvH=\int f\log f\,\mathrm dvH=∫flogfdv, the collision term contributes dH/dt=∫(log⁡f)C[f] dv≤0\mathrm dH/\mathrm dt=\int (\log f)C[f]\,\mathrm dv\le 0dH/dt=∫(logf)C[f]dv≤0, so collisions never decrease the entropy −H-H−H.

The characterisation of the equality case is stated separately as the goal of this mission.

Formalization Note The integrability hypothesis is essential: in Lean the integral of a non-integrable function is 000, so without it the inequality would hold for uninteresting reasons.

Preamble
import Definitions.Def_BoltzmannBGK_model

open MeasureTheory Real
Formal statement
namespace BoltzmannBGK

theorem entropy_production_nonpos (τ : ℝ) (f : Vel → ℝ) (hτ : 0 < τ)
    (hf : IsKineticState f)
    (hint : Integrable fun v => Real.log (f v) * collision τ f v) :
    ∫ v, Real.log (f v) * collision τ f v ≤ 0 := 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 (b), the inequality int dv (log f) C[f] <= 0.
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 a real number τ>0\tau>0τ>0 and a function f:R3→Rf:\mathbb R^3\to\mathbb Rf:R3→R subject to four hypotheses:

  1. f(v)>0f(v)>0f(v)>0 for every v∈R3v\in\mathbb R^3v∈R3;
  2. fff is integrable over R3\mathbb R^3R3;
  3. v↦∥v∥2f(v)v\mapsto\lVert v\rVert^2 f(v)v↦∥v∥2f(v) is integrable;
  4. the function v↦log⁡(f(v))⋅Cτ[f](v)v\mapsto \log\big(f(v)\big)\cdot C_\tau[f](v)v↦log(f(v))⋅Cτ​[f](v) is integrable,

where log⁡\loglog is the real logarithm (with the convention log⁡x=0\log x=0logx=0 for x≤0x\le0x≤0, immaterial here since f>0f>0f>0), and

Cτ[f](v)=−1τ(f(v)−Mρ[f],u[f],θ[f](v))C_\tau[f](v)=-\frac1\tau\Big(f(v)-M_{\rho[f],u[f],\theta[f]}(v)\Big)Cτ​[f](v)=−τ1​(f(v)−Mρ[f],u[f],θ[f]​(v))

with ρ[f],u[f],θ[f]\rho[f],u[f],\theta[f]ρ[f],u[f],θ[f] the density, bulk velocity and temperature computed from fff itself, and Mρ,u,θ(v)=ρ(2πθ)−3/2exp⁡(−∥v−u∥2/(2θ))M_{\rho,u,\theta}(v)=\rho(2\pi\theta)^{-3/2}\exp(-\lVert v-u\rVert^2/(2\theta))Mρ,u,θ​(v)=ρ(2πθ)−3/2exp(−∥v−u∥2/(2θ)).

The assertion is the inequality between real numbers

∫R3log⁡(f(v)) Cτ[f](v) dv  ≤  0,\int_{\mathbb R^3}\log\big(f(v)\big)\,C_\tau[f](v)\,\mathrm dv \;\le\; 0,∫R3​log(f(v))Cτ​[f](v)dv≤0,

the integral being over all of R3\mathbb R^3R3 against Lebesgue measure. The inequality is non-strict; no case of equality is asserted or excluded here. Hypothesis 4 makes the integral the genuine Lebesgue integral rather than the default value 000.

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