Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Explicit feasible three-parameter COWm1 ancilla family

Open
QAlgorithms.Papers.Independent.Intake100.P92.cowm1_feasible_family

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

prove2quantum

Work in the source's normalized leading-order ancilla model for μt≪1\mu t\ll1μt≪1, retaining Bob's vacuum and single-photon sectors. Fix one repeated one-pulse or disjoint-pair strategy; the same ancilla data are used in each copy. All ancillary vectors are unit vectors, all stated vacuum overlaps are complex equalities, and every specified conditional visibility is tested separately and equals V∈[0,1]V\in[0,1]V∈[0,1]. The bit error parameter is Q∈[0,1]Q\in[0,1]Q∈[0,1] when independently applicable. Bits are uniform; Eve retains the public pairing flag and quantum memory. The signed one-way Devetak–Winter expression assumes ideal error correction and the source's per-slot apparatus prefactors. This is an exact statement about this normalized model, without a finite-loss realization or remainder assertion.

Let μ>0\mu>0μ>0, γ=e−μ\gamma=e^{-\mu}γ=e−μ, and let θ0,θ1,ϕ∈R\theta_0,\theta_1,\phi\in\mathbb Rθ0​,θ1​,ϕ∈R be arbitrary. Construct exactly the four-dimensional vacuum vectors (C2), perpendicular directions (C3),(C4), and photon vectors (C5)–(C10). Add the four independent unconstrained error flags in fresh coordinates. Every resulting vector is normalized, every vacuum overlap (B1),(C1) holds, and

⟨pμμ01,pμμ10⟩=V,⟨vx,pxmonitored⟩=V\langle p_{\mu\mu}^{01},p_{\mu\mu}^{10}\rangle=V,\qquad \langle v_x,p_x^{\rm monitored}\rangle=\sqrt V⟨pμμ01​,pμμ10​⟩=V,⟨vx​,pxmonitored​⟩=V​

for both correct key vectors and both decoy photon vectors. Hence all five visibility constraints hold. The four-dimensional assertion concerns the displayed participating vectors; the error flags occupy extra dimensions. This supplies a feasible three-parameter family for the COWm1 information calculation, without asserting numerical or global optimality.

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 C pp.13–14, (C2)–(C10): every three-angle choice constructs a
feasible four-dimensional participating family, with its stronger visibility
identities. Feasibility does not assert numerical or global optimality.

Source correction audited in round 1.
Printed: PDF p.14, Appendix C parenthetical, lists p_mumu^10 and p_mumu^01 among the vectors already chosen orthogonal to all other states.
Changed: Replace those two labels by p_00^10 and p_00^01 in the error-flag list. Keep the displayed C2-C10 participating vectors unchanged; flaggedPair supplies the four independent error directions.
Why: Section IV B on p.6 and (17),(18) identify the vacuum-input photon vectors as free. The decoy photon vectors are constrained by (B2) and constructed in (C6),(C9),(C10); the printed parenthetical contradicts this construction.
-/
theorem cowm1_feasible_family (mu V theta0 theta1 phi : ℝ) (hmu : 0 < mu)
    (hV : V ∈ Set.Icc (0:ℝ) 1) :
    CowValid (flaggedPair (cowm1Family mu V theta0 theta1 phi)) mu V true ∧
    (let A := cowm1Family mu V theta0 theta1 phi
     inner ℂ (A.p (true,true) true) (A.p (true,true) false) = (V : ℂ) ∧
     inner ℂ (A.v (false,true)) (A.p (false,true) true) = (Real.sqrt V : ℂ) ∧
     inner ℂ (A.v (true,false)) (A.p (true,false) false) = (Real.sqrt V : ℂ) ∧
     ∀ b, inner ℂ (A.v (true,true)) (A.p (true,true) b) = (Real.sqrt V : ℂ)) := 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. 14, Appendix C, (C2)–(C10): explicit three-parameter feasible COWm1 attack family
Read-back

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

For all real μ,V,θ0,θ1,ϕ\mu,V,\theta_0,\theta_1,\phiμ,V,θ0​,θ1​,ϕ with μ>0\mu>0μ>0 and 0≤V≤10\le V\le10≤V≤1, define vectors in C4\mathbb C^4C4 by

