Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sub-ebit consumption on success and heralded swapping gain

Open
QAlgorithms.Papers.Independent.Intake100.P67.successfulEntanglement_subEbit

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

prove2quantum

Let N≥2N\ge2N≥2 and use the explicitly optimized faithful probabilistic resource (54) and its square-root postmeasurement instrument, retaining all Alice systems. For every normalized pure input and every successful port, the branch probability is positive and the normalized remaining-Bob marginal is a density matrix. Write EiniE_{\rm ini}Eini​ for the entropy of the initial Bob marginal and EresE_{\rm res}Eres​ for the entropy of the unused Bob ports after the branch, both in bits. Then

Eini−Eres<1,Eini<Eres+1.E_{\rm ini}-E_{\rm res}<1,\qquad E_{\rm ini}<E_{\rm res}+1.Eini​−Eres​<1,Eini​<Eres​+1.

The first inequality is the paper's all-NNN success-conditioned sub-ebit consumption claim. In entanglement swapping, the faithfully teleported half-pair contributes one new ebit, so the second inequality expresses a heralded increase of Alice–Bob entanglement on success.

This is neither an average LOCC gain nor a claim about arbitrary instruments with the same effects.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P67
Formal statement
noncomputable section

open scoped Matrix Kronecker ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

namespace QAlgorithms.Papers.Independent.Intake100.P67

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)

open QAlgorithms.Papers.Independent.Advance50.P49 (spinMultiplicity)

/-- PDF pp.9–10, §VIII: the stated all-N sub-ebit consumption on success and consequent
heralded swapping gain. Applies to the specified optimal resource and square-root instrument,
with all Alice systems retained, not an average over success and failure. -/
theorem successfulEntanglement_subEbit (N : ℕ) (hN : 2 ≤ N)
    (v : EuclideanSpace ℂ Bool) (hv : IsState v) (i : Fin N) :
    IsDensityMatrix (bobDensity (resourceOperator (probabilisticX N))) ∧
    0 < postBranchProbability (resourceOperator (probabilisticX N)) (probabilisticMeasurement N i) v ∧
    IsDensityMatrix (residualDensity (resourceOperator (probabilisticX N))
      (probabilisticMeasurement N i) v i) ∧
    vnEntropy (bobDensity (resourceOperator (probabilisticX N))) -
      vnEntropy (residualDensity (resourceOperator (probabilisticX N))
        (probabilisticMeasurement N i) v i) < 1 ∧
    vnEntropy (bobDensity (resourceOperator (probabilisticX N))) <
      vnEntropy (residualDensity (resourceOperator (probabilisticX N))
        (probabilisticMeasurement N i) v i) + 1 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P67

end
Source
Quantum teleportation scheme by selecting one of multiple output ports, arXiv:0901.2975v2, PDF p. 9, §VIII and Fig.4, pp.9–10
Read-back

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

For every integer N≥2N\ge2N≥2, every unit vector v∈C2v\in\mathbb C^2v∈C2, and every index i<Ni<Ni<N, construct the following matrices. Write Qn={0,1}nQ_n=\{0,1\}^nQn​={0,1}n, Sn={k∈N:k≤n, k≡n(mod2)}S_n=\{k\in\mathbb N:k\le n,\ k\equiv n\pmod2\}Sn​={k∈N:k≤n, k≡n(mod2)}, let

