Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Bob-chosen modified-COW pairings halve the rate

Proved
QAlgorithms.Papers.Independent.Intake100.P92.bob_pairing_penalty

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

prove2quantum

In the paper’s balanced, independent companion-pulse model, let P(a,b)P(a,b)P(a,b) be the normalized joint law of candidate raw bits, with both bit marginals uniform. Bob’s companion choice accepts half the candidates independently of these bit values. For the constructed acceptance law P(a,b,c)=P(a,b)/2P(a,b,c)=P(a,b)/2P(a,b,c)=P(a,b)/2, where ccc is the acceptance flag,

Pr⁡(c=1)=12,P(a,b∣c=1)=P(a,b).\Pr(c=1)=\frac12,\qquad P(a,b\mid c=1)=P(a,b).Pr(c=1)=21​,P(a,b∣c=1)=P(a,b).

For μ≥0\mu\ge0μ≥0, Q∈[0,1]Q\in[0,1]Q∈[0,1], and Alice/Bob Holevo quantities χA,χB\chi_A,\chi_BχA​,χB​, the signed expression D(s)=s[1−h(Q)−min⁡(χA,χB)]D(s)=s[1-h(Q)-\min(\chi_A,\chi_B)]D(s)=s[1−h(Q)−min(χA​,χB​)] therefore satisfies

D(μ/4)=12D(μ/2).D(\mu/4)=\frac12D(\mu/2).D(μ/4)=21​D(μ/2).

Multiplication by tηt\etatη gives the source’s per-slot first-order rates. This calculation applies to the specified COWm1/COWm2 pairing model; it is not uniform over arbitrary correlated pairing schedules.

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.9 and Appendix A pp.11–12: Bob's random pairing retains half the
candidate bits, leaves their conditional joint law unchanged, and halves the
COWm1/COWm2 first-order signed rate in this balanced-pulse model. -/
theorem bob_pairing_penalty (P : Bool × Bool → ℝ)
    (hP : (∀ x, 0 ≤ P x) ∧ ∑ x, P x = 1)
    (hbalanced : (∀ a, ∑ b, P (a,b) = 1/2) ∧ (∀ b, ∑ a, P (a,b) = 1/2))
    (mu Q ca cb : ℝ)
    (hmu : 0 ≤ mu) (hQ : Q ∈ Set.Icc (0:ℝ) 1) :
    (∑ x, bobPairLaw P (x,true)) = 1/2 ∧
    (∀ x, bobPairLaw P (x,true) / (∑ y, bobPairLaw P (y,true)) = P x) ∧
    dw (mu/4) Q ca cb = dw (mu/2) Q ca cb / 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. 9, IV E / Appendix A: Bob-chosen pairings cost a factor of two
Read-back

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

Let PPP be a real-valued function on Boolean pairs such that P(x)≥0P(x)\ge0P(x)≥0 for every pair xxx, ∑xP(x)=1\sum_xP(x)=1∑x​P(x)=1, and both Boolean marginals are balanced:

∑bP(a,b)=12for every Boolean a,∑aP(a,b)=12for every Boolean b.\sum_bP(a,b)=\frac12\quad\text{for every Boolean }a, \qquad \sum_aP(a,b)=\frac12\quad\text{for every Boolean }b.b∑​P(a,b)=21​for every Boolean a,a∑​P(a,b)=21​for every Boolean b.

Let μ,Q,cA,cB∈R\mu,Q,c_A,c_B\in\mathbb Rμ,Q,cA​,cB​∈R, with μ≥0\mu\ge0μ≥0, 0≤Q≤10\le Q\le10≤Q≤1, and no restrictions on cA,cBc_A,c_BcA​,cB​. Define BP(x,c)=P(x)/2B_P(x,c)=P(x)/2BP​(x,c)=P(x)/2. The theorem asserts

∑xBP(x,true)=12,BP(x,true)∑yBP(y,true)=P(x)for every Boolean pair x,\sum_xB_P(x,\mathrm{true})=\frac12, \qquad \frac{B_P(x,\mathrm{true})}{\sum_yB_P(y,\mathrm{true})}=P(x) \quad\text{for every Boolean pair }x,x∑​BP​(x,true)=21​,∑y​BP​(y,true)BP​(x,true)​=P(x)for every Boolean pair x,

and

μ4(1−h2(Q)−min⁡(cA,cB))=μ2(1−h2(Q)−min⁡(cA,cB))2,\frac{\mu}{4}\bigl(1-h_2(Q)-\min(c_A,c_B)\bigr) = \frac{\frac{\mu}{2}\bigl(1-h_2(Q)-\min(c_A,c_B)\bigr)}2,4μ​(1−h2​(Q)−min(cA​,cB​))=22μ​(1−h2​(Q)−min(cA​,cB​))​,

where h2(Q)h_2(Q)h2​(Q) is the binary entropy in bits. The assumptions include μ=0\mu=0μ=0 and Q∈{0,1}Q\in\{0,1\}Q∈{0,1}; the conditional denominator displayed above is exactly 1/21/21/2.

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