Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Port-based teleportation: a uniform diamond-distance bound

Open
QAlgorithms.Papers.Independent.Intake100.P57.port_teleportation_diamond

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

prove2quantum

Let d,N≥1d,N\ge1d,N≥1 be integers. Alice holds a ddd-dimensional input AAA, and Alice and Bob share exactly NNN copies of ∣Φd⟩=d−1/2∑j=1d∣j,j⟩|\Phi_d\rangle=d^{-1/2}\sum_{j=1}^d|j,j\rangle∣Φd​⟩=d−1/2∑j=1d​∣j,j⟩ in registers Ai′,Bi′A_i',B_i'Ai′​,Bi′​. There is a single NNN-outcome POVM on AA1′⋯AN′AA_1'\cdots A_N'AA1′​⋯AN′​, chosen independently of the unknown input, such that the following channel E\mathcal EE is CPTP: Alice measures this POVM and sends its outcome iii to Bob; Bob discards every port except Bi′B_i'Bi′​ and identifies that port with the output. No correction on the retained port is performed. Then

∥E−idd∥⋄≤4d2N.\|\mathcal E-\mathrm{id}_d\|_\diamond\le\frac{4d^2}{\sqrt N}.∥E−idd​∥⋄​≤N​4d2​.

The diamond norm is the full completely bounded trace norm, with no factor 1/21/21/2, so the estimate includes inputs entangled with arbitrary reference registers. This is the source's worst-case port-teleportation guarantee.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P57
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Intake100.P57

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

-- P34 uses half the channel distance. Every occurrence below is multiplied by two.

open QAlgorithms.Papers.Independent.Information100.P34 (diamondDistance)

open QAlgorithms.Papers.Independent.Dependency50.P07 (ensembleMean)

/-- Corollary II.2, PDF p.7, using the exact operation (5) on p.6.
The same POVM is fixed before every input and entangled reference. -/
theorem port_teleportation_diamond (d N : ℕ) (hd : 0 < d) (hN : 0 < N) :
    ∃ E : Fin N → Matrix (Fin d × (Fin N → Fin d))
      (Fin d × (Fin N → Fin d)) ℂ,
      IsPOVM E ∧ IsChannel (pbtChannel E) ∧
      2 * diamondDistance (pbtChannel E) (fun X => X) ≤
        4 * (d : ℝ)^2 / Real.sqrt (N : ℝ) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P57

end
Source
Simplified instantaneous non-local quantum computation with applications to position-based cryptography, arXiv:1101.1065v3, PDF p. 7, II.2
Read-back

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

For every pair of natural numbers d,Nd,Nd,N with d>0d>0d>0 and N>0N>0N>0, there exists a family EiE_iEi​, 0≤i<N0\le i<N0≤i<N, of positive semidefinite complex matrices indexed by {0,…,d−1}×W\{0,\ldots,d-1\}\times W{0,…,d−1}×W, where W={0,…,d−1}{0,…,N−1}W=\{0,\ldots,d-1\}^{\{0,\ldots,N-1\}}W={0,…,d−1}{0,…,N−1}, such that ∑iEi=I\sum_iE_i=I∑i​Ei​=I and the following function PE\mathcal P_EPE​ is a channel. Define B((u,v),(u′,v′))=(dN)−11u=v1u′=v′B((u,v),(u',v'))=(d^N)^{-1}\mathbf1_{u=v}\mathbf1_{u'=v'}B((u,v),(u′,v′))=(dN)−11u=v​1u′=v′​, PX=X⊗BP_X=X\otimes BPX​=X⊗B, and

Ri(v,w)=∑a,u[(Ei⊗IW)PX]((a,u),v),((a,u),w),PE(X)b,c=∑i∑vi=b, wi=cvj=wj (j≠i)Ri(v,w).R_i(v,w)=\sum_{a,u}[(E_i\otimes I_W)P_X]_{((a,u),v),((a,u),w)}, \qquad \mathcal P_E(X)_{b,c} =\sum_i\sum_{\substack{v_i=b,\ w_i=c\\v_j=w_j\ (j\ne i)}}R_i(v,w).Ri​(v,w)=a,u∑​[(Ei​⊗IW​)PX​]((a,u),v),((a,u),w)​,PE​(X)b,c​=i∑​vi​=b, wi​=cvj​=wj​ (j=i)​∑​Ri​(v,w).

Being a channel means that some finite family of d×dd\times dd×d matrices KjK_jKj​ satisfies ∑jKj†Kj=Id\sum_jK_j^\dagger K_j=I_d∑j​Kj†​Kj​=Id​ and PE(X)=∑jKjXKj†\mathcal P_E(X)=\sum_jK_jXK_j^\daggerPE​(X)=∑j​Kj​XKj†​ for every XXX. If D(H,J)D(H,J)D(H,J) denotes the supremum, over positive semidefinite trace-one matrices ρ\rhoρ on Cd⊗Cd\mathbb C^d\otimes\mathbb C^dCd⊗Cd, of 12∥(id⁡d⊗H)(ρ)−(id⁡d⊗J)(ρ)∥1\tfrac12\|(\operatorname{id}_d\otimes H)(\rho)-(\operatorname{id}_d\otimes J)(\rho)\|_121​∥(idd​⊗H)(ρ)−(idd​⊗J)(ρ)∥1​, with ∥Y∥1=Re⁡Tr⁡Y†Y\|Y\|_1=\operatorname{Re}\operatorname{Tr}\sqrt{Y^\dagger Y}∥Y∥1​=ReTrY†Y​, then this family also satisfies

2D(PE,id⁡)≤4d2N.2D(\mathcal P_E,\operatorname{id})\le\frac{4d^2}{\sqrt N}.2D(PE​,id)≤N​4d2​.
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