English

Obstruction theory and the complexity of counting group homomorphisms

Group Theory 2026-04-22 v2 Computational Complexity Geometric Topology

Abstract

Fix a finite group GG. We study the computational complexity of counting problems of the following flavor: given a group Γ\Gamma, count the number of homomorphisms ΓG\Gamma \to G. Our first result establishes that this problem is #P\#\mathsf{P}-hard whenever GG is a non-abelian group and Γ\Gamma is provided via a finite presentation. We give several improvements showing that this hardness conclusion continues to hold for restricted Γ\Gamma satisfying various promises. Our second result shows that if GG is class 2 nilpotent and Γ=π1(M3)\Gamma = \pi_1(M^3) for some input 3-manifold triangulation M3M^3 with H2(M,Z(G)|H^2(M,Z(G)| bounded above, then there is a polynomial time algorithm to compute the number of homomorphisms from Γ\Gamma to GG. 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 GG exists when Γ\Gamma is itself a finite group encoded via a multiplication table, provided that H2(Γ,Z(G))|H^2(\Gamma,Z(G))| 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