Space-Efficient Counting in Graphs on Surfaces

Abstract.We consider the problem of counting the number of spanning trees in planar graphs. We prove tight bounds on the complexity of the problem, both in general and especially in the modular setting. We exhibit the problem to be complete for Logspace when the modulus is 2k, for constant k. On the other hand, we show that for any other modulus and in the non-modular case, our problem is as hard in the planar case as for the case of arbitrary graphs. The techniques used are algebraic topological that may be useful in many other problems involving planar or higher genus graphs – such as higher genus graph recognition in Logspace.In the spirit of counting problems modulo 2k, we also exhibit a highly parallel $$\oplus {\bf L}$$ algorithm for finding the value of a permanent modulo 2k. Previously, the best known result in this direction was Valiant’s result that this problem lies in P. We also show that we can count the number of perfect matchings modulo 2k in an arbitrary graph in P. This extends Valiant’s result for the permanent, since the Permanent may be modeled as counting the number of perfect matchings in bipartite graphs.

[1]  Stefan Friedrich,et al.  Topology , 2019, Arch. Formal Proofs.

[2]  Reinhard Diestel,et al.  Graph Theory , 1997 .

[3]  H. Shank,et al.  The theory of left-right paths , 1975 .

[4]  Jim Hefferon,et al.  Linear Algebra , 2012 .

[5]  Omer Reingold,et al.  Undirected ST-connectivity in log-space , 2005, STOC '05.

[6]  Mark Braverman,et al.  Parity Problems in Planar Graphs , 2007, Twenty-Second Annual IEEE Conference on Computational Complexity (CCC'07).

[7]  Gordon F. Royle,et al.  Algebraic Graph Theory , 2001, Graduate texts in mathematics.

[8]  A. R. Rao,et al.  Linear algebra , 1961 .

[9]  R. Ho Algebraic Topology , 2022 .

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

[11]  Stephen A. Cook,et al.  Problems Complete for Deterministic Logarithmic Space , 1987, J. Algorithms.

[12]  Ira M. Gessel,et al.  Determinants, Paths, and Plane Partitions , 1989 .

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

[14]  Eric Allender,et al.  Uniform constant-depth threshold circuits for division and iterated multiplication , 2002, J. Comput. Syst. Sci..

[15]  Wayne Eberly,et al.  Efficient parallel independent subsets and matrix factorizations , 1991, Proceedings of the Third IEEE Symposium on Parallel and Distributed Processing.

[16]  Christoph Meinel,et al.  Structure and Importance of Logspace-MOD-Classes , 1991, STACS.

[17]  Seinosuke Toda,et al.  PP is as Hard as the Polynomial-Time Hierarchy , 1991, SIAM J. Comput..

[18]  David Eppstein On the Parity of Graph Spanning Tree Numbers , 2001 .

[19]  William Fulton Algebraic Topology: A First Course , 1995 .