Path-independent adiabatic work defines an internal energy
ProvedFirstLawThermo.exists_isInternalEnergyLet be a set of processes of a closed system with state set , and let be a reference state. Assume
- is closed under sequential composition of consecutive stages;
- contains the null process at every state;
- adiabatic work is path independent in : adiabatic processes in with the same initial and final states involve the same work;
- every state is linked to by an adiabatic process in , from to or from to .
Then there is a function with such that
This is the existence half of the statement that the net adiabatic work "determines a state function called internal energy, ". The normalization fixes the arbitrary reference level at the reference state.
import Definitions.Def_FirstLawThermo_Defs import Mathlib open FirstLawThermo
theorem FirstLawThermo.exists_isInternalEnergy {σ : Type*} (procs : Set (Process σ)) (O : σ)
(hcomp : ClosedUnderComp procs) (hnull : ContainsNull procs)
(hpath : AdiabaticWorkPathIndependent procs) (hlink : AdiabaticallyLinkedTo procs O) :
∃ U : σ → ℝ, IsInternalEnergy procs U ∧ U O = 0 := 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
- for all with , the process (start , finish , work , adiabatic proposition " adiabatic and adiabatic") is in ;
- for every , the process (start , finish , work , adiabatic proposition True) is in ;
- any two whose adiabatic propositions hold and which have equal starts and equal finishes have ;
- for every some whose adiabatic proposition holds goes from to or from to .
Then there exists with and
for every whose adiabatic proposition holds.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.