Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Attained primal and dual optima for both MPBT variants

Open
QAlgorithms.Papers.Independent.Extend50.P20.both_variants_strong_duality

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

prove2quantum

Let d≥1d\ge1d≥1 and 1≤k≤N1\le k\le N1≤k≤N. Use the full MPBT semidefinite programs (17)–(24). In both primal problems, XA⪰0X_A\succeq0XA​⪰0 has trace dNd^NdN and the rotated effects have sum at most XA⊗IX_A\otimes IXA​⊗I. The probabilistic primal effects have the exact-success form Πi=Pi+⊗Θi\Pi_i=P_i^+\otimes\Theta_iΠi​=Pi+​⊗Θi​, with Θi⪰0\Theta_i\succeq0Θi​⪰0; the objective is d−(N+k)∑iTr⁡Θid^{-(N+k)}\sum_i\operatorname{Tr}\Theta_id−(N+k)∑i​TrΘi​. Its dual minimizes dNbd^NbdNb with Ω⪰0\Omega\succeq0Ω⪰0, Bell compression at each outcome at least identity, and bI⪰d−(N+k)Tr⁡outΩbI\succeq d^{-(N+k)}\operatorname{Tr}_{\mathrm{out}}\OmegabI⪰d−(N+k)Trout​Ω. The deterministic primal allows all positive rotated effects, maximizing d−2k∑iTr⁡(Πiσi)d^{-2k}\sum_i\operatorname{Tr}(\Pi_i\sigma_i)d−2k∑i​Tr(Πi​σi​), where σi=d−(N−k)Iiˉ⊗Pi+\sigma_i=d^{-(N-k)}I_{\bar i}\otimes P_i^+σi​=d−(N−k)Iiˉ​⊗Pi+​. Its dual minimizes dN−2k∥Tr⁡outΩ∥∞d^{N-2k}\|\operatorname{Tr}_{\mathrm{out}}\Omega\|_\inftydN−2k∥Trout​Ω∥∞​ over Ω⪰σi\Omega\succeq\sigma_iΩ⪰σi​ for every outcome. Here iii is an ordered injective port tuple, Pi+P_i^+Pi+​ uses normalized Bell projectors, Ω\OmegaΩ acts on all N+kN+kN+k factors, and the partial trace removes all kkk final factors. Then

max⁡Pprob=min⁡Dprob,max⁡Pdet=min⁡Ddet,\max P_{\mathrm{prob}}=\min D_{\mathrm{prob}},\qquad\max P_{\mathrm{det}}=\min D_{\mathrm{det}},maxPprob​=minDprob​,maxPdet​=minDdet​,

and all four extrema are attained. This identifies each unrestricted primal optimum with its dual certificate. Formalization Note The deterministic dual uses the equivalent scalar epigraph bI⪰Tr⁡outΩbI\succeq\operatorname{Tr}_{\mathrm{out}}\OmegabI⪰Trout​Ω, and its prefactor is a real ratio.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P20
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexOrder

open Filter

namespace QAlgorithms.Papers.Independent.Extend50.P20

attribute [local instance] Classical.propDecidable

/-- Strong duality, PDF p.7 and p.10, proved in Appendices A-B pp.15-21.
Both unrestricted primal maxima and dual minima are attained. Omega acts
on N+k factors, correcting the introductory dimension slips; weak-duality
orientation is maximization primal <= minimization dual. -/
theorem both_variants_strong_duality (d N k : ℕ)
    (hd : 0 < d) (hk : 1 ≤ k) (hkN : k ≤ N) :
    (∃ p : ℝ, IsGreatest (probValues d N k) p ∧ IsLeast (probDualValues d N k) p) ∧
    (∃ f : ℝ, IsGreatest (detValues d N k) f ∧ IsLeast (detDualValues d N k) f) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P20

end
Source
Optimal Multi-port-based Teleportation Schemes, arXiv:2011.09256v3, PDF p. 7, Section 4 / strong duality
Read-back

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

For every natural numbers d,N,kd,N,kd,N,k satisfying d>0d>0d>0 and 1≤k≤N1\le k\le N1≤k≤N, the following two optimization problems each have an attained maximum equal to an attained dual minimum. To specify the problems, let Wr={0,…,d−1}{0,…,r−1}W_r=\{0,\ldots,d-1\}^{\{0,\ldots,r-1\}}Wr​={0,…,d−1}{0,…,r−1}, let J=WN×WkJ=W_N\times W_kJ=WN​×Wk​, and let I\mathcal II be the set of injections i:{0,…,k−1}↪{0,…,N−1}i:\{0,\ldots,k-1\}\hookrightarrow\{0,\ldots,N-1\}i:{0,…,k−1}↪{0,…,N−1}. For each i∈Ii\in\mathcal Ii∈I, let CiC_iCi​ be the complement of its image and define the complex matrix BiB_iBi​, with rows indexed by JJJ and columns indexed by functions w:Ci→{0,…,d−1}w:C_i\to\{0,\ldots,d-1\}w:Ci​→{0,…,d−1}, by

