Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§VII A, (45)–(49): direct-reconciliation entropy and Holevo formula

Open
QAlgorithms.Papers.Independent.Intake100.P53.direct_reconciliation

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.

Construct ρi=(1−e)Dii+eDi,1−i\rho_i=(1-e)D_{ii}+eD_{i,1-i}ρi​=(1−e)Dii​+eDi,1−i​ for i=0,1i=0,1i=0,1 and χDR=S(ρ)−(S(ρ0)+S(ρ1))/2\chi_{\rm DR}=S(\rho)-(S(\rho_0)+S(\rho_1))/2χDR​=S(ρ)−(S(ρ0​)+S(ρ1​))/2. The two conditional states are density matrices and there is a unitary UUU with ρ0=Uρ1U†\rho_0=U\rho_1U^\daggerρ0​=Uρ1​U†. Both have spectrum, including zeros,

{0,0,1+1−16e(1−e)q(1−q)2,1−1−16e(1−e)q(1−q)2}.\left\{0,0,\frac{1+\sqrt{1-16e(1-e)q(1-q)}}2,\frac{1-\sqrt{1-16e(1-e)q(1-q)}}2\right\}.{0,0,21+1−16e(1−e)q(1−q)​​,21−1−16e(1−e)q(1−q)​​}.

Their entropies agree and equal the negative sum of λlog⁡2λ\lambda\log_2\lambdaλlog2​λ over the last two values. Consequently χDR=S(ρ)−S(ρ0)\chi_{\rm DR}=S(\rho)-S(\rho_0)χDR​=S(ρ)−S(ρ0​). This is the direct-reconciliation entropy computation for the product construction, without a claim about physical Gaussian key extraction.

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, VII A, (45)--(49): unitary equivalence, both zero roots,
conditional entropy and DR Holevo formula for the product construction. -/
theorem direct_reconciliation (M : BinaryProductModel) :
    (∀ i, QAlgorithms.IsDensityMatrix (productDR M i)) ∧
    (∃ U : Matrix.unitaryGroup (Bool × Bool) ℂ,
      productDR M false = (U : Matrix (Bool × Bool) (Bool × Bool) ℂ) *
        productDR M true * (U : Matrix (Bool × Bool) (Bool × Bool) ℂ).conjTranspose) ∧
    (∀ i, (productDR M i).charpoly = Polynomial.X ^ 2 *
      ∏ k : Fin 2, (Polynomial.X - Polynomial.C (conditionalSpectrum M.q M.e k : ℂ))) ∧
    QAlgorithms.vnEntropy (productDR M false) = QAlgorithms.vnEntropy (productDR M true) ∧
    QAlgorithms.vnEntropy (productDR M false) =
      -(∑ k : Fin 2, conditionalSpectrum M.q M.e k * Real.logb 2 (conditionalSpectrum M.q M.e k)) ∧
    productHolevoDR M = QAlgorithms.vnEntropy (productMixture M) -
      QAlgorithms.vnEntropy (productDR M false) := 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 A, (45)–(49): direct-reconciliation entropy and Holevo formula
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 all endpoints, 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}, put 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 set

Ti=(1−e)Dii+eDi,1−i,ρ=12((1−e)(D00+D11)+e(D01+D10)),λ±=1±1−16e(1−e)q(1−q)2.T_i=(1-e)D_{ii}+eD_{i,1-i},\qquad \rho=\frac12\bigl((1-e)(D_{00}+D_{11})+e(D_{01}+D_{10})\bigr), \qquad \lambda_\pm=\frac{1\pm\sqrt{1-16e(1-e)q(1-q)}}2.Ti​=(1−e)Dii​+eDi,1−i​,ρ=21​((1−e)(D00​+D11​)+e(D01​+D10​)),λ±​=21±1−16e(1−e)q(1−q)​​.

Write S(A)=−Re⁡tr⁡(f(A))S(A)=-\operatorname{Re}\operatorname{tr}(f(A))S(A)=−Retr(f(A)), with f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x evaluated on AAA by continuous functional calculus, and define χDR=S(ρ)−(S(T0)+S(T1))/2\chi_{\mathrm{DR}}=S(\rho)-(S(T_0)+S(T_1))/2χDR​=S(ρ)−(S(T0​)+S(T1​))/2. The assertion is that each TiT_iTi​ is positive semidefinite with trace 111; there exists a unitary complex matrix UUU, indexed by pairs of Booleans, such that T0=UT1U∗T_0=UT_1U^*T0​=UT1​U∗; for each Boolean iii, the characteristic polynomial of TiT_iTi​ is X2(X−λ+)(X−λ−)X^2(X-\lambda_+)(X-\lambda_-)X2(X−λ+​)(X−λ−​); and

S(T0)=S(T1),S(T0)=−(λ+log⁡2λ++λ−log⁡2λ−),χDR=S(ρ)−S(T0).S(T_0)=S(T_1),\qquad S(T_0)=-\bigl(\lambda_+\log_2\lambda_++\lambda_-\log_2\lambda_-\bigr), \qquad \chi_{\mathrm{DR}}=S(\rho)-S(T_0).S(T0​)=S(T1​),S(T0​)=−(λ+​log2​λ+​+λ−​log2​λ−​),χDR​=S(ρ)−S(T0​).

The formulas include cases where the listed values vanish or coincide, with zero contributing zero to the entropy 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