Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Symmetric Bell-type decomposition after bilateral randomization

Open
QAlgorithms.Papers.Independent.Intake100.P90.symmetricBellType_decomposition

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

prove2quantum

Let ρ\rhoρ be any normalized state of nnn Alice--Bob qubit pairs, including a state produced by a coherent attack. Independently on each pair, apply the uniform bilateral Pauli randomization D2\mathcal D_2D2​, and then average over all simultaneous pair permutations PS\mathcal P_SPS​. Use the Bell order Φ1=(00+11)/2\Phi_1=(00+11)/\sqrt2Φ1​=(00+11)/2​, Φ2=(00−11)/2\Phi_2=(00-11)/\sqrt2Φ2​=(00−11)/2​, Φ3=(10+01)/2\Phi_3=(10+01)/\sqrt2Φ3​=(10+01)/2​, Φ4=(10−01)/2\Phi_4=(10-01)/\sqrt2Φ4​=(10−01)/2​, with kets understood. For each type t=(n1,n2,n3,n4)t=(n_1,n_2,n_3,n_4)t=(n1​,n2​,n3​,n4​) of nonnegative integers summing to nnn, define λt\lambda_tλt​ by summing the actual Bell-product measurement probabilities of ρ\rhoρ over all words of that type. These constructed coefficients are nonnegative and sum to one, and

PS(D2⊗n(ρ))=∑n1+⋯+n4=nλt PS(PΦ1⊗n1⊗PΦ2⊗n2⊗PΦ3⊗n3⊗PΦ4⊗n4).\mathcal P_S(\mathcal D_2^{\otimes n}(\rho))=\sum_{n_1+\cdots+n_4=n}\lambda_t\,\mathcal P_S(P_{\Phi_1}^{\otimes n_1}\otimes P_{\Phi_2}^{\otimes n_2}\otimes P_{\Phi_3}^{\otimes n_3}\otimes P_{\Phi_4}^{\otimes n_4}).PS​(D2⊗n​(ρ))=n1​+⋯+n4​=n∑​λt​PS​(PΦ1​⊗n1​​⊗PΦ2​⊗n2​​⊗PΦ3​⊗n3​​⊗PΦ4​⊗n4​​).

The output is a normalized density matrix and a convex mixture of tensor products of normalized pair states. This is separability across distinct ABABAB pair blocks, not between Alice and Bob. It imposes no condition on subsequent classical postprocessing and therefore applies also when that processing is two-way.

Formalization Note Both randomizations are uniform averages. The source's displayed D2\mathcal D_2D2​ omits its 1/41/41/4 normalization. Occupation numbers are bounded naturals with an exact sum constraint, without truncated subtraction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P90
Formal statement
noncomputable section

open scoped ComplexConjugate ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Intake100.P90

