Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Optimal probabilistic effects and normalized resource

Open
QAlgorithms.Papers.Independent.Extend50.P20.probabilistic_optimal_construction

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. For each Young diagram λ\lambdaλ of height at most ddd, let mλm_\lambdamλ​ be its actual Schur–Weyl multiplicity, dλd_\lambdadλ​ its Specht dimension, and PλP_\lambdaPλ​ its full physical isotypic projector. Put SN=∑ν⊢N, h(ν)≤dmν2S_N=\sum_{\nu\vdash N,\,h(\nu)\le d}m_\nu^2SN​=∑ν⊢N,h(ν)≤d​mν2​ and L=k!(Nk)L=k!\binom NkL=k!(kN​). For an ordered injective port tuple iii, let Pi+P_i^+Pi+​ pair the selected ports with the kkk input positions by normalized Bell projectors, and let Pα(i)P_\alpha^{(i)}Pα(i)​ act on the unselected ports. Set

Πi=Pi+⊗∑α⊢N−k, h(α)≤ddN+kmαL dαSNPα(i),OA=dN∑μ⊢N, h(μ)≤dmμdμSNPμ.\Pi_i=P_i^+\otimes\sum_{\alpha\vdash N-k,\,h(\alpha)\le d}\frac{d^{N+k}m_\alpha}{L\,d_\alpha S_N}P_\alpha^{(i)},\qquad O_A=\sqrt{d^N}\sum_{\mu\vdash N,\,h(\mu)\le d}\sqrt{\frac{m_\mu}{d_\mu S_N}}P_\mu.Πi​=Pi+​⊗α⊢N−k,h(α)≤d∑​Ldα​SN​dN+kmα​​Pα(i)​,OA​=dN​μ⊢N,h(μ)≤d∑​dμ​SN​mμ​​​Pμ​.

These operators satisfy Tr⁡(OA†OA)=dN\operatorname{Tr}(O_A^\dagger O_A)=d^NTr(OA†​OA​)=dN and attain the optimal probabilistic MPBT success for all inputs. There are positive physical conclusive effects and a positive failure effect summing to identity, whose conclusive effects rotate by congruence with OA⊗IO_A\otimes IOA​⊗I to the displayed Πi\Pi_iΠi​.

This constructs the resource and measurements realizing the optimum.

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

/-- Theorem 5, PDF p.11, Eq.(36), verified against pp.16,18, Eqs.(52),(53),(69).
S_N divides u_alpha and occurs under the square root in O_A. Resource
normalization and physical POVM completion are conclusions, not assumptions. -/
theorem probabilistic_optimal_construction (d N k : ℕ)
    (hd : 0 < d) (hk : 1 ≤ k) (hkN : k ≤ N) :
    let O := optimalProbOperation d N
    let T := optimalProbTheta d N k
    RealizesMpbtEffects O (fun i => successEffect i (T i)) ∧
      ProbFeasible (Matrix.conjTranspose O * O) T ∧
      IsGreatest (probValues d N k) (probScore T) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P20

end
Source
Optimal Multi-port-based Teleportation Schemes, arXiv:2011.09256v3, PDF p. 11, Theorem 5 / Eq. (36)
Read-back

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

For all natural numbers d,N,kd,N,kd,N,k with d>0d>0d>0 and 1≤k≤N1\le k\le N1≤k≤N, the following explicitly defined matrices have the three properties stated below. Write Wr={0,…,d−1}{0,…,r−1}W_r=\{0,\ldots,d-1\}^{\{0,\ldots,r-1\}}Wr​={0,…,d−1}{0,…,r−1} and let Pd,r\mathcal P_{d,r}Pd,r​ consist of Young diagrams with rrr cells and at most ddd rows. For each such diagram λ\lambdaλ, use the chosen bijection between its cells and {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}; let RλR_\lambdaRλ​ and CλC_\lambdaCλ​ be the permutations preserving, respectively, the row and the column of every cell label. On CWr\mathbb C^{W_r}CWr​, let

(Pπ)y,x=1{y=x∘π−1},Yλ=∑a∈Rλ∑b∈Cλsgn⁡(b)Pab,mλ=dim⁡Crange⁡(Yλ).(P_\pi)_{y,x}=\mathbf1_{\{y=x\circ\pi^{-1}\}},\qquad Y_\lambda=\sum_{a\in R_\lambda}\sum_{b\in C_\lambda}\operatorname{sgn}(b)P_{ab}, \qquad m_\lambda=\dim_{\mathbb C}\operatorname{range}(Y_\lambda).(Pπ​)y,x​=1{y=x∘π−1}​,Yλ​=a∈Rλ​∑​b∈Cλ​∑​sgn(b)Pab​,mλ​=dimC​range(Yλ​).

On the space indexed by permutations of rrr labels, define

(Aλ)g,h=∑a∈Rλ∑b∈Cλsgn⁡(b)1{g=hab},sλ=dim⁡Crange⁡(Aλ).(A_\lambda)_{g,h} =\sum_{a\in R_\lambda}\sum_{b\in C_\lambda} \operatorname{sgn}(b)\mathbf1_{\{g=hab\}},\qquad s_\lambda=\dim_{\mathbb C}\operatorname{range}(A_\lambda).(Aλ​)g,h​=a∈Rλ​∑​b∈Cλ​∑​sgn(b)1{g=hab}​,sλ​=dimC​range(Aλ​).

