Boltzmann Constant: Kinetic Theory, Boltzmann Factors and EntropyTextbook
Motivation
The Boltzmann constant is the proportionality factor relating the average thermal energy of the particles of a system to its thermodynamic temperature. It appears wherever a microscopic energy has to be compared with a macroscopic temperature: in the ideal gas law written per molecule, in the equipartition theorem, in the Boltzmann factor that governs equilibrium occupation probabilities, in Boltzmann's entropy formula , in the thermal voltage of a – junction, and in the Johnson noise of a resistor.
The constant also has an unusual documentary history. Boltzmann linked entropy and probability in 1877 but never introduced a constant; Max Planck first wrote , and gave the first numerical value ( J/K, about 2.5% below the modern figure), in his 1900–1901 derivation of the black-body law — the terse on Boltzmann's tombstone is Planck's formulation. For most of the twentieth century was a measured quantity; the 2017 acoustic gas thermometry campaign reached a relative uncertainty of 0.2 ppm, and as part of the 2019 revision of the SI the constant was defined to the exact value J·K⁻¹, which is now what fixes the kelvin.
This mission formalizes the elementary quantitative content of that picture: the identities that make a conversion factor, and the exact arithmetic that the 2019 SI definitions make possible.
Setting
Work throughout with real numbers; units are carried in the prose, not in the types. Fix the exact post-2019 SI values
and define the molar gas constant as the product .
A gas sample is described by its pressure , volume , absolute temperature , amount of substance , molecule count , particle mass , and mean square particle speed . A system with a finite set of microstates is described by an energy function ; its partition function is and its Boltzmann probabilities are . For a distribution on , the Gibbs entropy is , the Shannon entropy (in nats) is , and for equiprobable microstates Boltzmann's entropy is . The thermal voltage is . All logarithms are natural.
Target
The goal theorem is the statement that fixes the physical meaning of : kinetic theory plus the per-molecule gas law determine the mean translational kinetic energy. From
conclude
The milestones are the surrounding identities, in the order of the source: the equivalence ; equipartition, per degree of freedom; the ratio law ; normalisation of the Boltzmann factors, ; the reduction of the Gibbs entropy on the uniform distribution to ; the identification Shannon entropy; the energy of one nat of rescaled entropy; and three numerical facts — mV, eV/K, and the exact value J·K⁻¹·mol⁻¹.
Significance
The results. Individually these are the standard first facts of kinetic theory and statistical mechanics; together they pin down what the constant does. The equipartition chain converts a temperature into a velocity distribution scale and explains the measured room-temperature rms speeds from helium (about 1370 m/s) to xenon (about 240 m/s). The entropy statements make precise the claim that thermodynamic entropy is Shannon entropy in energy units, with as the exchange rate — the statement behind the natural-unit convention . The numerical milestones exercise the consequence of the 2019 SI revision that unit conversions involving are now exact rational arithmetic rather than propagated measurement uncertainty.
Formalizing them. All of these are settled physics; nothing here is open. What the mission produces is a small, reusable Lean development of the SI defining constants and of the elementary statistical-mechanical vocabulary (Boltzmann weights, partition function, Gibbs/Shannon/Boltzmann entropies), with each textbook identity stated against that shared model rather than re-derived ad hoc. It is a suitable entry-level mission and a foundation other physics missions can import.
Difficulty
The mathematics is elementary; the difficulty is entirely one of faithful modelling, and solvers should expect the friction to be there rather than in the proofs. Three specific points. First, Lean's division and logarithm are total: is defined at and evaluates to , and for , so statements must carry the positivity hypotheses that keep them physically meaningful rather than relying on the definitions to exclude bad inputs. Second, the entropy definitions are stated for an arbitrary real-valued weight function, not for a distribution; normalisation is a hypothesis where it is needed, never an assumption baked into the type. Third, the numerical milestones are claims about specific decimal numerals, and the tolerance in each is part of the statement: two of them are genuine approximations and one, the value of , is an exact identity, which is only true because both factors are exact SI numerals.
Formalization scope
Quantities are real numbers (ℝ); no dimensional-analysis layer is used, and unit
correctness is a convention of the prose. Finite state spaces are Finsets over an
arbitrary index type, with nonemptiness stated as a hypothesis where the partition
function must be nonzero. Entropies use the natural logarithm, so they are measured in
nats, and the Shannon entropy is the Gibbs entropy divided by by construction.
Temperatures, masses, volumes and particle counts are positive reals where the physics
requires it. The mean square speed is a free real variable constrained only by the
stated equations; it is not built from a velocity distribution, and extending the
development to an actual Maxwell–Boltzmann distribution is out of scope here and a
natural follow-up mission.
The statements are deliberately non-vacuous: every hypothesis set in the mission is
satisfiable (positive temperature, positive mass, nonempty state space), and the
numerical items admit no trivializing reading since they are closed claims about fixed
numerals. Only Mathlib is required — Real.exp, Real.log, Real.sqrt, and
Finset.sum. The definition file is intended to be reusable: any later mission about
thermodynamics, black-body radiation, or the Shockley diode equation can import the SI
constants and entropy vocabulary unchanged.
Selected references
- Wikipedia, Boltzmann constant — the source text this mission formalizes: https://en.wikipedia.org/wiki/Boltzmann_constant
- D. B. Newell and E. Tiesinga (eds.), The International System of Units (SI), NIST Special Publication 330 (2019). DOI: https://doi.org/10.6028/NIST.SP.330-2019 — the exact defining values of , and .
- M. Planck, "Ueber das Gesetz der Energieverteilung im Normalspectrum", Annalen der Physik 309(3):553–563 (1901). DOI: https://doi.org/10.1002/andp.19013090310 — the first introduction of and of .
- R. P. Feynman, R. B. Leighton and M. Sands, The Feynman Lectures on Physics, Vol. I, ch. 39 (kinetic theory of gases): https://www.feynmanlectures.caltech.edu/I_39.html