Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (1): general covariance variational formula for Gaussian discord

Open
QAlgorithms.Papers.Independent.Advance50.P48.gaussianDiscord_variational

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

prove2quantum

Work on two complete oscillator modes with [qj,pk]=iδjk[q_j,p_k]=i\delta_{jk}[qj​,pk​]=iδjk​, vacuum covariance I/2I/2I/2, and natural logarithms, with 0log⁡0=00\log0=00log0=0. A state is a positive trace-class density of trace one, with no photon cutoff. Write CAG(ρ)C_A^G(\rho)CAG​(ρ) for the Gaussian discord obtained by measuring mode BBB and retaining AAA: it is S(ρB)−S(ρ)S(\rho_B)-S(\rho)S(ρB​)−S(ρ) plus the infimum of the actual Born-averaged conditional von Neumann entropy over normalized Gaussian seed POVMs. Exchanging the modes defines CBGC_B^GCBG​. The entropy SSS is defined independently on the full oscillator space.

Let ρ\rhoρ be any two-mode Gaussian density, with arbitrary first moments and finite physical symmetric covariance σ=(ACCTB)\sigma=\begin{pmatrix}A&C\\C^T&B\end{pmatrix}σ=(ACT​CB​). Physical means σ+iΩ/2⪰0\sigma+i\Omega/2\succeq0σ+iΩ/2⪰0, where Ω\OmegaΩ is the direct sum of the two canonical \begin{psmallmatrix}0&1\\-1&0\end{psmallmatrix} blocks. Set I1=det⁡AI_1=\det AI1​=detA, I2=det⁡BI_2=\det BI2​=detB, I3=det⁡CI_3=\det CI3​=detC, I4=det⁡σI_4=\det\sigmaI4​=detσ, Δ=I1+I2+2I3\Delta=I_1+I_2+2I_3Δ=I1​+I2​+2I3​, and d±=(Δ±Δ2−4I4)/2d_\pm=\sqrt{(\Delta\pm\sqrt{\Delta^2-4I_4})/2}d±​=(Δ±Δ2−4I4​​)/2​. Let h(x)=(x+12)log⁡(x+12)−(x−12)log⁡(x−12)h(x)=(x+\tfrac12)\log(x+\tfrac12)-(x-\tfrac12)\log(x-\tfrac12)h(x)=(x+21​)log(x+21​)−(x−21​)log(x−21​). Then

CAG(ρ)=h(det⁡B)−h(d−)−h(d+)+inf⁡M+iΩ1/2⪰0h ⁣(det⁡[A−C(B+M)−1CT]).C_A^G(\rho)=h(\sqrt{\det B})-h(d_-)-h(d_+)+\inf_{M+i\Omega_1/2\succeq0}h\!\left(\sqrt{\det[A-C(B+M)^{-1}C^T]}\right).CAG​(ρ)=h(detB​)−h(d−​)−h(d+​)+M+iΩ1​/2⪰0inf​h(det[A−C(B+M)−1CT]​).

The infimum ranges over finite real symmetric physical one-mode seed covariances. It equals the actual Gaussian measurement conditional-entropy infimum. All three state entropies and this infimum are finite; actual seed Born laws are probability laws and the conditional kernels are normalized densities almost everywhere. Gaussian extractable information is JAG=h(det⁡A)J_A^G=h(\sqrt{\det A})JAG​=h(detA​) minus the same infimum. The opposite discord direction exchanges the modes. Finite squeezed seeds include homodyne values as limits. This identifies the physical variational problem without defining entropy or discord by a covariance formula.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P48
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P48

open MeasureTheory Filter

open scoped BigOperators ENNReal Topology ComplexOrder

open QAlgorithms.Papers.Independent.Dependency50.P33
  (IsDensity IsTraceClassChannel IsSeparable productCoeff)

open QAlgorithms.Papers.Independent.Dependency50.P39
  (displacementMatrix coherentMeasure coherentCoefficient)

open QAlgorithms.Papers.Independent.Frontier18.P07 (extendedEntropyNats)

open QAlgorithms.Papers.Independent.Frontier30.P04 (modePhase twoModeStandard conditionalCovariance)

open QAlgorithms.Papers.Independent.Frontier30.P14 (partialRight partialLeft)

open QAlgorithms.Papers.Independent.Claimed50.P30 (canonicalOmega)

open QAlgorithms.Papers.Independent.Claimed50.P39 (g thermalProbability)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.2, Eq.(1): independent Gaussian measurement optimization equals the
covariance variational formula. Gaussian entropy finiteness, normalized Born
laws and posterior density validity are conclusions, not hypotheses. Printed
h(sqrt(sigma_P)) is read as h(sqrt(det sigma_P)), as its entropy meaning requires. -/
theorem gaussianDiscord_variational (rho : TwoKernel) (d : modePhase 2 → ℝ)
    (V : Matrix (modePhase 2) (modePhase 2) ℝ) (hg : GaussianTwo rho d V) :
    extendedEntropyNats rho < ⊤ ∧
    extendedEntropyNats (partialRight rho) < ⊤ ∧
    extendedEntropyNats (partialLeft rho) < ⊤ ∧
    gaussianConditionalInf rho < ⊤ ∧ covarianceInf V < ⊤ ∧
    extendedEntropyNats rho = ENNReal.ofReal (halfUnitEntropy (symplecticMinus V) + halfUnitEntropy (symplecticPlus V)) ∧
    extendedEntropyNats (partialRight rho) = ENNReal.ofReal (halfUnitEntropy (Real.sqrt (covarianceInvariant V 0))) ∧
    extendedEntropyNats (partialLeft rho) = ENNReal.ofReal (halfUnitEntropy (Real.sqrt (covarianceInvariant V 1))) ∧
    (∀ s : GaussianSeed, IsProbabilityMeasure (seedLaw rho s) ∧
      (∀ᵐ z ∂seedLaw rho s, IsDensity (posteriorDensity rho (seedEffect s z)) ∧
        extendedEntropyNats (posteriorDensity rho (seedEffect s z)) =
          ENNReal.ofReal (halfUnitEntropy (Real.sqrt ((gaussianSchurCovariance V s.covariance).det)))) ∧
      seedAverage rho s = ENNReal.ofReal (halfUnitEntropy (Real.sqrt ((gaussianSchurCovariance V s.covariance).det)))) ∧
    gaussianConditionalInf rho = covarianceInf V ∧
    gaussianDiscordA rho = halfUnitEntropy (Real.sqrt (covarianceInvariant V 1)) - halfUnitEntropy (symplecticMinus V) -
      halfUnitEntropy (symplecticPlus V) + (covarianceInf V).toReal ∧
    gaussianClassicalCorrelationA rho = halfUnitEntropy (Real.sqrt (covarianceInvariant V 0)) - (covarianceInf V).toReal ∧
    gaussianDiscordA (swapOscillators rho) = halfUnitEntropy (Real.sqrt (covarianceInvariant V 0)) - halfUnitEntropy (symplecticMinus V) -
      halfUnitEntropy (symplecticPlus V) +
      (covarianceInf (fun i j => V ((if i.1 = 0 then 1 else 0), i.2) ((if j.1 = 0 then 1 else 0), j.2))).toReal := by sorry

end QAlgorithms.Papers.Independent.Advance50.P48

end
Source
Gaussian quantum discord, arXiv:1003.3207v2, PDF p. 2, Eq. (1): general covariance variational formula for Gaussian discord
Read-back

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

Let ρ\rhoρ be a complex kernel on N2\mathbb N^2N2, let ddd be an arbitrary real four-vector, and let VVV be a real matrix indexed by the interleaved coordinates (0,0),(0,1),(1,0),(1,1)(0,0),(0,1),(1,0),(1,1)(0,0),(0,1),(1,0),(1,1). Assume that ρ\rhoρ is a density kernel, that V=VTV=V^\mathsf TV=VT and V+i(Ω⊕Ω)/2V+i(\Omega\oplus\Omega)/2V+i(Ω⊕Ω)/2 is positive semidefinite, and that for every real four-vector xxx,

