Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact finite SDP and attained physical optimum

Open
QAlgorithms.Papers.Independent.Intake100.P12.exact_finite_sdp

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

prove2quantum

Let d,k≥1d,k\ge1d,k≥1, and choose the parallel, fixed-order adaptive, or general process class. Let fff be a complex-linear map on single-channel Choi matrices whose values on unitary channels are unitary-channel Choi matrices. There is a finite basis {C(Ui⊗k)}i\{C(U_i^{\otimes k})\}_i{C(Ui⊗k​)}i​ consisting of actual repeated-unitary inputs, and a finite affine normalization system A(C)=bA(C)=bA(C)=b for the chosen physical class, such that its achievable constant coefficients are exactly

{p∈[0,1]:∃S,F⪰0, A(S+F)=b, LS(C(Ui⊗k))=pf(C(Ui)) for every i}.\left\{p\in[0,1]:\exists S,F\succeq0,\ A(S+F)=b,\ \mathcal L_S(C(U_i^{\otimes k}))=p f(C(U_i))\ \text{for every }i\right\}.{p∈[0,1]:∃S,F⪰0, A(S+F)=b, LS​(C(Ui⊗k​))=pf(C(Ui​)) for every i}.

Here L\mathcal LL is the source link contraction with full transpose on the contracted oracle factors. Every feasible pair has a physical realization in the chosen class with exactly kkk oracle slots, and every such physical instrument gives a feasible pair. A maximizing pair exists. General-process normalization uses a finite basis of augmented Choi tensors of arbitrary independent channel tuples; the other two systems are the explicit parallel and sequential comb equations.

This is an exact optimization characterization, with no numerical precision or running-time assertion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P12
Formal statement
noncomputable section

open QAlgorithms

open scoped Matrix ComplexConjugate ComplexOrder Kronecker

namespace QAlgorithms.Papers.Independent.Intake100.P12

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

open QAlgorithms.Papers.Independent.Dependency50.P26 (ChannelChoi)

/-- PDF pp.6–7, Eqs. (15)–(20): finite SDP with both directions of physical
class equivalence and an attained optimum. The finite normalization map is a
conclusion, not a hypothesis. For General this uses independent-channel
normalization and never the inconsistent printed Eq. (14). -/
theorem exact_finite_sdp {d k : ℕ} (hd : 0 < d) (hk : 0 < k)
    (c : ProtocolClass)
    (f : Op (Fin d × Fin d) →ₗ[ℂ] Op (Fin d × Fin d)) (hf : UnitaryLinearTarget f) :
    ∃ n : ℕ, ∃ B : Fin n → Matrix.unitaryGroup (Fin d) ℂ,
    ∃ v : ℕ, ∃ N : Fin v → ChannelFamily (uniformWires d k),
    ∃ r : ℕ, ∃ A : Op (ProcessBasis (uniformWires d k)) →ₗ[ℝ] (Fin r → ℝ),
    ∃ b : Fin r → ℝ,
      IsUnitaryBasis d k n B ∧ IsNormalizationBasis (uniformWires d k) v N ∧
      (∀ C, ClassRealizable c d k C ↔ FiniteClassNormalized c N C) ∧
      (∀ C, FiniteClassNormalized c N C ↔ C.PosSemidef ∧ A C = b) ∧
      (∀ p S F, TestedFeasible (k := k) c f B p S F ↔
        0 ≤ p ∧ p ≤ 1 ∧ S.PosSemidef ∧ F.PosSemidef ∧ A (S+F) = b ∧
          ∀ i, evaluateOracleSlots S (repeatedChoi k (B i)) = (p : ℂ) • f (gateChoi (B i : Op (Fin d)))) ∧
      (∀ p, Attainable c d k (fun U => f (gateChoi (U : Op (Fin d)))) p ↔
        ∃ S F, TestedFeasible (k := k) c f B p S F) ∧
      (∃ p : ℝ, ∃ S F : Op (ProcessBasis (uniformWires d k)),
        TestedFeasible (k := k) c f B p S F ∧
        ∀ q : ℝ, (∃ T G : Op (ProcessBasis (uniformWires d k)),
          TestedFeasible (k := k) c f B q T G) → q ≤ p) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P12

end
Source
Probabilistic exact universal quantum circuits for transforming unitary operations, arXiv:1909.01366v2, PDF p. 7, III, Eqs. (15)–(20)
Read-back

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

Let d,kd,kd,k be positive natural numbers, let ccc be one of the three labels parallel, adaptive, or general, and let f:Md2(C)→Md2(C)f:M_{d^2}(\mathbb C)\to M_{d^2}(\mathbb C)f:Md2​(C)→Md2​(C) be complex-linear, with the property that for every unitary U∈U(d)U\in U(d)U∈U(d) there exists a unitary V∈U(d)V\in U(d)V∈U(d) such that f(H(U))=H(V)f(H(U))=H(V)f(H(U))=H(V), where H(U)(a,i),(b,j)=UaiUbj‾H(U)_{(a,i),(b,j)}=U_{ai}\overline{U_{bj}}H(U)(a,i),(b,j)​=Uai​Ubj​​. Put I=[d]k\mathcal I=[d]^kI=[d]k, let process matrices be indexed by (i,x,u,a)∈[d]×I×I×[d](i,x,u,a)\in[d]\times\mathcal I\times\mathcal I\times[d](i,x,u,a)∈[d]×I×I×[d], and define

