Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5: pure-program upper bound from purification

Open
QAlgorithms.Papers.Independent.Extend50.P21.pure_program_upper_bound

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

prove2quantum

All Hilbert spaces are nonzero and finite dimensional over C\mathbb CC. Channels are completely positive and trace preserving (CPTP), density operators are positive semidefinite with trace one, and pure programs are unit vectors. Let GGG be a compact Lie group, UUU a continuous unitary representation on the input H1\mathcal H_1H1​, and VVV one on the output H2\mathcal H_2H2​, of dimensions d1,d2>0d_1,d_2>0d1​,d2​>0. Write TUV\mathcal T_{UV}TUV​ for the CPTP maps satisfying T(UgAUg∗)=VgT(A)Vg∗T(U_gAU_g^*)=V_gT(A)V_g^*T(Ug​AUg∗​)=Vg​T(A)Vg∗​ for every operator AAA and g∈Gg\in Gg∈G. In an actual unitary isotypic decomposition U‾⊗V≃⨁k=1KWk⊗Ink\overline U\otimes V\simeq\bigoplus_{k=1}^K W_k\otimes I_{n_k}U⊗V≃⨁k=1K​Wk​⊗Ink​​, the WkW_kWk​ are pairwise inequivalent occurring irreducibles with positive dimensions bkb_kbk​, and nk>0n_k>0nk​>0 are their multiplicities. Put dc=∑knkd_c=\sum_k n_kdc​=∑k​nk​ and dn=∑knk2d_n=\sum_k n_k^2dn​=∑k​nk2​. A processor is one fixed CPTP map P:B(H1⊗Cp)→B(H2)P:\mathcal B(\mathcal H_1\otimes\mathbb C^p)\to\mathcal B(\mathcal H_2)P:B(H1​⊗Cp)→B(H2​), chosen before the target channel. An ε\varepsilonε-processor means that every target TTT has a density program πT\pi_TπT​ with 12∥P(⋅⊗πT)−T∥⋄≤ε\frac12\|P(\cdot\otimes\pi_T)-T\|_\diamond\le\varepsilon21​∥P(⋅⊗πT​)−T∥⋄​≤ε, including entangled reference inputs. If UUU is irreducible, there is a fixed exact processor for all covariant channels using unit pure programs with program dimension

p=dc2.p=d_c^2.p=dc2​.

If the actual commutant is abelian, a pure-program construction already exists with p=dcp=d_cp=dc​. The squared dimension is a purification upper bound. Its general optimality is left open by the source.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P21
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Manifold ContDiff

open QAlgorithms

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Support21.P09 (Irreducible EquivalentModels)

open QAlgorithms.Papers.Independent.Information100.P69 (diamond)

open QAlgorithms.Papers.Independent.Information100.P08 (depolarizing)

open QAlgorithms.Papers.Independent.Information100.P60 (wernerHolevo)

namespace QAlgorithms.Papers.Independent.Extend50.P21

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

section General

variable {G I O : Type*} [Group G] [TopologicalSpace G]

variable [Fintype I] [DecidableEq I] [inputNonempty : Nonempty I]

variable [Fintype O] [DecidableEq O] [outputNonempty : Nonempty O]

include inputNonempty outputNonempty

/-- PDF p.21, discussion: purification supplies dc squared, an upper bound
for pure programs. In the abelian case dc already suffices; no general claim
of optimality for pure programs is made. -/
theorem pure_program_upper_bound (hG : CompactLie G)
    (U : ContinuousUnitaryRep G I) (V : ContinuousUnitaryRep G O) (hU : Irreducible U.mat) (D : TensorIsotypicDecomposition U V) :
    (∃ processor : Superop (I × Fin (compressedDim D ^ 2)) O,
      PureImplements processor (covariantChannels U.mat V.mat) 0) ∧
    (CommutativeMatrixSet (covariantTensorCommutant U.mat V.mat) →
      ∃ processor : Superop (I × Fin (compressedDim D)) O,
        PureImplements processor (covariantChannels U.mat V.mat) 0) := by sorry

end General

end QAlgorithms.Papers.Independent.Extend50.P21

end
Source
Programmability of covariant quantum channels, arXiv:2012.00717v2, PDF p. 21, §5: pure-program upper bound from purification
Read-back

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

Let GGG be a group with a topology making it a compact Hausdorff smooth real Lie group modeled on a finite-dimensional real Euclidean space. Let I,OI,OI,O be finite types with decidable equality, and let U,VU,VU,V be continuous unitary representations on positive-dimensional CI,CO\mathbb C^I,\mathbb C^OCI,CO, preserving multiplication and the identity, with UUU having only 000 and the whole space as invariant complex subspaces. Let DDD give a unitary decomposition U‾⊗V≅⨁k=0c−1Rk⊗1mk\overline U\otimes V\cong\bigoplus_{k=0}^{c-1}R_k\otimes1_{m_k}U⊗V≅⨁k=0c−1​Rk​⊗1mk​​ into pairwise inequivalent continuous irreducible unitary representations of positive dimensions and positive multiplicities mk=D.copies(k)m_k=D.\mathrm{copies}(k)mk​=D.copies(k), and put dc=∑kmkd_{\mathrm c}=\sum_km_kdc​=∑k​mk​. There exists a channel processor with program dimension dc2d_{\mathrm c}^2dc2​ such that every channel TTT satisfying T(UgAUg†)=VgT(A)Vg†T(U_gAU_g^\dagger)=V_gT(A)V_g^\daggerT(Ug​AUg†​)=Vg​T(A)Vg†​ for all g,Ag,Ag,A has a unit vector program ψ\psiψ satisfying

12∥P( ⋅ ⊗ψψ†)−T∥⋄≤0.\frac12\|\mathcal P(\,\cdot\,\otimes\psi\psi^\dagger)-T\|_\diamond\le0.21​∥P(⋅⊗ψψ†)−T∥⋄​≤0.

Furthermore, if every two complex matrices commuting with all Ug‾⊗Vg\overline{U_g}\otimes V_gUg​​⊗Vg​ commute with each other, such a processor exists with program dimension dcd_{\mathrm c}dc​. A processor of program dimension ppp is a channel from matrices on I×{0,…,p−1}I\times\{0,\ldots,p-1\}I×{0,…,p−1} to matrices on OOO; channels are finite Kraus maps with ∑jKj†Kj=1\sum_jK_j^\dagger K_j=1∑j​Kj†​Kj​=1. Here ∥Δ∥⋄=sup⁡∥X∥1≤1∥(id⁡I⊗Δ)(X)∥1\|\Delta\|_\diamond=\sup_{\|X\|_1\le1}\|(\operatorname{id}_I\otimes\Delta)(X)\|_1∥Δ∥⋄​=sup∥X∥1​≤1​∥(idI​⊗Δ)(X)∥1​, applying Δ\DeltaΔ to matrix blocks, and ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​.

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