Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2.1 equation (5): trace-class Gaussian density and entropy formula

Open
QAlgorithms.Papers.Independent.Intake100.P97.gaussianTraceclass_density

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let Γ\GammaΓ be countably infinite, let X=RΓX=\mathbb R^\GammaX=RΓ carry its product Borel sigma-algebra, and put K=ℓR2(Γ)K=\ell^2_{\mathbb R}(\Gamma)K=ℓR2​(Γ). A covariance is a bounded self-adjoint operator on KKK bounded below by a positive multiple of the identity. Let D1,D2D_1,D_2D1​,D2​ be covariances and suppose T=D2−1−D1−1T=D_2^{-1}-D_1^{-1}T=D2−1​−D1−1​ is trace class. The cylinder laws ωD2\omega_{D_2}ωD2​​ and ωD1\omega_{D_1}ωD1​​ are mutually absolutely continuous. With Fredholm determinants and the canonical qTq_TqT​,

dωD2dωD1(x)=det⁡(I+D1T)1/2e−qT(x)/2,\frac{d\omega_{D_2}}{d\omega_{D_1}}(x)=\det(I+D_1T)^{1/2}e^{-q_T(x)/2},dωD1​​dωD2​​​(x)=det(I+D1​T)1/2e−qT​(x)/2, Ent⁡(ωD2∣ωD1)=12tr⁡ ⁣(D1T(I+D1T)−1)−12log⁡det⁡(I+D1T).\operatorname{Ent}(\omega_{D_2}\mid\omega_{D_1})=\tfrac12\operatorname{tr}\!\left(D_1T(I+D_1T)^{-1}\right)-\tfrac12\log\det(I+D_1T).Ent(ωD2​​∣ωD1​​)=21​tr(D1​T(I+D1​T)−1)−21​logdet(I+D1​T).

The determinant equals det⁡(I+D11/2TD11/2)=det⁡(D11/2D2−1D11/2)>0\det(I+D_1^{1/2}TD_1^{1/2})=\det(D_1^{1/2}D_2^{-1}D_1^{1/2})>0det(I+D11/2​TD11/2​)=det(D11/2​D2−1​D11/2​)>0. Entropy uses the source nonpositive convention. Here qAq_AqA​ is obtained by the Gaussian completion of finite-coordinate quadratic polynomials; it is not an arbitrary measurable extension from KKK. This supplies the sufficient trace-class density and entropy interface.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P97
Formal statement
noncomputable section

attribute [local instance] Classical.propDecidable

open MeasureTheory Filter Set

open scoped ENNReal NNReal Topology BigOperators

namespace QAlgorithms.Papers.Independent.Intake100.P97

open QAlgorithms.Papers.Independent.Next46.P02
  (IsModulusTraceClass modulusTraceNorm basisOperatorTrace hilbertPositiveSqrt)

variable {G : Type*} [Countable G] [Infinite G] [DecidableEq G]

/-- The valid trace-class sufficient condition and both formulas (5), PDF p.4.
No converse Feldman–Hájek criterion is asserted. -/
theorem gaussianTraceclass_density (e : ℕ ≃ G) (D1 D2 : RealCoordinateOperator G)
    (hD1 : IsCovariance D1) (hD2 : IsCovariance D2)
    (hT : IsModulusTraceClass (operatorInverse D2 - operatorInverse D1)) :
    let T := operatorInverse D2 - operatorInverse D1
    (cylinderGaussian D2 ≪ cylinderGaussian D1) ∧ (cylinderGaussian D1 ≪ cylinderGaussian D2) ∧
    0 < fredholmPlus (D1 * T) ∧
    fredholmPlus (D1 * T) = fredholmPlus (hilbertPositiveSqrt D1 * T * hilbertPositiveSqrt D1) ∧
    fredholmPlus (D1 * T) =
      fredholmPlus (hilbertPositiveSqrt D1 * operatorInverse D2 * hilbertPositiveSqrt D1 - 1) ∧
    (∀ᵐ x ∂cylinderGaussian D1, realRNDensity (cylinderGaussian D2) (cylinderGaussian D1) x =
      Real.sqrt (fredholmPlus (D1 * T)) * Real.exp (- gaussianQuadratic e T x / 2)) ∧
    nonpositiveRelativeEntropy (cylinderGaussian D2) (cylinderGaussian D1) =
      (((1 / 2 : ℝ) * basisOperatorTrace (D1 * T * operatorInverse (1 + D1 * T)) -
        (1 / 2 : ℝ) * Real.log (fredholmPlus (D1 * T)) : ℝ) : EReal) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P97

