Internal energy is unique up to an additive constant
ProvedFirstLawThermo.isInternalEnergy_unique_up_to_constLet be a set of processes of a closed system with state set , and let be a reference state such that every state is linked to by an adiabatic process in , going either from to or from to . If and are both internal energies for , then there is a constant with
Together with the previous milestone this says that internal energy is determined exactly up to an additive constant. It is "customarily stated relative to a conventionally chosen standard reference state of the system".
Formalization Note Only one direction of adiabatic accessibility is required for each state, in line with Münster's remark (quoted in the article) that it is not always possible to reach any state from any other by an adiabatic process.
import Definitions.Def_FirstLawThermo_Defs import Mathlib open FirstLawThermo
theorem FirstLawThermo.isInternalEnergy_unique_up_to_const {σ : Type*}
(procs : Set (Process σ)) (O : σ) (hlink : AdiabaticallyLinkedTo procs O)
(U U' : σ → ℝ) (hU : IsInternalEnergy procs U) (hU' : IsInternalEnergy procs U') :
∃ c : ℝ, ∀ A : σ, U' A = U A + c := by sorryRead-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.
For an arbitrary type , an arbitrary set of processes on and a point , assume that for every there is a whose adiabatic proposition holds and which goes from to or from to (start/finish equal to these states). Let both satisfy for every whose adiabatic proposition holds ( and ). Then there exists a real such that
No composition, null-process or path-independence assumption is made.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.