Thermal equilibrium is transitive
ProvedZerothLawThermo.trans_of_refl_zerothLawLet be a type of thermodynamic systems and a binary relation on such that for all , and satisfying the zeroth law (). Then for all systems ,
This is the form of the law most often quoted in introductory texts.
import Definitions.Def_ZerothLawThermo_Defs import Mathlib open ZerothLawThermo
theorem ZerothLawThermo.trans_of_refl_zerothLaw {S : Type*} (TE : S → S → Prop)
(hrefl : ∀ A : S, TE A A) (hzero : ZerothLaw TE) (A B C : S)
(hAB : TE A B) (hBC : TE B C) :
TE A C := 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 binary relation on , assume for every and ZerothLaw TE (for all : ). Then for any with and , it follows that .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.