Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

No heat is exchanged in an adiabatic process

Proved
FirstLawThermo.heat_eq_zero_of_adiabatic

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

first-lawinternal-energythermodynamics

Let P\mathcal PP be a set of processes of a closed system with state set σ\sigmaσ, and let UUU be an internal energy for P\mathcal PP. For every adiabatic process p∈Pp\in\mathcal Pp∈P, the heat supplied vanishes:

QU(p)=0.Q_U(p)=0.QU​(p)=0.

This is the consistency of the residual definition of heat with the meaning of "adiabatic": in an adiabatic process there is transfer of energy as work but not as heat.

Preamble
import Definitions.Def_FirstLawThermo_Defs
import Mathlib

open FirstLawThermo
Formal statement
theorem FirstLawThermo.heat_eq_zero_of_adiabatic {σ : Type*} (procs : Set (Process σ))
    (U : σ → ℝ) (hU : IsInternalEnergy procs U) (p : Process σ) (hp : p ∈ procs)
    (had : p.adiabatic) :
    heat U p = 0 := by sorry
Source
Wikipedia, "First law of thermodynamics", revision oldid=1366986255, https://en.wikipedia.org/w/index.php?title=First_law_of_thermodynamics&oldid=1366986255; Section "Evidence for the first law of thermodynamics for closed systems": adiabatic processes are those "in which there is no transfer as heat"; subsection "Adiabatic processes": "In an adiabatic process, there is transfer of energy as work but not as heat."
Read-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 σ\sigmaσ, an arbitrary set P\mathcal PP of processes, a function U:σ→RU:\sigma\to\mathbb RU:σ→R satisfying U(qfinish)−U(qstart)=−W(q)U(q_{\mathrm{finish}})-U(q_{\mathrm{start}})=-W(q)U(qfinish​)−U(qstart​)=−W(q) for every q∈Pq\in\mathcal Pq∈P whose adiabatic proposition holds, and a process p∈Pp\in\mathcal Pp∈P whose adiabatic proposition holds:

U(pfinish)−U(pstart)+W(p)=0.U(p_{\mathrm{finish}})-U(p_{\mathrm{start}})+W(p)=0.U(pfinish​)−U(pstart​)+W(p)=0.
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me