Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Every BB84 extension has a common product Eve state

Open
QAlgorithms.Papers.Independent.Intake100.P10.bb84ExtensionRigidity

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

prove2quantum

Let a,x∈{0,1}a,x\in\{0,1\}a,x∈{0,1} and let B=C2B=\mathbb C^2B=C2. Define the four BB84 assemblage blocks by

ρ^B0,0=12∣0⟩⟨0∣,ρ^B1,0=12∣1⟩⟨1∣,ρ^B0,1=12∣+⟩⟨+∣,ρ^B1,1=12∣−⟩⟨−∣,\hat\rho_B^{0,0}=\tfrac12|0\rangle\langle0|,\quad\hat\rho_B^{1,0}=\tfrac12|1\rangle\langle1|,\quad\hat\rho_B^{0,1}=\tfrac12|+\rangle\langle+|,\quad\hat\rho_B^{1,1}=\tfrac12|-\rangle\langle-|,ρ^​B0,0​=21​∣0⟩⟨0∣,ρ^​B1,0​=21​∣1⟩⟨1∣,ρ^​B0,1​=21​∣+⟩⟨+∣,ρ^​B1,1​=21​∣−⟩⟨−∣,

where ∣±⟩=(∣0⟩±∣1⟩)/2|\pm\rangle=(|0\rangle\pm|1\rangle)/\sqrt2∣±⟩=(∣0⟩±∣1⟩)/2​. Let EEE be any quantum system and let τ^BEa,x\hat\tau_{BE}^{a,x}τ^BEa,x​ be any positive trace-class extension satisfying Tr⁡Eτ^BEa,x=ρ^Ba,x\operatorname{Tr}_E\hat\tau_{BE}^{a,x}=\hat\rho_B^{a,x}TrE​τ^BEa,x​=ρ^​Ba,x​ for every a,xa,xa,x and ∑aτ^BEa,x\sum_a\hat\tau_{BE}^{a,x}∑a​τ^BEa,x​ independent of xxx. Then there exists one positive trace-one state ωE\omega_EωE​, chosen before all a,xa,xa,x, such that

τ^BEa,x=ρ^Ba,x⊗ωEfor every a,x.\hat\tau_{BE}^{a,x}=\hat\rho_B^{a,x}\otimes\omega_E\qquad\text{for every }a,x.τ^BEa,x​=ρ^​Ba,x​⊗ωE​for every a,x.

This is rigidity against every no-signaling extension, with no product-extension hypothesis and no bound on Eve’s dimension.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P10
Formal statement
noncomputable section

open scoped BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intake100.P10

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P33
  (State IsDensity IsTraceClassChannel productCoeff)

open QAlgorithms.Papers.Independent.Frontier18.P08
  (PositiveTraceClass operatorTrace partialTraceFirst partialTraceSecond IsQuantumOperation)

open QAlgorithms.Papers.Independent.Renew46.P08 (qcmi)

open QAlgorithms.Papers.Independent.Frontier18.P01 (convexOperatorMixture)

open QAlgorithms.Papers.Independent.Information100.P19 (outer)

/-- Unnumbered BB84 rigidity, PDF pp.4--5, (31)--(42): the common normalized
Eve state is existential AFTER the extension and BEFORE every input/outcome. -/
theorem bb84ExtensionRigidity (E : Type) (r : Extension bb84Assemblage E) :
    ∃ omega : State E, ∀ x a, r.block x a = productCoeff (bb84Assemblage x a) omega.coefficients := by sorry

end QAlgorithms.Papers.Independent.Intake100.P10

end
Source
Conditional Mutual Information and Quantum Steering, arXiv:1612.03875v2, PDF p. 4, Unnumbered rigidity, (31)–(42)
Read-back

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

Let EEE be any type. For x,a∈{0,1}x,a\in\{0,1\}x,a∈{0,1}, define vectors in C2\mathbb C^2C2 by v0,0=(1,0)v_{0,0}=(1,0)v0,0​=(1,0), v0,1=(0,1)v_{0,1}=(0,1)v0,1​=(0,1), v1,0=(1,1)/2v_{1,0}=(1,1)/\sqrt2v1,0​=(1,1)/2​, and v1,1=(1,−1)/2v_{1,1}=(1,-1)/\sqrt2v1,1​=(1,−1)/2​, and define ρx,a=12vx,avx,a∗\rho_{x,a}=\tfrac12v_{x,a}v_{x,a}^*ρx,a​=21​vx,a​vx,a∗​. Suppose matrices rx,ar_{x,a}rx,a​, indexed by {0,1}×E\{0,1\}\times E{0,1}×E, form an extension in the following precise sense: each is positive trace class, their partial traces satisfy

∑e∈E(rx,a)(i,e),(j,e)=(ρx,a)ij,\sum_{e\in E}(r_{x,a})_{(i,e),(j,e)}=(\rho_{x,a})_{ij},e∈E∑​(rx,a​)(i,e),(j,e)​=(ρx,a​)ij​,

and ∑arx,a=∑arz,a\sum_a r_{x,a}=\sum_a r_{z,a}∑a​rx,a​=∑a​rz,a​ for every x,z∈{0,1}x,z\in\{0,1\}x,z∈{0,1}. Here trace class on a label type SSS means admitting un,vn∈ℓ2(S;C)u_n,v_n\in\ell^2(S;\mathbb C)un​,vn​∈ℓ2(S;C) with ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞ and entries Mij=∑nun(i)vn(j)‾M_{ij}=\sum_nu_n(i)\overline{v_n(j)}Mij​=∑n​un​(i)vn​(j)​; positivity means that every finite coordinate quadratic form is real and nonnegative; and positive trace class additionally requires summability of the real diagonal. Then there exists a single matrix ω\omegaω on EEE that is positive trace class and satisfies ∑eRe⁡ωee=1\sum_e\operatorname{Re}\omega_{ee}=1∑e​Reωee​=1, such that

(rx,a)(i,e),(j,f)=(ρx,a)ij ωef(r_{x,a})_{(i,e),(j,f)}=(\rho_{x,a})_{ij}\,\omega_{ef}(rx,a​)(i,e),(j,f)​=(ρx,a​)ij​ωef​

for every x,a∈{0,1}x,a\in\{0,1\}x,a∈{0,1}, i,j∈{0,1}i,j\in\{0,1\}i,j∈{0,1}, and e,f∈Ee,f\in Ee,f∈E. No uniqueness is asserted, and no countability or nonemptiness assumption is imposed on EEE; if EEE is empty, the extension hypothesis cannot hold because its partial traces would all be zero. Infinite real and complex sums use total series values, equal to zero when nonsummable.

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