Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

AB entropy and complete two-mode symplectic spectrum

Open
QAlgorithms.Papers.Independent.Intake100.P05.unconditionalEntropy

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

prove2quantum

Let V≥1V\ge1V≥1, 0<T≤10<T\le10<T≤1 and χC≥(1−T)/T\chi_C\ge(1-T)/TχC​≥(1−T)/T be finite, and let ρAB\rho_{AB}ρAB​ be the actual EPR-plus-attenuator output constructed above. Set x=Vx=Vx=V, y=T(V+χC)y=T(V+\chi_C)y=T(V+χC​), z=T(V2−1)z=\sqrt{T(V^2-1)}z=T(V2−1)​, Δ=x2+y2−2z2\Delta=x^2+y^2-2z^2Δ=x2+y2−2z2 and D=xy−z2D=xy-z^2D=xy−z2. Its ordered symplectic eigenvalues λ1≥λ2≥1\lambda_1\ge\lambda_2\ge1λ1​≥λ2​≥1 satisfy

λ1,22=Δ±Δ2−4D22,S(ρAB)=G ⁣(λ1−12)+G ⁣(λ2−12),G(t)=(t+1)log⁡2(t+1)−tlog⁡2t.\lambda_{1,2}^2=\frac{\Delta\pm\sqrt{\Delta^2-4D^2}}2,\qquad S(\rho_{AB})=G\!\left(\frac{\lambda_1-1}2\right)+G\!\left(\frac{\lambda_2-1}2\right), \quad G(t)=(t+1)\log_2(t+1)-t\log_2t.λ1,22​=2Δ±Δ2−4D2​​,S(ρAB​)=G(2λ1​−1​)+G(2λ2​−1​),G(t)=(t+1)log2​(t+1)−tlog2​t.

The entropy is finite, with 0log⁡20=00\log_2 0=00log2​0=0. The complete characteristic polynomial of the actual covariance's symplectic matrix is (s2+λ12)(s2+λ22)(s^2+\lambda_1^2)(s^2+\lambda_2^2)(s2+λ12​)(s2+λ22​). Entropy is independently defined from the full density's matrix elements in the normalized Hermite basis and its von Neumann finite-compression entropy, rather than by this formula. This gives the unconditioned term in the reverse-reconciliation calculation.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P05
Formal statement
noncomputable section

open MeasureTheory ProbabilityTheory

open scoped BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intake100.P05

