Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 56: every probability law on G supplies a channel

Open
QAlgorithms.Papers.Independent.Extend50.P31.example56_probabilityLaw

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

prove2quantum

Let GGG be a finite group and U:G→U(n)U:G\to U(n)U:G→U(n) an ordinary unitary irreducible representation with n>0n>0n>0. Fix a complete family of inequivalent unitary irreducibles φα\varphi^\alphaφα, in fixed coordinate bases, with dimensions dα>0d_\alpha>0dα​>0 and characters χα\chi_\alphaχα​. Assume U⊗U‾≃⨁α∈ΘφαU\otimes\overline U\simeq\bigoplus_{\alpha\in\Theta}\varphi^\alphaU⊗U≃⨁α∈Θ​φα, each occurring once. Throughout, Pα=(dα/∣G∣)∑gχα(g−1)Ad⁡U(g)P_\alpha=(d_\alpha/|G|)\sum_g\chi_\alpha(g^{-1})\operatorname{Ad}_U(g)Pα​=(dα​/∣G∣)∑g​χα​(g−1)AdU​(g), P~α=mat⁡(Pα)\widetilde P_\alpha=\operatorname{mat}(P_\alpha)Pα​=mat(Pα​), and J(Φ)=∑ijEij⊗Φ(Eij)J(\Phi)=\sum_{ij}E_{ij}\otimes\Phi(E_{ij})J(Φ)=∑ij​Eij​⊗Φ(Eij​) is unnormalized. Fine projectors use the diagonal matrix coefficient φα(g−1)ii\varphi^\alpha(g^{-1})_{ii}φα(g−1)ii​ in place of the character. Whenever vectors ViβV_i^\betaViβ​ occur, choose one pivot (s,t)(s,t)(s,t) per fine sector with p=(P~βi)st,st>0p=(\widetilde P_{\beta i})_{st,st}>0p=(Pβi​)st,st​>0 and set Viβ=Pβi(Est)/pV_i^\beta=P_{\beta i}(E_{st})/\sqrt pViβ​=Pβi​(Est​)/p​ and viβ=vec⁡((Viβ)T)v_i^\beta=\operatorname{vec}((V_i^\beta)^T)viβ​=vec((Viβ​)T). Write μi(α,β)=(dα/∣G∣)∑gχα(g−1)∣Tr⁡(ViβU(g)†)∣2\mu_i(\alpha,\beta)=(d_\alpha/|G|)\sum_g\chi_\alpha(g^{-1})|\operatorname{Tr}(V_i^\beta U(g)^\dagger)|^2μi​(α,β)=(dα​/∣G∣)∑g​χα​(g−1)∣Tr(Viβ​U(g)†)∣2 and M(β,i),α=μi(α,β)M_{(\beta,i),\alpha}=\mu_i(\alpha,\beta)M(β,i),α​=μi​(α,β) when these spectral coordinates occur.

For any probability law p:G→R≥0p:G\to\mathbb R_{\ge0}p:G→R≥0​ with ∑gp(g)=1\sum_gp(g)=1∑g​p(g)=1, set f(g)=∣G∣p(g)f(g)=|G|p(g)f(g)=∣G∣p(g). The character construction gives

p(g)=f(g)∣G∣,lα=1dα∑gχα(g)p(g),Φp=∑α∈ΘlαPα is an ICQC.p(g)=\frac{f(g)}{|G|},\qquad l_\alpha=\frac1{d_\alpha}\sum_g\chi_\alpha(g)p(g),\qquad\Phi_p=\sum_{\alpha\in\Theta}l_\alpha P_\alpha\text{ is an ICQC}.p(g)=∣G∣f(g)​,lα​=dα​1​g∑​χα​(g)p(g),Φp​=α∈Θ∑​lα​Pα​ is an ICQC.

This describes the every probability law on G supplies a channel in the fixed source conventions.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P31
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Extend50.P31

open QAlgorithms.Papers.Independent.Information100.P44 (Mat matrixUnit)

open QAlgorithms.Papers.Independent.Frontier18.P17 (hs)

open QAlgorithms.Papers.Independent.Bridge50.P37 (hsAdjoint)

open QAlgorithms.Papers.Independent.Information100.P34 (choi)

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