(Bi)(a,u),w={(dk)−1,a(i(j))=u(j) for every j, and a(c)=w(c) for every c∈Ci,0,otherwise.(B_i)_{(a,u),w}= \begin{cases} (\sqrt{d^k})^{-1}, & a(i(j))=u(j)\text{ for every }j,\ \text{and }a(c)=w(c)\text{ for every }c\in C_i,\\ 0,&\text{otherwise}. \end{cases}(Bi​)(a,u),w​={(dk​)−1,0,​a(i(j))=u(j) for every j, and a(c)=w(c) for every c∈Ci​,otherwise.​

For any complex matrix XXX indexed by WNW_NWN​, define L(X)(a,u),(b,v)=Xa,b1u=vL(X)_{(a,u),(b,v)}=X_{a,b}\mathbf1_{u=v}L(X)(a,u),(b,v)​=Xa,b​1u=v​. For any complex matrix ZZZ indexed by JJJ, define R(Z)a,b=∑u∈WkZ(a,u),(b,u)R(Z)_{a,b}=\sum_{u\in W_k}Z_{(a,u),(b,u)}R(Z)a,b​=∑u∈Wk​​Z(a,u),(b,u)​, and put Si=d−(N−k)BiBi∗S_i=d^{-(N-k)}B_iB_i^*Si​=d−(N−k)Bi​Bi∗​, where ∗^*∗ denotes conjugate transpose. Write A⪰0A\succeq0A⪰0 for positive semidefiniteness and use identity matrices of the appropriate sizes below. The first primal problem ranges over a complex matrix XXX indexed by WNW_NWN​ and, for every i∈Ii\in\mathcal Ii∈I, a complex matrix TiT_iTi​ indexed by functions on CiC_iCi​, subject to

X⪰0,tr⁡X=dN,Ti⪰0 for every i,L(X)−∑i∈IBiTiBi∗⪰0,X\succeq0,\qquad \operatorname{tr}X=d^N,\qquad T_i\succeq0\ \text{for every }i,\qquad L(X)-\sum_{i\in\mathcal I}B_iT_iB_i^*\succeq0,X⪰0,trX=dN,Ti​⪰0 for every i,L(X)−i∈I∑​Bi​Ti​Bi∗​⪰0,

and maximizes d−(N+k)∑iRe⁡tr⁡Tid^{-(N+k)}\sum_i\operatorname{Re}\operatorname{tr}T_id−(N+k)∑i​RetrTi​. Its dual ranges over a complex matrix ZZZ indexed by JJJ and a real number bbb, subject to

Z⪰0,b≥0,Bi∗ZBi−I⪰0 for every i,bI−d−(N+k)R(Z)⪰0,Z\succeq0,\qquad b\ge0,\qquad B_i^*ZB_i-I\succeq0\ \text{for every }i,\qquad bI-d^{-(N+k)}R(Z)\succeq0,Z⪰0,b≥0,Bi∗​ZBi​−I⪰0 for every i,bI−d−(N+k)R(Z)⪰0,

and minimizes dNbd^NbdNb. There exists a real number ppp attained by feasible choices in both problems such that every feasible first primal value is at most ppp and every feasible first dual value is at least ppp. The second primal problem ranges over a complex matrix XXX indexed by WNW_NWN​ and complex matrices PiP_iPi​ indexed by JJJ, subject to

X⪰0,tr⁡X=dN,Pi⪰0 for every i,L(X)−∑i∈IPi⪰0,X\succeq0,\qquad \operatorname{tr}X=d^N,\qquad P_i\succeq0\ \text{for every }i,\qquad L(X)-\sum_{i\in\mathcal I}P_i\succeq0,X⪰0,trX=dN,Pi​⪰0 for every i,L(X)−i∈I∑​Pi​⪰0,

and maximizes d−2k∑iRe⁡tr⁡(PiSi)d^{-2k}\sum_i\operatorname{Re}\operatorname{tr}(P_iS_i)d−2k∑i​Retr(Pi​Si​). Its dual ranges over a complex matrix ZZZ indexed by JJJ and a real number bbb, subject precisely to

Z−Si⪰0 for every i,bI−R(Z)⪰0,Z-S_i\succeq0\ \text{for every }i,\qquad bI-R(Z)\succeq0,Z−Si​⪰0 for every i,bI−R(Z)⪰0,

and minimizes (dN/d2k)b(d^N/d^{2k})b(dN/d2k)b. There exists a real number fff attained by feasible choices in both second problems such that every feasible second primal value is at most fff and every feasible second dual value is at least fff. These assertions include d=1d=1d=1 and k=Nk=Nk=N; when k=Nk=Nk=N, each CiC_iCi​ is empty and its function index set has one element.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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