Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Delayed parallel Choi normalization and realization

Open
QAlgorithms.Papers.Independent.Intake100.P12.delayed_choi_characterization

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

prove2quantum

Let every external and slot wire have positive finite dimension, and write I=⨂iIiI=\bigotimes_i I_iI=⨂i​Ii​ and O=⨂iOiO=\bigotimes_i O_iO=⨂i​Oi​. In wire order I0,I,O,O0I_0,I,O,O_0I0​,I,O,O0​, a matrix CDC_DCD​ is the Choi matrix of a parallel delayed-input protocol if and only if

CD⪰0,Tr⁡O0CD=II0dI0⊗Tr⁡I0OO0CD⊗IOdO,Tr⁡CD=dI0dO.C_D\succeq0,\qquad \operatorname{Tr}_{O_0}C_D=\frac{I_{I_0}}{d_{I_0}}\otimes\operatorname{Tr}_{I_0OO_0}C_D\otimes\frac{I_O}{d_O},\qquad\operatorname{Tr}C_D=d_{I_0}d_O.CD​⪰0,TrO0​​CD​=dI0​​II0​​​⊗TrI0​OO0​​CD​⊗dO​IO​​,TrCD​=dI0​​dO​.

Realization means preparing a fixed normalized state on oracle inputs and memory before the external input exists, using one parallel oracle batch, and applying a fixed CPTP decoder to that program and the later input. All tensor placements are as displayed.

This characterization includes physical realization in both directions; it introduces no delayed-input indefinite-order class.

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 p.9, Eqs. (32)–(35): complete delayed parallel Choi characterization,
including existence of a normalized resource and a CPTP decoder. -/
theorem delayed_choi_characterization {k : ℕ} (w : OracleWireDimensions k)
    (hw : PositiveWires w) (C : Op (ProcessBasis w)) :
    (C.PosSemidef ∧ DelayedRealizes w C) ↔ DelayedNormalized w C := by sorry

end QAlgorithms.Papers.Independent.Intake100.P12

end
Source
Probabilistic exact universal quantum circuits for transforming unitary operations, arXiv:1909.01366v2, PDF p. 9, IV, Eqs. (32)–(35)
Read-back

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

Let k≥0k\ge 0k≥0 be a natural number, and let www specify positive external input and output dimensions r,qr,qr,q, together with positive slot input and output dimensions ai,bia_i,b_iai​,bi​ for every i<ki<ki<k. Write A=∏i<k{0,…,ai−1}A=\prod_{i<k}\{0,\ldots,a_i-1\}A=∏i<k​{0,…,ai​−1}, B=∏i<k{0,…,bi−1}B=\prod_{i<k}\{0,\ldots,b_i-1\}B=∏i<k​{0,…,bi​−1}, and let CCC be any complex matrix indexed by (i,x,u,o)∈{0,…,r−1}×A×B×{0,…,q−1}(i,x,u,o)\in\{0,\ldots,r-1\}\times A\times B\times\{0,\ldots,q-1\}(i,x,u,o)∈{0,…,r−1}×A×B×{0,…,q−1}. For any matrix JJJ indexed by B×AB\times AB×A, define its associated map by TJ(X)u,v=∑x,yXx,yJ(u,x),(v,y)\mathcal T_J(X)_{u,v}=\sum_{x,y}X_{x,y}J_{(u,x),(v,y)}TJ​(X)u,v​=∑x,y​Xx,y​J(u,x),(v,y)​, and define the external matrix

EC(J)(o,i),(o′,j)=∑x,y∈A∑u,v∈BC(i,x,u,o),(j,y,v,o′)J(u,x),(v,y).\mathcal E_C(J)_{(o,i),(o',j)} =\sum_{x,y\in A}\sum_{u,v\in B} C_{(i,x,u,o),(j,y,v,o')}J_{(u,x),(v,y)}.EC​(J)(o,i),(o′,j)​=x,y∈A∑​u,v∈B∑​C(i,x,u,o),(j,y,v,o′)​J(u,x),(v,y)​.

Here a channel means a map X↦∑αKαXKα†X\mapsto\sum_\alpha K_\alpha X K_\alpha^\daggerX↦∑α​Kα​XKα†​ for a finite family satisfying ∑αKα†Kα=I\sum_\alpha K_\alpha^\dagger K_\alpha=I∑α​Kα†​Kα​=I. The assertion that CCC is positive semidefinite and that there exist a positive natural number mmm, a positive semidefinite matrix σ\sigmaσ of trace 111 on {0,…,m−1}×A\{0,\ldots,m-1\}\times A{0,…,m−1}×A, and a channel DDD from the external input together with {0,…,m−1}×B\{0,\ldots,m-1\}\times B{0,…,m−1}×B to the external output, such that

TEC(J)(X)=D ⁣(X⊗(id⁡m⊗TJ)(σ))\mathcal T_{\mathcal E_C(J)}(X) =D\!\left(X\otimes(\operatorname{id}_m\otimes\mathcal T_J)(\sigma)\right)TEC​(J)​(X)=D(X⊗(idm​⊗TJ​)(σ))

for every matrix JJJ on B×AB\times AB×A and every external input matrix XXX, is equivalent to the following conditions: CCC is positive semidefinite, tr⁡C=r∣B∣\operatorname{tr}C=r|B|trC=r∣B∣, and, for all external input indices i,ji,ji,j, all x,y∈Ax,y\in Ax,y∈A, and all u,v∈Bu,v\in Bu,v∈B,

∑oC(i,x,u,o),(j,y,v,o)=δijr(∑t,z,oC(t,x,z,o),(t,y,z,o))δuv∣B∣.\sum_o C_{(i,x,u,o),(j,y,v,o)} =\frac{\delta_{ij}}r \left(\sum_{t,z,o}C_{(t,x,z,o),(t,y,z,o)}\right) \frac{\delta_{uv}}{|B|}.o∑​C(i,x,u,o),(j,y,v,o)​=rδij​​(t,z,o∑​C(t,x,z,o),(t,y,z,o)​)∣B∣δuv​​.

The realization identity quantifies over arbitrary matrices, without positivity or normalization restrictions on JJJ or XXX. The case k=0k=0k=0 is included: both AAA and BBB then consist of the unique empty tuple.

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