R(U)(u,x),(v,y)=∏ℓ<kUuℓxℓUvℓyℓ‾,LC(J)(a,i),(b,j)=∑x,y,u,v∈IC(i,x,u,a),(j,y,v,b)J(u,x),(v,y).R(U)_{(u,x),(v,y)} =\prod_{\ell<k}U_{u_\ell x_\ell}\overline{U_{v_\ell y_\ell}}, \qquad \mathcal L_C(J)_{(a,i),(b,j)} =\sum_{x,y,u,v\in\mathcal I} C_{(i,x,u,a),(j,y,v,b)}J_{(u,x),(v,y)}.R(U)(u,x),(v,y)​=ℓ<k∏​Uuℓ​xℓ​​Uvℓ​yℓ​​​,LC​(J)(a,i),(b,j)​=x,y,u,v∈I∑​C(i,x,u,a),(j,y,v,b)​J(u,x),(v,y)​.

For any matrix JJJ indexed by output-input pairs, write ΘJ(X)ab=∑i,jXijJ(a,i),(b,j)\Theta_J(X)_{ab}=\sum_{i,j}X_{ij}J_{(a,i),(b,j)}ΘJ​(X)ab​=∑i,j​Xij​J(a,i),(b,j)​. A channel here is any map X↦∑ℓKℓXKℓ†X\mapsto\sum_\ell K_\ell XK_\ell^\daggerX↦∑ℓ​Kℓ​XKℓ†​ given by a finite family with ∑ℓKℓ†Kℓ=I\sum_\ell K_\ell^\dagger K_\ell=I∑ℓ​Kℓ†​Kℓ​=I; its extension by an identity map applies the map separately to every memory-index block. Call a process matrix CCC admissible for ccc when C⪰0C\succeq0C⪰0 and the corresponding condition holds: for parallel, there exist a positive memory size mmm and channels E:Md→MmdkE:M_d\to M_{m d^k}E:Md​→Mmdk​, D:Mmdk→MdD:M_{m d^k}\to M_dD:Mmdk​→Md​ such that ΘLC(J)(X)=D((id⁡m⊗ΘJ)(E(X)))\Theta_{\mathcal L_C(J)}(X)=D((\operatorname{id}_m\otimes\Theta_J)(E(X)))ΘLC​(J)​(X)=D((idm​⊗ΘJ​)(E(X))) for every matrix JJJ and every XXX; for adaptive, there exist a positive mmm, channels E0:Md→MmdE_0:M_d\to M_{md}E0​:Md​→Mmd​, Ei:Mmd→MmdE_i:M_{md}\to M_{md}Ei​:Mmd​→Mmd​ for i<ki<ki<k, and D:Mmd→MdD:M_{md}\to M_dD:Mmd​→Md​, such that, for every family JiJ_iJi​ and every XXX, ΘLC(⨂iJi)(X)=D(Yk)\Theta_{\mathcal L_C(\bigotimes_i J_i)}(X)=D(Y_k)ΘLC​(⨂i​Ji​)​(X)=D(Yk​), where Y0=E0(X)Y_0=E_0(X)Y0​=E0​(X) and Yi+1=Ei((id⁡m⊗ΘJi)(Yi))Y_{i+1}=E_i((\operatorname{id}_m\otimes\Theta_{J_i})(Y_i))Yi+1​=Ei​((idm​⊗ΘJi​​)(Yi​)); for general, LC(⨂iJi)⪰0\mathcal L_C(\bigotimes_i J_i)\succeq0LC​(⨂i​Ji​)⪰0 and its partial trace over the external output is IdI_dId​ whenever every Ji⪰0J_i\succeq0Ji​⪰0 has partial trace over its slot output equal to IdI_dId​. There exist natural numbers n,v,rn,v,rn,v,r, unitaries B0,…,Bn−1B_0,\ldots,B_{n-1}B0​,…,Bn−1​, channel families N0,…,Nv−1N_0,\ldots,N_{v-1}N0​,…,Nv−1​ of the latter kind, a real-linear map AAA from the entire complex process-matrix space, regarded as a real vector space, to Rr\mathbb R^rRr, and b∈Rrb\in\mathbb R^rb∈Rr, satisfying all of the following assertions. The R(Bi)R(B_i)R(Bi​) are complex-linearly independent and span the complex span of all R(U)R(U)R(U); writing J(Ni)=⨂ℓ<k(Ni)ℓJ(N_i)=\bigotimes_{\ell<k}(N_i)_\ellJ(Ni​)=⨂ℓ<k​(Ni​)ℓ​, the pairs (J(Ni),1)(J(N_i),1)(J(Ni​),1) are real-linearly independent and span the real span of all (⨂ℓJℓ,1)(\bigotimes_\ell J_\ell,1)(⨂ℓ​Jℓ​,1) formed from channel families. Define finite normalization Fc(C)\mathcal F_c(C)Fc​(C) as follows: in the general case it means C⪰0C\succeq0C⪰0 and every LC(J(Ni))\mathcal L_C(J(N_i))LC​(J(Ni​)) is positive semidefinite with external output partial trace IdI_dId​; in the parallel and adaptive cases use the following explicit equations. Label the 2k+22k+22k+2 coordinates by the external input, slot inputs, slot outputs, and external output, and for a set QQQ of labels define