Let QλQ_\lambdaQλ​ be the orthogonal projection onto this latter range, let (Lπ)g,h=1{g=πh}(L_\pi)_{g,h}=\mathbf1_{\{g=\pi h\}}(Lπ​)g,h​=1{g=πh}​, and set

χλ(π)=tr⁡(LπQλ),Eλ=sλr!∑πχλ(π−1)Pπ,Cd,r=∑λ∈Pd,rmλ2.\chi_\lambda(\pi)=\operatorname{tr}(L_\pi Q_\lambda),\qquad E_\lambda=\frac{s_\lambda}{r!}\sum_{\pi}\chi_\lambda(\pi^{-1})P_\pi,\qquad C_{d,r}=\sum_{\lambda\in\mathcal P_{d,r}}m_\lambda^2.χλ​(π)=tr(Lπ​Qλ​),Eλ​=r!sλ​​π∑​χλ​(π−1)Pπ​,Cd,r​=λ∈Pd,r​∑​mλ2​.

Define the matrix on WNW_NWN​

O=∑μ∈Pd,NdNmμsμCd,N Eμ.O=\sum_{\mu\in\mathcal P_{d,N}} \sqrt{d^N}\sqrt{\frac{m_\mu}{s_\mu C_{d,N}}}\,E_\mu.O=μ∈Pd,N​∑​dN​sμ​Cd,N​mμ​​​Eμ​.

For each injection i:{0,…,k−1}↪{0,…,N−1}i:\{0,\ldots,k-1\}\hookrightarrow\{0,\ldots,N-1\}i:{0,…,k−1}↪{0,…,N−1}, let UiU_iUi​ be its unselected labels and let ηi:Ui→{0,…,N−k−1}\eta_i:U_i\to\{0,\ldots,N-k-1\}ηi​:Ui​→{0,…,N−k−1} be the chosen bijection. Transport EαE_\alphaEα​ to functions on UiU_iUi​ by

(Eα(i))x,y=(Eα)x∘ηi−1, y∘ηi−1,Θi=∑α∈Pd,N−kdN+kmαk!(Nk) sαCd,NEα(i).(E_\alpha^{(i)})_{x,y} =(E_\alpha)_{x\circ\eta_i^{-1},\,y\circ\eta_i^{-1}}, \qquad \Theta_i=\sum_{\alpha\in\mathcal P_{d,N-k}} \frac{d^{N+k}m_\alpha}{k!\binom Nk\,s_\alpha C_{d,N}}E_\alpha^{(i)}.(Eα(i)​)x,y​=(Eα​)x∘ηi−1​,y∘ηi−1​​,Θi​=α∈Pd,N−k​∑​k!(kN​)sα​Cd,N​dN+kmα​​Eα(i)​.

Define BiB_iBi​, with rows (x,z)∈WN×Wk(x,z)\in W_N\times W_k(x,z)∈WN​×Wk​ and columns w:Ui→{0,…,d−1}w:U_i\to\{0,\ldots,d-1\}w:Ui​→{0,…,d−1}, to have entry (dk)−1/2(d^k)^{-1/2}(dk)−1/2 when x(i(j))=z(j)x(i(j))=z(j)x(i(j))=z(j) for all jjj and x(a)=w(a)x(a)=w(a)x(a)=w(a) for all a∈Uia\in U_ia∈Ui​, and entry zero otherwise. First,

tr⁡(O†O)=dN,\operatorname{tr}(O^\dagger O)=d^N,tr(O†O)=dN,

and there exist positive semidefinite matrices MiM_iMi​ and FFF on WN×WkW_N\times W_kWN​×Wk​ such that

∑iMi+F=I,(O⊗I)†Mi(O⊗I)=BiΘiBi†for every i.\sum_iM_i+F=I,\qquad (O\otimes I)^\dagger M_i(O\otimes I)=B_i\Theta_iB_i^\dagger \quad\text{for every }i.i∑​Mi​+F=I,(O⊗I)†Mi​(O⊗I)=Bi​Θi​Bi†​for every i.

Second, X=O†OX=O^\dagger OX=O†O satisfies

X⪰0,tr⁡(X)=dN,Θi⪰0,X⊗I−∑iBiΘiBi†⪰0.X\succeq0,\qquad \operatorname{tr}(X)=d^N,\qquad \Theta_i\succeq0,\qquad X\otimes I-\sum_iB_i\Theta_iB_i^\dagger\succeq0.X⪰0,tr(X)=dN,Θi​⪰0,X⊗I−i∑​Bi​Θi​Bi†​⪰0.

Third, the score ∑iRe⁡tr⁡(Θi)/dN+k\sum_i\operatorname{Re}\operatorname{tr}(\Theta_i)/d^{N+k}∑i​Retr(Θi​)/dN+k is attained and is at least every score ∑iRe⁡tr⁡(Θi′)/dN+k\sum_i\operatorname{Re}\operatorname{tr}(\Theta'_i)/d^{N+k}∑i​Retr(Θi′​)/dN+k arising from any matrices X′,Θi′X',\Theta'_iX′,Θi′​ satisfying those same four feasibility conditions. All divisions in the construction are total, with division by zero equal to zero; when k=Nk=Nk=N, the unselected function spaces are indexed by the unique empty function.

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