Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Clausius–Duhem inequality in terms of specific internal energy

Proved
ClausiusDuhem.internal_energy_inequality

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

continuum-mechanicsmathematical-physicsthermodynamics

Let (ρ,η,v,q,s,T,e,σ)(\rho,\eta,\mathbf v,\mathbf q,s,T,e,\boldsymbol\sigma)(ρ,η,v,q,s,T,e,σ) be a thermomechanical process with ρ,η,v,q,T,e\rho,\eta,\mathbf v,\mathbf q,T,eρ,η,v,q,T,e jointly C1C^1C1, sss jointly continuous and absolute temperature T>0T>0T>0 everywhere. Assume the differential Clausius–Duhem inequality ρη˙≥−∇⋅(q/T)+ρs/T\rho\dot\eta\ge-\nabla\cdot(\mathbf q/T)+\rho s/Tρη˙​≥−∇⋅(q/T)+ρs/T and the balance of energy

ρe˙−σ:∇v+∇⋅q−ρs=0\rho\dot e-\boldsymbol\sigma:\nabla\mathbf v+\nabla\cdot\mathbf q-\rho s=0ρe˙−σ:∇v+∇⋅q−ρs=0

at every time and point. Then at every time and point

ρ (e˙−Tη˙)−σ:∇v≤−q⋅∇TT.\rho\,(\dot e-T\dot\eta)-\boldsymbol\sigma:\nabla\mathbf v\le-\frac{\mathbf q\cdot\nabla T}{T}.ρ(e˙−Tη˙​)−σ:∇v≤−Tq⋅∇T​.

This form incorporates the balance of energy into the Clausius–Duhem inequality and is the form used to restrict constitutive relations.

Preamble
import Definitions.Def_ClausiusDuhem_thermo_process
Formal statement
namespace ClausiusDuhem
theorem internal_energy_inequality (P : ThermoProcess) (hP : P.Smooth)
    (hT : ∀ t x, 0 < P.temp t x) (hEntropy : P.EntropyInequality)
    (hEnergy : P.EnergyBalance) :
    P.InternalEnergyInequality := by sorry
end ClausiusDuhem
Source
Wikipedia, "Clausius–Duhem inequality", revision oldid=1182390552, https://en.wikipedia.org/w/index.php?title=Clausius%E2%80%93Duhem_inequality&oldid=1182390552, section "Clausius–Duhem inequality in terms of specific internal energy" (statement and Proof).
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) - non-blind, same agent as the drafter

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the source article and of the intended meaning. It was not produced by a blind, independent auditor, so it must not be mistaken for independent testimony; reviewers should compare it against the Lean code themselves.

Let P=(ρ,η,v,q,s,T,e,σ)P=(\rho,\eta,v,q,s,T,e,\sigma)P=(ρ,η,v,q,s,T,e,σ) be any thermomechanical process. Assume:

  1. ρ,η,v,q,T,e\rho,\eta,v,q,T,eρ,η,v,q,T,e are jointly C1C^1C1 and sss is jointly continuous;
  2. T(t,x)>0T(t,x)>0T(t,x)>0 for all t,xt,xt,x;
  3. for all t,xt,xt,x: ρη˙≥−∇⋅(T−1q)(t,⋅)(x)+ρs/T\rho\dot\eta\ge-\nabla\cdot(T^{-1}q)(t,\cdot)(x)+\rho s/Tρη˙​≥−∇⋅(T−1q)(t,⋅)(x)+ρs/T;
  4. for all t,xt,xt,x: ρe˙−σ:∇v+∇⋅q−ρs=0\rho\dot e-\sigma:\nabla v+\nabla\cdot q-\rho s=0ρe˙−σ:∇v+∇⋅q−ρs=0.

Here φ˙=∂tφ+∇φ⋅v\dot\varphi=\partial_t\varphi+\nabla\varphi\cdot vφ˙​=∂t​φ+∇φ⋅v, (∇v)ij=∂jvi(\nabla v)_{ij}=\partial_jv_i(∇v)ij​=∂j​vi​ and σ:∇v=∑i,jσij(∇v)ij\sigma:\nabla v=\sum_{i,j}\sigma_{ij}(\nabla v)_{ij}σ:∇v=∑i,j​σij​(∇v)ij​, all spatial derivatives at fixed ttt.

Conclusion: for all t,xt,xt,x:

ρ (e˙−Tη˙)−σ:∇v≤−q⋅∇T(t,⋅)(x)T,\rho\,(\dot e-T\dot\eta)-\sigma:\nabla v\le-\frac{q\cdot\nabla T(t,\cdot)(x)}{T},ρ(e˙−Tη˙​)−σ:∇v≤−Tq⋅∇T(t,⋅)(x)​,

all quantities evaluated at (t,x)(t,x)(t,x). No conservation of mass and no integral inequality is assumed; no symmetry or regularity of σ\sigmaσ is assumed.

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