Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2: the sum of a non-trivial irrep over the group vanishes

Proved
EquivarianceConvolution.irrep_sum_eq_zero

by Xeroth · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

equivariancegroup-convolutionneural-networksnoncommutative-fourier-analysisrepresentation-theory

Let GGG be a finite group and ρ:G→Cn×n\rho:G\to\mathbb C^{n\times n}ρ:G→Cn×n an irreducible representation of GGG. If ρ\rhoρ is not the trivial representation ρtr(u)=(1)\rho_{\mathrm{tr}}(u)=(1)ρtr​(u)=(1), then

∑u∈Gρ(u)=0.\sum_{u\in G}\rho(u)=0.u∈G∑​ρ(u)=0.

This is the vanishing step behind the sparsity patterns of Proposition 1.

Formalization Note The paper states the lemma for a countable group; for an infinite group the sum is not defined, and the statement is made for finite GGG.

Preamble
import Mathlib
import Definitions.Def_EquivarianceConvolution_Basic

open scoped BigOperators
Formal statement
namespace EquivarianceConvolution

theorem irrep_sum_eq_zero {G : Type*} [Group G] [Fintype G] {n : ℕ}
    (ρ : G →* Matrix (Fin n) (Fin n) ℂ) (hρ : IsIrrep ρ) (htr : ¬ IsTrivialRep ρ) :
    ∑ u, ρ u = 0 := by sorry

end EquivarianceConvolution
Source
Kondor and Trivedi, On the Generalization of Equivariance and Convolution in Neural Networks to the Action of Compact Groups, arXiv:1802.03690v3 (ICML 2018), Appendix C, Lemma 2, p. 11
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let GGG be a finite group (any type with a group structure and finitely many elements), and let nnn be a natural number. Let

ρ:G→Mn(C)\rho : G \to M_n(\mathbb{C})ρ:G→Mn​(C)

be a monoid homomorphism into the n×nn \times nn×n complex matrices under matrix multiplication. That is, ρ(g1g2)=ρ(g1)ρ(g2)\rho(g_1 g_2) = \rho(g_1)\rho(g_2)ρ(g1​g2​)=ρ(g1​)ρ(g2​) for all g1,g2∈Gg_1, g_2 \in Gg1​,g2​∈G, and ρ(1)=In\rho(1) = I_nρ(1)=In​. Nothing else is required of ρ\rhoρ.

The theorem assumes two hypotheses about ρ\rhoρ.

  1. Irreducibility. Both of the following hold:

    • n≥1n \ge 1n≥1, so the index set {1,…,n}\{1,\dots,n\}{1,…,n} is nonempty.
    • Every complex linear subspace W⊆CnW \subseteq \mathbb{C}^nW⊆Cn satisfying ρ(g)w∈W\rho(g)w \in Wρ(g)w∈W for all g∈Gg \in Gg∈G and all w∈Ww \in Ww∈W is either W={0}W = \{0\}W={0} or W=CnW = \mathbb{C}^nW=Cn.
  2. Non-triviality. It is not the case that both n=1n = 1n=1 and ρ(g)=(1)\rho(g) = (1)ρ(g)=(1) for every g∈Gg \in Gg∈G. Equivalently, either n≠1n \neq 1n=1, or n=1n = 1n=1 and some g∈Gg \in Gg∈G has ρ(g)≠(1)\rho(g) \neq (1)ρ(g)=(1).

Under these assumptions, the theorem asserts that the sum of the representing matrices over the whole group is the zero matrix:

∑u∈Gρ(u)  =  0∈Mn(C).\sum_{u \in G} \rho(u) \;=\; 0 \in M_n(\mathbb{C}).u∈G∑​ρ(u)=0∈Mn​(C).

The sum runs over all elements of GGG, each counted once, and the equality holds entry by entry.

The case n=0n = 0n=0 is excluded by the irreducibility hypothesis. When n=1n = 1n=1, irreducibility holds automatically, because the only subspaces of C1\mathbb{C}^1C1 are {0}\{0\}{0} and C1\mathbb{C}^1C1. In that case the hypotheses reduce to "some ρ(g)\rho(g)ρ(g) is not 111." When n≥2n \ge 2n≥2, non-triviality holds automatically, and the only substantive hypothesis is irreducibility.

Human review
  • Endorsed by Shuze Chen · Nov 23, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 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