Composition law for the Carnot heat ratio
ProvedSecondLawThermo.carnot_ratio_mulThroughout, is a type of empirical temperatures carrying a linear order ( means the reservoir at is colder than the one at ), and a cycle is a finitely supported function : for each reservoir temperature , the number is the net heat absorbed by the device from the reservoir at in one complete cycle (negative when heat is rejected to it), and only finitely many reservoirs are touched. The work delivered in the cycle is
which is the first law for a device returning to its initial state. A set of cycles stands for the physically realizable ones; it is assumed to be a convex cone: , (run two devices side by side), and for (scale a device). A cycle is reversible when and . A cycle operates between and when for every . A Carnot engine between a hot reservoir and a cold reservoir is a reversible cycle operating between and with , and . The efficiency relative to the hot reservoir is .
Statement. Let be a convex cone of realizable cycles satisfying the Clausius statement and let be three reservoir temperatures. Let be a Carnot engine between and , one between and , and one between and . Then the heat ratios compose:
Writing for the (substance-independent) ratio of a reversible engine, this is the article's identity : a reversible engine between and has the same efficiency as the two-cycle engine passing through an intermediate reservoir at , the heat passing through the intermediate reservoir without loss.
import Definitions.Def_SecondLawThermo_Defs import Mathlib
namespace SecondLawThermo
theorem carnot_ratio_mul {Θ : Type*} [LinearOrder Θ] (𝒞 : Set (Cycle Θ))
(h𝒞 : IsCycleCone 𝒞) (hCl : ClausiusStatement 𝒞) (T₁ T₂ T₃ : Θ)
(h₃₂ : T₃ < T₂) (h₂₁ : T₂ < T₁) (e₁ e₂ e₃ : Cycle Θ)
(he₁ : IsCarnotEngine 𝒞 e₁ T₁ T₃) (he₂ : IsCarnotEngine 𝒞 e₂ T₁ T₂)
(he₃ : IsCarnotEngine 𝒞 e₃ T₂ T₃) :
|e₁ T₃| / |e₁ T₁| = (|e₂ T₂| / |e₂ T₁|) * (|e₃ T₃| / |e₃ T₂|) := by sorry
end SecondLawThermoRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic), the drafting agent itself; non-blind read-back
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.
Let be linearly ordered and a set of finitely supported functions , with ; assume and closure under addition and under scaling by nonnegative reals, and that for all every vanishing outside with has . Let in , and let each satisfy, for the indicated pair of temperatures — namely , and respectively — that it and its negation lie in , it vanishes outside , its value at is positive, its value at is negative, and its total sum is positive. Then
All six quantities inside the absolute values are nonzero by the sign hypotheses, so no division by zero occurs. The three engines are arbitrary subject to those hypotheses: no relation between the sizes of , and is assumed, in particular not that the heat rejected by at equals the heat absorbed by at .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.