Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

BB84 has one bit of both steerabilities

Open
QAlgorithms.Papers.Independent.Intake100.P10.proposition5

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​. For Definitions 1 and 3, with all admissible Eve systems and binary logarithms,

S(ρ^)=SR(ρ^)=1.S(\hat\rho)=S^R(\hat\rho)=1.S(ρ^​)=SR(ρ^​)=1.

This evaluates the two measures on the specific constructed four-block example, rather than on arbitrary measurements of an entangled state.

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)

/-- Proposition 5, PDF pp.4--5, (29)--(30): the constructed BB84 example. -/
theorem proposition5 :
    intrinsicSteerability bb84Assemblage = 1 ∧ restrictedSteerability bb84Assemblage = 1 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P10

end
Source
Conditional Mutual Information and Quantum Steering, arXiv:1612.03875v2, PDF p. 4, Proposition 5, (29)–(30)
Read-back

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

For x,a∈{0,1}x,a\in\{0,1\}x,a∈{0,1}, let 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=2−1/2(1,1)v_{1,0}=2^{-1/2}(1,1)v1,0​=2−1/2(1,1), and v1,1=2−1/2(1,−1)v_{1,1}=2^{-1/2}(1,-1)v1,1​=2−1/2(1,−1), and put ρx,a=12vx,avx,a∗\rho_{x,a}=\tfrac12v_{x,a}v_{x,a}^*ρx,a​=21​vx,a​vx,a∗​. Both the intrinsic quantity S(ρ)S(\rho)S(ρ) and the restricted quantity R(ρ)R(\rho)R(ρ), defined here, equal the extended nonnegative number 111. For a matrix family θx,a\theta_{x,a}θx,a​, R(θ)=sup⁡pinf⁡E,rC(XA:B∣E)Z(p,r)/log⁡2R(\theta)=\sup_p\inf_{E,r}C(XA:B\mid E)_{Z(p,r)}/\log2R(θ)=supp​infE,r​C(XA:B∣E)Z(p,r)​/log2, where ppp is any probability mass function on XXX, EEE is any type, and rx,ar_{x,a}rx,a​ is any positive traceclass extension on B×EB\times EB×E with summable real diagonals, tr⁡Erx,a=θx,a\operatorname{tr}_Er_{x,a}=\theta_{x,a}trE​rx,a​=θx,a​, and ∑arx,a\sum_ar_{x,a}∑a​rx,a​ independent of xxx; the matrix Z(p,r)Z(p,r)Z(p,r) has classical diagonal block p(x)rx,ap(x)r_{x,a}p(x)rx,a​ at (x,a)(x,a)(x,a). The intrinsic quantity is sup⁡Bf,Y,K,pinf⁡E,rC(XA:Bf∣EY)ZK(p,r)/log⁡2\sup_{B_f,Y,K,p}\inf_{E,r}C(XA:B_f\mid EY)_{Z_K(p,r)}/\log2supBf​,Y,K,p​infE,r​C(XA:Bf​∣EY)ZK​(p,r)​/log2, where Bf,YB_f,YBf​,Y are arbitrary types, pyp_ypy​ is a probability mass function on XXX for each yyy, and K=(Ky)K=(K_y)K=(Ky​) is an instrument. Its extensions satisfy tr⁡Ery,x,a=Ky(θx,a)\operatorname{tr}_Er_{y,x,a}=K_y(\theta_{x,a})trE​ry,x,a​=Ky​(θx,a​), positivity and traceclass with summable real diagonals, and independence of ∑ary,x,a\sum_ar_{y,x,a}∑a​ry,x,a​ from xxx for each yyy; ZKZ_KZK​ is diagonal in (x,a,y)(x,a,y)(x,a,y), with block py(x)ry,x,ap_y(x)r_{y,x,a}py​(x)ry,x,a​. Each instrument branch is complex linear on traceclass inputs, preserves traceclass inputs and positive traceclass inputs with summable real diagonals under every finite ancillary amplification, and is trace nonincreasing on such positive inputs; its branch traces are summable, and its coefficientwise sum is a channel, meaning a traceclass-preserving map, complex linear there, preserving density matrices under every finite ancillary amplification, including the zero-dimensional one. A traceclass matrix has an expansion Tij=∑nun(i)vn(j)‾T_{ij}=\sum_nu_n(i)\overline{v_n(j)}Tij​=∑n​un​(i)vn​(j)​ with square-summable vectors and ∑n∥un∥∥vn∥<∞\sum_n\|u_n\|\|v_n\|<\infty∑n​∥un​∥∥vn​∥<∞; positivity means reality and nonnegativity of every finite quadratic form, and a density matrix additionally has summable real diagonal of sum 111. For completeness, C(U:V∣W)Z=sup⁡P[real⁡HQ(Y)−real⁡HQ(tr⁡VY)]+C(U:V\mid W)_Z=\sup_P[\operatorname{real}H_Q(Y)-\operatorname{real}H_Q(\operatorname{tr}_VY)]_+C(U:V∣W)Z​=supP​[realHQ​(Y)−realHQ​(trV​Y)]+​, over all finite orthonormal projections PPP on ℓ2(U;C)\ell^2(U;\mathbb C)ℓ2(U;C), including P=0P=0P=0, with Y=(P⊗1)Z(P⊗1)Y=(P\otimes1)Z(P\otimes1)Y=(P⊗1)Z(P⊗1), HQ(T)=0H_Q(T)=0HQ​(T)=0 when c=tr⁡T=0c=\operatorname{tr}T=0c=trT=0, and HQ(T)=c+D(T/c∥tr⁡2(T/c)⊗tr⁡1(T/c))H_Q(T)=c_+D(T/c\|\operatorname{tr}_2(T/c)\otimes\operatorname{tr}_1(T/c))HQ​(T)=c+​D(T/c∥tr2​(T/c)⊗tr1​(T/c)) otherwise. Here tr⁡T=∑iRe⁡Tii\operatorname{tr}T=\sum_i\operatorname{Re}T_{ii}trT=∑i​ReTii​, real⁡(+∞)=0\operatorname{real}(+\infty)=0real(+∞)=0, and D(M∥N)D(M\|N)D(M∥N) is the supremum over finite coordinate compressions sss of [Re⁡Tr⁡(Mslog⁡Ms−Mslog⁡Ns+Ns−Ms)]+[\operatorname{Re}\operatorname{Tr}(M_s\log M_s-M_s\log N_s+N_s-M_s)]_+[ReTr(Ms​logMs​−Ms​logNs​+Ns​−Ms​)]+​ if ker⁡Ns⊆ker⁡Ms\ker N_s\subseteq\ker M_skerNs​⊆kerMs​, with value +∞+\infty+∞ for a compression failing this inclusion; logarithms use continuous functional calculus, partial traces use coefficientwise infinite sums, and tensor products multiply coefficients. All auxiliary types in the suprema and infima are unrestricted.

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