Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Zero temperature cannot be reached adiabatically from a positive temperature

Proved
ThirdLawThermo.adiabatic_unattainability

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

mathematical-physicsstatistical-mechanicsthermodynamicsthird-law

Let XXX be a set of values of an external parameter (for example the applied magnetic field or the pressure), and let S(T,x)S(T,x)S(T,x) be the equilibrium entropy of a system at temperature T≥0T\ge0T≥0 and parameter value x∈Xx\in Xx∈X. Assume that at each fixed xxx the entropy is strictly increasing in TTT on [0,∞)[0,\infty)[0,∞) (positive heat capacity). Assume moreover the third law in Nernst's form: the entropy at absolute zero does not depend on the parameter, S(0,x)=S(0,y)S(0,x)=S(0,y)S(0,x)=S(0,y) for all x,y∈Xx,y\in Xx,y∈X.

Theorem (adiabatic accessibility statement). A reversible adiabatic (isentropic) process cannot take a state of positive temperature to a state of zero temperature: if T>0T>0T>0, T′≥0T'\ge0T′≥0 and

S(T′,x′)=S(T,x),S(T',x')=S(T,x),S(T′,x′)=S(T,x),

then T′≠0T'\neq0T′=0.

This is the formulation of the third law "in adiabatic accessibility", derived here from the parameter-independence of the zero-temperature entropy.

Formalization Note Adiabatic processes are modelled as reversible ones, i.e. as preserving the equilibrium entropy; the strict monotonicity in TTT encodes positivity of the heat capacity.

Preamble
import Definitions.Def_ThirdLawThermo_Defs
import Mathlib

open Filter Topology
Formal statement
namespace ThirdLawThermo

theorem adiabatic_unattainability {X : Type*} (S : ℝ → X → ℝ)
    (hmono : ∀ x : X, StrictMonoOn (fun T => S T x) (Set.Ici 0))
    (hNernst : ∀ x y : X, S 0 x = S 0 y)
    (T : ℝ) (x : X) (T' : ℝ) (x' : X) (hT : 0 < T) (hT' : 0 ≤ T')
    (hS : S T' x' = S T x) :
    T' ≠ 0 := by sorry

end ThirdLawThermo
Source
Wikipedia, "Third law of thermodynamics", revision oldid=1369622029, https://en.wikipedia.org/w/index.php?title=Third_law_of_thermodynamics&oldid=1369622029; section "Formulations", "The statement in adiabatic accessibility: It is impossible to start from a state of positive temperature, and adiabatically reach a state with zero temperature"; the Nernst hypothesis is the "Nernst statement" of the same section ("At absolute zero, the entropy change becomes independent of the process path").
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.

Let XXX be an arbitrary type and S:R×X→RS:\mathbb R\times X\to\mathbb RS:R×X→R an arbitrary function, written S(T,x)S(T,x)S(T,x). Assume

  1. for every x∈Xx\in Xx∈X, T↦S(T,x)T\mapsto S(T,x)T↦S(T,x) is strictly increasing on [0,∞)[0,\infty)[0,∞): 0≤T1<T20\le T_1<T_20≤T1​<T2​ implies S(T1,x)<S(T2,x)S(T_1,x)<S(T_2,x)S(T1​,x)<S(T2​,x);
  2. S(0,x)=S(0,y)S(0,x)=S(0,y)S(0,x)=S(0,y) for all x,y∈Xx,y\in Xx,y∈X.

Then for all reals T,T′T,T'T,T′ and all x,x′∈Xx,x'\in Xx,x′∈X with T>0T>0T>0, T′≥0T'\ge0T′≥0 and S(T′,x′)=S(T,x)S(T',x')=S(T,x)S(T′,x′)=S(T,x), one has T′≠0T'\ne0T′=0 (equivalently, with T′≥0T'\ge0T′≥0, T′>0T'>0T′>0). Nothing is assumed about SSS at negative temperatures, about continuity, or about the existence of such a T′T'T′; XXX may be empty or a singleton.

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me