open QAlgorithms.Papers.Independent.Dependency50.P30 (thermalEntropyBits)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- arXiv:0806.3954v2, PDF p.3, Eqs.(5)–(6): actual finite AB entropy
and both symplectic eigenvalues, ordered lambda_1>=lambda_2>=1. Number
coefficients come from the constructed output kernel. The characteristic
polynomial identifies the symplectic spectrum with its multiplicities;
no entropy identity or proposed spectrum is assumed in a binder. -/
theorem unconditionalEntropy (V T chiC : ℝ) (hV : 1 ≤ V)
    (hT : 0 < T) (hTupper : T ≤ 1) (hC : (1 - T) / T ≤ chiC) :
    QAlgorithms.Papers.Independent.Dependency50.P33.IsDensity
      (numberCoefficients (channelKernel V T chiC)) ∧
    (∀ m n : ℕ × ℕ, Integrable
      (fun xy : (ℝ × ℝ) × (ℝ × ℝ) =>
        star (twoModeNumberWave m xy.1) * channelKernel V T chiC xy.1 xy.2 *
          twoModeNumberWave n xy.2) volume) ∧
    1 ≤ abLambda V T chiC false ∧
    abLambda V T chiC false ≤ abLambda V T chiC true ∧
    0 ≤ (abDelta V T chiC) ^ 2 - 4 * (abD V T chiC) ^ 2 ∧
    (∀ upper : Bool, (abLambda V T chiC upper) ^ 2 =
      (abDelta V T chiC + (if upper then 1 else -1) *
        Real.sqrt ((abDelta V T chiC) ^ 2 - 4 * (abD V T chiC) ^ 2)) / 2) ∧
    (sourceOmega * kernelCovariance (channelKernel V T chiC)).charpoly =
      (Polynomial.X ^ 2 + Polynomial.C ((abLambda V T chiC true) ^ 2)) *
      (Polynomial.X ^ 2 + Polynomial.C ((abLambda V T chiC false) ^ 2)) ∧
    kernelEntropyBits (channelKernel V T chiC) < ⊤ ∧
    kernelEntropyBits (channelKernel V T chiC) = ENNReal.ofReal
      (thermalEntropyBits ((abLambda V T chiC true - 1) / 2) +
       thermalEntropyBits ((abLambda V T chiC false - 1) / 2)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P05

end
Source
Continuous-variable quantum key distribution protocols over noisy channels, arXiv:0806.3954v2, PDF p. 3, Eqs.(5)–(6)
Read-back

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

For every V,T,χC∈RV,T,\chi_C\in\mathbb RV,T,χC​∈R satisfying V≥1V\ge1V≥1, 0<T≤10<T\le10<T≤1, and χC≥(1−T)/T\chi_C\ge(1-T)/TχC​≥(1−T)/T, let η=TχC−(1−T)\eta=T\chi_C-(1-T)η=TχC​−(1−T), let Nη\mathcal N_\etaNη​ be the centered Gaussian measure of variance η\etaη, allowing a point mass when η=0\eta=0η=0, and define the kernel KKK on R2\mathbb R^2R2 by

EV(s,q)=12πexp⁡ ⁣(−V(s2+q2)−2V2−1 sq4),H1(q,t)=12πe−(q+t)2/8−(q−t)2/8,E_V(s,q)=\frac{1}{\sqrt{2\pi}} \exp\!\left(-\frac{V(s^2+q^2)-2\sqrt{V^2-1}\,sq}{4}\right), \qquad H_1(q,t)=\frac{1}{\sqrt{2\pi}} e^{-(q+t)^2/8-(q-t)^2/8},EV​(s,q)=2π​1​exp(−4V(s2+q2)−2V2−1​sq​),H1​(q,t)=2π​1​e−(q+t)2/8−(q−t)2/8, L(x,y)=∫REV(x1,T x2−1−T e)EV(y1,T y2−1−T e)‾H1(1−T x2+T e, 1−T y2+T e) de,L(x,y)=\int_{\mathbb R} E_V(x_1,\sqrt T\,x_2-\sqrt{1-T}\,e) \overline{E_V(y_1,\sqrt T\,y_2-\sqrt{1-T}\,e)} H_1(\sqrt{1-T}\,x_2+\sqrt T\,e,\, \sqrt{1-T}\,y_2+\sqrt T\,e)\,de,L(x,y)=∫R​EV​(x1​,T​x2​−1−T​e)EV​(y1​,T​y2​−1−T​e)​H1​(1−T​x2​+T​e,1−T​y2​+T​e)de, K(x,y)=∫R2e iv(x2−y2)/2L((x1,x2−u),(y1,y2−u)) d(Nη⊗Nη)(u,v).K(x,y)=\int_{\mathbb R^2} e^{\,iv(x_2-y_2)/2} L\bigl((x_1,x_2-u),(y_1,y_2-u)\bigr)\, d(\mathcal N_\eta\otimes\mathcal N_\eta)(u,v).K(x,y)=∫R2​eiv(x2​−y2​)/2L((x1​,x2​−u),(y1​,y2​−u))d(Nη​⊗Nη​)(u,v).

For m=(m1,m2)∈N2m=(m_1,m_2)\in\mathbb N^2m=(m1​,m2​)∈N2, set

Hk(t)=(−1)ket2dkdske−s2∣s=t,φk(q)=e−(q/2)2/2Hk(q/2)22kk!π,Φm(x)=φm1(x1)φm2(x2),H_k(t)=(-1)^k e^{t^2} \left.\frac{d^k}{ds^k}e^{-s^2}\right|_{s=t}, \qquad \varphi_k(q)= \frac{e^{-(q/\sqrt2)^2/2}H_k(q/\sqrt2)} {\sqrt{\sqrt2}\sqrt{2^k k!\sqrt\pi}}, \qquad \Phi_m(x)=\varphi_{m_1}(x_1)\varphi_{m_2}(x_2),Hk​(t)=(−1)ket2dskdk​e−s2​s=t​,φk​(q)=2​​2kk!π​​e−(q/2​)2/2Hk​(q/2​)​,Φm​(x)=φm1​​(x1​)φm2​​(x2​),

and

Mmn=∫R2×R2Φm(x)‾K(x,y)Φn(y) d(x,y).M_{mn}=\int_{\mathbb R^2\times\mathbb R^2} \overline{\Phi_m(x)}K(x,y)\Phi_n(y)\,d(x,y).Mmn​=∫R2×R2​Φm​(x)​K(x,y)Φn​(y)d(x,y).

The theorem asserts that every integrand defining MmnM_{mn}Mmn​ is integrable and that MMM is a density matrix in the following explicit sense: there exist sequences uℓ,vℓ∈ℓ2(N2;C)u_\ell,v_\ell\in\ell^2(\mathbb N^2;\mathbb C)uℓ​,vℓ​∈ℓ2(N2;C) such that ∑ℓ∥uℓ∥∥vℓ∥\sum_\ell\|u_\ell\|\|v_\ell\|∑ℓ​∥uℓ​∥∥vℓ​∥ converges and Mmn=∑ℓ=0∞uℓ(m)vℓ(n)‾M_{mn}=\sum_{\ell=0}^\infty u_\ell(m)\overline{v_\ell(n)}Mmn​=∑ℓ=0∞​uℓ​(m)vℓ​(n)​ for all m,nm,nm,n; every finite quadratic sum ∑m,n∈Fc(m)‾Mmnc(n)\sum_{m,n\in F}\overline{c(m)}M_{mn}c(n)∑m,n∈F​c(m)​Mmn​c(n) is real and nonnegative for every finite F⊆N2F\subseteq\mathbb N^2F⊆N2 and every c:N2→Cc:\mathbb N^2\to\mathbb Cc:N2→C; and the real diagonal is summable with ∑mRe⁡Mmm=1\sum_m\operatorname{Re}M_{mm}=1∑m​ReMmm​=1. Put

y=T(V+χC),d=Vy−T(V2−1),Δ=V2+y2−2T(V2−1),y=T(V+\chi_C),\qquad d=Vy-T(V^2-1),\qquad \Delta=V^2+y^2-2T(V^2-1),y=T(V+χC​),d=Vy−T(V2−1),Δ=V2+y2−2T(V2−1), λ±=Δ±Δ2−4d22.\lambda_\pm= \sqrt{\frac{\Delta\pm\sqrt{\Delta^2-4d^2}}2}.λ±​=2Δ±Δ2−4d2​​​.

The remaining assertions are

1≤λ−≤λ+,0≤Δ2−4d2,λ±2=Δ±Δ2−4d22,1\le\lambda_-\le\lambda_+,\qquad 0\le\Delta^2-4d^2,\qquad \lambda_\pm^2=\frac{\Delta\pm\sqrt{\Delta^2-4d^2}}2,1≤λ−​≤λ+​,0≤Δ2−4d2,λ±2​=2Δ±Δ2−4d2​​,

and

charpoly⁡(JΓK)=(X2+λ+2)(X2+λ−2),J=(0100−1000000100−10),\operatorname{charpoly}(J\Gamma_K) =(X^2+\lambda_+^2)(X^2+\lambda_-^2), \qquad J=\begin{pmatrix} 0&1&0&0\\-1&0&0&0\\0&0&0&1\\0&0&-1&0 \end{pmatrix},charpoly(JΓK​)=(X2+λ+2​)(X2+λ−2​),J=​0−100​1000​000−1​0010​​,

where

CK(a)=∫R2K((q1+a1,q2+a3),(q1−a1,q2−a3))e i(a0q1+a2q2) dq,(ΓK)ij=−Re⁡ ⁣(D(DCK)(0)[ei][ej])−Im⁡(DCK(0)[ei])Im⁡(DCK(0)[ej]).C_K(a)=\int_{\mathbb R^2} K\bigl((q_1+a_1,q_2+a_3),(q_1-a_1,q_2-a_3)\bigr) e^{\,i(a_0q_1+a_2q_2)}\,dq, \quad (\Gamma_K)_{ij} =-\operatorname{Re}\!\left(D(DC_K)(0)[e_i][e_j]\right) -\operatorname{Im}(DC_K(0)[e_i])\operatorname{Im}(DC_K(0)[e_j]).CK​(a)=∫R2​K((q1​+a1​,q2​+a3​),(q1​−a1​,q2​−a3​))ei(a0​q1​+a2​q2​)dq,(ΓK​)ij​=−Re(D(DCK​)(0)[ei​][ej​])−Im(DCK​(0)[ei​])Im(DCK​(0)[ej​]).

Here derivatives are real Fréchet derivatives with their total, default-zero convention where differentiability fails. Finally, for finite S⊆N2S\subseteq\mathbb N^2S⊆N2, write MS=(Mmn)m,n∈SM_S=(M_{mn})_{m,n\in S}MS​=(Mmn​)m,n∈S​ and define

H(K)=1log⁡2sup⁡S finite[Re⁡tr⁡(MS)log⁡ ⁣(Re⁡tr⁡(MS))−Re⁡tr⁡(MSlog⁡cfc(MS))]+,\mathcal H(K)=\frac1{\log2} \sup_{S\text{ finite}} \left[ \operatorname{Re}\operatorname{tr}(M_S) \log\!\bigl(\operatorname{Re}\operatorname{tr}(M_S)\bigr) - \operatorname{Re}\operatorname{tr} \bigl(M_S\log_{\mathrm{cfc}}(M_S)\bigr) \right]_+,H(K)=log21​S finitesup​[Retr(MS​)log(Retr(MS​))−Retr(MS​logcfc​(MS​))]+​,

using the real continuous functional calculus for log⁡cfc\log_{\mathrm{cfc}}logcfc​ and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0) in [0,∞][0,\infty][0,∞]. The theorem asserts

H(K)<∞,H(K)=[g ⁣(λ+−12)+g ⁣(λ−−12)]+,g(x)=(1+x)log⁡(1+x)−xlog⁡xlog⁡2.\mathcal H(K)<\infty,\qquad \mathcal H(K)= \left[ g\!\left(\frac{\lambda_+-1}{2}\right) +g\!\left(\frac{\lambda_--1}{2}\right) \right]_+, \quad g(x)=\frac{(1+x)\log(1+x)-x\log x}{\log2}.H(K)<∞,H(K)=[g(2λ+​−1​)+g(2λ−​−1​)]+​,g(x)=log2(1+x)log(1+x)−xlogx​.

All unlabeled integrals use Lebesgue measure; natural-number indices include zero, the finite-subset supremum includes the empty set, and logarithmic terms at zero use log⁡0=0\log0=0log0=0.

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

    Confirmed by the moderator at approval.

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