Mean translational kinetic energy of an ideal gas is
ProvedBoltzmannConstant.mean_kinetic_energy_eq_three_halves_kTConsider particles of mass in a vessel of volume at absolute temperature , exerting pressure , and write for the mean square particle speed. Kinetic theory gives the pressure of an ideal gas as
while the per-molecule ideal gas law gives
Combining the two identifies the characteristic energy with the mechanical motion of the particles: the mean translational kinetic energy of a particle is
and consequently the root-mean-square speed is
This is the statement that makes the conversion factor between temperature and microscopic energy.
import Mathlib import Definitions.Def_boltzmann_si_basics
namespace BoltzmannConstant
theorem mean_kinetic_energy_eq_three_halves_kT
(N m V p T msq : ℝ) (hN : 0 < N) (hV : 0 < V) (hm : 0 < m) (hT : 0 < T)
(hkinetic : p * V = N * m * msq / 3)
(hgas : p * V = N * kB * T) :
m * msq / 2 = 3 / 2 * (kB * T) ∧ Real.sqrt msq = Real.sqrt (3 * kB * T / m) := by sorry
end BoltzmannConstantRead-back
What the Lean code literally says, in plain math · non-independent self-read-back by the drafting agent (no independent auditor)
Disclosure — this read-back is NOT blind and NOT independent. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner. It is therefore self-testimony, not independent auditor testimony: the author knew what the statement was intended to say, so it cannot detect the class of error a blind read-back exists to catch. No reviewer should count it as independent verification; it should be replaced by, or checked against, a genuinely blind read-back before this proposal is submitted.
Inside namespace BoltzmannConstant, for real numbers N, m, V, p, T, msq with N, V, m, T all strictly positive, assume two equations: p * V = N * m * msq / 3 and p * V = N * kB * T, where kB is the constant 1.380649e-23 from the definition file. The conclusion is a conjunction: first, m * msq / 2 = 3 / 2 * (kB * T); second, Real.sqrt msq = Real.sqrt (3 * kB * T / m). The variable named msq is unconstrained apart from the two hypotheses — nothing in the statement forces it to be a mean square or even nonnegative, though the hypotheses do pin its value. The hypotheses hV : 0 < V and hT : 0 < T are not needed to derive the conclusion from the two equations; hN and hm are. The second conjunct is an equality of Real.sqrt applied to two expressions, which is weaker than an equality of the arguments in general, but here it follows from them.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.