(TQC)xy={d−(2k+2)∑zCx[Q←z], y[Q←z],xq=yq for all q∈Q,0,otherwise,(\mathcal T_Q C)_{xy} = \begin{cases} d^{-(2k+2)}\displaystyle\sum_z C_{x[Q\leftarrow z],\,y[Q\leftarrow z]}, &x_q=y_q\text{ for all }q\in Q,\\ 0,&\text{otherwise}, \end{cases}(TQ​C)xy​=⎩⎨⎧​d−(2k+2)z∑​Cx[Q←z],y[Q←z]​,0,​xq​=yq​ for all q∈Q,otherwise,​

where x[Q←z]x[Q\leftarrow z]x[Q←z] replaces the coordinates in QQQ by those of zzz, and zzz ranges over all process indices. Let OOO contain the external output and all slot outputs, let FFF contain every coordinate except the external input, and let LiL_iLi​ contain the external output and both coordinates of every slot j>ij>ij>i. Parallel finite normalization means C⪰0C\succeq0C⪰0, T{external output}C=TOC\mathcal T_{\{\mathrm{external\ output}\}}C=\mathcal T_OCT{external output}​C=TO​C, TFC=TallC\mathcal T_FC=\mathcal T_{\mathrm{all}}CTF​C=Tall​C, and tr⁡C=dk+1\operatorname{tr}C=d^{k+1}trC=dk+1; adaptive finite normalization means C⪰0C\succeq0C⪰0, TLiC=TLi∪{slot output i}C\mathcal T_{L_i}C=\mathcal T_{L_i\cup\{\mathrm{slot\ output}\ i\}}CTLi​​C=TLi​∪{slot output i}​C for every i<ki<ki<k, TFC=TallC\mathcal T_FC=\mathcal T_{\mathrm{all}}CTF​C=Tall​C, and the same trace equation. Then, for every CCC, admissibility for ccc is equivalent to Fc(C)\mathcal F_c(C)Fc​(C), and

Fc(C)⟺C⪰0 and A(C)=b.\mathcal F_c(C)\quad\Longleftrightarrow\quad C\succeq0\ \text{and}\ A(C)=b.Fc​(C)⟺C⪰0 and A(C)=b.

For real ppp and process matrices S,F′S,F'S,F′, let T(p,S,F′)\mathcal T(p,S,F')T(p,S,F′) mean 0≤p≤10\le p\le10≤p≤1, S,F′⪰0S,F'\succeq0S,F′⪰0, S+F′S+F'S+F′ admissible for ccc, and LS(R(Bi))=p f(H(Bi))\mathcal L_S(R(B_i))=p\,f(H(B_i))LS​(R(Bi​))=pf(H(Bi​)) for every i<ni<ni<n. For every p,S,F′p,S,F'p,S,F′,

T(p,S,F′)⟺0≤p≤1,S,F′⪰0,A(S+F′)=b,LS(R(Bi))=p f(H(Bi)) for all i<n.\mathcal T(p,S,F') \quad\Longleftrightarrow\quad 0\le p\le1,\quad S,F'\succeq0,\quad A(S+F')=b,\quad \mathcal L_S(R(B_i))=p\,f(H(B_i))\ \text{for all }i<n.T(p,S,F′)⟺0≤p≤1,S,F′⪰0,A(S+F′)=b,LS​(R(Bi​))=pf(H(Bi​)) for all i<n.

Moreover, for every real ppp, the existence of S,F′⪰0S,F'\succeq0S,F′⪰0 with 0≤p≤10\le p\le10≤p≤1, admissible sum, and LS(R(U))=p f(H(U))\mathcal L_S(R(U))=p\,f(H(U))LS​(R(U))=pf(H(U)) for every unitary UUU, is equivalent to the existence of S,F′S,F'S,F′ satisfying T(p,S,F′)\mathcal T(p,S,F')T(p,S,F′). Finally, there exist p,S,F′p,S,F'p,S,F′ satisfying T(p,S,F′)\mathcal T(p,S,F')T(p,S,F′) such that every real qqq for which some T,GT,GT,G satisfy T(q,T,G)\mathcal T(q,T,G)T(q,T,G) obeys q≤pq\le pq≤p. No positivity conditions on the witness counts n,v,rn,v,rn,v,r are separately stated; their required properties are the independence, spanning, and equivalence conditions above.

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