Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

COW beam-splitting conditional states, spectra, Holevo information and rate

Open
QAlgorithms.Papers.Independent.Intake100.P92.cow_bsa

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

prove2quantum

Work in the source's ideal asymptotic, balanced-bit model, with coherent pulse amplitude α∈C\alpha\in\mathbb Cα∈C, mean photon number μ=∣α∣2\mu=|\alpha|^2μ=∣α∣2, channel intensity transmission t∈[0,1]t\in[0,1]t∈[0,1], and trusted detector efficiency η∈[0,1]\eta\in[0,1]η∈[0,1]. There are no dark counts or detector dead times. Rates are per emitted time slot, including empty slots, with ideal error correction and the source's negligible unused/decoy fractions and omitted monitoring/interferometer prefactors. Write hhh for binary entropy in bits and Pψ=∣ψ⟩⟨ψ∣P_\psi=|\psi\rangle\langle\psi|Pψ​=∣ψ⟩⟨ψ∣.

Let a=1−tαa=\sqrt{1-t}\alphaa=1−t​α and γ=e−μ(1−t)\gamma=e^{-\mu(1-t)}γ=e−μ(1−t). Eve’s conditional operators are ρ0=Pa,0\rho_0=P_{a,0}ρ0​=Pa,0​ and ρ1=P0,a\rho_1=P_{0,a}ρ1​=P0,a​ on full two-mode Fock space. Each is pure and normalized; the modulus of the overlap is γ\gammaγ, and their average has eigenvalues (1+γ)/2,(1−γ)/2(1+\gamma)/2,(1-\gamma)/2(1+γ)/2,(1−γ)/2, including endpoint zeros. Direct calculation of Bob-event postselection gives zero operator for the wrong bit and (1−e−μtη)ρa(1-e^{-\mu t\eta})\rho_a(1−e−μtη)ρa​ for the correct bit. Thus, whenever clicks occur, conditioning on Bob gives these same states, and

χAE=χBE=h ⁣(1−γ2),rCOW=1−e−μtη2[1−h ⁣(1−γ2)].\chi_{AE}=\chi_{BE}=h\!\left(\frac{1-\gamma}{2}\right),\qquad r_{\rm COW}=\frac{1-e^{-\mu t\eta}}2\left[1-h\!\left(\frac{1-\gamma}{2}\right)\right].χAE​=χBE​=h(21−γ​),rCOW​=21−e−μtη​[1−h(21−γ​)].

The same expression applies to COWm1 and COWm2 with Alice’s pairing. Constructed states and the rate retain their explicit continuous extensions at zero clicks. This supplies a full-state, attack-specific information calculation.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P92
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate

open Filter

namespace QAlgorithms.Papers.Independent.Intake100.P92

open QAlgorithms.Papers.Independent.Information100.P21 (Vec tensor)

open QAlgorithms.Papers.Independent.Information100.P75 (phase)

open QAlgorithms.Papers.Independent.Frontier18.P14
  (Fock coherentPair coherentPairCoefficients passiveApply passiveCoefficients
   fockReducedFirst reducedSecond coherentCoefficient)

