BlackBody.spectralRadiance
defimported Lean
The spectral radiance per unit frequency of blackbody radiation at frequency ν for a black body B and speed of light c: B(ν, T) = 2 h ν³ / c² · 1 / (e^{h ν / (k_B T)} - 1) By the homogeneity and isotropy of blackbody radiation, the spectral radiance is independent of position and direction, so it depends only on frequency and temperature. Extended by zero outside the physical domain 0 < ν.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Constants in noncomputable def BlackBody.spectralRadiance (B : BlackBody) (c : SpeedOfLight) (ν : ℝ) : ℝ
- Defined in
- Physlib, `BlackBody.spectralRadiance`
- Lean proof
- By Samyak Rai, Dwanith C. Jayanth, from github.com/leanprover-community/physlib at
e411c6e89692(Copyright (c) 2026 Samyak Rai. 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.BlackBody.spectralRadiance← BlackBody.spectralRadiance (Physlib/QuantumMechanics/Blackbody/PlancksLaw.lean:95): verbatim
- Verified
- 10 Oct 2026
- Axioms
- none listed
- Built on 29
- Temperature.instCoeRealCoercion to
ℝ. - SpeedOfLight.instCoeRealSpeedOfLight.instCoeReal
- SpeedOfLight.val_nonnegSpeedOfLight.val_nonneg
- Constants.hThe definition of Planck's constant in terms of Reduced Planck's constant, defined as
2 π ℏ - Temperature.ofNNRealBuild a
Temperaturedirectly from a nonnegative real. - SpeedOfLight.val_ne_zeroSpeedOfLight.val_ne_zero
- Constants.kBThe Boltzmann constant in a given but arbitrary set of units. Boltzman's constant has dimension equivalent to
Energy/Temperature. - SpeedOfLight.instOneSpeedOfLight.instOne
- Temperature.ofβ_βTemperature.ofβ_β
- Temperature.toRealThe underlying real-number associated with the temperature.
- Temperature.ofRealNonneg_valTemperature.ofRealNonneg_val
- SpeedOfLight.val_oneSpeedOfLight.val_one
- Constants.h_ne_zeroPlanck's constnat is not equal to zero.
- Temperature.β_ofβTemperature.β_ofβ
- Temperature.ofRealNonnegConvenience: build a temperature from a real together with a proof of nonnegativity.
- Temperature.coe_ofNNReal_realTemperature.coe_ofNNReal_real
- Constants.ℏ_posreduced Planck's constant is positive.
- Constants.ℏ_ne_zeroreduced Planck's constant is not equal to zero.
- Temperature.coe_ofNNReal_coeTemperature.coe_ofNNReal_coe
- Constants.ℏ_nonnegreduced Planck's constant is non-negative.
- Temperature.ofNNReal_valTemperature.ofNNReal_val
- Temperature.instCoeNNRealCoercion to
ℝ≥0. - Constants.h_nonnegPlanck's constant is non-negative.
- Temperature.instZeroTemperature.instZero
- BlackBodyAn idealized black body in thermal equilibrium at temperature
T. - SpeedOfLight.val_posSpeedOfLight.val_pos
- Constants.h_posPlanck's constant is positive.
- SpeedOfLightThe speed of light in a vacuum. An element of this type should be thought of as the speed of light in some chosen but arbitrary system of…
- Temperature.instTopologicalSpaceTopology on
Temperatureinduced fromℝ≥0.
- Temperature.instCoeRealCoercion to
- Used by 5
- BlackBody.spectralRadiance_absZeroThe spectral radiance vanishes at absolute zero temperature.
- BlackBody.spectralRadianceWaveSpectral radiance per unit wavelength of blackbody radiation at wavelength
λfor a black bodyBand speed of lightc:… - BlackBody.spectralRadianceWave_absZeroThe spectral radiance per unit wavelength vanishes at absolute zero.
- BlackBody.firstRadiationConstantThe first radiation constant
c₁L = 2 h c². - BlackBody.firstRadiationConstant_posThe first radiation constant is positive.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Constants in /-- The spectral radiance per unit frequency of blackbody radiation at frequency `ν` for a black body `B` and speed of light `c`: `B(ν, T) = 2 h ν³ / c² · 1 / (e^{h ν / (k_B T)} - 1)` By the homogeneity and isotropy of blackbody radiation, the spectral radiance is independent of position and direction, so it depends only on frequency and temperature. Extended by zero outside the physical domain `0 < ν`. -/ noncomputable def BlackBody.spectralRadiance (B : BlackBody) (c : SpeedOfLight) (ν : ℝ) : ℝ := if 0 < ν then 2 * h * ν ^ 3 / ((c : ℝ) ^ 2 * (Real.exp (h * ν / (kB * (B.T : ℝ))) - 1)) else 0