χρ(x)=e−xTVx/2+i dTx.\chi_\rho(x)=e^{-x^\mathsf TVx/2+i\,d^\mathsf Tx}.χρ​(x)=e−xTVx/2+idTx.

Here Ω=(01−10)\Omega=\left(\begin{smallmatrix}0&1\\-1&0\end{smallmatrix}\right)Ω=(0−1​10​); a density kernel has a coefficientwise nuclear expansion ρab=∑juj(a)vj(b)‾\rho_{ab}=\sum_j u_j(a)\overline{v_j(b)}ρab​=∑j​uj​(a)vj​(b)​, with uj,vj∈ℓ2u_j,v_j\in\ell^2uj​,vj​∈ℓ2 and ∑j∥uj∥∥vj∥<∞\sum_j\|u_j\|\|v_j\|<\infty∑j​∥uj​∥∥vj​∥<∞, real nonnegative quadratic forms on every finite set, and a summable real diagonal of sum one; and

χY(x)=∑m,n∈N2Ymn∏a=01Dw(x(a,0),x(a,1))(na,ma),Dz(m,n)=e−∣z∣2/2m!n!∑j=0min⁡(m,n)zm−j(−z‾)n−jj!(m−j)!(n−j)!,w(q,p)=(−p+iq)/2.\chi_Y(x)=\sum_{m,n\in\mathbb N^2}Y_{mn} \prod_{a=0}^1D_{w(x_{(a,0)},x_{(a,1)})}(n_a,m_a), \quad D_z(m,n)=e^{-|z|^2/2}\sqrt{m!n!} \sum_{j=0}^{\min(m,n)} \frac{z^{m-j}(-\overline z)^{n-j}}{j!(m-j)!(n-j)!}, \quad w(q,p)=(-p+iq)/\sqrt2.χY​(x)=m,n∈N2∑​Ymn​a=0∏1​Dw(x(a,0)​,x(a,1)​)​(na​,ma​),Dz​(m,n)=e−∣z∣2/2m!n!​j=0∑min(m,n)​j!(m−j)!(n−j)!zm−j(−z)n−j​,w(q,p)=(−p+iq)/2​.

Write A,B,CA,B,CA,B,C for the 00,11,0100,11,0100,11,01 mode blocks of VVV, put I0=det⁡AI_0=\det AI0​=detA, I1=det⁡BI_1=\det BI1​=detB, I2=det⁡CI_2=\det CI2​=detC, I3=det⁡VI_3=\det VI3​=detV, and define

ν±=I0+I1+2I2±(I0+I1+2I2)2−4I32,h(u)=(u+12)log⁡(u+12)−(u−12)log⁡(u−12).\nu_\pm=\sqrt{\frac{I_0+I_1+2I_2 \pm\sqrt{(I_0+I_1+2I_2)^2-4I_3}}2}, \qquad h(u)=(u+\tfrac12)\log(u+\tfrac12)-(u-\tfrac12)\log(u-\tfrac12).ν±​=2I0​+I1​+2I2​±(I0​+I1​+2I2​)2−4I3​​​​,h(u)=(u+21​)log(u+21​)−(u−21​)log(u−21​).

For any kernel YYY, its entropy in this statement is

S(Y)=sup⁡F finite[τFlog⁡τF−Re⁡tr⁡(YFcfc⁡(log⁡,YF))]+,τF=Re⁡tr⁡YF;S(Y)=\sup_{F\text{ finite}} \left[\tau_F\log\tau_F-\operatorname{Re}\operatorname{tr} \bigl(Y_F\operatorname{cfc}(\log,Y_F)\bigr)\right]_+, \qquad \tau_F=\operatorname{Re}\operatorname{tr}Y_F;S(Y)=F finitesup​[τF​logτF​−Retr(YF​cfc(log,YF​))]+​,τF​=RetrYF​;