/-- PDF p.3, (3)–(5): COW/COWm1/COWm2 BSA, including the actual postselected
operators, their spectra, entropy, and per-slot ideal signed rate. At zero clicks
these are explicit continuous extensions, not conditional probability quotients. -/
theorem cow_bsa (alpha : ℂ) (t eta : ℝ)
    (ht : t ∈ Set.Icc (0:ℝ) 1) (heta : eta ∈ Set.Icc (0:ℝ) 1) :
    (∀ a, weightedAncillaTrace (cowE alpha t a) = 1 ∧ ensembleEntropyBits (cowE alpha t a) = 0) ∧
    ‖inner ℂ (cowE alpha t false ()) (cowE alpha t true ())‖ = gammaE alpha t ∧
    HasUnitaryGramSpectrum (ancillaGram (equiprobableEnsemble (cowE alpha t false) (cowE alpha t true)))
      (fun z => if z.1 then (1-gammaE alpha t)/2 else (1+gammaE alpha t)/2) ∧
    (∀ a b, cowHerald alpha t eta a b =
      (if a = b then (click (Complex.normSq alpha) t eta : ℂ) else 0) •
        ensembleDensityCoefficients (fun i n => cowE alpha t a i n)) ∧
    binaryHolevoBits (cowE alpha t false) (cowE alpha t true) =
      QAlgorithms.binEntropy2 ((1-gammaE alpha t)/2) ∧
    cowRate alpha t eta = click (Complex.normSq alpha) t eta / 2 *
      (1-QAlgorithms.binEntropy2 ((1-gammaE alpha t)/2)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P92

end
Source
Upper Bounds for the Security of two Distributed-Phase Reference Protocols of Quantum Cryptography (Coherent-One-Way and Differential-Phase-Shift), arXiv:0710.4884v2, PDF p. 3, III, Eqs.(3)–(5): exact COW BSA conditional states, spectra, Holevo information and rate
Read-back

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

For every α∈C\alpha\in\mathbb Cα∈C and real t,ηt,\etat,η with 0≤t≤10\le t\le10≤t≤1 and 0≤η≤10\le\eta\le10≤η≤1, put e=1−t αe=\sqrt{1-t}\,\alphae=1−t​α, γ=e−∣α∣2(1−t)\gamma=e^{-|\alpha|^2(1-t)}γ=e−∣α∣2(1−t), and p=1−e−∣α∣2tηp=1-e^{-|\alpha|^2t\eta}p=1−e−∣α∣2tη. Work in F=ℓ2(N2;C)F=\ell^2(\mathbb N^2;\mathbb C)F=ℓ2(N2;C); define cz(n)=e−∣z∣2/2zn/n!c_z(n)=e^{-|z|^2/2}z^n/\sqrt{n!}cz​(n)=e−∣z∣2/2zn/n!​ and let C(z,w)C(z,w)C(z,w) have coefficients cz(m)cw(n)c_z(m)c_w(n)cz​(m)cw​(n) when square summable, and be zero otherwise. Define singleton-indexed families E0(∗)=C(e,0)E_0(*)=C(e,0)E0​(∗)=C(e,0) and E1(∗)=C(0,e)E_1(*)=C(0,e)E1​(∗)=C(0,e), and vectors B0=C(t α,0)B_0=C(\sqrt t\,\alpha,0)B0​=C(t​α,0), B1=C(0,t α)B_1=C(0,\sqrt t\,\alpha)B1​=C(0,t​α). For any finite family xxx, write

Gx=(⟨xi,xj⟩)i,j,H(x)=Re⁡tr⁡f(Gx),f(u)=−ulog⁡u/log⁡2,χ(x,y)=H((xi/2)i,(yi/2)i)−H(x)+H(y)2,G_x=(\langle x_i,x_j\rangle)_{i,j},\qquad H(x)=\operatorname{Re}\operatorname{tr}f(G_x), \quad f(u)=-u\log u/\log2, \quad \chi(x,y)=H((x_i/\sqrt2)_i,(y_i/\sqrt2)_i)-\frac{H(x)+H(y)}2,Gx​=(⟨xi​,xj​⟩)i,j​,H(x)=Retrf(Gx​),f(u)=−ulogu/log2,χ(x,y)=H((xi​/2​)i​,(yi​/2​)i​)−2H(x)+H(y)​,

with fff applied by continuous functional calculus. For both Boolean values aaa, ∑i∥Ea(i)∥2=1\sum_i\|E_a(i)\|^2=1∑i​∥Ea​(i)∥2=1 and H(Ea)=0H(E_a)=0H(Ea​)=0, and ∣⟨E0(∗),E1(∗)⟩∣=γ|\langle E_0(*),E_1(*)\rangle|=\gamma∣⟨E0​(∗),E1​(∗)⟩∣=γ. For the combined family Zb,∗=Eb(∗)/2Z_{b,*}=E_b(*)/\sqrt2Zb,∗​=Eb​(∗)/2​, there exists a unitary matrix VVV indexed by Bool×{∗}\mathrm{Bool}\times\{*\}Bool×{∗} such that

GZ=Vdiag⁡(λ)V∗,λb,∗={(1+γ)/2,b=0,(1−γ)/2,b=1.G_Z=V\operatorname{diag}(\lambda)V^*, \qquad \lambda_{b,*}= \begin{cases}(1+\gamma)/2,&b=0,\\(1-\gamma)/2,&b=1.\end{cases}GZ​=Vdiag(λ)V∗,λb,∗​={(1+γ)/2,(1−γ)/2,​b=0,b=1.​

Define wη(0;m,n)=(1−(1−η)m)(1−η)nw_\eta(0;m,n)=(1-(1-\eta)^m)(1-\eta)^nwη​(0;m,n)=(1−(1−η)m)(1−η)n and wη(1;m,n)=(1−η)m(1−(1−η)n)w_\eta(1;m,n)=(1-\eta)^m(1-(1-\eta)^n)wη​(1;m,n)=(1−η)m(1−(1−η)n). For every pair of Boolean values a,ba,ba,b, the matrix with entries

Ha,b(i,j)=∑n∈N2wη(b;n) (Ba(n)Ea(∗)(i))(Ba(n)Ea(∗)(j))‾H_{a,b}(i,j)= \sum_{n\in\mathbb N^2} w_\eta(b;n)\, \bigl(B_a(n)E_a(*)(i)\bigr) \overline{\bigl(B_a(n)E_a(*)(j)\bigr)}Ha,b​(i,j)=n∈N2∑​wη​(b;n)(Ba​(n)Ea​(∗)(i))(Ba​(n)Ea​(∗)(j))​

equals 1a=b p Da\mathbf1_{a=b}\,p\,D_a1a=b​pDa​, where Da(i,j)=∑u∈{∗}Ea(u)(i)Ea(u)(j)‾D_a(i,j)=\sum_{u\in\{*\}}E_a(u)(i)\overline{E_a(u)(j)}Da​(i,j)=∑u∈{∗}​Ea​(u)(i)Ea​(u)(j)​. Finally, writing

h(q)=−qlog⁡q−(1−q)log⁡(1−q)log⁡2,h(q)=\frac{-q\log q-(1-q)\log(1-q)}{\log2},h(q)=log2−qlogq−(1−q)log(1−q)​,

one has χ(E0,E1)=h((1−γ)/2)\chi(E_0,E_1)=h((1-\gamma)/2)χ(E0​,E1​)=h((1−γ)/2) and

RCOW=p2(1−χ(E0,E1))=p2(1−h ⁣(1−γ2)).R_{\mathrm{COW}}=\frac p2(1-\chi(E_0,E_1)) =\frac p2\left(1-h\!\left(\frac{1-\gamma}{2}\right)\right).RCOW​=2p​(1−χ(E0​,E1​))=2p​(1−h(21−γ​)).

The assertions include α=0\alpha=0α=0 and all parameter endpoints; no positive heralding probability is assumed.

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