open QAlgorithms.Papers.Independent.Dependency50.P16 (sandwich)

open QAlgorithms.Papers.Independent.Information100.P75 (phase)

variable {G A : Type*} [Group G] [Fintype G] [Fintype A] [DecidableEq A] {n : ℕ}

/-- PDF p.24, Example 56: f=|G|p and p=f/|G|; f alone is not a normalized law. -/
theorem example56_probabilityLaw (D : Data G A n) (p : G → ℝ)
    (hp : ∀ g, 0 ≤ p g) (hsum : ∑ g, p g = 1) :
    let f : G → ℂ := fun g => (Fintype.card G : ℂ) * (p g : ℂ)
    (∀ g, f g / Fintype.card G = (p g : ℂ)) ∧
    (∀ a : OccurringIrrep D, classCoefficients D f a =
      (∑ g, character (D.F.irrep a.val) g * (p g : ℂ)) / D.F.dim a.val) ∧
    IsIrrepCovariant D.U (spectralMap D (classCoefficients D f)) ∧
    IsPaperChannel (spectralMap D (classCoefficients D f)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P31

end
Source
Structure of irreducibly covariant quantum channels for finite groups, arXiv:1610.05657v2, PDF p. 24, Example 56: every probability law on G supplies a channel
Read-back

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

Let GGG be a finite group and AAA a finite index type with decidable equality. Let DDD specify an irreducible unitary representation U:G→Mn(C)U:G\to M_n(\mathbb C)U:G→Mn​(C), n>0n>0n>0, a complete family (ρa)a∈A(\rho_a)_{a\in A}(ρa​)a∈A​ of pairwise inequivalent irreducible unitary representations of dimensions da>0d_a>0da​>0, including a designated one-dimensional trivial member, and an invertible complex-linear intertwining equivalence U⊗U‾≃⨁a∈ΘρaU\otimes\overline U\simeq\bigoplus_{a\in\Theta}\rho_aU⊗U≃⨁a∈Θ​ρa​, each summand appearing once. For every p:G→Rp:G\to\mathbb Rp:G→R with p(g)≥0p(g)\ge0p(g)≥0 for all ggg and ∑gp(g)=1\sum_gp(g)=1∑g​p(g)=1, put f(g)=∣G∣p(g)f(g)=|G|p(g)f(g)=∣G∣p(g), viewed in C\mathbb CC, and for a∈O={a:a∈Θ}a\in O=\{a:a\in\Theta\}a∈O={a:a∈Θ} set

la=∑gtr⁡(ρa(g))f(g)∣G∣da,Ca(X)=da∣G∣∑gtr⁡(ρa(g−1))UgXUg†,Φ=∑a∈OlaCa.l_a=\frac{\sum_g\operatorname{tr}(\rho_a(g))f(g)}{|G|d_a}, \quad C_a(X)=\frac{d_a}{|G|}\sum_g\operatorname{tr}(\rho_a(g^{-1}))U_gXU_g^\dagger, \quad \Phi=\sum_{a\in O}l_aC_a.la​=∣G∣da​∑g​tr(ρa​(g))f(g)​,Ca​(X)=∣G∣da​​g∑​tr(ρa​(g−1))Ug​XUg†​,Φ=a∈O∑​la​Ca​.

Then f(g)/∣G∣=p(g)f(g)/|G|=p(g)f(g)/∣G∣=p(g) for every ggg, la=da−1∑gtr⁡(ρa(g))p(g)l_a=d_a^{-1}\sum_g\operatorname{tr}(\rho_a(g))p(g)la​=da−1​∑g​tr(ρa​(g))p(g) for every a∈Oa\in Oa∈O, and Φ\PhiΦ satisfies both covariance Φ(UgXUg†)=UgΦ(X)Ug†\Phi(U_gXU_g^\dagger)=U_g\Phi(X)U_g^\daggerΦ(Ug​XUg†​)=Ug​Φ(X)Ug†​ for all g,Xg,Xg,X and the following channel conditions: every finite identity amplification, including dimension zero, preserves positive semidefinite matrices, and tr⁡Φ(X)=tr⁡X\operatorname{tr}\Phi(X)=\operatorname{tr}XtrΦ(X)=trX for every complex matrix XXX.

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