Localization of the integral Clausius–Duhem inequality
ProvedClausiusDuhem.local_of_integralLet be a thermomechanical process such that are jointly in , is jointly continuous, and everywhere. Suppose that for every non-degenerate closed box (a fixed control volume) and every time ,
Then at every time and every point ,
This is the step from the integral (global) statement of the second law to a pointwise statement.
Formalization Note Boxes serve as control volumes; their boundary integrals are sums of face integrals with outward normals .
import Definitions.Def_ClausiusDuhem_thermo_process
namespace ClausiusDuhem
theorem local_of_integral (P : ThermoProcess) (hP : P.Smooth)
(hT : ∀ t x, 0 < P.temp t x) (hInt : P.IntegralEntropyInequality) :
∀ t x, timeDeriv (fun τ y => P.rho τ y * P.eta τ y) t x ≥
-div (fun y => (P.rho t y * P.eta t y) • P.vel t y) x
- div (fun y => (P.temp t y)⁻¹ • P.heatFlux t y) x
+ P.rho t x * P.source t x / P.temp t x := by sorry
end ClausiusDuhemRead-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 be any thermomechanical process (eight fields of ). Assume:
- are jointly in and is jointly continuous ( is unrestricted);
- for all ;
- for all with () and all :
where is the sum of signed face integrals over the six faces of the box (two-dimensional Lebesgue measure on each face rectangle ), and all fields are at time .
Conclusion: for every and ,
where is the derivative in at of and the divergences are taken in with fixed. No conservation of mass or energy balance is assumed.