Temperature.ofRealNonneg_val
theoremverifiedformalizationimported Lean
Temperature.ofRealNonneg_val
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in open Filter Topology in open Filter Topology in @[simp] lemma Temperature.ofRealNonneg_val {t : ℝ} (ht : 0 ≤ t) : (ofRealNonneg t ht).val = ⟨t, ht⟩
- Formalizes
- Physlib, `Temperature.ofRealNonneg_val`
- 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.ofRealNonneg_val← Temperature.ofRealNonneg_val (Physlib/Thermodynamics/Temperature/Basic.lean:175): verbatim
- Verified
- 10 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 12
- Temperature.instCoeRealCoercion to
ℝ. - Temperature.ofNNRealBuild a
Temperaturedirectly from a nonnegative real. - Temperature.ofβ_βTemperature.ofβ_β
- TemperatureThe type
Temperaturerepresents the temperature in a given (but arbitrary) set of units (preserving zero). It currently wrapsℝ≥0,… - 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
- Temperature.coe_ofNNReal_coeTemperature.coe_ofNNReal_coe
- Temperature.ofNNReal_valTemperature.ofNNReal_val
- Temperature.instCoeNNRealCoercion to
ℝ≥0. - Temperature.instZeroTemperature.instZero
- Temperature.instTopologicalSpaceTopology on
Temperatureinduced fromℝ≥0.
- Temperature.instCoeRealCoercion to
- Used by 8
- 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:… - BlackBody.firstRadiationConstant_eqThe first radiation constant equals
2 * h * c ^ 2. - 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.
- BlackBodyAn idealized black body in thermal equilibrium at temperature
T.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in open Filter Topology in open Filter Topology in @[simp] lemma Temperature.ofRealNonneg_val {t : ℝ} (ht : 0 ≤ t) : (ofRealNonneg t ht).val = ⟨t, ht⟩ := rfl