Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Comparison with any product of matching individually optimal attacks

Open
QAlgorithms.Papers.Independent.Intakethird100.P18.coherentAttack_le_product_of_individual_optima

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Fix n≥1n\ge1n≥1 independent signals in a local prepare-and-measure protocol as above: normalized states, protocol-prescribed independent local choices, separate normalized Bob POVMs, local sifting of positive probability, correct ideal retained decoding, and publicly announced settings without secret symbols. All channel errors are included in Bob's expected disturbance. Eve's attack CCC has any normalized ancilla, a fixed input-independent joint unitary, and any delayed POVM chosen using only public announcements.

For each signal iii, suppose O0(i)O_0(i)O0​(i) is any physical single-signal attack that is optimal among all such attacks at the exact expected disturbance Di(C)D_i(C)Di​(C). Let On=⨂i=1nO0(i)O_n=\bigotimes_{i=1}^n O_0(i)On​=⨂i=1n​O0​(i), with both independent probes and factorized interactions and measurements. Then

I(C)≤I(On),I(C)\le I(O_n),I(C)≤I(On​),

where I=H(X∣B)−H(X∣B,Y)I=H(X\mid B)-H(X\mid B,Y)I=H(X∣B)−H(X∣B,Y) is the total classical Shannon information about the whole raw string after Eve's measurement, in bits, averaged over actual public configurations and outcomes.

This lemma compares every attack with every matching optimal family; it does not assert that such optimizers exist. The helper labels disclosed in the proof's Game G are not included in the original attack's public data. The statement concerns expected raw-key errors without test acceptance, error correction, privacy amplification, or a final-key security claim.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P18
Formal statement
noncomputable section

open MeasureTheory

open scoped BigOperators

namespace QAlgorithms.Papers.Independent.Intakethird100.P18

/-- PDF p.4, separately named Lemma, with proof context on pp.5–6:
every coherent attack is dominated by the product of any individually optimal
single-signal attacks at its matching local disturbances. Optimizer existence
is not assumed as an ambient axiom and is not asserted by this lemma.
The extra labels revealed in Game G are not public data in the original attack. -/
theorem coherentAttack_le_product_of_individual_optima
    (n : ℕ) (hn : 1 ≤ n) (P : Fin n → LocalProtocol)
    (C : Attack P) (A : ProductAttack P)
    (hA : ∀ i, OptimalAt (P i) (qkdDisturbance C i) (A i)) :
    qkdInformation C ≤ productInformation A := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P18

end
Source
On the role of coherent attacks in a type of strategic problem related to quantum key distribution, arXiv:quant-ph/0110089v6, PDF p. 4, Lemma (unnumbered), with context pp.5–6
Read-back

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

For every natural number n≥1n\ge1n≥1, every family P=(Pi)i<nP=(P_i)_{i<n}P=(Pi​)i<n​ of local protocols, every joint attack CCC on that family, and every tuple A=(Ai)i<nA=(A_i)_{i<n}A=(Ai​)i<n​ of single-site attacks satisfying the optimality condition below, the information of CCC is at most the information of the product outcome laws of AAA. Each local protocol consists of positive finite raw, preparation, Bob-choice, public, and signal index sets Xi,Si,Bi,Ci,ZiX_i,S_i,B_i,C_i,Z_iXi​,Si​,Bi​,Ci​,Zi​; nonnegative weights ri,pi,qir_i,p_i,q_iri​,pi​,qi​, each summing to 111 on its respective set; unit vectors ψx,ai∈CZi\psi^i_{x,a}\in\mathbb C^{Z_i}ψx,ai​∈CZi​; positive semidefinite matrices Mb,xiM^i_{b,x}Mb,xi​ with ∑xMb,xi=I\sum_xM^i_{b,x}=I∑x​Mb,xi​=I; retention and announcement functions ki(a,b)k_i(a,b)ki​(a,b) and ci(a,b)c_i(a,b)ci​(a,b); and positive retained mass si=∑a,b:ki(a,b)=truepi(a)qi(b)s_i=\sum_{a,b:k_i(a,b)=\mathrm{true}}p_i(a)q_i(b)si​=∑a,b:ki​(a,b)=true​pi​(a)qi​(b). It requires Re⁡tr⁡(Mb,xiψx,ai(ψx,ai)∗)=1\operatorname{Re}\operatorname{tr}(M^i_{b,x}\psi^i_{x,a}(\psi^i_{x,a})^*)=1Retr(Mb,xi​ψx,ai​(ψx,ai​)∗)=1 whenever (a,b)(a,b)(a,b) is retained. Give ℓi=(xi,ai,bi)\ell_i=(x_i,a_i,b_i)ℓi​=(xi​,ai​,bi​) weight wi(ℓi)=ri(xi)pi(ai)qi(bi)/siw_i(\ell_i)=r_i(x_i)p_i(a_i)q_i(b_i)/s_iwi​(ℓi​)=ri​(xi​)pi​(ai​)qi​(bi​)/si​ when retained and 000 otherwise, and put W(ℓ)=∏iwi(ℓi)W(\ell)=\prod_iw_i(\ell_i)W(ℓ)=∏i​wi​(ℓi​), x(ℓ)=(xi)ix(\ell)=(x_i)_ix(ℓ)=(xi​)i​, and c(ℓ)=(ci(ai,bi))ic(\ell)=(c_i(a_i,b_i))_ic(ℓ)=(ci​(ai​,bi​))i​. An attack on any such family has a complete complex inner-product ancilla space EEE, a unit vector eee, a complex-linear isometric equivalence UUU of the Euclidean space of EEE-valued functions on the joint signal set Z=∏iZiZ=\prod_iZ_iZ=∏i​Zi​, an arbitrary measurable outcome space OOO, and a measurement for each public string ccc. Each measurement gives continuous complex-linear operators Fc(D)F_c(D)Fc​(D) for measurable sets DDD, with real nonnegative quadratic forms and Fc(O)=IF_c(O)=IFc​(O)=I, and measures λc,v\lambda_{c,v}λc,v​ satisfying λc,v(D)=max⁡{Re⁡⟨v,Fc(D)v⟩,0}\lambda_{c,v}(D)=\max\{\operatorname{Re}\langle v,F_c(D)v\rangle,0\}λc,v​(D)=max{Re⟨v,Fc​(D)v⟩,0}. For an attack BBB, set ΦℓB=U(z↦(∏iψxi,aii(zi))e)\Phi^B_\ell=U(z\mapsto(\prod_i\psi^i_{x_i,a_i}(z_i))e)ΦℓB​=U(z↦(∏i​ψxi​,ai​i​(zi​))e), μℓ,cB=∑zλc,ΦℓB(z)\mu^B_{\ell,c}=\sum_z\lambda_{c,\Phi^B_\ell(z)}μℓ,cB​=∑z​λc,ΦℓB​(z)​, and

