Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ideal sifting coefficients for COW pairing and announcement variants

Proved
QAlgorithms.Papers.Independent.Intake100.P92.ideal_sifting_variants

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

prove2quantum

In Appendix A’s no-Eve, no-dark-count, long-distance model with mean nonempty intensity μ≥0\mu\ge0μ≥0 and balanced pulse occupancy, ideal sifted bits are uniform and perfectly correlated. Hence their mutual information is one bit. Original COW with negligible decoys, COWm1 with negligible unused pulses, and COWm2 with valid Alice-defined pairs have coefficient μ/2\mu/2μ/2 per tηt\etatη. For a completely random balanced train paired consecutively a posteriori, mixed pairs occur with probability one half; Bob’s specified pairing model has the same acceptance fraction. Thus

rs/(tη)=μ/2for valid Alice-defined pairs,rs/(tη)=μ/4for the random/Bob variants.r_s/(t\eta)=\mu/2\quad\text{for valid Alice-defined pairs},\qquad r_s/(t\eta)=\mu/4\quad\text{for the random/Bob variants}.rs​/(tη)=μ/2for valid Alice-defined pairs,rs​/(tη)=μ/4for the random/Bob variants.

For on/off click announcements, let qqq be the nonempty fraction, xxx the first-order nonempty click probability, and 0≤f0≤1−qx0\le f_0\le1-qx0≤f0​≤1−qx the unconditional additional selected nonclick fraction. Assuming qx<1qx<1qx<1, keep every click and select a fraction f0/(1−qx)f_0/(1-qx)f0​/(1−qx) of nonclick slots. The resulting sifted mass is qx+f0qx+f_0qx+f0​. These are ideal information/sifting calculations, not security guarantees or an optimization of practical error correction.

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)

/-- Appendix A pp.11–12: ideal sifting coefficients (times t eta) of the five
pairing variants, with one bit per sifted detection. Longer dit encodings and
practical error-correction optimization are proposals, outside this result. -/
theorem ideal_sifting_variants (mu : ℝ) (hmu : 0 ≤ mu) :
    QAlgorithms.mutualInfoBits idealBitLaw = 1 ∧
    idealSiftingCoefficient 0 mu = mu/2 ∧
    idealSiftingCoefficient 1 mu = mu/2 ∧
    idealSiftingCoefficient 2 mu = mu/2 ∧
    idealSiftingCoefficient 3 mu = mu/4 ∧
    idealSiftingCoefficient 4 mu = mu/4 ∧
    (∀ (q x f0 : ℝ), q ∈ Set.Icc (0:ℝ) 1 → x ∈ Set.Icc (0:ℝ) 1 →
      q*x < 1 → f0 ∈ Set.Icc (0:ℝ) (1-q*x) →
      (∑ ab, announcedLaw q x f0 ab) = q*x+f0) := 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. 11, Appendix A, unnumbered: ideal sifting rates of COW variants
Read-back

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

For every real μ≥0\mu\ge0μ≥0, let Pab=1/2P_{ab}=1/2Pab​=1/2 when the Boolean values a,ba,ba,b agree and Pab=0P_{ab}=0Pab​=0 otherwise, and define

I(P)=∑a,b∈{0,1}Pablog⁡2 ⁣Pab(∑b′Pab′)(∑a′Pa′b),Si(μ)={μ/2,i<3,μ2∑a≠b14,i≥3.I(P)=\sum_{a,b\in\{0,1\}}P_{ab}\log_2\!\frac{P_{ab}}{(\sum_{b'}P_{ab'})(\sum_{a'}P_{a'b})}, \qquad S_i(\mu)= \begin{cases} \mu/2,&i<3,\\ \displaystyle\frac{\mu}{2}\sum_{a\ne b}\frac14,&i\ge3. \end{cases}I(P)=a,b∈{0,1}∑​Pab​log2​(∑b′​Pab′​)(∑a′​Pa′b​)Pab​​,Si​(μ)=⎩⎨⎧​μ/2,2μ​a=b∑​41​,​i<3,i≥3.​

The assertion is

I(P)=1,S0(μ)=S1(μ)=S2(μ)=μ/2,S3(μ)=S4(μ)=μ/4,I(P)=1,\qquad S_0(\mu)=S_1(\mu)=S_2(\mu)=\mu/2,\qquad S_3(\mu)=S_4(\mu)=\mu/4,I(P)=1,S0​(μ)=S1​(μ)=S2​(μ)=μ/2,S3​(μ)=S4​(μ)=μ/4,

together with the following statement: for every real q,x,f0q,x,f_0q,x,f0​ satisfying 0≤q≤10\le q\le10≤q≤1, 0≤x≤10\le x\le10≤x≤1, qx<1qx<1qx<1, and 0≤f0≤1−qx0\le f_0\le1-qx0≤f0​≤1−qx, the four entries of

A=((1−q)f01−qx0q(1−x)f01−qxqx)A= \begin{pmatrix} \displaystyle(1-q)\frac{f_0}{1-qx}&0\\[4pt] \displaystyle q(1-x)\frac{f_0}{1-qx}&qx \end{pmatrix}A=​(1−q)1−qxf0​​q(1−x)1−qxf0​​​0qx​​

sum to qx+f0qx+f_0qx+f0​. The case μ=0\mu=0μ=0 and the allowed boundary values of q,x,f0q,x,f_0q,x,f0​ are included; the strict condition qx<1qx<1qx<1 makes the displayed denominator positive. In I(P)I(P)I(P), zero terms use the total conventions log⁡0=0\log0=0log0=0 and division by zero equal to zero.

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