Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 2, p. 4 — the Haar average PPP is the selfadjoint idempotent onto the invariant tensors (H⊗d)G(H^{\otimes d})^G(H⊗d)G

Proved
WeingartenCalc.Fundamental.projection_onto_invariants

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

haar-measureinvariant-theoryorthogonal-projectionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1weingarten-calculus

Let GGG be a compact Hausdorff topological group with its Haar probability measure μ\muμ, let U:G→U(N)U : G\to\mathrm{U}(N)U:G→U(N) be a continuous unitary representation on H=CNH=\mathbb{C}^NH=CN, fix d∈Nd\in\mathbb{N}d∈N, and let

P=∫GU⊗d(g) dμ(g)P=\int_G U^{\otimes d}(g)\,d\mu(g)P=∫G​U⊗d(g)dμ(g)

be the Haar average of the tensor-power matrices on H⊗dH^{\otimes d}H⊗d. Then:

  1. PPP is selfadjoint: P∗=PP^*=PP∗=P;
  2. PPP is idempotent: P2=PP^2=PP2=P;
  3. the image of PPP is the space of GGG-invariant tensors,
im⁡P=(H⊗d)G={t∈H⊗d:U⊗d(g) t=t for all g∈G}.\operatorname{im}P=(H^{\otimes d})^G=\{t\in H^{\otimes d} : U^{\otimes d}(g)\,t=t\ \text{for all } g\in G\}.imP=(H⊗d)G={t∈H⊗d:U⊗d(g)t=t for all g∈G}.

Together, PPP is the orthogonal projection of H⊗dH^{\otimes d}H⊗d onto (H⊗d)G(H^{\otimes d})^G(H⊗d)G. This is what reduces the computation of Weingarten integrals to the invariant theory of GGG: once a basis of the invariant tensors is known, PPP is determined by linear algebra.

Formalization Note P∗P^*P∗ is the conjugate transpose Pᴴ; the image is the range of the linear map t↦Ptt\mapsto Ptt↦Pt on (Fin d → Fin N) → ℂ; the invariant subspace is defined from the representation itself.

Preamble
import Mathlib
import Definitions.Def_WeingartenCalc_Fundamental_TensorPower

open MeasureTheory Matrix
Formal statement
namespace WeingartenCalc.Fundamental

theorem projection_onto_invariants
    {G : Type*} [Group G] [TopologicalSpace G] [IsTopologicalGroup G] [CompactSpace G]
    [T2Space G] [MeasurableSpace G] [BorelSpace G] (μ : Measure G) [μ.IsHaarMeasure]
    [IsProbabilityMeasure μ] {N : ℕ} (U : G →* Matrix.unitaryGroup (Fin N) ℂ)
    (hU : Continuous U) (d : ℕ) :
    (averagingOperator μ U d)ᴴ = averagingOperator μ U d ∧
      averagingOperator μ U d * averagingOperator μ U d = averagingOperator μ U d ∧
      LinearMap.range (averagingOperator μ U d).mulVecLin = invariants U d := by sorry

end WeingartenCalc.Fundamental
Source
Collins, Matsumoto & Novak, The Weingarten Calculus, arXiv:2109.14890v1, p. 4, Section 2 ("Thus P is a selfadjoint idempotent, and as such P orthogonally projects H⊗d onto its image, which is the space of G-invariant tensors")
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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