Derivative of the time correlation
ProvedOnsagerReciprocal.timeCorrelation_hasDerivAtLet be a positive definite real symmetric matrix and a real matrix, with . Average over the Gaussian fluctuation distribution , and let , . Then for all indices and all , the time correlation is differentiable at and
This is the "differentiate and substitute" step of the proof of Onsager's principle.
import Mathlib import Definitions.Def_OnsagerReciprocal_basic open Matrix
namespace OnsagerReciprocal
theorem timeCorrelation_hasDerivAt {n : ℕ} (β lam : Matrix (Fin n) (Fin n) ℝ)
(hβ : β.PosDef) (i k : Fin n) (t : ℝ) :
HasDerivAt (fun s => timeCorrelation β lam s i k)
(-∑ l : Fin n, kineticCoeff β lam i l *
fluctuationAverage β (fun x => meanConjugate β lam t x l * x k)) t := 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 positive definite real matrix , every real matrix , all indices and every real : the real function
is differentiable at , with derivative
(Integrals are Lebesgue integrals; the formal averages would be for non-integrable integrands, but no such case is excluded or singled out by the statement.)
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.