English

Modular counting of subgraphs: Matchings, matching-splittable graphs, and paths

Computational Complexity 2021-07-02 v1 Data Structures and Algorithms

Abstract

We systematically investigate the complexity of counting subgraph patterns modulo fixed integers. For example, it is known that the parity of the number of kk-matchings can be determined in polynomial time by a simple reduction to the determinant. We generalize this to an nf(t,s)n^{f(t,s)}-time algorithm to compute modulo 2t2^t the number of subgraph occurrences of patterns that are ss vertices away from being matchings. This shows that the known polynomial-time cases of subgraph detection (Jansen and Marx, SODA 2015) carry over into the setting of counting modulo 2t2^t. Complementing our algorithm, we also give a simple and self-contained proof that counting kk-matchings modulo odd integers qq is Mod_q-W[1]-complete and prove that counting kk-paths modulo 22 is Parity-W[1]-complete, answering an open question by Bj\"orklund, Dell, and Husfeldt (ICALP 2015).

Keywords

Cite

@article{arxiv.2107.00629,
  title  = {Modular counting of subgraphs: Matchings, matching-splittable graphs, and paths},
  author = {Radu Curticapean and Holger Dell and Thore Husfeldt},
  journal= {arXiv preprint arXiv:2107.00629},
  year   = {2021}
}

Comments

23 pages, to appear at ESA 2021

R2 v1 2026-06-24T03:49:03.121Z