Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 15: invariant densities are Choi states; normalized identity preservation

Open
QAlgorithms.Papers.Independent.Extend50.P21.invariant_densities_and_identity

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. The normalized, reference-first Choi operator is cT=(idd1⊗T)(∣Ω⟩⟨Ω∣)c_T=(\mathrm{id}_{d_1}\otimes T)(|\Omega\rangle\langle\Omega|)cT​=(idd1​​⊗T)(∣Ω⟩⟨Ω∣), where ∣Ω⟩=d1−1/2∑i∣i,i⟩|\Omega\rangle=d_1^{-1/2}\sum_i|i,i\rangle∣Ω⟩=d1−1/2​∑i​∣i,i⟩, with two input-sized factors before TTT acts. Let UUU be irreducible and let K\mathcal KK be the actual commutant of U‾⊗V\overline U\otimes VU⊗V. Then

K∩D(H1⊗H2)={cT:T∈TUV}.\mathcal K\cap\mathcal D(\mathcal H_1\otimes\mathcal H_2)=\{c_T:T\in\mathcal T_{UV}\}.K∩D(H1​⊗H2​)={cT​:T∈TUV​}.

If VVV is also irreducible, every such channel satisfies T(Id1/d1)=Id2/d2T(I_{d_1}/d_1)=I_{d_2}/d_2T(Id1​​/d1​)=Id2​​/d2​; when d1=d2d_1=d_2d1​=d2​, it satisfies T(I)=IT(I)=IT(I)=I. The normalized identity equality corrects the unrestricted rectangular unital assertion printed on page 7. This characterizes precisely which invariant states encode channels.

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 pp.7--8, Lemma 15, corrected for rectangular channels: the proof gives
T(I/d1)=I/d2. The printed ordinary unital assertion needs d1=d2. -/
theorem invariant_densities_and_identity (hG : CompactLie G)
    (U : ContinuousUnitaryRep G I) (V : ContinuousUnitaryRep G O) (hU : Irreducible U.mat) :
    (covariantTensorCommutant U.mat V.mat ∩ {rho | IsDensityMatrix rho} =
      choiSet (covariantChannels U.mat V.mat)) ∧
    (Irreducible V.mat → ∀ T ∈ covariantChannels U.mat V.mat,
      T ((Fintype.card I : ℂ)⁻¹ • 1) = (Fintype.card O : ℂ)⁻¹ • 1 ∧
      (Fintype.card I = Fintype.card O → T 1 = 1)) := by sorry

end General

end QAlgorithms.Papers.Independent.Extend50.P21

end
Source
Programmability of covariant quantum channels, arXiv:2012.00717v2, PDF p. 7, Lemma 15: invariant densities are Choi states; normalized identity preservation
Read-back

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

Let GGG be a group equipped with a compact Hausdorff topology admitting a finite-dimensional smooth real manifold structure for which it is a smooth Lie group. Let I,OI,OI,O be finite types with decidable equality, and let U,VU,VU,V be continuous, identity-preserving multiplicative unitary matrix representations on the positive-dimensional spaces CI,CO\mathbb C^I,\mathbb C^OCI,CO. Assume UUU is irreducible: every complex linear subspace invariant under all U(g)U(g)U(g) is either zero or the whole space. Let CCC consist of all maps T:MI(C)→MO(C)T:M_I(\mathbb C)\to M_O(\mathbb C)T:MI​(C)→MO​(C) having a finite Kraus representation T(A)=∑jKjAKj†T(A)=\sum_jK_jAK_j^\daggerT(A)=∑j​Kj​AKj†​, with ∑jKj†Kj=1\sum_jK_j^\dagger K_j=1∑j​Kj†​Kj​=1, and satisfying T(U(g)AU(g)†)=V(g)T(A)V(g)†T(U(g)AU(g)^\dagger)=V(g)T(A)V(g)^\daggerT(U(g)AU(g)†)=V(g)T(A)V(g)† for every g,Ag,Ag,A. Then

{ρ∈MI×O(C):ρ≥0, tr⁡ρ=1, ρ(U(g)‾⊗V(g))=(U(g)‾⊗V(g))ρ for every g}={J(T):T∈C},\left\{\rho\in M_{I\times O}(\mathbb C): \rho\ge0,\ \operatorname{tr}\rho=1,\ \rho(\overline{U(g)}\otimes V(g)) =(\overline{U(g)}\otimes V(g))\rho \text{ for every }g\right\} =\{J(T):T\in C\},{ρ∈MI×O​(C):ρ≥0, trρ=1, ρ(U(g)​⊗V(g))=(U(g)​⊗V(g))ρ for every g}={J(T):T∈C},

where the bar is entrywise conjugation and the normalized Choi matrix is defined by J(T)(i,o),(j,o′)=T(Eij)oo′/∣I∣J(T)_{(i,o),(j,o')}=T(E_{ij})_{oo'}/|I|J(T)(i,o),(j,o′)​=T(Eij​)oo′​/∣I∣, with EijE_{ij}Eij​ the single-entry matrix unit. In addition, if VVV is irreducible in the same invariant-subspace sense, then every T∈CT\in CT∈C satisfies

T ⁣(1∣I∣1I)=1∣O∣1O,∣I∣=∣O∣ ⟹ T(1I)=1O.T\!\left(\frac{1}{|I|}1_I\right)=\frac{1}{|O|}1_O, \qquad |I|=|O|\ \Longrightarrow\ T(1_I)=1_O.T(∣I∣1​1I​)=∣O∣1​1O​,∣I∣=∣O∣ ⟹ T(1I​)=1O​.
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