English

Counting Homomorphisms to Square-Free Graphs, Modulo 2

Computational Complexity 2015-08-27 v4 Combinatorics

Abstract

We study the problem HomsToHH of counting, modulo 2, the homomorphisms from an input graph to a fixed undirected graph HH. A characteristic feature of modular counting is that cancellations make wider classes of instances tractable than is the case for exact (non-modular) counting, so subtle dichotomy theorems can arise. We show the following dichotomy: for any HH that contains no 4-cycles, HomsToHH is either in polynomial time or is P\oplus P-complete. This confirms a conjecture of Faben and Jerrum that was previously only known to hold for trees and for a restricted class of treewidth-2 graphs called cactus graphs. We confirm the conjecture for a rich class of graphs including graphs of unbounded treewidth. In particular, we focus on square-free graphs, which are graphs without 4-cycles. These graphs arise frequently in combinatorics, for example in connection with the strong perfect graph theorem and in certain graph algorithms. Previous dichotomy theorems required the graph to be tree-like so that tree-like decompositions could be exploited in the proof. We prove the conjecture for a much richer class of graphs by adopting a much more general approach.

Keywords

Cite

@article{arxiv.1501.07539,
  title  = {Counting Homomorphisms to Square-Free Graphs, Modulo 2},
  author = {Andreas Göbel and Leslie Ann Goldberg and David Richerby},
  journal= {arXiv preprint arXiv:1501.07539},
  year   = {2015}
}

Comments

32 pages, 8 figures (v4 adds Corollary 3.7 to fix a bug in the proof of Lemma 5.15; v3 is a minor update; v2 corrects a typo: we wrote "dist" instead of "dom" for the domain of a function in v1)

R2 v1 2026-06-22T08:15:59.955Z