/-- PDF p.2, Eq.(1), with the normalized D2 and P_S averages. Any normalized
n-pair state yields the displayed type mixture and is separable across pair
blocks after independent bilateral twirling and common permutation. The input
can arise from arbitrary coherent attacks and arbitrary protocol filters;
no restriction on later (one-way or two-way) CPP is made. -/
theorem symmetricBellType_decomposition (n : ℕ)
    (rho : Matrix (Fin n → (Bool × Bool)) (Fin n → (Bool × Bool)) ℂ)
    (hrho : IsDensityMatrix rho) :
    (∀ t : BellType n, 0 ≤ bellTypeWeight rho t) ∧
    (∑ t : BellType n, bellTypeWeight rho t) = 1 ∧
    pairSymmetrize (independentPairTwirl rho) =
      ∑ t : BellType n, (bellTypeWeight rho t : ℂ) •
        pairSymmetrize (pureDensity (bellWord (sortedBellWord t))) ∧
    IsDensityMatrix (pairSymmetrize (independentPairTwirl rho)) ∧
    IsPairBlockSeparable (pairSymmetrize (independentPairTwirl rho)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P90

end
Source
Lower and upper bounds on the secret key rate for QKD protocols using one--way classical communication, arXiv:quant-ph/0410215v2, PDF p. 2, Eq. (1): symmetric mixture of Bell-type product projectors
Read-back

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

For every natural number nnn, including 000, let ρ\rhoρ be a positive semidefinite complex matrix of trace 111 indexed by configurations x:{0,…,n−1}→{0,1}2x:\{0,\ldots,n-1\}\to\{0,1\}^2x:{0,…,n−1}→{0,1}2, where 0,10,10,1 denote false and true. Set β0=(∣00⟩+∣11⟩)/2\beta_0=(|00\rangle+|11\rangle)/\sqrt2β0​=(∣00⟩+∣11⟩)/2​, β1=(∣00⟩−∣11⟩)/2\beta_1=(|00\rangle-|11\rangle)/\sqrt2β1​=(∣00⟩−∣11⟩)/2​, β2=(∣01⟩+∣10⟩)/2\beta_2=(|01\rangle+|10\rangle)/\sqrt2β2​=(∣01⟩+∣10⟩)/2​, and β3=(∣10⟩−∣01⟩)/2\beta_3=(|10\rangle-|01\rangle)/\sqrt2β3​=(∣10⟩−∣01⟩)/2​, with ∣ab⟩|ab\rangle∣ab⟩ the coordinate vector at (a,b)(a,b)(a,b). For a word w:{0,…,n−1}→{0,1,2,3}w:\{0,\ldots,n-1\}\to\{0,1,2,3\}w:{0,…,n−1}→{0,1,2,3}, let vw(x)=∏iβw(i)(x(i))v_w(x)=\prod_i\beta_{w(i)}(x(i))vw​(x)=∏i​βw(i)​(x(i)). A type ttt is a quadruple of integers 0≤tℓ≤n0\le t_\ell\le n0≤tℓ​≤n with ∑ℓtℓ=n\sum_\ell t_\ell=n∑ℓ​tℓ​=n; let sts_tst​ be the word consisting, in order, of t0t_0t0​ zeros, t1t_1t1​ ones, t2t_2t2​ twos, and t3t_3t3​ threes, and define Wρ(t)=∑w: ∣{i:w(i)=ℓ}∣=tℓ ∀ℓRe⁡tr⁡(vwvw†ρ)W_\rho(t)=\sum_{w:\,|\{i:w(i)=\ell\}|=t_\ell\ \forall\ell}\operatorname{Re}\operatorname{tr}(v_wv_w^\dagger\rho)Wρ​(t)=∑w:∣{i:w(i)=ℓ}∣=tℓ​ ∀ℓ​Retr(vw​vw†​ρ). Define permutation averaging by R(A)x,y=(n!)−1∑π∈SnAx∘π,y∘πR(A)_{x,y}=(n!)^{-1}\sum_{\pi\in S_n}A_{x\circ\pi,y\circ\pi}R(A)x,y​=(n!)−1∑π∈Sn​​Ax∘π,y∘π​. Put P0=I2P_0=I_2P0​=I2​, P1=diag⁡(1,−1)P_1=\operatorname{diag}(1,-1)P1​=diag(1,−1), P2=(0110)P_2=\begin{pmatrix}0&1\\1&0\end{pmatrix}P2​=(01​10​), and P3=P1P2P_3=P_1P_2P3​=P1​P2​, define (Tw)x,y=∏i(Pw(i)⊗Pw(i))x(i),y(i)(T_w)_{x,y}=\prod_i(P_{w(i)}\otimes P_{w(i)})_{x(i),y(i)}(Tw​)x,y​=∏i​(Pw(i)​⊗Pw(i)​)x(i),y(i)​, and set σ=R(4−n∑wTwρTw†)\sigma=R(4^{-n}\sum_wT_w\rho T_w^\dagger)σ=R(4−n∑w​Tw​ρTw†​), where †\dagger† is conjugate transpose. Then all of the following hold:

Wρ(t)≥0 for every type t,∑tWρ(t)=1,σ=∑tWρ(t) R(vstvst†).W_\rho(t)\ge0\ \text{for every type }t,\qquad \sum_tW_\rho(t)=1,\qquad \sigma=\sum_tW_\rho(t)\,R(v_{s_t}v_{s_t}^\dagger).Wρ​(t)≥0 for every type t,t∑​Wρ​(t)=1,σ=t∑​Wρ​(t)R(vst​​vst​†​).

Moreover, σ\sigmaσ is positive semidefinite with trace 111, and there exist a natural number qqq, nonnegative real numbers pjp_jpj​ summing to 111, and positive semidefinite trace-111 matrices Mj,iM_{j,i}Mj,i​ indexed by Boolean pairs, such that σ=∑j=0q−1pjAj\sigma=\sum_{j=0}^{q-1}p_jA_jσ=∑j=0q−1​pj​Aj​ with (Aj)x,y=∏i=0n−1(Mj,i)x(i),y(i)(A_j)_{x,y}=\prod_{i=0}^{n-1}(M_{j,i})_{x(i),y(i)}(Aj​)x,y​=∏i=0n−1​(Mj,i​)x(i),y(i)​; no factorization within each pair is required. The sum condition forces q>0q>0q>0. When n=0n=0n=0, there is one empty configuration, one empty word, one permutation, and one type (0,0,0,0)(0,0,0,0)(0,0,0,0); all empty products are 111, ρ=σ=[1]\rho=\sigma=[1]ρ=σ=[1], and the sole type weight is 111.

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