Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A uniformly scaled delayed parallel simulation

Open
QAlgorithms.Papers.Independent.Intake100.P12.delayed_simulation

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

prove2quantum

Let all physical wire dimensions be positive. Let (S,F)(S,F)(S,F) be a general two-branch superinstrument, including possibly indefinite causal order, and put

dtotal=∏i=0kdIi∏i=0kdOi.d_{\rm total}=\prod_{i=0}^{k}d_{I_i}\prod_{i=0}^{k}d_{O_i}.dtotal​=i=0∏k​dIi​​i=0∏k​dOi​​.

There is a delayed parallel instrument with success Choi matrix SP=S/dtotalS_P=S/d_{\rm total}SP​=S/dtotal​ and a positive complementary failure branch. For every combined oracle Choi matrix JJJ,

LSP(J)=1dtotalLS(J).\mathcal L_{S_P}(J)=\frac{1}{d_{\rm total}}\mathcal L_S(J).LSP​​(J)=dtotal​1​LS​(J).

In particular, if SSS implements a unitary target with probability pUp_UpU​, the same simulator implements it with probability pU/dtotalp_U/d_{\rm total}pU​/dtotal​ for every UUU, even when pUp_UpU​ depends on UUU. With all wires of dimension ddd, dtotal=d2k+2d_{\rm total}=d^{2k+2}dtotal​=d2k+2.

This states the explicit scaled map from the source proof, not equality with the unscaled operation.

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.10, Lemma 1 and its explicit proof: the same simulator realizes S/dtotal
on every input map, hence p_U/dtotal for every unitary task even when p_U varies.
The identity completion retains the failure branch. This does not assert realization
of the unscaled supermap. -/
theorem delayed_simulation {k : ℕ} (w : OracleWireDimensions k) (hw : PositiveWires w)
    (S F : Op (ProcessBasis w)) (hS : S.PosSemidef) (hF : F.PosSemidef)
    (hC : GeneralDeterministic w (S+F)) :
    ∃ FP : Op (ProcessBasis w),
      DelayedInstrument w (((totalDimension w : ℂ)⁻¹) • S) FP ∧
      ∀ J, evaluateOracleSlots (((totalDimension w : ℂ)⁻¹) • S) J =
        ((totalDimension w : ℂ)⁻¹) • evaluateOracleSlots S J := by sorry

end QAlgorithms.Papers.Independent.Intake100.P12

end
Source
Probabilistic exact universal quantum circuits for transforming unitary operations, arXiv:1909.01366v2, PDF p. 10, Lemma 1
Read-back

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

Let k≥0k\ge0k≥0, and let www have positive external dimensions r,qr,qr,q and positive slot dimensions ai,bia_i,b_iai​,bi​ for every i<ki<ki<k. Put 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 Dtot=rq∏iai∏ibiD_{\mathrm{tot}}=rq\prod_i a_i\prod_i b_iDtot​=rq∏i​ai​∏i​bi​. Let S,FS,FS,F be positive semidefinite complex matrices indexed by the process coordinates (i,x,u,o)∈[r]×A×B×[q](i,x,u,o)\in[r]\times A\times B\times[q](i,x,u,o)∈[r]×A×B×[q], where [h]={0,…,h−1}[h]=\{0,\ldots,h-1\}[h]={0,…,h−1}. Define

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),TJ(X)u,v=∑x,yXx,yJ(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)}, \qquad \mathcal T_J(X)_{u,v}=\sum_{x,y}X_{x,y}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)​,TJ​(X)u,v​=x,y∑​Xx,y​J(u,x),(v,y)​.

Assume S+FS+FS+F is positive semidefinite and has this normalization property: for every family of positive semidefinite slot matrices JiJ_iJi​ on [bi]×[ai][b_i]\times[a_i][bi​]×[ai​] satisfying ∑u(Ji)(u,x),(u,y)=δxy\sum_u(J_i)_{(u,x),(u,y)}=\delta_{xy}∑u​(Ji​)(u,x),(u,y)​=δxy​, the matrix ES+F(⨂iJi)\mathcal E_{S+F}(\bigotimes_iJ_i)ES+F​(⨂i​Ji​) is positive semidefinite and satisfies ∑oES+F(⨂iJi)(o,i),(o,j)=δij\sum_o\mathcal E_{S+F}(\bigotimes_iJ_i)_{(o,i),(o,j)}=\delta_{ij}∑o​ES+F​(⨂i​Ji​)(o,i),(o,j)​=δij​; the tensor here has entries ∏i(Ji)(ui,xi),(vi,yi)\prod_i(J_i)_{(u_i,x_i),(v_i,y_i)}∏i​(Ji​)(ui​,xi​),(vi​,yi​)​. Then there exists a positive semidefinite process matrix FPF_PFP​ such that Dtot−1S+FPD_{\mathrm{tot}}^{-1}S+F_PDtot−1​S+FP​ admits a delayed realization: there exist m>0m>0m>0, a positive semidefinite trace-one matrix σ\sigmaσ on [m]×A[m]\times A[m]×A, and a channel DDD from [r]×([m]×B)[r]\times([m]\times B)[r]×([m]×B) to [q][q][q], satisfying

TEDtot−1S+FP(J)(X)=D ⁣(X⊗(id⁡m⊗TJ)(σ))\mathcal T_{\mathcal E_{D_{\mathrm{tot}}^{-1}S+F_P}(J)}(X) =D\!\left(X\otimes(\operatorname{id}_m\otimes\mathcal T_J)(\sigma)\right)TEDtot−1​S+FP​​(J)​(X)=D(X⊗(idm​⊗TJ​)(σ))

for every matrix JJJ on B×AB\times AB×A and every matrix XXX on [r][r][r]. A channel here is a finite Kraus sum X↦∑αKαXKα†X\mapsto\sum_\alpha K_\alpha X K_\alpha^\daggerX↦∑α​Kα​XKα†​ with ∑αKα†Kα=I\sum_\alpha K_\alpha^\dagger K_\alpha=I∑α​Kα†​Kα​=I. Moreover, for every matrix JJJ on B×AB\times AB×A,

EDtot−1S(J)=Dtot−1ES(J).\mathcal E_{D_{\mathrm{tot}}^{-1}S}(J) =D_{\mathrm{tot}}^{-1}\mathcal E_S(J).EDtot−1​S​(J)=Dtot−1​ES​(J).

All scalar multiplications are complex scalar multiplications using the indicated real or natural numbers. Empty slot products are allowed when k=0k=0k=0, and Dtot>0D_{\mathrm{tot}}>0Dtot​>0 under the dimension hypotheses.

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