paper

Classifying the Groups of Order in Lean

arXiv:2606.26141

Abstract

This note discusses our formalisation in Lean 4 of the classification of groups of order for a prime number , using mathlib4. We present the five isomorphism classes and give a detailed account of the formalisation, with particular emphasis on the non-abelian case, which requiring the most substantial formal development. For odd~, the non-abelian groups are the Heisenberg group $\Heis(\Z/p\Z)$ and the semidirect product ; for , they are and . We describe the construction of these concrete groups, the structural lemmas about centers, commutators, and exponents, and the explicit isomorphism constructions that classify an arbitrary non-abelian -group.

13 pages

Classifying the Groups of Order $p^3$ in Lean · wovepaper