BGK -theorem: , with equality iff
ProvedBoltzmannBGK.bgk_H_theoremLet and let be an admissible distribution function on velocity space: everywhere strictly positive, integrable, and with finite second velocity moment; assume in addition that the entropy-production integrand is integrable, where
is the BGK collision operator and is the local Maxwellian of , that is, the Maxwellian with the same density, bulk velocity and temperature as . Then the entropy production is non-positive,
and it vanishes if and only if is equal to its own local Maxwellian almost everywhere:
This is part (b) of the source question in full, including the answer to "under what conditions does equality hold". It is the -theorem for the BGK model: with the collision term contributes to , so collisions never decrease the entropy , and they leave it unchanged exactly on the local Maxwellians. Together with the conservation of , and , it is the structural reason why the BGK model relaxes to local thermodynamic equilibrium and reproduces the Euler equations in the hydrodynamic limit.
Formalization Note The integrability hypothesis on the entropy-production integrand is needed for the statement to have its intended content, because in Lean a non-integrable function integrates to . The equality case is an almost-everywhere identity, which is the strongest conclusion available from the vanishing of the integral of a non-negative function.
import Definitions.Def_BoltzmannBGK_model open MeasureTheory Real
namespace BoltzmannBGK
theorem bgk_H_theorem (τ : ℝ) (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) ∧
((∫ v, Real.log (f v) * collision τ f v = 0) ↔
f =ᵐ[volume] localMaxwellian f) := by sorry
end BoltzmannBGKRead-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 and a function subject to four hypotheses:
- for every (strict positivity at every point);
- is integrable over against Lebesgue measure;
- is integrable;
- is integrable.
Here is the real logarithm, and
where the three parameters are computed from itself:
with total division and with a real power.
The assertion is the conjunction of two claims about the real number :
- (non-strict);
- if and only if agrees with Lebesgue-almost everywhere on — an almost-everywhere identity of functions, not equality at every point.
Both directions of the equivalence are asserted. Nothing beyond hypotheses 1-4 is assumed: in particular and are not hypotheses but are whatever the formulas give, and no relation between and any externally chosen Maxwellian is supposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.