the empty set is included and [u]+=max⁡(u,0)∈[0,∞][u]_+=\max(u,0)\in[0,\infty][u]+​=max(u,0)∈[0,∞]. Define the marginals (ρA)mn=∑eρ(m,e),(n,e)(\rho_A)_{mn}=\sum_e\rho_{(m,e),(n,e)}(ρA​)mn​=∑e​ρ(m,e),(n,e)​ and (ρB)mn=∑eρ(e,m),(e,n)(\rho_B)_{mn}=\sum_e\rho_{(e,m),(e,n)}(ρB​)mn​=∑e​ρ(e,m),(e,n)​. A seed s=(σ,M)s=(\sigma,M)s=(σ,M) consists of a one-mode density kernel σ\sigmaσ, a real symmetric MMM with M+iΩ/2≥0M+i\Omega/2\ge0M+iΩ/2≥0, and the identities ∑m,nσmnDw(x0,x1)(n,m)=e−xTMx/2\sum_{m,n}\sigma_{mn}D_{w(x_0,x_1)}(n,m)=e^{-x^\mathsf TMx/2}∑m,n​σmn​Dw(x0​,x1​)​(n,m)=e−xTMx/2 for all x∈R2x\in\mathbb R^2x∈R2. Set

Es,z(m,n)=∑u,vDz(m,u)σuvDz(n,v)‾,Uρ(E)mn=∑u,vρ(m,u),(n,v)Evu,bρ(E)=Re⁡∑mUρ(E)mm.E_{s,z}(m,n)=\sum_{u,v}D_z(m,u)\sigma_{uv}\overline{D_z(n,v)},\quad U_\rho(E)_{mn}=\sum_{u,v}\rho_{(m,u),(n,v)}E_{vu},\quad b_\rho(E)=\operatorname{Re}\sum_mU_\rho(E)_{mm}.Es,z​(m,n)=u,v∑​Dz​(m,u)σuv​Dz​(n,v)​,Uρ​(E)mn​=u,v∑​ρ(m,u),(n,v)​Evu​,bρ​(E)=Rem∑​Uρ​(E)mm​.

The posterior Rρ(E)R_\rho(E)Rρ​(E) is Uρ(E)/bρ(E)U_\rho(E)/b_\rho(E)Uρ​(E)/bρ​(E) when bρ(E)>0b_\rho(E)>0bρ​(E)>0, and the vacuum kernel δm0δn0\delta_{m0}\delta_{n0}δm0​δn0​ otherwise. Let Pρ,sP_{\rho,s}Pρ,s​ have density [bρ(Es,z)]+[b_\rho(E_{s,z})]_+[bρ​(Es,z​)]+​ relative to d2z/πd^2z/\pid2z/π, let Jρ(s)=∫S(Rρ(Es,z)) dPρ,s(z)J_\rho(s)=\int S(R_\rho(E_{s,z}))\,dP_{\rho,s}(z)Jρ​(s)=∫S(Rρ​(Es,z​))dPρ,s​(z), and put

Q(ρ)=inf⁡sJρ(s),q(V)=inf⁡M=MTM+iΩ/2≥0[h ⁣(det⁡(A−C(B+M)−1CT))]+.Q(\rho)=\inf_sJ_\rho(s),\qquad q(V)=\inf_{\substack{M=M^\mathsf T\\M+i\Omega/2\ge0}} \left[h\!\left(\sqrt{\det(A-C(B+M)^{-1}C^\mathsf T)}\right)\right]_+.Q(ρ)=sinf​Jρ​(s),q(V)=M=MTM+iΩ/2≥0​inf​[h(det(A−C(B+M)−1CT)​)]+​.

