Counting edge-injective homomorphisms and matchings on restricted graph classes

We consider the $\#\mathsf{W}[1]$-hard problem of counting all matchings with exactly $k$ edges in a given input graph $G$; we prove that it remains $\#\mathsf{W}[1]$-hard on graphs $G$ that are line graphs or bipartite graphs with degree $2$ on one side. In our proofs, we use that $k$-matchings in line graphs can be equivalently viewed as edge-injective homomorphisms from the disjoint union of $k$ length-$2$ paths into (arbitrary) host graphs. Here, a homomorphism from $H$ to $G$ is edge-injective if it maps any two distinct edges of $H$ to distinct edges in $G$. We show that edge-injective homomorphisms from a pattern graph $H$ can be counted in polynomial time if $H$ has bounded vertex-cover number after removing isolated edges. For hereditary classes $\mathcal{H}$ of pattern graphs, we complement this result: If the graphs in $\mathcal{H}$ have unbounded vertex-cover number even after deleting isolated edges, then counting edge-injective homomorphisms with patterns from $\mathcal{H}$ is $\#\mathsf{W}[1]$-hard. Our proofs rely on an edge-colored variant of Holant problems and a delicate interpolation argument; both may be of independent interest.

[1]  Peter Jonsson,et al.  The complexity of counting homomorphisms seen from the other side , 2004, Theor. Comput. Sci..

[2]  Salil P. Vadhan,et al.  The Complexity of Counting in Sparse, Regular, and Planar Graphs , 2002, SIAM J. Comput..

[3]  P. Seymour,et al.  The Strong Perfect Graph Theorem , 2002, math/0212070.

[4]  M. Jerrum Two-dimensional monomer-dimer systems are computationally intractable , 1987 .

[5]  Thomas Schwentick,et al.  When is the evaluation of conjunctive queries tractable? , 2001, STOC '01.

[6]  Marc Roth,et al.  Counting Restricted Homomorphisms via Möbius Inversion over Matroid Lattices , 2017, ESA.

[7]  Michael Luby,et al.  Approximating the Permanent of Graphs with Large Factors , 1992, Theor. Comput. Sci..

[8]  Dániel Marx,et al.  Complexity of Counting Subgraphs: Only the Boundedness of the Vertex-Cover Number Counts , 2014, 2014 IEEE 55th Annual Symposium on Foundations of Computer Science.

[9]  Nadia Creignou,et al.  Complexity of Generalized Satisfiability Counting Problems , 1996, Inf. Comput..

[10]  Jin-Yi Cai,et al.  Holographic Algorithms with Matchgates Capture Precisely Tractable Planar #CSP , 2017, SIAM J. Comput..

[11]  Lubomír Soltés Forbidden induced subgraphs for line graphs , 1994, Discret. Math..

[12]  Jin-Yi Cai,et al.  Computational Complexity of Holant Problems , 2011, SIAM J. Comput..

[13]  Markus Frick,et al.  Generalized Model-Checking over Locally Tree-Decomposable Classes , 2002, STACS.

[14]  Jin-Yi Cai,et al.  Holographic algorithms: From art to science , 2011, J. Comput. Syst. Sci..

[15]  Ryan Williams,et al.  Finding, Minimizing, and Counting Weighted Subgraphs , 2013, SIAM J. Comput..

[16]  Venkatesan Guruswami Maximum Cut on Line and Total Graphs , 1999, Discret. Appl. Math..

[17]  Peng Zhang,et al.  Computational complexity of counting problems on 3-regular planar graphs , 2007, Theor. Comput. Sci..

[18]  Ge Xia,et al.  Tight lower bounds for certain parameterized NP-hard problems , 2004, Proceedings. 19th IEEE Annual Conference on Computational Complexity, 2004..

[19]  Dániel Marx,et al.  Homomorphisms are a good basis for counting small subgraphs , 2017, STOC.

[20]  Bingkai Lin,et al.  The Parameterized Complexity of k-Biclique , 2014, SODA.

[21]  Eric Vigoda,et al.  A polynomial-time approximation algorithm for the permanent of a matrix with nonnegative entries , 2004, JACM.

[22]  Leslie G. Valiant,et al.  The Complexity of Computing the Permanent , 1979, Theor. Comput. Sci..

[23]  Radu Curticapean,et al.  Counting Matchings of Size k Is W[1]-Hard , 2013, ICALP.

[24]  Jin-Yi Cai,et al.  Holographic algorithm with matchgates is universal for planar #CSP over boolean domain , 2016, STOC.

[25]  Mam Riess Jones Color Coding , 1962, Human factors.

[26]  Radu Curticapean,et al.  The simple, little and slow things count: on parameterized counting complexity , 2015, Bull. EATCS.

[27]  Mingji Xia,et al.  Parameterizing the Permanent: Genus, Apices, Minors, Evaluation Mod 2k , 2015, 2015 IEEE 56th Annual Symposium on Foundations of Computer Science.

[28]  Vadim V. Lozin,et al.  Independent sets in extensions of 2K2-free graphs , 2005, Discret. Appl. Math..

[29]  Philippe G. H. Lehot An Optimal Algorithm to Detect a Line Graph and Output Its Root Graph , 1974, JACM.

[30]  Jin-Yi Cai,et al.  Holographic Algorithms by Fibonacci Gates and Holographic Reductions for Hardness , 2008, 2008 49th Annual IEEE Symposium on Foundations of Computer Science.

[31]  Jörg Flum,et al.  The parameterized complexity of counting problems , 2002, The 43rd Annual IEEE Symposium on Foundations of Computer Science, 2002. Proceedings..

[32]  Jörg Flum,et al.  Parameterized Complexity Theory , 2006, Texts in Theoretical Computer Science. An EATCS Series.

[33]  Leslie G. Valiant,et al.  Holographic Algorithms (Extended Abstract) , 2004, FOCS.

[34]  Martin Grohe,et al.  The complexity of homomorphism and constraint satisfaction problems seen from the other side , 2003, 44th Annual IEEE Symposium on Foundations of Computer Science, 2003. Proceedings..

[35]  M. Fisher,et al.  Dimer problem in statistical mechanics-an exact result , 1961 .

[36]  Yijia Chen,et al.  Understanding the Complexity of Induced Subgraph Isomorphisms , 2008, ICALP.

[37]  Dániel Marx,et al.  Exponential Time Complexity of the Permanent and the Tutte Polynomial , 2010, TALG.

[38]  Frank Harary,et al.  Graph Theory , 2016 .

[39]  Jin-Yi Cai,et al.  On the Power of Parity Polynomial Time , 1989, STACS.

[40]  Kitty Meeks,et al.  The challenges of unbounded treewidth in parameterised subgraph counting problems , 2014, Discret. Appl. Math..

[41]  Najiba Sbihi,et al.  Algorithme de recherche d'un stable de cardinalite maximum dans un graphe sans etoile , 1980, Discret. Math..

[42]  Xiao-Dong Zhang,et al.  Disjoint Triangles of a Cubic Line Graph , 2004, Graphs Comb..