Generating key points…
Answers are grounded in this paper and cite their sources.
We introduce and classify the counting complexity of edge-ordered group-labeled perfect matchings. Fix a finite group Γ and an integer modulus q ≥ 2. Given a simple graph G = (V, E) with edge labels w : E → Γ, a target g* ∈ Γ, and a global edge ordering e1 < … < em, let #Mg*Γ(G) count the perfect matchings M of G whose ordered product equals g*. The order is arbitrary and may interleave edges across distinct components. While Kasteleyn's Pfaffian method solves this problem in polynomial time for abelian groups on planar graphs, the non-abelian case has not been classified. We establish two complete complexity classifications across every finite group Γ and every modulus q ≥ 2. First, on planar, bounded-treewidth (tw ≤ c, c ≥ 2), and O(log n)-genus graphs (given a cellular embedding), modular counting #Mg*Γ(G) mod q obeys a complete trichotomy: (I) for abelian Γ, exact and modular counting lie in deterministic NC2 (planar and bounded treewidth) and P (genus O(log n)); (II) for non-abelian Γ in Cp (having a normal Sylow p-subgroup with abelian quotient), counting modulo q = pe lies in deterministic NC2 (planar and bounded treewidth) and P (genus O(log n)) via Galois rings and division-free Pfaffians, whereas any q divisible by a prime l ≠ p is ModlP-hard even on simple planar bipartite treewidth-2 graphs; and (III) for every Γ not in the union of Cp, there is no tractable modulus: counting modulo every q ≥ 2 is ModlP-hard for every prime l dividing q, already on simple planar bipartite treewidth-2 graphs, via Frobenius's (1907) normal p-complement theorem. Second, on 2-regular outerplanar bipartite graphs (to which maximum degree Δ ≤ 2 reduces), exact integer counting lies in P if Γ is abelian or a nilpotency-class-2 2-group of exponent at most 4, and is #P-hard for every other finite group; at maximum degree Δ = 3, every non-abelian group becomes #P-hard via disjoint copies of a 10-vertex chorded cycle.
No takes yet. Share an insight, caveat, or question.
Dave Goel (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: