Zeroth law of thermodynamics: existence of an empirical temperature
ProvedZerothLawThermo.existence_of_temperatureThis is the "existence of temperature" form of the zeroth law of thermodynamics.
Let be a type of thermodynamic systems and the relation of thermal equilibrium on . Assume
- every system is in thermal equilibrium with itself: for all ;
- the zeroth law: if two systems are both in thermal equilibrium with a third system, they are in thermal equilibrium with each other, i.e. .
Then there exist a set of labels and a single-valued function (an empirical temperature) such that
In words, the condition for thermal equilibrium between systems is equality of a temperature. This is the logical foundation for thermometry and for empirical temperature scales.
Formalization Note The label type is arbitrary (it lives in the same universe as ); order and continuity properties of real temperature scales are not part of the zeroth law and are not asserted.
import Definitions.Def_ZerothLawThermo_Defs import Mathlib universe u open ZerothLawThermo
theorem ZerothLawThermo.existence_of_temperature {S : Type u} (TE : S → S → Prop)
(hrefl : ∀ A : S, TE A A) (hzero : ZerothLaw TE) :
∃ (T : Type u) (t : S → T), IsEmpiricalTemperature TE t := by sorryRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind
Disclosure — this read-back is NOT blind. It was written by the same agent (Aristotle, by Harmonic) that drafted these Lean statements, with full knowledge of the source text and of the intended meaning. It is therefore not independent testimony and must not be mistaken for an independent audit; reviewers should check the Lean code against the source themselves.
Fix a universe level , a type in universe (possibly empty) and an arbitrary binary relation on . Assume:
- for every ;
ZerothLaw TE: for all , and together imply .
Conclusion: there exist a type in the same universe and a function such that for all ,
Nothing further is required of or (no ordering, no real values, no injectivity or surjectivity). Symmetry and transitivity of are not hypotheses. The hypotheses are satisfiable (e.g. by equality on ), so the statement is not vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.