Onsager's principle: symmetry of kinetic coefficients
ProvedOnsagerReciprocal.onsager_reciprocal_relationsOnsager's principle (principle of symmetry of kinetic coefficients).
Let be fluctuations of thermodynamic quantities from equilibrium, distributed according to the Gaussian law
where is a positive definite symmetric real matrix (in the source, ). In the quasi-stationary regime for a real matrix , so the mean value at time of the fluctuation that equals at is . The thermodynamic conjugate quantities are , and the kinetic coefficients are
Assume the symmetry of fluctuations under time reversal: for every and all ,
where is the average with respect to . Then the matrix of kinetic coefficients is symmetric:
This is the abstract form of the Onsager reciprocal relations, which express the equality of cross-coefficients between thermodynamic flows and forces (e.g. Peltier/Seebeck, thermodiffusion/Dufour) near equilibrium.
Formalization Note The Gaussian average is the ratio over Lebesgue measure on (so the normalizing constant cancels). The time-reversal hypothesis is imposed only for , where the quasi-stationary relaxation is meant to apply.
import Mathlib import Definitions.Def_OnsagerReciprocal_basic open Matrix
namespace OnsagerReciprocal
theorem onsager_reciprocal_relations {n : ℕ} (β lam : Matrix (Fin n) (Fin n) ℝ)
(hβ : β.PosDef)
(hrev : ∀ t : ℝ, 0 ≤ t → ∀ i k : Fin n,
timeCorrelation β lam t i k = timeCorrelation β lam t k i) :
∀ i k : Fin n, kineticCoeff β lam i k = kineticCoeff β lam k i := by sorry
end OnsagerReciprocalRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It was not produced by a blind, independent auditor, so reviewers must not treat it as independent testimony; compare the Lean code against the source yourself.
For every , every real matrix that is positive definite (symmetric and for every nonzero ) and every real matrix , assuming that for every real and all indices
(Lebesgue integrals, the matrix exponential), it follows that the matrix is symmetric: for all indices . The hypothesis is satisfiable (for example , giving ; more generally any for which is symmetric for ). For the conclusion is empty. Note that the conclusion is about only; itself is not asserted to be symmetric.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.