Exact and Modular Counting Dichotomies for Group-Labeled Perfect Matchings

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.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24677025
Primary Topic
Advanced Graph Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact and Modular Counting Dichotomies for Group-Labeled Perfect Matchings

Dave Goel
Zenodo (CERN European Organization for Nuclear Research)
Advanced Graph Theory Research
preprint

Exact and Modular Counting Dichotomies for Group-Labeled Perfect Matchings

Dave Goel
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Graph Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Exact and Modular Counting Dichotomies for Group-Labeled Perfect Matchings — Dave Goel · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS