Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

DPS 1PA conditional mixtures, removable phase and QBER

Open
QAlgorithms.Papers.Independent.Intake100.P92.dps_one_information

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\ge0μ≥0, let vσ,pσv_\sigma,p_\sigmavσ​,pσ​ be unit vectors, σ∈{+1,−1}\sigma\in\{+1,-1\}σ∈{+1,−1}, with ⟨v+,v−⟩=e−2μ\langle v_+,v_-\rangle=e^{-2\mu}⟨v+​,v−​⟩=e−2μ and Re⁡(⟨vσ,pσ⟩⟨pω,vω⟩)=V\operatorname{Re}(\langle v_\sigma,p_\sigma\rangle\langle p_\omega,v_\omega\rangle)=VRe(⟨vσ​,pσ​⟩⟨pω​,vω​⟩)=V for every sign pair. A common unit phase zzz exists such that ⟨vσ,pσ⟩=Vz\langle v_\sigma,p_\sigma\rangle=\sqrt Vz⟨vσ​,pσ​⟩=V​z, including V=0V=0V=0. Define ψσωb=σ(pσ⊗vω)+(−1)bω(vσ⊗pω)\psi_{\sigma\omega b}=\sigma(p_\sigma\otimes v_\omega)+(-1)^b\omega(v_\sigma\otimes p_\omega)ψσωb​=σ(pσ​⊗vω​)+(−1)bω(vσ​⊗pω​) and

ρa,b=18∑σPψσ,(−1)aσ,b,Tr⁡ρa,b={(1+V)/2,a=b,(1−V)/2,a≠b.\rho^{a,b}=\frac18\sum_\sigma P_{\psi_{\sigma,(-1)^a\sigma,b}},\qquad \operatorname{Tr}\rho^{a,b}=\begin{cases}(1+V)/2,&a=b,\\(1-V)/2,&a\ne b.\end{cases}ρa,b=81​σ∑​Pψσ,(−1)aσ,b​​,Trρa,b={(1+V)/2,(1−V)/2,​a=b,a=b.​

Alice’s marginal sums over bbb, Bob’s over aaa; all are normalized. Their actual binary Holevo quantities enter the signed expression μ[1−h((1−V)/2)−min⁡(χAE,χBE)]\mu[1-h((1-V)/2)-\min(\chi_{AE},\chi_{BE})]μ[1−h((1−V)/2)−min(χAE​,χBE​)], with Q=(1−V)/2Q=(1-V)/2Q=(1−V)/2. This records the source’s conditional-state calculation with the Bob dummy-index typo corrected.

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 E p.16, (E1)–(E4): common removable phase, correct subnormalized
traces, normalized Alice/Bob marginals and the resulting QBER. At V=0 no phase
is extracted by dividing an overlap by sqrt(V). The full actual conditional
ensembles, rather than their surrogate pure states, enter both Holevo quantities.

Source correction audited in round 1.
Printed: PDF p.16: rho_E^(B=b)=sum_b rho_E^(a,b), with b both the conditioning label and the summation dummy, and a unsummed.
Changed: Use rho_E^(B=b)=sum_a rho_E^(a,b). The local dps1B holds Bob b fixed and sums Alice a; all amplitudes, weights and remaining constraints are unchanged.
Why: The marginal conditioned on Bob must sum over Alice. The corresponding construction on PDF p.9 and the adjacent Alice marginal confirm the unique dummy-index repair.
-/
theorem dps_one_information {I : Type*} [Fintype I] [DecidableEq I]
    (A : OneData I) (mu V : ℝ) (hmu : 0 ≤ mu)
    (hV : V ∈ Set.Icc (0:ℝ) 1) (hA : DpsOneValid A mu V) :
    (∃ z : ℂ, ‖z‖ = 1 ∧ ∀ s,
      inner ℂ (A.v s) (A.p s) = (Real.sqrt V : ℂ)*z) ∧
    (∀ a b, weightedAncillaTrace (dps1Joint A a b) = (if a = b then (1+V)/2 else (1-V)/2)) ∧
    (∀ a, weightedAncillaTrace (dps1A A a) = 1 ∧ weightedAncillaTrace (dps1B A a) = 1) ∧
    dw mu ((1-V)/2) (binaryHolevoBits (dps1A A false) (dps1A A true))
      (binaryHolevoBits (dps1B A false) (dps1B A true)) =
      mu*(1-QAlgorithms.binEntropy2 ((1-V)/2) -
        min (binaryHolevoBits (dps1A A false) (dps1A A true))
          (binaryHolevoBits (dps1B A false) (dps1B A true))) := 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. 16, Appendix E.1a, (E1)–(E4): DPS 1PA conditional states and QBER
Read-back

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

Let III be any finite type with decidable equality, and let AAA consist of two families vs,ps∈CIv_s,p_s\in\mathbb C^Ivs​,ps​∈CI, indexed by bits s∈{0,1}s\in\{0,1\}s∈{0,1}. Let μ≥0\mu\ge0μ≥0 and 0≤V≤10\le V\le10≤V≤1. Assume that every vs,psv_s,p_svs​,ps​ has norm 111, that ⟨v0,v1⟩=e−2μ\langle v_0,v_1\rangle=e^{-2\mu}⟨v0​,v1​⟩=e−2μ, and that Re⁡(⟨vs,ps⟩⟨pw,vw⟩)=V\operatorname{Re}(\langle v_s,p_s\rangle\langle p_w,v_w\rangle)=VRe(⟨vs​,ps​⟩⟨pw​,vw​⟩)=V for every pair of bits s,ws,ws,w. Write ϵs=(−1)s\epsilon_s=(-1)^sϵs​=(−1)s, let ⊕\oplus⊕ denote exclusive-or, and define

F(s,w,b)=ϵs(ps⊗vw)+ϵbϵw(vs⊗pw),Ja,b(s)=F(s,s⊕a,b)8,F(s,w,b)=\epsilon_s(p_s\otimes v_w)+\epsilon_b\epsilon_w(v_s\otimes p_w),\qquad J_{a,b}(s)=\frac{F(s,s\oplus a,b)}{\sqrt8},F(s,w,b)=ϵs​(ps​⊗vw​)+ϵb​ϵw​(vs​⊗pw​),Ja,b​(s)=8​F(s,s⊕a,b)​, Xa(s,b)=F(s,s⊕a,b)8,Yb(s,a)=F(s,s⊕a,b)8,X_a(s,b)=\frac{F(s,s\oplus a,b)}{\sqrt8},\qquad Y_b(s,a)=\frac{F(s,s\oplus a,b)}{\sqrt8},Xa​(s,b)=8​F(s,s⊕a,b)​,Yb​(s,a)=8​F(s,s⊕a,b)​,

where (u⊗v)i,j=uivj(u\otimes v)_{i,j}=u_i v_j(u⊗v)i,j​=ui​vj​. For any finite vector family x=(xi)x=(x_i)x=(xi​), put T(x)=∑i∥xi∥2T(x)=\sum_i\|x_i\|^2T(x)=∑i​∥xi​∥2 and S(x)=∑j−λjlog⁡(λj)/log⁡2S(x)=\sum_j-\lambda_j\log(\lambda_j)/\log2S(x)=∑j​−λj​log(λj​)/log2, where λj\lambda_jλj​ are the eigenvalues, with multiplicity, of its Gram matrix (⟨xi,xj⟩)i,j(\langle x_i,x_j\rangle)_{i,j}(⟨xi​,xj​⟩)i,j​, and the contribution at λj=0\lambda_j=0λj​=0 is 000. Put χ(x,y)=S((xi/2)i,(yi/2)i)−S(x)/2−S(y)/2\chi(x,y)=S((x_i/\sqrt2)_i,(y_i/\sqrt2)_i)-S(x)/2-S(y)/2χ(x,y)=S((xi​/2​)i​,(yi​/2​)i​)−S(x)/2−S(y)/2, where the first entropy uses the concatenated family. Let H2H_2H2​ be binary entropy in bits and D(r,Q,cA,cB)=r(1−H2(Q)−min⁡(cA,cB))D(r,Q,c_A,c_B)=r(1-H_2(Q)-\min(c_A,c_B))D(r,Q,cA​,cB​)=r(1−H2​(Q)−min(cA​,cB​)). Then there exists z∈Cz\in\mathbb Cz∈C with ∣z∣=1|z|=1∣z∣=1 such that ⟨vs,ps⟩=V z\langle v_s,p_s\rangle=\sqrt V\,z⟨vs​,ps​⟩=V​z for every sss; for every a,ba,ba,b,

T(Ja,b)={(1+V)/2,a=b,$1−V)/2,a≠b;T(J_{a,b})= \begin{cases}(1+V)/2,&a=b,\$1-V)/2,&a\ne b;\end{cases}T(Ja,b​)={(1+V)/2,​a=b,$1−V)/2,​a=b;​

for every (a,, ,T(X_a)=T(Y_a)=1$; and

D ⁣(μ,1−V2,χ(X0,X1),χ(Y0,Y1))=μ ⁣(1−H2 ⁣(1−V2)−min⁡{χ(X0,X1),χ(Y0,Y1)}).D\!\left(\mu,\frac{1-V}{2},\chi(X_0,X_1),\chi(Y_0,Y_1)\right) =\mu\!\left(1-H_2\!\left(\frac{1-V}{2}\right) -\min\{\chi(X_0,X_1),\chi(Y_0,Y_1)\}\right).D(μ,21−V​,χ(X0​,X1​),χ(Y0​,Y1​))=μ(1−H2​(21−V​)−min{χ(X0​,X1​),χ(Y0​,Y1​)}).

The hypotheses include μ=0\mu=0μ=0 and V=0,1V=0,1V=0,1; if III is empty, the unit-norm hypotheses cannot hold.

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