Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§VII, (36)–(44): spectrum of the four-state Eve mixture

Open
QAlgorithms.Papers.Independent.Intake100.P53.eve_spectrum

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

prove2quantum

Consider the independent product construction of (36)–(41). Put p=∣c0∣2p=|c_0|^2p=∣c0​∣2 and q=∣c+∣2q=|c_+|^2q=∣c+​∣2, with 1/2≤p,q≤11/2\le p,q\le11/2≤p,q≤1, and let 0≤e≤1/20\le e\le1/20≤e≤1/2. Choose the equivalent nonnegative coefficient representatives v0=(p,1−p)v_0=(\sqrt p,\sqrt{1-p})v0​=(p​,1−p​), v1=(p,−1−p)v_1=(\sqrt p,-\sqrt{1-p})v1​=(p​,−1−p​), v+=(q,1−q)v_+=(\sqrt q,\sqrt{1-q})v+​=(q​,1−q​), and v−=(q,−1−q)v_-=(\sqrt q,-\sqrt{1-q})v−​=(q​,−1−q​). Write Dij=∣vi⊗vj⟩⟨vi⊗vj∣D_{ij}=|v_i\otimes v_j\rangle\langle v_i\otimes v_j|Dij​=∣vi​⊗vj​⟩⟨vi​⊗vj​∣, identifying Bob's indices 0,10,10,1 with +,−+,-+,−, respectively. Define ρ=((1−e)(D00+D11)+e(D01+D10))/2\rho=((1-e)(D_{00}+D_{11})+e(D_{01}+D_{10}))/2ρ=((1−e)(D00​+D11​)+e(D01​+D10​))/2. Entropies are in bits, with 0log⁡20=00\log_2 0=00log2​0=0. This is an algebraic construction; no identification with the disputed physical exponents (35) is assumed.

Set s=p(1−q)+(1−p)qs=p(1-q)+(1-p)qs=p(1−q)+(1−p)q, t=pq+(1−p)(1−q)t=pq+(1-p)(1-q)t=pq+(1−p)(1−q) and d=16e(1−e)p(1−p)q(1−q)d=16e(1-e)p(1-p)q(1-q)d=16e(1−e)p(1−p)q(1−q). The constructed ρ\rhoρ is a density matrix. Its eigenvalues, with algebraic multiplicities, are

λ1,2=s±s2−d2,λ3,4=t±t2−d2.\lambda_{1,2}=\frac{s\pm\sqrt{s^2-d}}2,\qquad\lambda_{3,4}=\frac{t\pm\sqrt{t^2-d}}2.λ1,2​=2s±s2−d​​,λ3,4​=2t±t2−d​​.

All four values are nonnegative, sum to one, and S(ρ)=−∑k=14λklog⁡2λkS(\rho)=-\sum_{k=1}^4\lambda_k\log_2\lambda_kS(ρ)=−∑k=14​λk​log2​λk​. The characteristic polynomial is the product of the four corresponding linear factors, so degenerate and zero eigenvalues are retained. This evaluates the four-state mixture's entropy without invoking the disputed physical Gram identification.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P53
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P53

open MeasureTheory

open QAlgorithms.Papers.Independent.Dependency50.P39

open scoped ComplexConjugate Matrix

attribute [local instance] Classical.propDecidable

/-- PDF pp.7--8, (42)--(44): spectrum and entropy of the constructed matrix,
including multiplicities and zeros. This does not identify a physical Gaussian
Gram matrix. Density is concluded before the entropy functional is interpreted. -/
theorem eve_spectrum (M : BinaryProductModel) :
    QAlgorithms.IsDensityMatrix (productMixture M) ∧
    (productMixture M).charpoly =
      ∏ k : Fin 4, (Polynomial.X - Polynomial.C (mixtureSpectrum M k : ℂ)) ∧
    (∀ k, 0 ≤ mixtureSpectrum M k) ∧ (∑ k, mixtureSpectrum M k) = 1 ∧
    QAlgorithms.vnEntropy (productMixture M) =
      -(∑ k : Fin 4, mixtureSpectrum M k * Real.logb 2 (mixtureSpectrum M k)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P53

end
Source
Security of coherent state quantum cryptography in the presence of Gaussian noise, arXiv:quant-ph/0608015v4, PDF p. 7, §VII, (36)–(44): spectrum of the four-state Eve mixture
Read-back

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

For every model MMM with real parameters 12≤p≤1\tfrac12\le p\le121​≤p≤1, 12≤q≤1\tfrac12\le q\le121​≤q≤1, and 0≤e≤120\le e\le\tfrac120≤e≤21​, including the boundary values, define vri=(r,(−1)i1−r)v_r^i=(\sqrt r,(-1)^i\sqrt{1-r})vri​=(r​,(−1)i1−r​) for Boolean indices i∈{0,1}i\in\{0,1\}i∈{0,1}, define Dij=(vpi(vpi)∗)⊗(vqj(vqj)∗)D_{ij}=(v_p^i(v_p^i)^*)\otimes(v_q^j(v_q^j)^*)Dij​=(vpi​(vpi​)∗)⊗(vqj​(vqj​)∗), and let

ρ=12((1−e)(D00+D11)+e(D01+D10)).\rho=\frac12\bigl((1-e)(D_{00}+D_{11})+e(D_{01}+D_{10})\bigr).ρ=21​((1−e)(D00​+D11​)+e(D01​+D10​)).

Set s=p(1−q)+(1−p)qs=p(1-q)+(1-p)qs=p(1−q)+(1−p)q, t=pq+(1−p)(1−q)t=pq+(1-p)(1-q)t=pq+(1−p)(1−q), and d=16e(1−e)p(1−p)q(1−q)d=16e(1-e)p(1-p)q(1-q)d=16e(1−e)p(1−p)q(1−q), and define

(λ0,λ1,λ2,λ3)=(s+s2−d2,s−s2−d2,t+t2−d2,t−t2−d2).(\lambda_0,\lambda_1,\lambda_2,\lambda_3)= \left( \frac{s+\sqrt{s^2-d}}2,\frac{s-\sqrt{s^2-d}}2, \frac{t+\sqrt{t^2-d}}2,\frac{t-\sqrt{t^2-d}}2 \right).(λ0​,λ1​,λ2​,λ3​)=(2s+s2−d​​,2s−s2−d​​,2t+t2−d​​,2t−t2−d​​).

The assertion is that ρ\rhoρ is positive semidefinite and has trace 111, its characteristic polynomial over C\mathbb CC is ∏k=03(X−λk)\prod_{k=0}^3(X-\lambda_k)∏k=03​(X−λk​), every λk\lambda_kλk​ is nonnegative, their sum is 111, and

−Re⁡tr⁡(f(ρ))=−∑k=03λklog⁡2λk,f(x)=xlog⁡2x,-\operatorname{Re}\operatorname{tr}\bigl(f(\rho)\bigr) =-\sum_{k=0}^3\lambda_k\log_2\lambda_k, \qquad f(x)=x\log_2x,−Retr(f(ρ))=−k=0∑3​λk​log2​λk​,f(x)=xlog2​x,

where f(ρ)f(\rho)f(ρ) is defined by continuous functional calculus. Zero and repeated values are allowed; a zero value contributes zero to the displayed sum.

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