Quasi-static adiabatic work through a reference state gives
ProvedFirstLawThermo.quasiStatic_adiabatic_work_eq_neg_deltaULet be a set of states of a closed system and let denote the quasi-static adiabatic work done by the system in going from state to state . Fix a reference state and a function . Assume
- formula (1): for every state ;
- the work from to may be computed along a path through : for all ;
- for every state .
Then for all states ,
This is the article's chain of equalities showing that quasi-static adiabatic work between any two states is a difference of values of the internal energy.
Formalization Note The quasi-static adiabatic work is modelled as a real-valued function of the pair of states, so its independence of the path is built into the representation.
import Definitions.Def_FirstLawThermo_Defs import Mathlib open FirstLawThermo
theorem FirstLawThermo.quasiStatic_adiabatic_work_eq_neg_deltaU {σ : Type*}
(W : σ → σ → ℝ) (U : σ → ℝ) (O : σ)
(hrev : ∀ A : σ, W A O = -W O A)
(hpath : ∀ A B : σ, W A B = W A O + W O B)
(hU : ∀ A : σ, U A = U O - W O A) :
∀ A B : σ, -W A B = U B - U A := 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 (possibly empty), an arbitrary function (written ), an arbitrary function and a point , assume
- for every ;
- for all ;
- for every .
Then for all ,
No notion of "process", "adiabatic" or "quasi-static" appears in the statement. is just a two-argument real function. Hypothesis 1 at forces , and hypothesis 3 at is then automatic. The hypotheses are satisfiable, e.g. by and constant.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.