Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Attained COWm2 overlap minimum in both visibility regimes

Open
QAlgorithms.Papers.Independent.Intake100.P92.cowm2_overlap_optimum

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.

For μ>0\mu>0μ>0, minimize ∣⟨v0,pμ⟩∣|\langle v_0,p_\mu\rangle|∣⟨v0​,pμ​⟩∣ over unit vectors obeying ⟨v0,vμ⟩=e−μ/2\langle v_0,v_\mu\rangle=e^{-\mu/2}⟨v0​,vμ​⟩=e−μ/2 and ∣⟨vμ,pμ⟩∣2=V|\langle v_\mu,p_\mu\rangle|^2=V∣⟨vμ​,pμ​⟩∣2=V. The universal lower bound is attained by the constructed (D3) family:

m=max⁡{0,e−μ/2V−1−e−μ1−V}.m=\max\{0,e^{-\mu/2}\sqrt V-\sqrt{1-e^{-\mu}}\sqrt{1-V}\}.m=max{0,e−μ/2V​−1−e−μ​1−V​}.

For e−μ>1−Ve^{-\mu}>1-Ve−μ>1−V this is the positive (D4) expression, attained with zero angles. Otherwise a zero-overlap witness exists. Its error flag is in a fresh direction, and the constructed Alice and Bob leakages equal L=Q+(1−Q)h((1+m2)/2)L=Q+(1-Q)h((1+m^2)/2)L=Q+(1−Q)h((1+m2)/2), giving r0=μ2[1−h(Q)−L]r_0=\frac\mu2[1-h(Q)-L]r0​=2μ​[1−h(Q)−L]. A positive coefficient requires e−μ>1−Ve^{-\mu}>1-Ve−μ>1−V. Endpoint witnesses avoid dividing by VVV or 1−V1-V1−V. This is the one-pulse optimum and retains the squared two-pulse overlap.

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 D pp.14–15, (D1)–(D4): the exact overlap minimum in both regimes,
attained by a normalized feasible family. The COWm2 Holevo formula uses the
square of this overlap; positivity requires exp(-mu)>1-V in this attack model. -/
theorem cowm2_overlap_optimum (mu V : ℝ) (hmu : 0 < mu)
    (hV : V ∈ Set.Icc (0:ℝ) 1) :
    CowOneValid (cowm2Optimum mu V) mu V ∧
    cowm2Minimum mu V = max 0 (Real.exp (-mu/2)*Real.sqrt V -
      Real.sqrt (1-Real.exp (-mu))*Real.sqrt (1-V)) ∧
    ‖inner ℂ ((cowm2Optimum mu V).v false) ((cowm2Optimum mu V).p true)‖ =
      cowm2Minimum mu V ∧
    (∀ (I : Type*) [Fintype I] (A : OneData I), CowOneValid A mu V →
      cowm2Minimum mu V ≤ ‖inner ℂ (A.v false) (A.p true)‖) ∧
    (∀ Q ∈ Set.Icc (0:ℝ) 1,
      let L := Q+(1-Q)*QAlgorithms.binEntropy2 ((1+(cowm2Minimum mu V)^2)/2)
      binaryHolevoBits (cowA (oneToPair (cowm2Optimum mu V)) Q false)
        (cowA (oneToPair (cowm2Optimum mu V)) Q true) = L ∧
      binaryHolevoBits (cowB (oneToPair (cowm2Optimum mu V)) Q false)
        (cowB (oneToPair (cowm2Optimum mu V)) Q true) = L ∧
      dw (mu/2) Q L L = mu/2*(1-QAlgorithms.binEntropy2 Q-L) ∧
      (0 < dw (mu/2) Q L L → 1-V < Real.exp (-mu))) := 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 D, (D1)–(D4): analytic COWm2 overlap minimum in both regimes
Read-back

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

For every μ>0\mu>0μ>0 and V∈[0,1]V\in[0,1]V∈[0,1], put s=e−μs=e^{-\mu}s=e−μ, let c=0c=0c=0 if V=0V=0V=0, let c=sV/((1−s)(1−V))c=\sqrt{sV/((1-s)(1-V))}c=sV/((1−s)(1−V))​ if V≠0V\ne0V=0 and s≤1−Vs\le1-Vs≤1−V, and let c=1c=1c=1 otherwise; define

v1=e0,v0=(e−μ/2,1−s,0,0),p0=e3,p1=(V,−1−V c,1−V1−c2,0)v_1=e_0,\quad v_0=(e^{-\mu/2},\sqrt{1-s},0,0),\quad p_0=e_3,\quad p_1=(\sqrt V,-\sqrt{1-V}\,c,\sqrt{1-V}\sqrt{1-c^2},0)v1​=e0​,v0​=(e−μ/2,1−s​,0,0),p0​=e3​,p1​=(V​,−1−V​c,1−V​1−c2​,0)

in C4\mathbb C^4C4, with Boolean indices 0,10,10,1. Define m=0m=0m=0 when s≤1−Vs\le1-Vs≤1−V, and m=e−μ/2V−1−s1−Vm=e^{-\mu/2}\sqrt V-\sqrt{1-s}\sqrt{1-V}m=e−μ/2V​−1−s​1−V​ otherwise. Then

∥vj∥=∥pj∥=1(j=0,1),⟨v0,v1⟩=e−μ/2,∣⟨v1,p1⟩∣2=V,\|v_j\|=\|p_j\|=1\quad(j=0,1),\qquad \langle v_0,v_1\rangle=e^{-\mu/2},\qquad |\langle v_1,p_1\rangle|^2=V,∥vj​∥=∥pj​∥=1(j=0,1),⟨v0​,v1​⟩=e−μ/2,∣⟨v1​,p1​⟩∣2=V, m=max⁡{0,e−μ/2V−1−s1−V},∣⟨v0,p1⟩∣=m.m=\max\{0,e^{-\mu/2}\sqrt V-\sqrt{1-s}\sqrt{1-V}\}, \qquad |\langle v_0,p_1\rangle|=m.m=max{0,e−μ/2V​−1−s​1−V​},∣⟨v0​,p1​⟩∣=m.

Moreover, for every finite index type III and every pair of families v′,p′:{0,1}→CIv',p':\{0,1\}\to\mathbb C^Iv′,p′:{0,1}→CI satisfying

∥vj′∥=∥pj′∥=1,⟨v0′,v1′⟩=e−μ/2,∣⟨v1′,p1′⟩∣2=V,\|v'_j\|=\|p'_j\|=1,\qquad \langle v'_0,v'_1\rangle=e^{-\mu/2},\qquad |\langle v'_1,p'_1\rangle|^2=V,∥vj′​∥=∥pj′​∥=1,⟨v0′​,v1′​⟩=e−μ/2,∣⟨v1′​,p1′​⟩∣2=V,

one has m≤∣⟨v0′,p1′⟩∣m\le|\langle v'_0,p'_1\rangle|m≤∣⟨v0′​,p1′​⟩∣; this quantification includes empty III, for which the unit-norm assumptions cannot hold. For the remaining conclusions, form pair vectors

P(x,y),0=px⊗vy,P(x,y),1=vx⊗py,P_{(x,y),0}=p_x\otimes v_y,\qquad P_{(x,y),1}=v_x\otimes p_y,P(x,y),0​=px​⊗vy​,P(x,y),1​=vx​⊗py​,

where (u⊗v)i,j=uivj(u\otimes v)_{i,j}=u_i v_j(u⊗v)i,j​=ui​vj​, and, for each Q∈[0,1]Q\in[0,1]Q∈[0,1], define

Aa(b)={1−Qa=bQa≠b P(1−a,a),b,Bb(a)={1−Qa=bQa≠b P(1−a,a),b.A_a(b)=\sqrt{\begin{cases}1-Q&a=b\\Q&a\ne b\end{cases}}\,P_{(1-a,a),b}, \qquad B_b(a)=\sqrt{\begin{cases}1-Q&a=b\\Q&a\ne b\end{cases}}\,P_{(1-a,a),b}.Aa​(b)={1−QQ​a=ba=b​​P(1−a,a),b​,Bb​(a)={1−QQ​a=ba=b​​P(1−a,a),b​.

For a finite vector family xxx, let H(x)=∑λ−λlog⁡2λH(x)=\sum_\lambda-\lambda\log_2\lambdaH(x)=∑λ​−λlog2​λ, where λ\lambdaλ ranges over the eigenvalues of the Gram matrix (⟨xi,xj⟩)i,j(\langle x_i,x_j\rangle)_{i,j}(⟨xi​,xj​⟩)i,j​, and set

χ(x,y)=H((xi/2)i,(yi/2)i)−12H(x)−12H(y).\chi(x,y)=H\bigl((x_i/\sqrt2)_i,(y_i/\sqrt2)_i\bigr)-\tfrac12H(x)-\tfrac12H(y).χ(x,y)=H((xi​/2​)i​,(yi​/2​)i​)−21​H(x)−21​H(y).

Writing h2(q)=[−qlog⁡q−(1−q)log⁡(1−q)]/log⁡2h_2(q)=[-q\log q-(1-q)\log(1-q)]/\log2h2​(q)=[−qlogq−(1−q)log(1−q)]/log2, with 0log⁡0=00\log0=00log0=0, and

L=Q+(1−Q)h2 ⁣(1+m22),L=Q+(1-Q)h_2\!\left(\frac{1+m^2}{2}\right),L=Q+(1−Q)h2​(21+m2​),

the assertion is

χ(A0,A1)=L,χ(B0,B1)=L,\chi(A_0,A_1)=L,\qquad \chi(B_0,B_1)=L,χ(A0​,A1​)=L,χ(B0​,B1​)=L, D:=μ2(1−h2(Q)−min⁡{L,L})=μ2(1−h2(Q)−L),D>0 ⟹ 1−V<e−μ.D:=\frac{\mu}{2}\bigl(1-h_2(Q)-\min\{L,L\}\bigr) =\frac{\mu}{2}\bigl(1-h_2(Q)-L\bigr), \qquad D>0\ \Longrightarrow\ 1-V<e^{-\mu}.D:=2μ​(1−h2​(Q)−min{L,L})=2μ​(1−h2​(Q)−L),D>0 ⟹ 1−V<e−μ.

Both endpoints of the intervals for VVV and QQQ 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