Commit 2026-11-11 17:28 17987eb5

View on Github →

perf(GroupTheory/IsPerfect): make subsingleton_of_isMulCommutative a theorem (#45864) The discussion in [#45731](https://github.com/leanprover-community/mathlib4/pull/45731) indicated that the instance Group.IsPerfect.subsingleton_of_isMulCommutative slows down mathlib’s linting. This PR makes it a theorem instead, which via to_additive also covers AddGroup.IsPerfect.subsingleton_of_isAddCommutative. The only file importing Mathlib.GroupTheory.IsPerfect so far is Mathlib/LinearAlgebra/Projectivization/PSL/PSL2.lean, which does not rely on this instance, so nothing downstream needed changing. Since the file is relatively new, it’s good to make this change before this issue snowballs.

Estimated changes