Reflexivity and the zeroth law make thermal equilibrium an equivalence relation
ProvedZerothLawThermo.equivalence_of_refl_zerothLawLet be a type of thermodynamic systems and a binary relation on ("is in thermal equilibrium with"). Assume
- every system is in thermal equilibrium with itself: for all ;
- the zeroth law: whenever and , also .
Then is an equivalence relation on , i.e. it is reflexive, symmetric and transitive.
This is the precise mathematical content of the zeroth law: thermal equilibrium is an equivalence relation, which is what allows it to be represented by equality of a temperature.
import Definitions.Def_ZerothLawThermo_Defs import Mathlib open ZerothLawThermo
theorem ZerothLawThermo.equivalence_of_refl_zerothLaw {S : Type*} (TE : S → S → Prop)
(hrefl : ∀ A : S, TE A A) (hzero : ZerothLaw TE) :
Equivalence TE := 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.
For an arbitrary type (any universe, possibly empty) and an arbitrary binary relation on , assume:
- for every ;
ZerothLaw TE, i.e. for all , and together imply .
Conclusion: is an equivalence relation, meaning all three of: for all ; for all ; and for all . Both hypotheses are satisfiable (e.g. by equality on any type), so the statement is not vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.