TemperatureUnit
structureimported Lean
The choices of translationally-invariant metrics on the temperature-manifold. Such a choice corresponds to a choice of units for temperature.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in structure TemperatureUnit
- Defined in
- Physlib, `TemperatureUnit`
- 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.TemperatureUnit← TemperatureUnit (Physlib/Thermodynamics/Temperature/TemperatureUnits.lean:35): verbatim
- Verified
- 09 Oct 2026
- Axioms
- none listed
- Used by 3
- TemperatureUnit.kelvinThe definition of a temperature unit of kelvin.
- instPositiveRealUnitCoreTemperatureUnitinstPositiveRealUnitCoreTemperatureUnit
- LTMCTUnitChoicesThe choice of units.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open NNReal in /-- The choices of translationally-invariant metrics on the temperature-manifold. Such a choice corresponds to a choice of units for temperature. -/ structure TemperatureUnit where /-- The underlying scale of the unit. -/ val : ℝ property : 0 < val