m(n,k)={(n(n−k)/2)(k+1)÷((n+k)/2+1),k≤n and n−k is even,0,otherwise,cN=6(N+1)(N+2)(N+3),m(n,k)= \begin{cases} \displaystyle\binom n{(n-k)/2}(k+1)\mathbin{\div} \bigl((n+k)/2+1\bigr), &k\le n\text{ and }n-k\text{ is even},\\ 0,&\text{otherwise}, \end{cases} \qquad c_N=\frac6{(N+1)(N+2)(N+3)},m(n,k)=⎩⎨⎧​((n−k)/2n​)(k+1)÷((n+k)/2+1),0,​k≤n and n−k is even,otherwise,​cN​=(N+1)(N+2)(N+3)6​,

where the formula for mmm uses natural-number operations. For a finite set WWW of size www, define PW,k=0P_{W,k}=0PW,k​=0 outside SwS_wSw​, and otherwise define PW,kP_{W,k}PW,k​ by continuous functional calculus with the function 1{k(k+2)/4}\mathbf1_{\{k(k+2)/4\}}1{k(k+2)/4}​ applied to

w(4−w)4I+12∑a≠b∈WVab,(Vab)xz=1{x=z∘(a b)}.\frac{w(4-w)}4I+\frac12\sum_{a\ne b\in W}V_{ab}, \qquad(V_{ab})_{xz}=\mathbf1_{\{x=z\circ(a\,b)\}}.4w(4−w)​I+21​a=b∈W∑​Vab​,(Vab​)xz​=1{x=z∘(ab)}​.

Set

X=∑k∈SN2NcN(k+1)m(N,k)PFin N,k,O=X,Tj=∑k∈SN−12N+1cN(k+1)N m(N−1,k)PFin N∖{j},k.X=\sum_{k\in S_N}\frac{2^Nc_N(k+1)}{m(N,k)}P_{\mathrm{Fin}\,N,k}, \qquad O=\sqrt X, \qquad T_j=\sum_{k\in S_{N-1}} \frac{2^{N+1}c_N(k+1)}{N\,m(N-1,k)} P_{\mathrm{Fin}\,N\setminus\{j\},k}.X=k∈SN​∑​m(N,k)2NcN​(k+1)​PFinN,k​,O=X​,Tj​=k∈SN−1​∑​Nm(N−1,k)2N+1cN​(k+1)​PFinN∖{j},k​.

Let HHH be the continuous functional calculus of XXX with value 000 at zero and x−1/2x^{-1/2}x−1/2 elsewhere. Define s(0,1)=1/2s(0,1)=1/\sqrt2s(0,1)=1/2​, s(1,0)=−1/2s(1,0)=-1/\sqrt2s(1,0)=−1/2​, and s=0s=0s=0 otherwise, and put

Dj(T)(a,c),(a′,c′)=s(aj,c)s(aj′,c′)‾ Ta≠j,a≠j′,Mj=(H⊗I2)Dj(Tj)(H⊗I2),D_j(T)_{(a,c),(a',c')} =s(a_j,c)\overline{s(a'_j,c')}\,T_{a_{\ne j},a'_{\ne j}}, \qquad M_j=(H\otimes I_2)D_j(T_j)(H\otimes I_2),Dj​(T)(a,c),(a′,c′)​=s(aj​,c)s(aj′​,c′)​Ta=j​,a=j′​​,Mj​=(H⊗I2​)Dj​(Tj​)(H⊗I2​), R(a,b)=∑x∈QNOax∏js(xj,bj),Bbb′=∑aR(a,b)R(a,b′)‾,R(a,b)=\sum_{x\in Q_N}O_{ax}\prod_js(x_j,b_j),\qquad B_{bb'}=\sum_aR(a,b)\overline{R(a,b')},R(a,b)=x∈QN​∑​Oax​j∏​s(xj​,bj​),Bbb′​=a∑​R(a,b)R(a,b′)​, Ai(v;a,c,b)=∑a′,c′(Mi)(a,c),(a′,c′)R(a′,b)vc′,qi(v)=∑a,c,b∣Ai(v;a,c,b)∣2.A_i(v;a,c,b)=\sum_{a',c'} (\sqrt{M_i})_{(a,c),(a',c')}R(a',b)v_{c'}, \qquad q_i(v)=\sum_{a,c,b}|A_i(v;a,c,b)|^2.Ai​(v;a,c,b)=a′,c′∑​(Mi​​)(a,c),(a′,c′)​R(a′,b)vc′​,qi​(v)=a,c,b∑​∣Ai​(v;a,c,b)∣2.

All square roots are defined by real continuous functional calculus. For bit assignments r,r′r,r'r,r′ to the indices other than iii, let bi(r,t)b_i(r,t)bi​(r,t) restore the bit ttt at index iii, and define

(Γi(v))rr′=∑a,c,tAi(v;a,c,bi(r,t)) Ai(v;a,c,bi(r′,t))‾qi(v).(\Gamma_i(v))_{rr'} =\frac{\displaystyle\sum_{a,c,t} A_i(v;a,c,b_i(r,t))\, \overline{A_i(v;a,c,b_i(r',t))}}{q_i(v)}.(Γi​(v))rr′​=qi​(v)a,c,t∑​Ai​(v;a,c,bi​(r,t))Ai​(v;a,c,bi​(r′,t))​​.

With S(Z)=−Re⁡tr⁡(cfc⁡(x↦xlog⁡2x,Z))S(Z)=-\operatorname{Re}\operatorname{tr} (\operatorname{cfc}(x\mapsto x\log_2x,Z))S(Z)=−Retr(cfc(x↦xlog2​x,Z)), using 0log⁡20=00\log_2 0=00log2​0=0, the assertion is that BBB is positive semidefinite with trace 111, qi(v)>0q_i(v)>0qi​(v)>0, and Γi(v)\Gamma_i(v)Γi​(v) is positive semidefinite with trace 111, and that both strict inequalities

S(B)−S(Γi(v))<1,S(B)<S(Γi(v))+1S(B)-S(\Gamma_i(v))<1,\qquad S(B)<S(\Gamma_i(v))+1S(B)−S(Γi​(v))<1,S(B)<S(Γi​(v))+1

hold. No lower bound on this entropy difference is asserted.

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