g=e−μ,a=1+g2,b=1−g2,u=2g1+g,z=1−g1+g,g=e^{-\mu},\quad a=\sqrt{\frac{1+g}{2}},\quad b=\sqrt{\frac{1-g}{2}},\quad u=\sqrt{\frac{2g}{1+g}},\quad z=\sqrt{\frac{1-g}{1+g}},g=e−μ,a=21+g​​,b=21−g​​,u=1+g2g​​,z=1+g1−g​​, v10=(a,b,0,0),v01=(a,−b,0,0),v00=(u,0,z,0),v11=(u,0,−gz,1−g),v_{10}=(a,b,0,0),\quad v_{01}=(a,-b,0,0),\quad v_{00}=(u,0,z,0),\quad v_{11}=(u,0,-gz,1-g),v10​=(a,b,0,0),v01​=(a,−b,0,0),v00​=(u,0,z,0),v11​=(u,0,−gz,1−g), d0=(b,−a,0,0),d1=(b,a,0,0),dD1=(0,0,1−g2,g),dD2=(z,0,gu,−2g1−g),d_0=(b,-a,0,0),\quad d_1=(b,a,0,0),\quad d_{D1}=(0,0,\sqrt{1-g^2},g),\quad d_{D2}=(z,0,gu,-\sqrt{2g}\sqrt{1-g}),d0​=(b,−a,0,0),d1​=(b,a,0,0),dD1​=(0,0,1−g2​,g),dD2​=(z,0,gu,−2g​1−g​), w10,s=cos⁡θ0 d0+sin⁡θ0cos⁡θ1 e2+sin⁡θ0sin⁡θ1 e3,w01,s=cos⁡θ0 d1+sin⁡θ0cos⁡θ1 e2+sin⁡θ0sin⁡θ1 e3,w_{10,s}=\cos\theta_0\,d_0+\sin\theta_0\cos\theta_1\,e_2 +\sin\theta_0\sin\theta_1\,e_3,\qquad w_{01,s}=\cos\theta_0\,d_1+\sin\theta_0\cos\theta_1\,e_2 +\sin\theta_0\sin\theta_1\,e_3,w10,s​=cosθ0​d0​+sinθ0​cosθ1​e2​+sinθ0​sinθ1​e3​,w01,s​=cosθ0​d1​+sinθ0​cosθ1​e2​+sinθ0​sinθ1​e3​, wx,s=cos⁡ϕ dD1+sin⁡ϕ dD22+2s−12e1(x=00,11).w_{x,s}=\frac{\cos\phi\,d_{D1}+\sin\phi\,d_{D2}}{\sqrt2} +\frac{2s-1}{\sqrt2}e_1\quad(x=00,11).wx,s​=2​cosϕdD1​+sinϕdD2​​+2​2s−1​e1​(x=00,11).

Here Boolean values are written 0,10,10,1, and eje_jej​ are standard basis vectors. Set px,s=e0p_{x,s}=e_0px,s​=e0​ if slot sss selects a zero bit of xxx, and px,s=V vx−1−V wx,sp_{x,s}=\sqrt V\,v_x-\sqrt{1-V}\,w_{x,s}px,s​=V​vx​−1−V​wx,s​ otherwise. In C4⊕C4\mathbb C^4\oplus\mathbb C^4C4⊕C4, set v~x=(vx,0)\widetilde v_x=(v_x,0)vx​=(vx​,0), retain p~x,s=(px,s,0)\widetilde p_{x,s}=(p_{x,s},0)p​x,s​=(px,s​,0) at slots selecting a one bit, and replace the other four values by

p~00,0=(0,e0),p~00,1=(0,e1),p~10,1=(0,e2),p~01,0=(0,e3).\widetilde p_{00,0}=(0,e_0),\quad \widetilde p_{00,1}=(0,e_1),\quad \widetilde p_{10,1}=(0,e_2),\quad \widetilde p_{01,0}=(0,e_3).p​00,0​=(0,e0​),p​00,1​=(0,e1​),p​10,1​=(0,e2​),p​01,0​=(0,e3​).

Then every v~x,p~x,s\widetilde v_x,\widetilde p_{x,s}vx​,p​x,s​ has norm 111, and for all Boolean pairs x,yx,yx,y, including 000000,

⟨v~x,v~y⟩=e−μd(x,y)/2,\langle\widetilde v_x,\widetilde v_y\rangle=e^{-\mu d(x,y)/2},⟨vx​,vy​⟩=e−μd(x,y)/2,

where d(x,y)d(x,y)d(x,y) counts differing bits. Also,

Re⁡⟨p~11,1,p~11,0⟩=V,Re⁡ ⁣(⟨v~ℓ1,p~ℓ1,1⟩⟨p~1r,0,v~1r⟩)=V(ℓ,r∈{0,1}).\operatorname{Re}\langle\widetilde p_{11,1},\widetilde p_{11,0}\rangle=V,\qquad \operatorname{Re}\!\left( \langle\widetilde v_{\ell1},\widetilde p_{\ell1,1}\rangle \langle\widetilde p_{1r,0},\widetilde v_{1r}\rangle \right)=V \quad(\ell,r\in\{0,1\}).Re⟨p​11,1​,p​11,0​⟩=V,Re(⟨vℓ1​,p​ℓ1,1​⟩⟨p​1r,0​,v1r​⟩)=V(ℓ,r∈{0,1}).

For the original vectors in C4\mathbb C^4C4, the additional exact complex equalities are

⟨p11,1,p11,0⟩=V,⟨v01,p01,1⟩=V,⟨v10,p10,0⟩=V,⟨v11,p11,s⟩=V(s∈{0,1}).\langle p_{11,1},p_{11,0}\rangle=V,\qquad \langle v_{01},p_{01,1}\rangle=\sqrt V,\qquad \langle v_{10},p_{10,0}\rangle=\sqrt V,\qquad \langle v_{11},p_{11,s}\rangle=\sqrt V\quad(s\in\{0,1\}).⟨p11,1​,p11,0​⟩=V,⟨v01​,p01,1​⟩=V​,⟨v10​,p10,0​⟩=V​,⟨v11​,p11,s​⟩=V​(s∈{0,1}).

There are no restrictions on the three angles, and V=0,1V=0,1V=0,1 are included.

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