Δi(B)=∑ℓW(ℓ)[1−Re⁡∑z,w∈Zzj=wj for every j≠iMbi,xii(zi,wi)⟨ΦℓB(z),ΦℓB(w)⟩].\Delta_i(B)=\sum_\ell W(\ell)\left[ 1-\operatorname{Re} \sum_{\substack{z,w\in Z\\z_j=w_j\ \text{for every }j\ne i}} M^i_{b_i,x_i}(z_i,w_i) \langle\Phi^B_\ell(z),\Phi^B_\ell(w)\rangle \right].Δi​(B)=ℓ∑​W(ℓ)​1−Rez,w∈Zzj​=wj​ for every j=i​∑​Mbi​,xi​i​(zi​,wi​)⟨ΦℓB​(z),ΦℓB​(w)⟩​.

For any laws μℓ,c\mu_{\ell,c}μℓ,c​, put πc,x=∑ℓ:c(ℓ)=c, x(ℓ)=xW(ℓ)\pi_{c,x}=\sum_{\ell:c(\ell)=c,\ x(\ell)=x}W(\ell)πc,x​=∑ℓ:c(ℓ)=c, x(ℓ)=x​W(ℓ), pc=∑xπc,xp_c=\sum_x\pi_{c,x}pc​=∑x​πc,x​, νc,x=∑ℓ:c(ℓ)=c, x(ℓ)=xW(ℓ)μℓ,c\nu_{c,x}=\sum_{\ell:c(\ell)=c,\ x(\ell)=x}W(\ell)\mu_{\ell,c}νc,x​=∑ℓ:c(ℓ)=c, x(ℓ)=x​W(ℓ)μℓ,c​, and νc=∑xνc,x\nu_c=\sum_x\nu_{c,x}νc​=∑x​νc,x​; let hc,y(x)h_{c,y}(x)hc,y​(x) be the real value of (dνc,x/dνc)(y)(d\nu_{c,x}/d\nu_c)(y)(dνc,x​/dνc​)(y), and let H(t)=−∑xt(x)log⁡(t(x))/log⁡2H(t)=-\sum_xt(x)\log(t(x))/\log2H(t)=−∑x​t(x)log(t(x))/log2. Define

J(μ)=∑c[pcH ⁣(x↦πc,xpc)−∫H(hc,y) dνc(y)].J(\mu)=\sum_c\left[ p_cH\!\left(x\mapsto\frac{\pi_{c,x}}{p_c}\right) -\int H(h_{c,y})\,d\nu_c(y) \right].J(μ)=c∑​[pc​H(x↦pc​πc,x​​)−∫H(hc,y​)dνc​(y)].

The information of an attack BBB is I(B)=J(μB)I(B)=J(\mu^B)I(B)=J(μB); these definitions also apply to a single-site attack by using the one-element family containing its protocol, yielding a scalar disturbance Δ(B)\Delta(B)Δ(B). Zero public masses are included, division by zero and log⁡0\log0log0 evaluate to 000, infinite Radon–Nikodym derivatives convert to 000, and a nonintegrable real integrand has integral 000. The hypothesis on AAA is that, for every i<ni<ni<n, Δ(Ai)=Δi(C)\Delta(A_i)=\Delta_i(C)Δ(Ai​)=Δi​(C) and every single-site attack BBB on PiP_iPi​ with Δ(B)=Δi(C)\Delta(B)=\Delta_i(C)Δ(B)=Δi​(C) satisfies I(B)≤I(Ai)I(B)\le I(A_i)I(B)≤I(Ai​). The conclusion is exactly

I(C)≤J(μA),μℓ,cA=⨂i<nμℓi,ciAi,I(C)\le J(\mu^A), \qquad \mu^A_{\ell,c}=\bigotimes_{i<n}\mu^{A_i}_{\ell_i,c_i},I(C)≤J(μA),μℓ,cA​=i<n⨂​μℓi​,ci​Ai​​,

where the right-hand side is the defined product information.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me