pith. sign in

arxiv: 2602.02885 · v2 · submitted 2026-02-02 · 🧮 math.GR · cs.CC· math.GT

Obstruction theory and the complexity of counting group homomorphisms

Pith reviewed 2026-05-16 08:02 UTC · model grok-4.3

classification 🧮 math.GR cs.CCmath.GT
keywords group homomorphisms#P-hardnesscomputational complexitygroup cohomologyobstruction theorynilpotent groups3-manifoldsfundamental groups
0
0 comments X

The pith

Counting homomorphisms from a finitely presented group to a non-abelian finite group is #P-hard, but polynomial-time solvable for class-2 nilpotent targets when the domain is a 3-manifold group or finite group with bounded second cohomology

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper examines the complexity of counting homomorphisms from an input group Γ to a fixed finite group G. It proves that this counting problem is #P-hard whenever G is non-abelian and Γ is given by a finite presentation, with the hardness persisting under various restrictions on Γ. For the special case where G is class-2 nilpotent and Γ is the fundamental group of a 3-manifold given by a triangulation with bounded |H²(M, Z(G))|, or when Γ is finite with a similar bound on |H²(Γ, Z(G))|, there exists a polynomial-time algorithm. This efficiency arises because the input triangulation or multiplication table allows the necessary group-cohomology obstruction problems to be solved efficiently.

Core claim

When G is non-abelian, counting homomorphisms Γ → G is #P-hard for Γ finitely presented. When G is class-2 nilpotent and |H²(Γ, Z(G))| is bounded, with Γ either the fundamental group of a triangulated 3-manifold or a finite group, the count can be computed in polynomial time by solving the cohomological obstruction problems that arise in lifting homomorphisms through the central extension determined by Z(G).

What carries the argument

Group-cohomology obstruction theory, where the second cohomology group H²(Γ, Z(G)) controls the lifts of partial homomorphisms and thereby determines the total count

If this is right

  • The #P-hardness holds even when Γ is supplied under various additional promises on its presentation
  • Polynomial-time counting applies to all fundamental groups of triangulated 3-manifolds once the cohomology bound is met
  • An analogous polynomial-time result holds for any finite group Γ given by its multiplication table once |H²(Γ, Z(G))| is bounded
  • Because 3-manifolds are close to Eilenberg-MacLane spaces, their triangulations suffice to resolve the obstruction problems without needing a full classifying space

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • Removing the bounded-cohomology hypothesis would likely restore #P-hardness even for class-2 nilpotent targets
  • The same obstruction-theoretic approach could be tested on other geometrically presented groups, such as fundamental groups of graphs or higher-dimensional manifolds whose cohomology is efficiently computable
  • The results separate computational complexity according to whether the target G has a nontrivial center that can be handled by bounded cohomology data

Load-bearing premise

That |H²(M, Z(G))| or |H²(Γ, Z(G))| remains bounded by a constant independent of the input size, allowing the obstructions to be enumerated efficiently from the given triangulation or multiplication table

What would settle it

A concrete 3-manifold triangulation M together with a class-2 nilpotent G having bounded |H²(M, Z(G))| for which the homomorphism count cannot be obtained in time polynomial in the size of the triangulation, or a non-abelian G and finitely presented Γ for which the count is computable in polynomial time

read the original abstract

Fix a finite group $G$. We study the computational complexity of counting problems of the following flavor: given a group $\Gamma$, count the number of homomorphisms $\Gamma \to G$. Our first result establishes that this problem is $\#\mathsf{P}$-hard whenever $G$ 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 $G$ is class 2 nilpotent and $\Gamma = \pi_1(M^3)$ for some input 3-manifold triangulation $M^3$ with $|H^2(M,Z(G)|$ bounded above, then there is a polynomial time algorithm to compute the number of homomorphisms from $\Gamma$ to $G$. 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 $G$ exists when $\Gamma$ is itself a finite group encoded via a multiplication table, provided that $|H^2(\Gamma,Z(G))|$ is similarly bounded from above.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 3 minor

Summary. The paper studies the complexity of counting homomorphisms from a group Γ to a fixed finite group G. It proves that the problem is #P-hard whenever G is non-abelian and Γ is given by a finite presentation, with several strengthenings under promises on Γ. For class-2 nilpotent G it gives polynomial-time algorithms when Γ = π₁(M³) for an input 3-manifold triangulation M³ (or when Γ is finite given by a multiplication table), provided |H²(·, Z(G))| is bounded above; the algorithms rely on solving the relevant group-cohomological obstruction problems efficiently from the given triangulation or multiplication table.

