Temperature.instCoeNNReal
instanceimported Lean
Coercion to ℝ≥0.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in instance Temperature.instCoeNNReal : Coe Temperature ℝ≥0
- Defined in
- Physlib, `Temperature.instCoeNNReal`
- Lean proof
- By Matteo Cipollina, 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.Temperature.instCoeNNReal← @Physlib/Thermodynamics/Temperature/Basic.lean:39 (Physlib/Thermodynamics/Temperature/Basic.lean:38): verbatim
- Verified
- 10 Oct 2026
- Axioms
- none listed
- Built on 1
- TemperatureThe type
Temperaturerepresents the temperature in a given (but arbitrary) set of units (preserving zero). It currently wrapsℝ≥0,…
- TemperatureThe type
- Used by 23
- Temperature.instCoeRealCoercion to
ℝ. - 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.ofNNRealBuild a
Temperaturedirectly from a nonnegative real. - Temperature.ofβ_βTemperature.ofβ_β
- Temperature.toRealThe underlying real-number associated with the temperature.
- Temperature.ofRealNonneg_valTemperature.ofRealNonneg_val
- 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
- BlackBody.firstRadiationConstant_eqThe first radiation constant equals
2 * h * c ^ 2. - Temperature.coe_ofNNReal_coeTemperature.coe_ofNNReal_coe
- BlackBody.spectralRadianceWave_absZeroThe spectral radiance per unit wavelength vanishes at absolute zero.
- Temperature.βThe inverse temperature defined as
1/(kB * T)in a given, but arbitrary set of units. This has dimensions equivalent toEnergy. - Temperature.ofNNReal_valTemperature.ofNNReal_val
- BlackBody.firstRadiationConstantThe first radiation constant
c₁L = 2 h c². - BlackBody.firstRadiationConstant_posThe first radiation constant is positive.
- Temperature.ofβThe temperature associated with a given inverse temperature
β. - Temperature.extTemperature.ext
- Temperature.instZeroTemperature.instZero
- BlackBodyAn idealized black body in thermal equilibrium at temperature
T. - Temperature.instTopologicalSpaceTopology on
Temperatureinduced fromℝ≥0.
- Temperature.instCoeRealCoercion to
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in /-- Coercion to `ℝ≥0`. -/ instance Temperature.instCoeNNReal : Coe Temperature ℝ≥0 := ⟨fun T => T.val⟩