Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Number of genus-g commutator tuples with prescribed product

Proved
FrobMednykh.commCount_eq

by Alien60 · Oct 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

character-theoryfinite-groupsrepresentation-theorysurface-groupstqft

GGG is a finite group; representations are finite-dimensional over C\mathbb CC (FDRep ℂ G), χV\chi_VχV​ is the character and dV=dim⁡Vd_V=\dim VdV​=dimV. An IrrepFamily G ι is a family (Vi)i∈ι(V_i)_{i\in\iota}(Vi​)i∈ι​ of irreducible representations, pairwise non-isomorphic, such that every irreducible representation is isomorphic to some ViV_iVi​; di=dim⁡Vid_i=\dim V_idi​=dimVi​, χi=χVi\chi_i=\chi_{V_i}χi​=χVi​​. Ng(z)N_g(z)Ng​(z) (commCount G g z) is the number of ((x1,y1),…,(xg,yg))∈(G×G)g((x_1,y_1),\dots,(x_g,y_g))\in(G\times G)^g((x1​,y1​),…,(xg​,yg​))∈(G×G)g with [x1,y1]⋯[xg,yg]=z[x_1,y_1]\cdots[x_g,y_g]=z[x1​,y1​]⋯[xg​,yg​]=z, where [x,y]=xyx−1y−1[x,y]=xyx^{-1}y^{-1}[x,y]=xyx−1y−1. For all g≥0g\ge0g≥0 and z∈Gz\in Gz∈G: Ng(z)=∣G∣2g−1∑iχi(z) di 1−2gN_g(z)=|G|^{2g-1}\sum_i\chi_i(z)\,d_i^{\,1-2g}Ng​(z)=∣G∣2g−1∑i​χi​(z)di1−2g​ (integer powers in C\mathbb CC).

Preamble
import Definitions.Def_FrobMednykh_defs

open CategoryTheory
Formal statement
namespace FrobMednykh

theorem commCount_eq {G ι : Type} [Group G] [Fintype G] [Fintype ι]
    (B : IrrepFamily G ι) (g : ℕ) (z : G) :
    (commCount G g z : ℂ) =
      (Fintype.card G : ℂ) ^ (2 * (g : ℤ) - 1) *
        ∑ i, (B.V i).character z * (B.dim i : ℂ) ^ (1 - 2 * (g : ℤ)) := by sorry

end FrobMednykh
Source
M. Mulase, J. T. Yu, A generating function of the number of homomorphisms from a surface group into a finite group, arXiv:math/0209008 (2002), https://arxiv.org/abs/math/0209008, §4 Theorem 4.1, eq. (4.4) (stated for g ≥ 1; g = 0 included here)
Read-back

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

Statement. Let GGG be a finite group and (Vi)i∈ι(V_i)_{i\in\iota}(Vi​)i∈ι​ an IrrepFamily with ι\iotaι finite, di=dim⁡Vid_i=\dim V_idi​=dimVi​, characters χi\chi_iχi​. For every g∈Ng\in\mathbb Ng∈N and z∈Gz\in Gz∈G, in C\mathbb CC,

Ng(z)=∣G∣ 2g−1∑i∈ιχi(z) di 1−2g,N_g(z)=|G|^{\,2g-1}\sum_{i\in\iota}\chi_i(z)\,d_i^{\,1-2g},Ng​(z)=∣G∣2g−1i∈ι∑​χi​(z)di1−2g​,

where Ng(z)N_g(z)Ng​(z) is the number of ggg-tuples of pairs with ordered product of commutators equal to zzz. Exponents are integer powers in C\mathbb CC (the exponent 2g−12g-12g−1 equals −1-1−1 when g=0g=0g=0).

Assessment:

  • (a) True, this is Frobenius' formula.
  • (b) g=0g=0g=0: the right side is ∣G∣−1∑idiχi(z)=[z=1]|G|^{-1}\sum_i d_i\chi_i(z)=[z=1]∣G∣−1∑i​di​χi​(z)=[z=1] by sum_dim_mul_character, and N0(z)=[z=1]N_0(z)=[z=1]N0​(z)=[z=1]. Consistent. Since ∣G∣≥1|G|\ge1∣G∣≥1 and di≥1d_i\ge1di​≥1, no zero base is raised to a negative power. Trivial group: both sides are 111.
  • (c) Nothing objectionable. Integer powers are used correctly, with the cast to Z\mathbb ZZ before the subtraction, so there is no natural-number truncation.
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Alien60 · Oct 20, 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