English

The Complexity of Approximately Counting Retractions

Computational Complexity 2020-06-04 v3 Discrete Mathematics

Abstract

Let GG be a graph that contains an induced subgraph HH. A retraction from GG to HH is a homomorphism from GG to HH that is the identity function on HH. Retractions are very well-studied: Given HH, the complexity of deciding whether there is a retraction from an input graph GG to HH is completely classified, in the sense that it is known for which HH this problem is tractable (assuming PNP\mathrm{P}\neq \mathrm{NP}). Similarly, the complexity of (exactly) counting retractions from GG to HH is classified (assuming FP#P\mathrm{FP}\neq \#\mathrm{P}). However, almost nothing is known about approximately counting retractions. Our first contribution is to give a complete trichotomy for approximately counting retractions to graphs of girth at least 55. Our second contribution is to locate the retraction counting problem for each HH in the complexity landscape of related approximate counting problems. Interestingly, our results are in contrast to the situation in the exact counting context. We show that the problem of approximately counting retractions is separated both from the problem of approximately counting homomorphisms and from the problem of approximately counting list homomorphisms --- whereas for exact counting all three of these problems are interreducible. We also show that the number of retractions is at least as hard to approximate as both the number of surjective homomorphisms and the number of compactions. In contrast, exactly counting compactions is the hardest of all of these exact counting problems.

Keywords

Cite

@article{arxiv.1807.00590,
  title  = {The Complexity of Approximately Counting Retractions},
  author = {Jacob Focke and Leslie Ann Goldberg and Stanislav Zivny},
  journal= {arXiv preprint arXiv:1807.00590},
  year   = {2020}
}
R2 v1 2026-06-23T02:47:58.984Z