end
Source
Entropic fluctuations in Gaussian dynamical systems, arXiv:1509.03244v1, PDF p. 4, §2.1 equation (5): trace-class Gaussian density and entropy formula
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let e:N→Ge:\mathbb N\to Ge:N→G be a bijection, so GGG is countably infinite, let H=ℓ2(G;R)H=\ell^2(G;\mathbb R)H=ℓ2(G;R) and Ω=RG\Omega=\mathbb R^GΩ=RG, and let D1,D2:H→HD_1,D_2:H\to HD1​,D2​:H→H be continuous real-linear operators. Assume each DjD_jDj​ is self-adjoint and satisfies ⟨v,Djv⟩≥cj∥v∥2\langle v,D_jv\rangle\ge c_j\|v\|^2⟨v,Dj​v⟩≥cj​∥v∥2 for some cj>0c_j>0cj​>0 and every vvv. For any operator AAA, let Inv⁡(A)\operatorname{Inv}(A)Inv(A) be a selected two-sided continuous inverse if one exists, and zero otherwise. Let R(A)R(A)R(A) be zero when A=0A=0A=0, otherwise a classically selected positive continuous operator BBB with B2=AB^2=AB2=A if such a BBB exists, and zero if none exists. Fix the Hilbert basis (bβ)β∈B(b_\beta)_{\beta\in\mathcal B}(bβ​)β∈B​ selected by the stated classical basis construction, and define

∣A∣=R(A∗A),T(A) ⟺ (⟨bβ,∣A∣bβ⟩)β is summable,τ(A)=∑β⟨bβ,∣A∣bβ⟩,tr⁡b(A)=∑β⟨bβ,Abβ⟩.|A|=R(A^*A),\quad \mathcal T(A)\ \Longleftrightarrow\ (\langle b_\beta,|A|b_\beta\rangle)_\beta\text{ is summable},\quad \tau(A)=\sum_\beta\langle b_\beta,|A|b_\beta\rangle,\quad \operatorname{tr}_b(A)=\sum_\beta\langle b_\beta,Ab_\beta\rangle.∣A∣=R(A∗A),T(A) ⟺ (⟨bβ​,∣A∣bβ​⟩)β​ is summable,τ(A)=β∑​⟨bβ​,∣A∣bβ​⟩,trb​(A)=β∑​⟨bβ​,Abβ​⟩.

These real infinite sums are zero when their families are not summable. Assume T(T)\mathcal T(T)T(T) for T=Inv⁡(D2)−Inv⁡(D1)T=\operatorname{Inv}(D_2)-\operatorname{Inv}(D_1)T=Inv(D2​)−Inv(D1​). Write Aij=⟨δi,Aδj⟩A_{ij}=\langle\delta_i,A\delta_j\rangleAij​=⟨δi​,Aδj​⟩ and define

Δ(A)=∑I⊆G, I finitedet⁡(Aij)i,j∈I,\Delta(A)=\sum_{I\subseteq G,\ I\text{ finite}}\det(A_{ij})_{i,j\in I},Δ(A)=I⊆G, I finite∑​det(Aij​)i,j∈I​,

using the same total real infinite-sum convention and including the empty determinant 111. To define Qe(A,x)Q_e(A,x)Qe​(A,x), put Pn=∑k<n⟨δe(k), ⋅ ⟩δe(k)P_n=\sum_{k<n}\langle\delta_{e(k)},\,\cdot\,\rangle\delta_{e(k)}Pn​=∑k<n​⟨δe(k)​,⋅⟩δe(k)​, let Λ(B)=ofReal⁡(τ(B))\Lambda(B)=\operatorname{ofReal}(\tau(B))Λ(B)=ofReal(τ(B)) when T(B)\mathcal T(B)T(B) and +∞+\infty+∞ otherwise, and let nkn_knk​ be the least n∈Nn\in\mathbb Nn∈N satisfying Λ(A−PnAPn)≤2−k\Lambda(A-P_nAP_n)\le2^{-k}Λ(A−Pn​APn​)≤2−k, or zero if no such nnn exists. Then Qe(A,x)Q_e(A,x)Qe​(A,x) is the limit, when a finite real limit exists, of