Significance. If the claims hold, the work meaningfully connects obstruction theory in group cohomology with computational complexity, supplying both unconditional hardness results for homomorphism counting and tractable special cases that exploit the topology of 3-manifolds. The explicit use of Eilenberg–MacLane approximations and bounded-cohomology promises to obtain polynomial-time algorithms is a clear strength.

major comments (2)
  1. [§3] §3: the #P-hardness reduction for finitely presented Γ must be stated with an explicit source problem (e.g., #3-Coloring) and a concrete construction showing how the presentation encodes the instance while preserving the homomorphism count; without this the reduction step is not fully verifiable from the given outline.
  2. [§5.2] §5.2, paragraph following the statement of the bounded-cohomology promise: the running-time analysis claims polynomial dependence on the triangulation size once |H²(M,Z(G))| is fixed, but does not specify the degree of the polynomial or the precise data structure used to enumerate the obstruction classes; this detail is load-bearing for the polynomial-time claim.
minor comments (3)
  1. [Abstract] Abstract and §1: the notation M³ for the input triangulation is introduced without a preceding definition; add a sentence clarifying that M³ is a finite simplicial complex whose geometric realization is a closed 3-manifold.
  2. [§2.3] §2.3: the definition of the obstruction cochain complex is given only for the manifold case; supply the analogous construction for the finite-group case (multiplication-table input) to keep the two algorithmic results parallel.
  3. [References] References: several standard citations on the complexity of homomorphism problems (e.g., works on #Hom(G) for fixed G) are missing; add them to place the hardness results in context.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for their careful reading and positive recommendation of minor revision. We address the two major comments point by point below and will revise the manuscript accordingly to improve clarity and verifiability.

read point-by-point responses
  1. Referee: §3: the #P-hardness reduction for finitely presented Γ must be stated with an explicit source problem (e.g., #3-Coloring) and a concrete construction showing how the presentation encodes the instance while preserving the homomorphism count; without this the reduction step is not fully verifiable from the given outline.

    Authors: We agree that the reduction requires an explicit source problem and concrete construction for full verifiability. In the revised manuscript we will take #3-Coloring as the source problem and supply the explicit construction: given an instance graph with v vertices, we introduce generators x_1,...,x_v together with relations that force each x_i to map to an element of order dividing 3 in G and that enforce adjacency constraints via commutators in the non-abelian group G, yielding a finite presentation whose homomorphism count to G equals the number of proper 3-colorings. revision: yes

  2. Referee: §5.2, paragraph following the statement of the bounded-cohomology promise: the running-time analysis claims polynomial dependence on the triangulation size once |H²(M,Z(G))| is fixed, but does not specify the degree of the polynomial or the precise data structure used to enumerate the obstruction classes; this detail is load-bearing for the polynomial-time claim.

    Authors: We acknowledge the need for greater precision on the running-time bound and data structures. In the revision we will state that, once |H²(M,Z(G))| is fixed, the algorithm enumerates obstruction classes by storing each 2-cocycle as an array of values on the 2-simplices of the triangulation (using a standard simplicial cochain representation) and runs in time O(t^d) where t is the number of tetrahedra and d is a constant depending only on |H²(M,Z(G))| and |G|; the cocycle condition and coboundary checks are performed by direct array arithmetic on the fixed number of classes. revision: yes

Circularity Check

0 steps flagged

No significant circularity identified in the derivation

full rationale

The paper's #P-hardness results rely on standard complexity reductions that embed known hard counting instances into finite group presentations for non-abelian G, without any reduction to self-defined or fitted quantities. The polynomial-time algorithms for class-2 nilpotent G use the input triangulation (or multiplication table) together with the bounded |H²| promise to solve obstruction problems via established group-cohomology machinery; these steps draw on independent topological facts about 3-manifolds and do not reduce by construction to the target homomorphism counts. No self-definitional steps, fitted-input predictions, load-bearing self-citations, or smuggled ansatzes appear in the provided derivation chain.

Axiom & Free-Parameter Ledger

0 free parameters · 1 axioms · 0 invented entities

The paper relies entirely on classical group theory, cohomology, and complexity theory without introducing new free parameters, ad-hoc axioms, or postulated entities.

axioms (1)
  • standard math Standard axioms of groups, homomorphisms, and group cohomology
    Invoked throughout to define the homomorphism counting problem and the obstruction theory used for the algorithmic results.

pith-pipeline@v0.9.0 · 5541 in / 1232 out tokens · 32141 ms · 2026-05-16T08:02:58.334892+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.