Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

⟨Xixk⟩=δik\langle X_i x_k\rangle=\delta_{ik}⟨Xi​xk​⟩=δik​

Proved
OnsagerReciprocal.conjugate_fluctuation_average

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

mathematical-physicsonsagerthermodynamics

Let β\betaβ be a positive definite real symmetric n×nn\times nn×n matrix, and let the fluctuations x∈Rnx\in\mathbb R^nx∈Rn be distributed with the Gaussian density w(x)=A~exp⁡(−12βikxixk)w(x)=\tilde A\exp(-\tfrac12\beta_{ik}x_ix_k)w(x)=A~exp(−21​βik​xi​xk​), where A~\tilde AA~ normalizes www. With the conjugate quantities Xi=βikxkX_i=\beta_{ik}x_kXi​=βik​xk​, for all indices i,ki,ki,k,

⟨Xi xk⟩=δik.\langle X_i\,x_k\rangle=\delta_{ik}.⟨Xi​xk​⟩=δik​.

Equivalently, the covariance matrix of the fluctuations is β−1\beta^{-1}β−1. This identity is used at the last step of the proof of Onsager's principle.

Preamble
import Mathlib
import Definitions.Def_OnsagerReciprocal_basic

open Matrix
Formal statement
namespace OnsagerReciprocal
theorem conjugate_fluctuation_average {n : ℕ} (β : Matrix (Fin n) (Fin n) ℝ)
    (hβ : β.PosDef) (i k : Fin n) :
    fluctuationAverage β (fun x => conjugate β x i * x k) = if i = k then 1 else 0 := by sorry
end OnsagerReciprocal
Source
Wikipedia, "Onsager reciprocal relations", https://en.wikipedia.org/w/index.php?title=Onsager_reciprocal_relations&oldid=1355014688, section "Abstract formulation" and its "Proof" subsection (pp. 5-6 of the PDF export), following L. D. Landau, E. M. Lifshitz, Statistical Physics, Part 1 (1975)
Read-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 n∈Nn\in\mathbb Nn∈N, every positive definite real n×nn\times nn×n matrix β\betaβ (symmetric, vTβv>0v^{\mathsf T}\beta v>0vTβv>0 for v≠0v\ne0v=0) and all indices i,k∈{1,…,n}i,k\in\{1,\dots,n\}i,k∈{1,…,n}:

∫Rn(βx)i xk e−12xTβx dx∫Rne−12xTβx dx={1,i=k,0,i≠k,\frac{\int_{\mathbb R^n}(\beta x)_i\,x_k\,e^{-\frac12x^{\mathsf T}\beta x}\,dx}{\int_{\mathbb R^n}e^{-\frac12x^{\mathsf T}\beta x}\,dx}=\begin{cases}1,& i=k,\\0,& i\neq k,\end{cases}∫Rn​e−21​xTβxdx∫Rn​(βx)i​xk​e−21​xTβxdx​={1,0,​i=k,i=k,​

integrals with respect to Lebesgue measure on Rn\mathbb R^nRn. No time dependence or matrix λ\lambdaλ is involved. For n=0n=0n=0 there are no indices and the statement is empty.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

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