Constants.kB
defimported Lean
The Boltzmann constant in a given but arbitrary set of units. Boltzman's constant has dimension equivalent to Energy/Temperature.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in noncomputable def Constants.kB : ℝ
- Defined in
- Physlib, `Constants.kB`
- Lean proof
- By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.Constants.kB← Constants.kB (Physlib/StatisticalMechanics/BoltzmannConstant.lean:33): verbatim
- Verified
- 10 Oct 2026
- Axioms
- none listed
- Built on 1
- Constants.kBAxThe Boltzmann constant in units of
m ^ 2 kg s ^ (-2) K ^ (-1). As long as one does not use the underlying value of this quantity, then…
- Constants.kBAxThe Boltzmann constant in units of
- Used by 14
- BlackBody.spectralRadiance_absZeroThe spectral radiance vanishes at absolute zero temperature.
- BlackBody.spectralRadianceThe spectral radiance per unit frequency of blackbody radiation at frequency
νfor a black bodyBand speed of lightc:… - BlackBody.spectralRadianceWaveSpectral radiance per unit wavelength of blackbody radiation at wavelength
λfor a black bodyBand speed of lightc:… - Temperature.ofβ_βTemperature.ofβ_β
- BlackBody.secondRadiationConstantThe second radiation constant
c₂ = h c / kB. - Temperature.β_ofβTemperature.β_ofβ
- BlackBody.secondRadiationConstant_posThe second radiation constant is positive.
- BlackBody.spectralRadianceWave_absZeroThe spectral radiance per unit wavelength vanishes at absolute zero.
- BlackBody.secondRadiationConstant_eqThe second radiation constant equals
h * c / kB. - Temperature.βThe inverse temperature defined as
1/(kB * T)in a given, but arbitrary set of units. This has dimensions equivalent toEnergy. - Constants.kB_ne_zeroThe Boltzmann constant is not equal to zero.
- Temperature.ofβThe temperature associated with a given inverse temperature
β. - Constants.kB_posThe Boltzmann constant is positive.
- Constants.kB_nonnegThe Boltzmann constant is non-negative.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in /-- The Boltzmann constant in a given but arbitrary set of units. Boltzman's constant has dimension equivalent to `Energy/Temperature`. -/ noncomputable def Constants.kB : ℝ := kBAx.1