No perpetual motion machine of the first kind
ProvedFirstLawThermo.no_perpetual_motion_first_kindLet be a set of processes of a closed system with state set , and let be an internal energy for . If is adiabatic and cyclic (), then the system does no net work:
This is the impossibility of a perpetual motion machine of the first kind: no engine working in a cycle can produce net work "from nothing", that is, without energy being resupplied as heat.
import Definitions.Def_FirstLawThermo_Defs import Mathlib open FirstLawThermo
theorem FirstLawThermo.no_perpetual_motion_first_kind {σ : Type*} (procs : Set (Process σ))
(U : σ → ℝ) (hU : IsInternalEnergy procs U) (p : Process σ) (hp : p ∈ procs)
(had : p.adiabatic) (hcyc : p.IsCyclic) :
p.work = 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, a function satisfying for every whose adiabatic proposition holds, and a process whose adiabatic proposition holds and with :
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.