∑i<nk∑j<nkxe(i)Ae(i),e(j)xe(j)(k→∞),\sum_{i<n_k}\sum_{j<n_k}x_{e(i)}A_{e(i),e(j)}x_{e(j)} \quad(k\to\infty),i<nk​∑​j<nk​∑​xe(i)​Ae(i),e(j)​xe(j)​(k→∞),

and is zero otherwise; nk=0n_k=0nk​=0 gives an empty sum. For any AAA, let μA\mu_AμA​ be a selected probability measure with every finite-coordinate density

ofReal⁡ ⁣(exp⁡(−12∑i,j∈Iui(AI−1)ijuj)(2π)∣I∣det⁡AI)\operatorname{ofReal}\!\left( \frac{\exp(-\frac12\sum_{i,j\in I}u_i(A_I^{-1})_{ij}u_j)} {\sqrt{(2\pi)^{|I|}\det A_I}} \right)ofReal((2π)∣I∣detAI​​exp(−21​∑i,j∈I​ui​(AI−1​)ij​uj​)​)

with respect to Euclidean volume, if one exists, and the point mass at zero otherwise, where AI=(Aij)i,j∈IA_I=(A_{ij})_{i,j\in I}AI​=(Aij​)i,j∈I​. Matrix inversion and reciprocal are total, with singular inverse and reciprocal of zero equal to zero. Define rν,μ(x)=(dν/dμ(x))toRealr_{\nu,\mu}(x)=(d\nu/d\mu(x))_{\mathrm{toReal}}rν,μ​(x)=(dν/dμ(x))toReal​, which sends an infinite derivative value to zero, and define E(ν∣μ)\mathcal E(\nu\mid\mu)E(ν∣μ) to equal −∫log⁡rν,μ dν-\int\log r_{\nu,\mu}\,d\nu−∫logrν,μ​dν, embedded in the extended reals, if ν≪μ\nu\ll\muν≪μ and this logarithm is ν\nuν-integrable, and to equal −∞-\infty−∞ otherwise; the real logarithm has value zero at zero. The theorem asserts μD2≪μD1\mu_{D_2}\ll\mu_{D_1}μD2​​≪μD1​​ and μD1≪μD2\mu_{D_1}\ll\mu_{D_2}μD1​​≪μD2​​,

0<Δ(D1T)=Δ(R(D1)TR(D1))=Δ(R(D1)Inv⁡(D2)R(D1)−I),0<\Delta(D_1T) =\Delta(R(D_1)TR(D_1)) =\Delta(R(D_1)\operatorname{Inv}(D_2)R(D_1)-I),0<Δ(D1​T)=Δ(R(D1​)TR(D1​))=Δ(R(D1​)Inv(D2​)R(D1​)−I),

and, for μD1\mu_{D_1}μD1​​-almost every xxx,

rμD2,μD1(x)=Δ(D1T) e−Qe(T,x)/2.r_{\mu_{D_2},\mu_{D_1}}(x) =\sqrt{\Delta(D_1T)}\,e^{-Q_e(T,x)/2}.rμD2​​,μD1​​​(x)=Δ(D1​T)​e−Qe​(T,x)/2.

It also asserts

E(μD2∣μD1)=12tr⁡b ⁣(D1TInv⁡(I+D1T))−12log⁡Δ(D1T),\mathcal E(\mu_{D_2}\mid\mu_{D_1}) =\frac12\operatorname{tr}_b\!\left(D_1T\operatorname{Inv}(I+D_1T)\right) -\frac12\log\Delta(D_1T),E(μD2​​∣μD1​​)=21​trb​(D1​TInv(I+D1​T))−21​logΔ(D1​T),

with the real expression on the right embedded in the extended reals.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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