Then the assertion is that S(ρ),S(ρA),S(ρB),Q(ρ)S(\rho),S(\rho_A),S(\rho_B),Q(\rho)S(ρ),S(ρA​),S(ρB​),Q(ρ), and q(V)q(V)q(V) are all finite, and

S(ρ)=[h(ν−)+h(ν+)]+,S(ρA)=[h(I0)]+,S(ρB)=[h(I1)]+,Q(ρ)=q(V),DA(ρ)=h(I1)−h(ν−)−h(ν+)+q(V)R,CA(ρ)=h(I0)−q(V)R,DA(ρswap)=h(I0)−h(ν−)−h(ν+)+q(Vswap)R.\begin{aligned} S(\rho)&=[h(\nu_-)+h(\nu_+)]_+,\\ S(\rho_A)&=[h(\sqrt{I_0})]_+,\qquad S(\rho_B)=[h(\sqrt{I_1})]_+,\\ Q(\rho)&=q(V),\\ D_A(\rho)&=h(\sqrt{I_1})-h(\nu_-)-h(\nu_+)+q(V)_{\mathbb R},\\ C_A(\rho)&=h(\sqrt{I_0})-q(V)_{\mathbb R},\\ D_A(\rho^{\mathrm{swap}}) &=h(\sqrt{I_0})-h(\nu_-)-h(\nu_+)+q(V^{\mathrm{swap}})_{\mathbb R}. \end{aligned}S(ρ)S(ρA​)Q(ρ)DA​(ρ)CA​(ρ)DA​(ρswap)​=[h(ν−​)+h(ν+​)]+​,=[h(I0​​)]+​,S(ρB​)=[h(I1​​)]+​,=q(V),=h(I1​​)−h(ν−​)−h(ν+​)+q(V)R​,=h(I0​​)−q(V)R​,=h(I0​​)−h(ν−​)−h(ν+​)+q(Vswap)R​.​

Moreover, for every seed s=(σ,M)s=(\sigma,M)s=(σ,M), Pρ,sP_{\rho,s}Pρ,s​ is a probability measure, its posterior is a density kernel almost everywhere, and

S(Rρ(Es,z))=[h ⁣(det⁡(A−C(B+M)−1CT))]+almost everywhere,Jρ(s)=[h ⁣(det⁡(A−C(B+M)−1CT))]+.S(R_\rho(E_{s,z})) =\left[h\!\left(\sqrt{\det(A-C(B+M)^{-1}C^\mathsf T)}\right)\right]_+ \quad\text{almost everywhere},\qquad J_\rho(s)=\left[h\!\left(\sqrt{\det(A-C(B+M)^{-1}C^\mathsf T)}\right)\right]_+.S(Rρ​(Es,z​))=[h(det(A−C(B+M)−1CT)​)]+​almost everywhere,Jρ​(s)=[h(det(A−C(B+M)−1CT)​)]+​.

Here DA(Y)=S(YB)R−S(Y)R+Q(Y)RD_A(Y)=S(Y_B)_{\mathbb R}-S(Y)_{\mathbb R}+Q(Y)_{\mathbb R}DA​(Y)=S(YB​)R​−S(Y)R​+Q(Y)R​, CA(Y)=S(YA)R−Q(Y)RC_A(Y)=S(Y_A)_{\mathbb R}-Q(Y)_{\mathbb R}CA​(Y)=S(YA​)R​−Q(Y)R​, conversion R{}_{\mathbb R}R​ sends infinity to zero, ρswap\rho^{\mathrm{swap}}ρswap exchanges the two entries in each number-pair index, and V(a,b),(c,e)swap=V(1−a,b),(1−c,e)V^{\mathrm{swap}}_{(a,b),(c,e)}=V_{(1-a,b),(1-c,e)}V(a,b),(c,e)swap​=V(1−a,b),(1−c,e)​. Matrix inverses and complex series are totalized; the infimum for q(V)q(V)q(V) ranges over every physical covariance MMM, without a purity or strict positive-definiteness restriction.

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

    Confirmed by the moderator at approval.

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