Obstruction theory and the complexity of counting group homomorphisms
Abstract
Fix a finite group . We study the computational complexity of counting problems of the following flavor: given a group , count the number of homomorphisms . Our first result establishes that this problem is -hard whenever is a non-abelian group and is provided via a finite presentation. We give several improvements showing that this hardness conclusion continues to hold for restricted satisfying various promises. Our second result shows that if is class 2 nilpotent and for some input 3-manifold triangulation with bounded above, then there is a polynomial time algorithm to compute the number of homomorphisms from to . This algorithm is explained in part by the fact that 3-manifolds are close enough to being Eilenberg-MacLane spaces for us to solve the necessary group cohomological obstruction problems efficiently using the given triangulation. A similar polynomial time algorithm for counting maps to finite, class 2 nilpotent exists when is itself a finite group encoded via a multiplication table, provided that is similarly bounded from above.
Keywords
Cite
@article{arxiv.2602.02885,
title = {Obstruction theory and the complexity of counting group homomorphisms},
author = {Eric Samperton and Armin Weiß},
journal= {arXiv preprint arXiv:2602.02885},
year = {2026}
}
Comments
Theorem 2 has changed to account for the fact that the pullback obstruction map is quadratic, not linear. We are working to improve the result further