Abstract 1 Introduction 2 Preliminaries 3 Independent Set 4 Matching compatibility matrix 5 Traveling salesperson problem 6 Spanning tree 7 Conclusion References

Lower Bounds on Pure Dynamic Programming for Connectivity Problems on Graphs of Bounded Path-Width

Kacper Kluk ORCID Institute of Informatics, University of Warsaw, Poland    Jesper Nederlof ORCID Department of Information and Computing Sciences, Utrecht University, The Netherlands
Abstract

We give unconditional parameterized complexity lower bounds on pure dynamic programming algorithms – as modeled by tropical circuits – for connectivity problems such as the Traveling Salesperson Problem. Our lower bounds are higher than the currently fastest algorithms that rely on algebra and give evidence that these algebraic aspects are unavoidable for competitive worst case running times.

Specifically, we study input graphs with a small width parameter such as treewidth and pathwidth and show that for any k there exists a graph G of pathwidth at most k and k𝒪(1) vertices such that any tropical circuit calculating the optimal value of a Traveling Salesperson round tour uses at least 2Ω(kloglogk) gates. We establish this result by linking tropical circuit complexity to the nondeterministic communication complexity of specific compatibility matrices. These matrices encode whether two partial solutions combine into a full solution, and Raz and Spieker [Combinatorica 1995] previously proved a lower bound for this complexity measure.

Keywords and phrases:
Parameterized Complexity, treewidth, tropical circuits, connectivity problems
Category:
Track A: Algorithms, Complexity and Games
Funding:
Kacper Kluk: Supported by Polish National Science Centre SONATA BIS-12 grant number 2022/46/E/ST6/00143.
Jesper Nederlof: supported by the project COALESCE that has received funding from the European Research Council (ERC), grant agreement No 853234.
Copyright and License:
[Uncaptioned image] © Kacper Kluk and Jesper Nederlof; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Parameterized complexity and exact algorithms
Related Version:
Full Version: https://arxiv.org/abs/2512.23121
Acknowledgements:
We thank Wim van den Broeck for making us aware of relations between our work and [13], and Daniel Dadush for making us aware of direction connections of tropical circuits and extension complexity as outlined in [20].
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

A common paradigm in theoretical computer science is to pin down which algorithmic techniques can or cannot achieve certain central goals by formalizing such a technique within a precise algorithmic model and then proving sharp limitations for that model. Classic examples include unconditional lower bounds for Linear Programming-based algorithms (e.g. extension complexity [14, 37, 40]), conditional lower bounds for preprocessing algorithms in parameterized complexity (conditioned on the non-collapse of the polynomial hierarchy [6, 17]), and unconditional lower bounds for resolution-based algorithms for refuting the Strong Exponential Time Hypothesis [2]. This paradigm reveals which algorithmic nuances are fundamentally unavoidable and shows us where genuine breakthroughs must come from.

One notable example of such algorithmic nuance is that of algebraic cancellation: for several combinatorial computational problems, the fastest known algorithms crucially exploit certain algebraic cancellation in rather counter-intuitive ways, and it is a well-studied open question whether these algorithms can be matched with (more natural, and in some sense robust) “combinatorial” algorithms. This question arises for instance in the settings of Boolean matrix multiplication (e.g. [1, 38]), various variants of the problem of finding a perfect matching solvable by reduction to determinant computation [24, 34], and fast exponential time algorithms for Hamiltonicity [4]. This very question of whether the use of algebraic cancellation is needed does not only occur in algorithm design, but also in various other disciplines. For example, in extremal combinatorics, it is an open question in various settings whether combinatorial proofs exist that match algebraic proofs (for example, a combinatorial proof of the skew two families theorem remains illusive [7]), and the log rank conjecture in communication complexity asks whether algebraic low rank decompositions of matrices in general imply low rank combinatorial decompositions (or more specifically, whether the rank and partioning number of a Boolean matrix are quasi-polynomially related), see e.g. [30, 31].

One such setting in which we would like to replace algebraic arguments with combinatorial arguments within the area of parameterized complexity is that of connectivity problems parameterized by treewidth: In 2011 [12] it was shown that many connectivity problems parameterized by treewidth can be solved faster than what was deemed possible at the time. In particular, problems like Hamiltonian Cycle and Steiner Tree were solved with a randomized algorithm in 2𝒪(k)N𝒪(1) time, when given a tree decomposition of width k of an N-vertex input graph. Before the work [12], the fastest known algorithm for problems parameterized by treewidth were only based on straightforward combinatorial dynamic programming techniques that naturally lead to running times like k𝒪(k)N𝒪(1) and seemed hard to improve. Later work that followed up on [12] and provided deterministic algorithms for weighted extensions such as the Traveling Salesperson Problem (TSP) on bounded treewidth graphs [5] and an alternative version connected the approach with a matroid-based extension of the aforementioned two-family theorem [16]. But these newer algorithms are slower and typically do not lead to conditionally optimal running times due to the overhead implied by the need for computing a row-basis of an exponentially-sized matrix.

All these works [12, 5, 16] rely on algebraic cancellation by exploiting that the rank of certain compatibility matrices is small, a particularly counterintuitive approach in comparison to the previous simple and clean combinatorial k𝒪(k)N𝒪(1) time algorithms. It is a notable open question to remove the mentioned overhead in the runtime for the deterministic algorithm and weighted extensions. For example, a positive resolution of this open question would bring us closer to solving the TSP in time 1.9999N [35], where N is the number of cities.

But, to do so it seems crucial to get a better combinatorial understanding of the involved compatibility matrices, simultaneously bypassing the undesired algebraic cancellation arguments. In this work we give a strong indication that more than just elementary combinatorial techniques are needed, via the algorithmic model of tropical circuits.

Tropical Circuits.

A tropical circuit is an arithmetic circuit in which the inputs are labeled with variables that take an integer as value and the two arithmetic gates correspond to the max and sum, or alternatively, min and sum, operations. See Section 2 for a precise definition. The motivation for studying the expressiveness of tropical circuits is that it models a broad class of dynamic programming algorithms. In particular, if there exists for a maximization problem (for which its instances are defined by a set of input weights) a dynamic programming algorithm that is “pure” in the sense that the associated recurrence only features the operations max and sum, then there is a tropical circuit that outputs the optimal objective value with circuit size being proportional to the running time of the dynamic programming algorithm.

For example, the classic Bellman-Held-Karp [3, 19] 𝒪(N22N) time algorithm for TSP is naturally converted into a tropical circuit with 𝒪(N22N) gates and the 𝒪(N3) time Floyd-Warshall [15, 39] algorithm that computes the shortest path lengths between each pair of vertices is naturally converted into a tropical circuit with 𝒪(N3) gates. Both tropical circuits cannot be substantially improved [21, 25] (see also [22, Corollary 2.2]).

In the realm of parameterized complexity, it is easy to see that canonical applications of dynamic programming can be modeled in an efficient way as tropical circuits. Examples are the dynamic programming algorithms for Steiner Tree and Set Cover (see e.g. [10, Section 6.1]) with few number of terminals and elements and, especially relevant for this paper, the 𝒪(2kN) time algorithm for the maximum independent set problem on graphs with a given tree decomposition of width k and N vertices.

For much more details on tropical circuits, we refer to the excellent textbook by Jukna [22].

Problems parameterized by treewidth.

A very popular research line that started in [28, 29] is that of investigating the fine-grained complexity of various NP-hard problems parameterized by width measures such as the treewidth of the input graph. In particular, for many NP-hard problems we are now able to

  • design algorithms with a running time of the type f(k)N𝒪(1) for some width measure k and N denoting the number of vertices of the input graph, and

  • prove that any improvement of this running time to f(k)1Ω(1)N𝒪(1) or even f(k)o(1)N𝒪(1) violates the Exponential Time Hypothesis (ETH) or the Strong Exponential Time Hypothesis (SETH).

Such algorithms are often called (S)ETH-tight algorithms. Such tight algorithms provide insight on how amenable the problem at hand is for divide and conquer techniques: conditioned on standard hypotheses, they essentially reveal how much information of partial solutions exactly is relevant in order to decide whether the partial solutions combine or not.

The aforementioned type of connectivity problems (such as TSP and Steiner Tree) forms an important class of problems for which we do not generally have SETH-tight algorithms, because of the aforementioned overhead implied by the algebraic methods. A natural question is hence, whether this algebraic bottleneck can be avoided and whether we can replace the algebraic arguments with combinatorial ones.

Our results

In this paper we provide evidence that direct combinatorial techniques on their own are insufficient for designing faster algorithms for connectivity problems, by giving unconditional lower bounds for tropical circuits. We state our lower bounds in terms of the pathwidth of the input graph. This is similar to the treewidth of a graph, except that we require more specifically to decompose the graph in a path-like manner instead of a tree-like manner. Hence, the pathwidth of a graph is always at least the treewidth of a graph and hence our lower bounds also imply lower bounds parameterized by treewidth. See Section 2 for definitions. Before we study connectivity problems, we first study the complexity of a more basic problem:

Maximum Weight Independent Set.

In the Maximum Weight Independent Set problem one is given a graph G=(V,E) along with a vertex weight xv for every vV, and is asked for the value ISG:=maxI(G)vIxv where (G) denotes the family of all independent sets of G. Our lower bound for this problem reads as follows (full definitions are postponed to Section 2):

Theorem 1.1.

For any k1, there exists a graph G of pathwidth at most k on k𝒪(1) vertices such that any tropical circuit calculating ISG uses at least Ω(2k) gates.

Note that pathwidth is a width measure that is always at least the treewidth of the graph. Since there is a simple 𝒪(2kN)-sized tropical circuit that calculates ISG for an N-vertex graph of pathwidth k, this result is optimal in a tight sense.111This can be shown by translating the standard 𝒪(2kN) time algorithm for ISG (see e.g. [10, Section 7.3.1]) in the natural way into a tropical circuit. A previous result by Korhonen [27] showed that for every graph G of treewidth k and maximum degree d any tropical circuit calculating ISG must be of size at least 2Ω(k/d). This result is less tight than our new result and also seems to crucially rely on some properties of the Maximum Weight Independent Set problem. While the type of universal lower bound from [27] is quite interesting, it does not directly have added value in our context of worst case complexity analysis and hence we do not pursue it further in this work.

Theorem 1.1 is obtained using the following two ingredients. The graphs for which we show the bounds are constructed based on ideas from the classic reduction from CNF-Sat to Maximum Weight Independent Set. The tropical circuit size bound itself is shown by analyzing the structure of the so-called rectangles, a combinatorial notion that typically arises in the study of tropical circuits that captures the way in which the partial solution calculated at some node of the tropical circuit can combine with the computations done by the rest of the circuit, see e.g. [22].

Connectivity Problems.

We show lower bounds on the tropical circuit complexity of the following graph connectivity problems. Let G be an N-vertex graph with an edge weight xu,v for every pair of distinct vertices u and v. Let (G) denote the family of all sequences of N+1 vertices (ui)i=0N such that u0=uN and u0u1uN1uN is a directed Hamiltonian cycle in G. We define DTSPG to be the minimum i[N]xui1,ui taken over all (u0,,uN)(G). For an undirected graph, we define the undirected variant TSPG similarly while identifying variables xu,v and xv,u for all uvE(G).

With these definitions in place, our main results can be stated as follows:

Theorem 1.2.

For any k1, there exists a graph G of pathwidth at most k on k𝒪(1) vertices such that any tropical circuit calculating DTSPG uses at least 2Ω(kloglogk) gates.

Theorem 1.3.

For any k1, there exists a graph G of pathwidth at most k on k𝒪(1) vertices such that any tropical circuit calculating TSPG uses at least 2Ω(kloglogk) gates.

We also provide a similar lower bound for the Directed Spanning Tree problem. We let 𝒯(G) denote the family of all functions p:V(G)V(G) such that for exactly one vertex vV(G), p(v)=v, and edges (p(u),u) over all other vertices u form an out-tree rooted at v (i.e. a tree oriented away from the root). Furthermore, we define DSTG as the minimum vV(G):p(v)vxp(v),v taken over all p𝒯(G) (i.e., DSTG is the minimum weight spanning tree of G).

Theorem 1.4.

For any k1, there exists a graph G of pathwidth at most k on k𝒪(1) vertices such that any tropical circuit calculating DSTG uses at least 2Ω(kloglogk) gates.

By adapting textbook dynamic programming algorithms, one can directly obtain tropical circuits for DTSPG,TSPG and DSTG of size k𝒪(k)N if G has N vertices and pathwidth/treewidth k. Thus, there is still a gap between the lower bound and upper bound, and in fact this seems closely related to a similar gap in the area of communication complexity (see Section 7 for more details on this). Nevertheless, our results show that the currently fastest 2𝒪(k)N time algorithms for TSP and Directed Steiner Tree (which generalizes Directed Spanning Tree) cannot be matched with merely pure dynamic programming.

The proofs of these three results combine the basic ingredients of the proof of Theorem 1.1 with the properties of the Matchings Compatibility Matrix, defined as follows. The rows and columns of this binary matrix are both indexed by perfect matchings of a bipartite graph, and an entry in the matrix indicates whether the union of these two perfect matchings forms a Hamiltonian cycle. This matrix has already been studied in [36] in the context of the log-rank conjecture in communication complexity, where a lower bound on the nondeterministic communication complexity and an upper bound of its rank was given. The rank of (a slight variant of) this matrix also turned out to be important for studying the complexity of the Hamiltonian Cycle and TSP problem, both parameterized by the path/treewidth of the input graph and parameterized by the number of vertices [9, 11, 35].

Our main technical contribution is that the lower bound on the nondeterministic communication complexity of this matrix from [36] can be used to obtain the above lower bounds on the size of tropical circuits.

Extension Complexity.

A notion closely related to minimum tropical circuit size of a polynomial is that of the extension complexity of a polytope.222To compare the two notions, we focus on multilinear polynomials, i.e. polynomials of maximum individual degree 1. With such a polynomial we can associate a polytope which is the convex hull of all points (a1,,an){0,1}n with the property that xa1xan is a monomial in the polynomial. The extension complexity xc(P) of a polytope P is the minimum number of facets of a (possibly, higher-dimensional) polytope that can be projected to P. The notion has been introduced by Yannakakis [40] and culminated in celebrated exponential lower bounds of the polytope associated with TSPG [14] and the non-bipartite matching polytope [37]. These two (Gödel-prize winning) papers also achieve their lower bound by lower bounding the nondeterministic communication complexity of a certain matrix, but we use a completely different matrix.

While it is known that dynamic programming algorithms can usually be turned into extension complexity upper bounds [8, 33], of course many problems amenable to linear programming cannot be solved directly with dynamic programming. Analogously, the spanning tree polynomial (denoted with DSTG in this paper) cannot be computed with tropical circuits of size 2o(n) (see [23]), but has polynomial extension complexity (see e.g. [32]). In the other direction, it is known that the existence of small monotone neural networks implies small extension complexity (see [20]). In particular, since tropical circuits are a special case of such networks, for any multilinear polynomial f and its corresponding polytope P, every tropical circuit calculating f must have size at least 12xc(P).

The extension complexity of polytopes in terms of treewidth of the input graph was already upper bounded in previous works [26, 13]. In [13] the authors presented lower bounds, but those are conditioned on the Exponential Time Hypothesis. The currently (to our best knowledge) highest relevant unconditional lower bounds are a 2Ω(n/logn) lower bound on the extension complexity of the independent set polytope (corresponding to ISG) from [18], and a 2Ω(n) lower bound on the extension complexity of the TSP polytope (corresponding to TSPG) from [37].

These lower bounds are incomparable to our lower bounds in Theorem 1.1 and Theorem 1.2. We hope that our techniques can be used to prove stronger lower bounds on the extension complexity of polytopes (as a function of the treewidth of the input graph, or in general).

Organization.

This paper is organized as follows: In Section 2 we provide the necessary definitions and preliminary tools used in the remainder of the paper. Section 3 presents the proof of Theorem 1.1. Section 4 presents the aforementioned matchings compatibility matrix and the required results about its structure. In Section 5 we prove Theorem 1.2 and Theorem 1.3. In Section 6 we prove Theorem 1.4, and we provide some concluding remarks in Section 7.

2 Preliminaries

We use the following basic notation. For a positive integer , we use [] to denote the set {1,2,,}. For a graph G, we use V(G) to denote the set of vertices of G, and E(G) to denote the set of edges of G. For a graph G and a subset XV(G), we write G[X] to denote the subgraph of G induced by X, i.e., a graph with vertices restricted to X and all edges between vertices of X preserved.

By 𝒮k we denote the group of all permutations on the set [k]. By 𝒮¯k we denote the subset of 𝒮k of permutations that contain exactly one cycle. By 𝒮2k2 we denote the subset of 𝒮2k of permutations that contain exactly k cycles, each of size 2 and by 𝒮2kk we denote the subset of 𝒮2k of permutations that contain exactly 2 cycles, each of size k.

A cycle type of a permutation is defined as the multiset of the sizes of all its cycles. A conjugation of a permutation ρ𝒮k by a permutation π𝒮k is defined as π1ρπ, i.e. the composition of the inverse of π, ρ and π. It is well known that permutation conjugation preserves its cycle type, and hence 𝒮¯k,𝒮2k2,𝒮2kk are closed under taking conjugations. We will need the following group-theoretic properties of permutations and their conjugations. All of those are either well known or easy to obtain with some basic calculations done on subgroups.

Proposition 2.0.

The following equalities hold for any k1 and for any maximal set 𝒵k𝒮k of permutations of the same cycle type.

  1. 1.

    |𝒮¯k|=(k1)!, |𝒮2kk|=(2k1)!/k, |𝒮2k2|=(2k1)!!=(2k1)(2k3)31,

  2. 2.

    {π1ρππ𝒮k}=𝒵k for every ρ𝒵k,

  3. 3.

    |{π𝒮kπ1ρ1π=ρ2}|=|𝒮k|/|𝒵k| for every ρ1,ρ2𝒵k,

  4. 4.

    |{ρ2𝒮2k2ρ2ρ1𝒮2kk}|=(2k2)!!=(2k2)(2k4)42 for every ρ1𝒮2k2.

Pathwidth.

Let G be a graph (undirected or directed). A path decomposition of G is a sequence of subsets β1,β2,,βV(G) called bags such that:

  • for every edge (u,v)E(G), there is some i[] such that u,vβi, and

  • for every vertex vV(G), there exist 1i1i2 such that {ivβi}={i1,i1+1,,i21,i2}, i.e., the bags containing v form a connected subinterval of the sequence of all bags.

The width of a path decomposition (βi)i=1 is defined as maxi[]|βi|1. The pathwidth of G is defined as the minimum possible width of a path decomposition of G.

2.1 Tropical polynomials

We treat all polynomials as defined over the tropical (max,+) semiring, i.e., (fg)(x)=f(x)+g(x) and (f+g)(x)=max(f(x),g(x)) for any two polynomials f,g.

Independent Set polynomial.

If we treat the weights xv as indeterminates we can view ISG as a polynomial in the (max,+) semiring by replacing the max operation by addition and the + operation by multiplication:

ISG:=I(G)(vIxv),

where we remind the reader that (G) denotes the family of all independent sets of G.

Traveling Salesperson Problem polynomial.

Similarly to the Independent Set polynomial ISG, we define the directed TSP polynomial of G as

DTSPG:=(u0,,uN)(G)(i[N]xui1,ui),

where we remind the reader that (G) denotes the family of all sequences of N+1 vertices (ui)i=0N such that u0=uN and u0u1uN1uN is a directed Hamiltonian cycle in G. Naturally, we also view TSPG similarly as a polynomial by identifying variables xu,v and xv,u for all uvE(G).

Directed Spanning Tree polynomial.

We also define a directed spanning tree polynomial of G as

DSTG:=p𝒯(G)(vV(G):p(v)vxp(v),v)

where we remind the reader that 𝒯(G) denotes the family of all functions p:V(G)V(G) such that for exactly one vertex vV(G), p(v)=v, and edges (p(u),u) over all other vertices u form an out-tree rooted at v.

The support of a monomial m=xi1a1xia is the set of variables {xi1,,xi} and is denoted as sup(m). The support of a polynomial p=m1++m is the union of supports sup(mi) over all i[]. We let sup(p) denote the support of polynomial p. For a monomial m and a polynomial p, we write mp if p treated as a formal expression is of the form m+q for some polynomial q. We say that a polynomial p is homogeneous if and only if for some d, the degree of all monomials mp is d. For a polynomial p, we write |p| to denote the number of monomials m such that mp.

A valuation is a function which maps variables to . A characteristic valuation χm of a monomial m is a valuation such that χm(x)=1 if xsup(m) and χm(x)=1 otherwise. As stated before, we evaluate polynomials in a (max,+) semiring, i.e., given a valuation v, the monomial x evaluates to v(x), (f+g)(v) evaluates to max(f(v),g(v)) and (fg)(v) evaluates to f(v)+g(v).

For two polynomials p,q, we write pq if for every monomial mp, we have mq. We write pq iff pq and qp. In particular, pq does not imply that p=q (take, e.g. p=x and q=x+x). The definition of is motivated by the following observation.

Proposition 2.0.

For any two multilinear polynomials f,g, we have fg if and only if for any valuation v, we have f(v)=g(v).

Proof.

The implication from fg to f(v)=g(v) is immediate. In the other direction, assume w.l.o.g. that fg does not hold, and hence there is some monomial mf such that mg. It is easy to see that f(χm)=|sup(m)| and g(χm)<|sup(m)|, which is a contradiction.

2.2 Tropical circuits

A tropical circuit is a directed acyclic graph in which every vertex (called node) is of in-degree 0 or 2. Vertices with in-degree 0 are labeled with either a variable, in which case they are called input nodes, or with a constant 0, in which case they are called constant nodes. The nodes with in-degree 2 are called operation nodes and are labeled with a binary operator, either plus or max. There is one node, designated as the output node.

Evaluation of a tropical circuit given a valuation v is defined the following way. The nodes are processed according to the topological order of the graph. Constant nodes evaluate to value 0. Input nodes labeled x evaluate to v(x). Operation nodes labeled with, respectively, plus and max evaluate to, respectively, sum and maximum of the values of its two predecessors. The output of the evaluation of the whole circuit is the value obtained at the output node.

We say that a tropical circuit Γ calculates some polynomial p, if the evaluation of Γ on v is equal to p(v) for every valuation of variables v. It is easy to see that semantically, evaluating a tropical circuit computes exactly some polynomial: the input node labeled x computes x, the max nodes compute the sum of two polynomials, and the plus nodes compute the product of two polynomials.

By Section 2.1 and the definitions, we immediately get the following.

Proposition 2.0.

Let f,g be two multilinear polynomials and let Γ be a tropical circuit calculating f. Then Γ calculates g iff fg.

Intuitively, this claim states that a tropical circuit calculates some polynomial iff the set of its monomials is exactly the set of all monomials which appear during the evaluation of said circuit.

The main combinatorial ingredient regarding tropical circuits we will use is the following decomposition lemma. For the proof, see, e.g., [22, Lemma 3.4].

Lemma 2.1.

Let f be a homogeneous polynomial calculated by a tropical circuit of size τ and let X denote an arbitrary subset of sup(f). Then f can be written as

fi[τ]gihi,

where |sup(gi)X|,|sup(hi)X|23|X| for each i[τ].

Note that the general definition of tropical circuits allows for constants other than 0 to appear in the circuit. We can omit them as such constants do not appear in the polynomials we consider. In fact, we only need constant 0 to deal with the empty independent set in ISG, which can be thought of as a monomial of size 0.

3 Independent Set

In this section, we show the bound of Theorem 1.1. The class of graphs we use is inspired by the classic reduction from CNF-Sat to Maximum Weight Independent Set. Fix k>0 and let q=4(k2). Consider all possible 2-CNF clauses on k variables: there are exactly q of those. We can think of each clause as a tuple (a,b,na,nb) where a,b[k] represents an unordered pair of variables and na,nb{0,1} represents whether a-th and b-th variable is negated in the clause. We define the undirected graph Gk in the following way. We put

V(Gk)={vi,ji[k],j{0,,2q1}}{wjj[q]}.

The vertices vi,j represent the literals of the CNF formula: i denotes the variable, and the parity of j determines whether it is negated or not. Every literal has q copies, one for each clause. The vertices wj represent all possible 2-CNF clauses. For the sake of convenience, we will use wa,b,na,nb to denote the vertex corresponding to the clause represented by a,b,na,nb as described above. We put Vi,r={vi,2j+rj{0,q1}} for i[k],r{0,1}, that is, even and odd vertices representing the i-th variable. We also put Vi=Vi,0Vi,1.

We put the edges accordingly:

E(Gk)={(vi,j1,vi,j)i[k],j[2q1]}{(wi,li,j)i[q],j{1,2}}

where li,1=vai,2(i1)+nia and li,2=vbi,2(i1)+nib where wi=wai,bi,nia,nib. That is, li,j correspond to the literals of the clause represented by wi. Because there is a copy vi,j of each literal for every clause, every vi,j is connected at most to one vertex w1+j/2. The degree of each wi is exactly 2.

Figure 1: The graph G3. Red vertices belong to the canonical solution for valuation ρ(1)=1,ρ(2)=0,ρ(3)=1.

It is easy to see that the graph Gk has pathwidth at most k+1: We start with a natural path decomposition of width k of a k×2q grid of which Gk[V1Vk] is a subgraph. The bags containing the neighbours of the vertices wi form a pairwise disjoint subintervals of the decomposition, so wi can be added to these bags naturally, resulting in a decomposition of Gk of width k+1. Proving the following lemma will immediately show Theorem 1.1.

Lemma 3.1.

For any k1, any tropical circuit calculating ISGk uses at least 2k/3 gates.

The rest of this section is dedicated to proving this lemma. Fix k>0. The proof will be done in two steps. First, we will show a combinatorial structure of so-called rectangles in our described graph. Then, we will relate this notion to the polynomials calculated by tropical circuits and show the desired lower bound as a consequence.

The canonical solution Iρ given by the assignment ρ:[k]{0,1} is defined as

Iρ={vi,2j+ρ(i)i[k],j{0,,q1}}{wiρ(ai)niaandρ(bi)nib}.

That is, we pick vertices vi,j for all j even or all j odd depending on ρ(i) and include all vertices wi corresponding to clauses not satisfied by assignment ρ (see Figure 1 for an example). Clearly, there are 2k canonical solutions, one per each assignment ρ, and every canonical solution is an independent set of Gk.

We will say that a pair 𝒜,2V(G) of families of independent sets of G forms a rectangle in G (denoted 𝒜) if and only if every pair of sets A𝒜,B are disjoint and non-adjacent (in particular, AB forms an independent set in G). We refer to the families 𝒜, as sides of the rectangle. We will say that a rectangle 𝒜 contains an independent set I if I=AB for some A𝒜,B. We will say that a set A𝒜 is useful if there exists B such that AB is a canonical solution. We define a set B being useful in an analogous way.

For simplicity, the notion of a rectangle introduced here is defined in terms of families of independent sets of G. This concept, however, will be crucial in showing all of the subsequent bounds, hence, in later sections we will redefine rectangles in terms of tropical polynomials, as in the statement of Lemma 2.1, in order for the definition to be more general.

3.1 Thin rectangles

The key combinatorial property of the circuits calculating ISGk is expressed through the following lemma.

Lemma 3.2.

Let 𝒜 be a rectangle in Gk that contains at least one canonical solution Iρ. Then, either 𝒜 or contain at most one useful set.

For the rest of this subsection, we fix a rectangle 𝒜, and focus on proving the lemma via the following series of claims.

Claim 3.3.

Let I1,I2 be two different useful sets belonging to the same side of 𝒜. Then, there exists i[k],j{0,,2q1} such that vi,j belongs to exactly one of I1,I2.

Proof.

W.l.o.g. we assume that I1,I2𝒜. If both sets have different intersection with some Vi, then the claim trivially follows, hence w.l.o.g. we assume that for some l[q], we have wlI1 and wlI2.

Since I2 is useful, we have J2 such that I2J2 is a canonical solution. Since I1 and J2 are disjoint, we have wlI2J2, hence vi,jI2J2 for some neighbor vi,j of wl. As I1 and J2 are non-adjacent, we have vi,jJ2, hence vi,jI2. As I1 is an independent set of Gk, we have vi,jI1, which finishes the proof of the claim.

Claim 3.4.

Let I1,I2 be two different useful sets belonging to the same side of 𝒜. Then, there exists i[k],r{0,1} such that Vi,rI1 and Vi,1rI2.

Proof.

Assume w.l.o.g. that I1,I2𝒜. By the previous claim, we have some i[k],j{0,,2q1} such that w.l.o.g. vi,jI1 and vi,jI2. Put r=j𝗆𝗈𝖽 2. Since I1,I2 are useful, we have the corresponding J1,J2. By contradiction, let j{0,,2q1} be an index minimizing |jj| for which vi,j does not belong to the expected set, i.e., such that either j𝗆𝗈𝖽 2=r and vi,jI1 or j𝗆𝗈𝖽 2r and vi,jI2.

Consider the case j𝗆𝗈𝖽 2=r, the other one will be symmetric. As vi,jI1J1, we also have vi,jI1J1. By minimality, we have that either vi,j+1 or vi,j1 is in I2. If vi,jI1 then vi,jJ1, but this would imply that I2J1 is not an independent set, which is a contradiction.

Claim 3.5.

Let I1,I2𝒜 be two different useful sets and let J1 be such that I1J1 is a canonical solution. Then J1 is the only useful set in .

Proof.

Assume by contradiction that we have useful J2 different to J1. Applying the previous claim to both sides, we obtain iA,iB[k] and rA,rB{0,1} such that: ViA,rAI1,ViA,1rAI2,ViB,rBJ1 and ViB,1rBJ2. Naturally, we have iAiB.

Pick w=wiA,iB,1rA,1rB. That is, for some j{0,,q1}, the neighbors of w are exactly vA=viA,2j+1rA and vB=viB,2j+1rB. We have vAI2 and vBJ2. Since ViA,rAI1 and I1 is independent in Gk, we have vAI1. Similarly, vBJ1. Since I2 and J1 are disjoint, we have vAJ1, and similarly vBI1. Since I2 and J1 are not adjacent, we have wJ1, and similarly wI1. However, this means that I1J1 is not a canonical solution since neither w nor its two neighbors belong to I1J1. This is a contradiction, hence the claim is proven. Lemma 3.2 follows immediately from the last claim.

3.2 Lower bound on thin rectangle circuits

In this subsection we prove Theorem 1.1. At this point we can abstract away from the exact structure of Gk. The proof will depend only on the thin rectangle property proven in the previous subsection. The proof will closely follow the proof of [22, Lemma 2.18].

Let Γ be any tropical circuit that calculates ISGk and put G:=Gk. For any node w of Γ, we define its below Bw as the polynomial calculated by Γ if we designate w to be its output node. Intuitively, Bw captures the contribution of the subcircuit rooted at w to the output of the whole calculation.

In a similar spirit, we would like to define the above of a node w as the contribution of the remainder of the circuit. Note that Bw does not need to be contained in ISG, however, assuming the output node is reachable from w, for at least one monomial m, we have mBwISG. We will define Aw as the sum of all such monomials, that is

Aw=m:mBwISGm.

Naturally, AwBwISG for every node w from which the output node is reachable.

Every monomial of each Aw,Bw represents an independent set in G. Let Aw denote the useful monomials of Aw, that is, monomials mAw such that there exist mBw for which mm represents a canonical solution. We define Bw analogously. As proven by Lemma 3.2, for every node w, one of Aw,Bw must be of size at most 1. If |Aw|1, we will say that AwBw is A-thin, otherwise, we will say that it is B-thin.

If w is an output node, then we have Aw={1},Bw=ISG, so AwBw is A-thin. If w is an input node labeled x, we have Bw={x}, therefore AwBw is B-thin. Let w,,w1 be any path in Γ where w1 is an output node and w is some input node. Based on our observations, there is some edge on this path (wi+1,wi) such that wi is A-thin and wi+1 is B-thin, and so |AwiBwi+1|1.

Let ISG be the polynomial containing all monomials of ISG representing a canonical solution. The following claim shows that all canonical solutions belonging to the rectangles described above can be propagated along such input to output paths of Γ. We will use the term predecessor to refer to in-neighbors of a node of the circuit.

Claim 3.6.

Let w be a node of Γ and let cISG be such that c=ab for some aAw,bBw. Then, for at least one predecessor u of w, we have cAuBu. Moreover, if w is a plus gate, then the above holds for both predecessors of w.

Proof.

Let u,v be the predecessors of w. First, consider the case where w is a max gate, that is, Bw=Bu+Bv. Then, either bBu or bBv. W.l.o.g. assume the former. We have aBuaBwISG, hence aAu. Therefore, bBu, aAu, and hence cAuBu as desired.

Second, consider the case where w is a plus gate, that is, Bw=BuBv. Then, we have b=bvbu for some bvBv and buBu. We have abvBuaBvBuISG, hence abvAu. Therefore, buBu, abvAu, and hence cAuBu. By a symmetric argument, cAvBv.

Now, consider the following process. We fix a canonical solution cISG and start at output node w1. If we are currently in a max node wi, we move towards the predecessor wi+1 given by the claim. If we are currently in a plus node, we move towards the predecessor wi+1 for which |Bwi+1| is larger. Such process terminates at an input node and produces a path w,,w1. As argued before, for some i[1], we have |AwiBwi+1|1.

We have cAwi+1Bwi+1. If wi is a max node, we have Bwi+1Bwi, hence Awi+1Awi, hence cAwiBwi+1, and hence AwiBwi+1={c}.

If wi is a plus node, then we additionally have cAvBv where v is the predecessor of wi other than wi+1. Given the way we chose wi+1, we have |Bv||Bwi+1|1. Since BwiBwi+1Bv, we have |Bwi|1. Thus, AwiBwi={c}.

Repeating this process for each canonical c creates a mapping from ISG to the set V(Γ)E(Γ). If we map c to a vertex w, then we have a guarantee that AwBw={c}. If we map c to an edge (u,w), we have a guarantee that AwBu={c}. This implies that the mapping is injective, and hence 2k=|ISG||V(Γ)|+|E(Γ)|3|V(Γ)|. This finishes the proof of Lemma 3.1, which consequently proves Theorem 1.1

4 Matching compatibility matrix

In the following section, a matrix is a function from I×J to an arbitrary value set, where I and J are some sets of indices of, respectively, rows and columns of the matrix. We do not require I,J to be a set of form [n] for some n. All matrices considered in this section have values in the set {0,1}.

Definition 4.1.

For a 0-1 matrix M with row indices I and column indices J, we say that a pair II,JJ forms a rectangle of M if and only if it induces an all-ones submatrix of M, i.e., if and only if Mi,j=1 for each iI,jJ. The size of a rectangle R is defined as |I||J| and denoted as |R|.

Definition 4.2.

A rectangle cover of a 0-1 matrix M is a set of rectangles (I1,J1),,(Is,Js) which cover all ones of M, i.e., such that for each i,j with Mi,j=1, there exists p[s] such that (i,j)Ip×Jp. The size of the cover is the number of rectangles s.

To place Definition 4.2 into context, let us stress that the nondeterministic communication complexity of a matrix M is defined as log2s, where s is the minimum size of a rectangle cover of M.

4.1 Complete bipartite graphs

Definition 4.3.

A matching compatibility matrix k of order k is a binary matrix of size k!×k! with rows and columns indexed by permutations 𝒮k which satisfies

k(ρ1,ρ2)=1if and only ifρ2ρ1𝒮¯k.

By Ck we denote the size of the smallest rectangle cover of k.

Our bounds on sizes of tropical circuits will be based on the following bound on Ck due to Raz and Spieker.

Lemma 4.4 ([36]).

Ck=2Ω(kloglogk).

It is worth noting that Ck is believed to be bounded by 2Ω(klogk). Showing this would give us asymptotically tight bounds on the value of Ck as the upper bound of k!=2𝒪(klogk) is trivial. This, however, remains an open problem.

A small rectangle cover of a matrix implies the existence of large rectangles in it, but the converse does not need to hold in the general case. The following claim and lemma shows, that in the case of k, the size of a minimal rectangle cover and maximal rectangle are in fact related, and within a poly-logarithmic factor of what one can expect.

Claim 4.5.

Let R be any rectangle in k. Then, there exists a rectangle cover of k of size =k!(k1)!|R|2klnk.

Proof.

Let Q𝒮k×𝒮k denote the set of pairs (ρ1,ρ2) such that ρ2ρ1𝒮¯k, i.e., the set of 1-entries of k. Let P1 and P2 denote the sets of permutations which are indices of, respectively, rows and columns of R. Thus, for every ρ1P1,ρ2P2, we have (ρ1,ρ2)Q. Consider a map μα,β:𝒮k×𝒮k𝒮k×𝒮k parameterized by permutations α,β𝒮k, defined as

μα,β(ρ1,ρ2)=(αρ1β,β1ρ2α1).

First, note that ρ2ρ1𝒮¯k if and only if (β1ρ2α1)(αρ1β)=β1ρ2ρ1β𝒮¯k, as permutation conjugation preserves cycle type, hence (ρ1,ρ2)Q if and only if μα,β(ρ1,ρ2)Q.

Let α,β be two random permutations sampled independently from a uniform distribution on 𝒮k. First, we show that for any two pairs (ρ1,ρ2),(σ1,σ2)Q, we have

Pr[μα,β(ρ1,ρ2)=(σ1,σ2)]=1k!(k1)!.

To do this, we show that there are k different pairs α,β for which αρ1β=σ1 and β1ρ2α1=σ2. By Section 2, we have exactly k permutations β which satisfy σ2σ1=β1ρ2ρ1β. For each of those, we must put α=σ21β1ρ2 to obtain a pair satisfying the conditions.

For any pair (ρ1,ρ2)Q, we have (ρ1,ρ2)μα,β(R) if and only if μα1,β1(ρ1,ρ2)R, and therefore

Pr[(ρ1,ρ2)μα,β(R)]=|R|k!(k1)!.

Now, sample pairs αi,βi independently uniformly from 𝒮k×𝒮k and let Ri=μαi,βi(R). Clearly RiQ for each i[]. Let R¯=i[]Ri. For any (ρ1,ρ2)Q, we have

Pr[(ρ1,ρ2)R¯](1|R|k!(k1)!)<e2klnk=k2k<(k!(k1)!)1.

By union bound, we have Pr[R¯Q]<1, hence there exist a choice of αi,βi for which R¯=Q. For this choice of αi,βi we have that R1,,R is a rectangle cover, which finishes the proof.

Immediately, we get the following lemma as a corollary.

Lemma 4.6.

Every rectangle in k has size at most k!(k1)!Ck12klnk.

There is a natural correspondence between permutations in 𝒮k and perfect matchings of a complete bipartite graph Kk,k. Let us label the vertices of both sides of a bipartition of Kk,k as respectively v1,,vk and u1,uk. For any perfect matching M{v1,,vk}×{u1,,uk}, its corresponding permutation is ρ𝒮k defined as

ρ(s)=tif and only if(vs,ut)M.

It is easy to see that for any two perfect matchings M1,M2 in Kk,k, their union M1M2 forms a Hamiltonian cycle iff ρ21ρ1𝒮¯k iff ρ11ρ2𝒮¯k, where ρi denotes a permutation corresponding to Mi.

4.2 Complete graphs

Similarly to bipartite cliques, every perfect matching in a complete graph K2k can be represented by a permutation in the set 𝒮2k2. It is then easy to see that the union of two perfect matchings M1, M2 in K2k forms a Hamiltonian cycle in K2k iff ρ2ρ1 is in 𝒮2kk.

Definition 4.7.

A clique matching compatibility matrix k of order k is a binary matrix of size (2k1)!!×(2k1)!! with rows and columns indexed by permutations from 𝒮2k2 which satisfies

k(ρ1,ρ2)=1if and only ifρ2ρ1𝒮2kk.
Lemma 4.8.

Every rectangle in k has size at most (2k1)!Ck12klnk.

Proof.

Pick any such rectangle R and let P1,P2 denote the sets of permutations which are indices of, respectively, rows and columns of R. For a set C[2k] of size k, we define 𝒮C𝒮2k2 as the permutations with all cycles of size 2 which map all elements of C to [2k]C. Note that 𝒮C=𝒮[2k]C. Moreover, for every pair ρ1P1,ρ2P2, we have ρ1,ρ2𝒮C if we set C to be one of two maximal independent sets of the cycle formed by the union of the edges of ρ1,ρ2. Therefore

P1×P2CD=[2k], 1C|C|=|D|=k𝒮C×𝒮C,

and so

|P1||P2|CD=[2k], 1C|C|=|D|=k|(P1𝒮C)×(P2𝒮C)|.

Fix CD=[2k], |C|=|D|=k, and enumerate C:={c(1),,c(k)} and D:={d(1),,d(k)} (we treat c and d as bijective functions from [k] to resp. C and D). Put P1={d1ρ1c:ρ1P1𝒮C} and P2={c1ρ2d:ρ2P2𝒮C}. Note that both sets are well defined and P1,P2𝒮k. Since c,d are bijective, we have |P1|=|P1𝒮C| and |P2|=|P2𝒮C|.

Finally, for every ρ1P1,ρ2P2, we have ρ2ρ1=c1(ρ2ρ1)c𝒮¯k. Thus, P1,P2 form a rectangle in k, hence by Lemma 4.6,

|(P1𝒮C)×(P2𝒮C)|=|P1×P2|k!(k1)!Ck12klnk.

Summing over all C, we get |P1||P2|(2k1k1)k!(k1)!Ck12klnk=(2k1)!Ck12klnk, which finishes the proof of the lemma.

5 Traveling salesperson problem

Directed graphs.

Let Gn,k denote a directed graph with V(Gn,k)={vc,r:c[n],r[k]} and

E(Gn,k)={(vc,r1,v(c𝗆𝗈𝖽n)+1,r2)c[n],r1,r2[k]}.

It is easy to see that the pathwidth of Gn,k is at most 3k. Combining the following lemma with Lemma 4.4 immediately gives Theorem 1.2. The rest of this section will be dedicated to proving it.

Lemma 5.1.

For every k1 and n3k+3, any tropical circuit calculating DTSPGn,k is of size at least Ck/(2klnk).

Proof.

Fix n,k and put G:=Gn,k. Let Vi={vi,r:r[k]}. Let Gi=G[ViV(i𝗆𝗈𝖽n)+1] and let Ei=E(Gi), i.e., Ei contains all edges whose tail belongs to Vi. For every perfect matching M of Gi, we will identify it with a permutation ρ𝒮k defined as

ρ(s)=tiff(vi,s,v(i𝗆𝗈𝖽n)+1,t)M.

For every Hamiltonian cycle H of G, the set E(H)Ei is a perfect matching in Gi. We will say that the sequence of permutations ρ1,,ρn𝒮k represents H if E(H)Ei=ρi for all i[n]. Note that such representing set is unique, and moreover, satisfies

ρiρi1ρ2ρ1ρnρn1ρi+2ρi+1𝒮¯k

for any i[k]. Conversely, every sequence of permutations satisfying the above represents a unique Hamiltonian cycle of G. In particular, there are (k1)!(k!)n1 such sequences and, hence, Hamiltonian cycles in G. Additionally, for any set of indices i1,,i[n] of size at most n1, if we fix ρi1,,ρi, then there are exactly (k1)!(k!)n1 ways to fix the rest of the permutations for the above inclusion to hold.

Now, look at the polynomial DTSPG. Let E¯={(vi,1,v(i𝗆𝗈𝖽n)+1,1)i[n]} and let X¯={xs,t(s,t)E¯}. That is, the set X¯ contains exactly one variable corresponding to an edge in Ei for each i[n]. Similarly, let Xi denote the set {xs,t(s,t)Ei}.

We will say that a pair of polynomials g,h forms a rectangle gh in DTSPG if ghDTSPG, i.e., for every pair of monomials gg,hh, the variables of sup(g)sup(h) correspond to edges forming a Hamiltonian cycle of G. Additionally, we will say that such rectangle is balanced if |sup(g)X¯|,|sup(h)X¯|23|X¯|. We would like to prove the following claim.

Claim 5.2.

Let gh be any balanced rectangle in DTSPG. Then

|gh|(k1)!(k!)n1Ck1(2klnk).

First, we finish the proof of the lemma given the claim. Let τ denote the size of the smallest tropical circuit calculating DTSPG. Lemma 2.1 says that DTSPG can be covered by a union of τ balanced rectangles. Thus,

(k1)!(k!)n1=|DTSPG|τ(k1)!(k!)n1Ck1(2klnk),

hence τCk/(2klnk). The rest of the section is dedicated to proving the claim.

Fix any balanced rectangle gh. Obviously, supports of g and h are disjoint. We will say that Ei is monochromatic w.r.t. gh if either Xisup(g) or Xisup(h) is empty. Let i1,,i denote the indices of sets Ei that are not monochromatic. We consider two cases depending on whether >k or not.

Assume >k and fix a non-monochromatic index ij. Define

Vtailg={uVijwV(ij𝗆𝗈𝖽n)+1xu,wsup(g)},
Vheadg={wV(ij𝗆𝗈𝖽n)+1uVijxu,wsup(g)},

i.e., Vtailg (resp. Vheadg) denote tails (resp. heads) of all edges in Eij whose related variables belong to the support of g. We define Vtailh,Vheadh analogously. It is easy to see that VtailgVtailh=VheadgVheadh=.

A perfect matching in Gij induced by any monomial of gh must match Vheadg with Vtailg and Vheadh with Vtailh, and the number of possible ways to do that is |Vheadg|!|Vheadh|!, which is at most (k1)! as both sets are nonempty and disjoint. Therefore, the number of all cycles corresponding to monomials of gh is at most

((k1)!)(k!)n=1k(k!)n1kk+1(k!)n=(k1)!(k!)n11kk

and 1kkCk1Ck1(2klnk).

Now, assume k. Thus, at least nk23n+1 of Ei are monochromatic. Since gh is balanced, we have two indices ig,ih such that Eig,Eih are both monochromatic, and both intersections Xigsup(h) and Xihsup(g) are empty. In particular, the support of every monomial in g corresponds to edges whose intersection with Eig induces a perfect matching in Gig. The same holds for h and Gih. W.l.o.g. we can assume that ig<ih.

For a monomial gg (and analogously for hh), we define its type as the set

λg:={eE(G)(EigEih):xesup(g)}.

Fix an arbitrary pair of types λg,λh and let g (resp. h) denote the set of all monomials of g (resp. h) with that type. The number of such possible pairs is bounded by the number of different projections of a Hamiltonian cycle onto E(G)(EigEih), hence is at most (k!)n2. By the definition, every cycle H corresponding to some monomial of gh has the same intersection with Ei for all i{ig,ih}.

Let ρi for i[n]{ig,ih} represent the set (λgλh)Ei which is a perfect matching in Gi. Let ρ¯l=ρih1ρih2ρig+1 and ρ¯r=ρig1ρig2ρ1ρnρih+1. Let Pg (resp. Ph) denote the set of perfect matchings of Gig (resp. Gih) induced by the monomials in g (resp. h). Every permutation in the product (ρ¯lPgρ¯r)Ph belongs to 𝒮¯k, hence by Lemma 4.6,

k(k1)!Ck1(2klnk)|ρ¯lPgρ¯r||Ph|=|Pg||Ph|=|g||h||gh|.

Therefore |gh|(k!)n1(k1)!Ck1(2klnk).

Undirected graphs.

Let G¯n,k denote an undirected graph with V(G¯n,k)={vc,r,i:c[n],r[k],i{1,0,1}} and

E(G¯n,k)={(vc,r1,1,v(c𝗆𝗈𝖽n)+1,r2,1) c[n],r1,r2[k]}
{(vc,r,1,vc,r,0) c[n],r[k]}
{(vc,r,0,vc,r,1) c[n],r[k]}.

The graph G¯n,k is obtained by performing a textbook reduction on Gn,k from directed to undirected version of TSP.

(a) i-th column of Gn,2.
(b) in G¯n,2.
Figure 2: The reduction from Gn,k to G¯n,k.

Again, the pathwidth of G¯n,k is at most 3k. Combining the following lemma with Lemma 4.4 immediately gives Theorem 1.3.

Lemma 5.3.

For any k1 and n3k+3, any tropical circuit calculating TSPG¯n,k uses at least Ck/(2klnk) gates.

Proof.

Let Γ¯ be an arbitrary tropical circuit of size τ¯ computing TSPG¯n,k. We will show that there exists a tropical circuit Γ of size ττ¯ computing DTSPGn,k. In particular, together with Lemma 5.1 this shows that τ¯Ck/(2klnk).

Let Γ be the tropical circuit obtained by taking Γ¯ and performing the following substitutions:

  • for every input node labeled with a variable xu1,u2, where u1,u2V(G¯n,k), u1=vc,r,1,u2=vc,r,0, we replace it with a constant 0,

  • for every input node labeled with a variable xu1,u2, where u1,u2V(G¯n,k), u1=vc,r,0,u2=vc,r,1, we replace it with a constant 0,

  • for every input node labeled with a variable xu1,u2, where u1,u2V(G¯n,k), u1=vc,r1,1,u2=v(c𝗆𝗈𝖽n)+1,r2,1, we replace it with a variable xu1,u2 where u1,u2V(Gn,k), u1=vc,r1,u2=v(c𝗆𝗈𝖽n)+1,r2.

Naturally, the size of Γ is at most τ¯. Let f be some polynomial calculated by Γ. The reduction works in such a way that there is a bijection between directed Hamiltonian cycles in Gn,k and undirected ones in G¯n,k, and this bijection directly follows the substitution of edges described in the definition of Γ. In particular, it can be easily seen that fDTSPGn,k.

6 Spanning tree

Let Hn,k denote a directed graph with V(Hn,k)={vc,r:c[n],r[2k]} and

E(Hn,k)={(vc1,r1,vc2,r2) c1,c2[n],r1,r2[2k],|c1c2|=1}
{(vc,r1,vc,r2) c{1,n},r1,r2[2k],r1r2}.
Figure 3: The graph Hn,2.

It is easy to see that the pathwidth of Hn,k is at most 4k. Combining the following lemma with Lemma 4.4 immediately gives Theorem 1.4.

Lemma 6.1.

For any k1 and n>12k2lnk+3, any tropical circuit calculating DSTHn,k uses at least Ck/(2k2lnk) gates.

The rest of this section is dedicated to proving this lemma. The majority of the proof follows the same line of argumentation used to prove Lemma 5.1. For the rest of the section, we fix suitable n,k and put G:=Hn,k. Let Vi={vi,r:r[2k]}. For i[n1], let Gi=G[ViVi+1](E(G[Vi])E(G[Vi+1])) and let G0=G[V1],Gn=G[Vn]. Note that Gi is complete bipartite for 1in1 and complete for i{0,n}. We denote Ei=E(Gi) for all i{0,,n} and put Xi={xe:eEi}.

For every perfect matching M of Gi for i{1,,n1}, we will identify it with a permutation ρ𝒮2k defined as

ρ(s)=tiff(vi,s,vi+1,t)Mor(vi+1,t,vi,s)M.

Similarly, for i{0,n} we identify any perfect matching M of Gi with ρ𝒮2k2 such that

ρ(s)=tiff(vi,s,vi,t)Mor(vi,t,vi,s)M.

We will say that a Hamiltonian cycle of G is nice if its intersection with each Ei is a perfect matching in Gi (ignoring edge directions). We will say that a Hamiltonian path of G is nice if it is a subgraph of a nice Hamiltonian cycle and its first and last vertices belong to V1. Every nice path is a subgraph of exactly one nice cycle, and conversely, every nice cycle contains exactly k nice paths as a subgraph.

We define the content of a nice Hamiltonian cycle H as the unique sequence of permutations ρ0,,ρn𝒮2k such that E(H)Ei=ρi for all 0in. For the sake of clarity, for such a sequence, we define the following notation.

ρi:=ρiρi1ρ2ρ1ρi:=ρn1ρn2ρi+1ρi

We assume ρ0=ρn=id𝒮2k. Note that as described in Section 4.2,

(ρi1ρ0ρi11)(ρi1ρnρi)𝒮2kk (1)

for any i[n]. Conversely, for every sequence of permutations satisfying the above (for arbitrarily chosen i), there are exactly two nice cycles H such that their content is ρ0,,ρn. Both cycles differ only by their direction. In particular, if Equation 1 holds for one such i, then it holds for every i[n].

Claim 6.2.

There are ((2k)!)n1(2k1)! sequences (ρj)j=0n satisfying (1).

Proof.

We fix ρj arbitrarily for all ji; there are ((2k1)!!)2((2k)!)n2 ways to do that. Let ρ¯=(ρi1ρnρi), hence we have ρ¯=ρi1ρ~ρi, where ρ~𝒮2k2 is already fixed. By Section 2, the number of values ρ¯ can take for Equation 1 to hold is (2k2)!!. By the same proposition, the number of ρi𝒮2k2 given ρ¯ is (2k)!!. The total number of ways to fix all ρj is therefore ((2k1)!!)2((2k)!)n2(2k)!!(2k2)!!=((2k)!)n1(2k1)!.

In particular, the number of nice cycles in G is 2((2k)!)n1(2k1)!. By a similar argument, for any set of indices 1i1,,in1 of size at most n2, if we fix ρi1,,ρi together with ρ0 and ρn, then there are exactly ((2k)!)n2(2k)!!(2k2)!! ways to fix the rest of the permutations for (1) to hold.

Proof (Lemma 6.1).

We say that a rectangle ghDSTG covers a nice Hamiltonian cycle H if it contains a monomial encoding a nice Hamiltonian path which is a subgraph of H. Since all nice Hamiltonian paths are spanning out-trees as well, any rectangle decomposition of the polynomial calculated by our circuit must cover all nice cycles. We define rectangles being balanced as in the statement of Lemma 2.1 with respect to the set X={x(vc,1,vc+1,1)c[n1]}.

Claim 6.3.

Let gh be any balanced rectangle in DSTG. Then, the number of nice Hamiltonian cycles covered by gh is at most

((2k)!)nCk12klnk.

For any tropical circuit calculating DSTG using τ gates, Lemma 2.1 implies that DSTG can be covered by a union of τ balanced rectangles. Thus, in order to cover every nice cycle, at least one balanced rectangle covers at least 2((2k)!)n1(2k1)!τ of those, hence assuming ˜6.3,

τCk/(2k2lnk).

The rest of the section is dedicated to proving ˜6.3. Fix any balanced rectangle gh. The supports of g and h are disjoint. We will say that Ei is monochromatic w.r.t. gh if either Xisup(g) or Xisup(h) is empty.

Claim 6.4.

Pick 1in1. If Ei is not monochromatic w.r.t. gh, then there exists an edge (u,v)Ei such that xu,vsup(g)sup(h).

Proof.

Assume by contradiction that xu,vsup(g) or xu,vsup(h) for every (u,v)Ei. Since all monomials in gh represent out-trees, for any pair of edges of the form (u,v),(w,v)Ei, either both xu,v,xw,v belong to sup(g), or both belong to sup(h). Similarly, for any (u,v)Ei both xu,v,xv,u must also belong to the same support.

By our assumption, we have two edges (p,q),(s,t)Ei such that xp,qsup(g) and xs,tsup(h) (and hence xt,ssup(h) as well). Either (q,s) or (q,t) belong to Ei. In the former case, we have xq,ssup(h) (as xt,ssup(h)) and xs,qsup(g) (as xp,qsup(g)). In the latter, xq,tsup(h) and xt,qsup(g). Both cases arrive at a contradiction, which proves the claim.

Let i1<<i denote the indices in range [n1] of sets Ei which are not monochromatic. We consider two cases depending on whether >4k2lnk or not.

Assume >4k2lnk. By sacrificing at most half of indices ij, we can assume that they are non-adjacent. That is, we assume that >2k2lnk and that ij+1ij>1 for all j[1]. For each i{ij}j=1, let (pi,qi) denote the edge of Ei given by ˜6.4. Consider the following randomized procedure to generate a nice directed Hamiltonian cycle H of G.

  • Select ρ0𝒮2k2 uniformly randomly.

  • Select a subset of edges F0E0 by matching vertices of V1 according to ρ0 and picking the edge directions uniformly and independently. Let V1tail and V1head denote the vertices of V1 composed of respectively tails and heads of the edges of F0.

  • For i{1,,n1} do the following. Pick ρi𝒮2k uniformly randomly and select FiEi by matching vertices of V(Gi) according to ρi and picking the edge directions so that they agree with edges of Fi1 (i.e., if we match vi,r1 with vi+1,r2 and vi,r1Vitail, then we add (vi+1,r2,vi,r1) to Fi, and (vi,r1,vi+1,r2) otherwise). Define Vi+1tail,Vi+1head analogously.

  • The union F0Fn1 at this point forms k disjoint directed paths whose endpoints are exactly Vn. There are exactly (k1)! ways to pick Fn in a way that connects these paths into a Hamiltonian cycle. We pick one of such ways uniformly randomly.

It is easy to see that this procedure generates all nice Hamiltonian cycles of G with uniform probability distribution. Now, we can bound the probability that a cycle generated this way does not contain any of the forbidden edges (pi,qi) given by ˜6.4. Note that only such cycles can be covered by gh.

The steps during which the number of feasible choices could get restricted is when selecting Fij for some j[]. Assume w.l.o.g. pijVij,qijVij+1, the other case is symmetric. If pijVijtail, then every choice of Fij will be feasible, as an edge between pij,qij potentially added will always be directed from qij to pij. In case pijVijhead, there is exactly 1k chance of adding the forbidden edge to Fij, as ρij is selected uniformly from whole 𝒮2k.

The crucial observation is that the probability that pij is in Vijhead at this point, assuming so far we did not pick any of the forbidden edges, is exactly 1/2, independent of previous choices. This follows from the fact that ρij1 was chosen uniformly from 𝒮2k and due to our assumption that ij>ij1+1. The partition of Vij1 into Vij1head and Vij1tail can have arbitrary distribution, however, both sets are always of size k, hence the probability of pij getting matched by ρij1 with a vertex from Vij1tail is exactly 12.

This means, that the probability of a nice Hamiltonian cycle containing none of the forbidden edges is at most

(112k)<eklnkCk1Ck12k2lnk,

hence the number of such cycles is at most

(2((2k)!)n1(2k1)!)(Ck12k2lnk)=((2k)!)nCk12klnk,

which finishes the proof in case >4k2lnk.

Now, assume 4k2lnk. Thus, at least n4k2lnk2n3+1 of Ei are monochromatic. Since gh is balanced, we have two indices ig,ih[n1] s.t. Eig,Eih are both monochromatic, and both Xigsup(h) and Xihsup(g) are empty. W.l.o.g. we can assume that ig<ih.

For a monomial gg (and analogously for hh), we define its type as the set

λg:={eE(G)(EigEih):xesup(g)}.

Fix an arbitrary pair of types λg,λh and let g (resp. h) denote the set of all monomials of g (resp. h) with that type. By the definition, every spanning out-tree corresponding to some monomial of gh has the same intersection with Ei for all i{ig,ih}. If gh covers at least one nice cycle, this intersection must induce a perfect matching in Gi for each i[n]{ig,ih} and a matching of size k1 in G0 (two unmatched vertices of G0 correspond to the endpoints of all nice paths induced by gh). Let (ρi)i[n]{ig,ih} denote the set (λgλh)Ei. Let ρ0 denote the unique permutation of 𝒮2k2 containing (λgλh)E0 as a subgraph.

Let ρ¯l=ρig1, ρ¯r=ρih+1 and ρ¯m=ρih1ρih2ρig+2ρig+1. Let Pg (resp. Ph) denote the set of perfect matchings of Gig (resp. Gih) induced by the monomials in g (resp. h). Finally, put

Pg={ρρ¯lρ0ρ¯l1ρ1ρPg}, and Ph={ρ¯m1ρ1ρ¯r1ρnρ¯rρρ¯mρPh}.

Note that Pg is a set of conjugations of ρ0 by permutations of the form (ρρ¯l)1. By Section 2, we have |{π𝒮2kπ1ρ0π=π}|=(2k)!! for any fixed π𝒮2k2, hence |Pg|(2k)!!|Pg|. Similarly |Ph|(2k)!!|Ph|. By Equation 1, every pair ρgPg,ρhPh satisfies ρhρg𝒮2kk, hence applying Lemma 4.8 gives us

2|Pg||Ph|2((2k)!!)2|Pg||Ph|2((2k)!!)2(2k1)!Ck12klnk.

Finally, note that the quantity 2|Pg||Ph| bounds from above the number of nice cycles covered by gh. The number of pairs of types λg,λh covering at least one nice cycle is bounded by the number of projections of a nice path onto E(G)(EigEih), hence by

k((2k1)!!)2((2k)!)n3.

Therefore, the total number of nice cycles covered by gh is at most

(k((2k1)!!)2((2k)!)n3)(2((2k)!!)2(2k1)!Ck12klnk)=((2k)!)nCk12klnk,

which finishes the proof of Lemma 6.1

7 Conclusion

As noted earlier, the exact nondeterministic communication complexity of the matchings compatibility matrix is still open: While Ck=k𝒪(k) holds trivially, the currently best known lower bound is Ck=2Ω(kloglogk) [36]. Improving this lower bound to k𝒪(k) would automatically imply the same bound for Theorem 1.2, Theorem 1.3, and Theorem 1.4. In particular, this complexity would be asymptotically tight (up to factors polynomial in N), as tropical circuits of size 2𝒪(klogk)N𝒪(1) can be easily constructed for all these problems by following algorithms based on naive dynamic programming on path decompositions. In the reverse direction, better upper bounds on Ck seem also useful for obtaining better tropical circuits for DTSPG,TSPG and DSTG, and possibly even for obtaining faster algorithm for TSP parameterized by pathwidth. It seems however, as also expressed by the authors of [36], that Ck is closer to 2Ω(klogk) than it is to 2Θ(kloglogk).

Another natural opportunity for further work would be to find lower bounds for other computational problems, for example it seems plausible that with tools from Theorem 1.1 and the reduction ideas from [28] one can also obtain a Ω(3k) lower bound for tropical circuits calculating the minimum weight dominating set of a graph with pathwidth k.

More ambitiously, a natural open question is whether the lower bounds on tropical circuits as defined in this paper can be generalized to more expressive variants of tropical circuits (see the book by Jukna [22]). Similarly, an interesting, albeit seemingly more difficult, question is whether our introduced ideas could be used to prove matching unconditional lower bounds on the extension complexity of TSP polytopes in terms of treewidth, or whether the methods from [5] are actually captured by extension complexity and allow for an extended formulation of the TSP polytope on n-vertex graph of treewidth k of complexity 2𝒪(k)n𝒪(1).

References

  • [1] Vladimir L Arlazarov, EA Dinic, MA Kronrod, and IA Faradzev. On economical construction of the transitive closure of a directed graph. In Dokl. Akad. Nauk SSSR, volume 194, pages 1209–1210, 1970.
  • [2] Christopher Beck and Russell Impagliazzo. Strong ETH holds for regular resolution. In Dan Boneh, Tim Roughgarden, and Joan Feigenbaum, editors, Symposium on Theory of Computing Conference, STOC’13, Palo Alto, CA, USA, June 1-4, 2013, pages 487–494. ACM, 2013. doi:10.1145/2488608.2488669.
  • [3] Richard Bellman. Dynamic programming treatment of the Travelling Salesman Problem. J. ACM, 9(1):61–63, 1962. doi:10.1145/321105.321111.
  • [4] Andreas Björklund. Determinant sums for undirected Hamiltonicity. SIAM J. Comput., 43(1):280–299, 2014. doi:10.1137/110839229.
  • [5] Hans L. Bodlaender, Marek Cygan, Stefan Kratsch, and Jesper Nederlof. Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth. Inf. Comput., 243:86–111, 2015. doi:10.1016/J.IC.2014.12.008.
  • [6] Hans L. Bodlaender, Rodney G. Downey, Michael R. Fellows, and Danny Hermelin. On problems without polynomial kernels. J. Comput. Syst. Sci., 75(8):423–434, 2009. doi:10.1016/J.JCSS.2009.04.001.
  • [7] Asier Calbet. Kr-saturated graphs and the two families theorem. arXiv preprint, 2023. arXiv:2302.13389.
  • [8] Michele Conforti, Gérard Cornuéjols, and Giacomo Zambelli. Extended formulations in combinatorial optimization. 4OR, 8(1):1–48, 2010. doi:10.1007/S10288-010-0122-Z.
  • [9] Radu Curticapean, Nathan Lindzey, and Jesper Nederlof. A tight lower bound for counting Hamiltonian cycles via matrix rank. In Artur Czumaj, editor, Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018, pages 1080–1099. SIAM, 2018. doi:10.1137/1.9781611975031.70.
  • [10] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
  • [11] Marek Cygan, Stefan Kratsch, and Jesper Nederlof. Fast Hamiltonicity checking via bases of perfect matchings. J. ACM, 65(3):12:1–12:46, 2018. doi:10.1145/3148227.
  • [12] Marek Cygan, Jesper Nederlof, Marcin Pilipczuk, Michal Pilipczuk, Johan M. M. van Rooij, and Jakub Onufry Wojtaszczyk. Solving connectivity problems parameterized by treewidth in single exponential time. ACM Trans. Algorithms, 18(2):17:1–17:31, 2022. doi:10.1145/3506707.
  • [13] Mateus de Oliveira Oliveira and Wim Van den Broeck. Optimal extended formulations from optimal dynamic programming algorithms. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI 2024, Jeju, South Korea, August 3-9, 2024, pages 1881–1888. ijcai.org, 2024. URL: https://www.ijcai.org/proceedings/2024/208.
  • [14] Samuel Fiorini, Serge Massar, Sebastian Pokutta, Hans Raj Tiwary, and Ronald de Wolf. Exponential lower bounds for polytopes in combinatorial optimization. J. ACM, 62(2):17:1–17:23, 2015. doi:10.1145/2716307.
  • [15] Robert W. Floyd. Algorithm 97: Shortest path. Commun. ACM, 5(6):345, 1962. doi:10.1145/367766.368168.
  • [16] Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, and Saket Saurabh. Efficient computation of representative families with applications in parameterized and exact algorithms. J. ACM, 63(4):29:1–29:60, 2016. doi:10.1145/2886094.
  • [17] Lance Fortnow and Rahul Santhanam. Infeasibility of instance compression and succinct PCPs for NP. J. Comput. Syst. Sci., 77(1):91–106, 2011. doi:10.1016/J.JCSS.2010.06.007.
  • [18] Mika Göös, Rahul Jain, and Thomas Watson. Extension complexity of independent set polytopes. SIAM J. Comput., 47(1):241–269, 2018. doi:10.1137/16M109884X.
  • [19] Michael. Held and Richard M. Karp. A dynamic programming approach to sequencing problems. Journal of the Society for Industrial and Applied Mathematics, 10(1):196–210, 1962. doi:10.1137/0110015.
  • [20] Christoph Hertrich and Georg Loho. Neural networks and (virtual) extended formulations. arXiv preprint, 2024. doi:10.48550/arXiv.2411.03006.
  • [21] Mark Jerrum and Marc Snir. Some exact complexity results for straight-line computations over semirings. J. ACM, 29(3):874–897, 1982. doi:10.1145/322326.322341.
  • [22] Stasys Jukna. Tropical Circuit Complexity: Limits of Pure Dynamic Programming. Springer International Publishing, Cham, 2023. doi:10.1007/978-3-031-42354-3.
  • [23] Stasys Jukna and Hannes Seiwert. Greedy can beat pure dynamic programming. Inf. Process. Lett., 142:90–95, 2019. doi:10.1016/J.IPL.2018.10.018.
  • [24] Richard M. Karp, Eli Upfal, and Avi Wigderson. Constructing a perfect matching is in random NC. Comb., 6(1):35–48, 1986. doi:10.1007/BF02579407.
  • [25] Leslie Robert Kerr. The effect of algebraic structure on the computational complexity of matrix multiplication. Technical report, Cornell University, 1970.
  • [26] Petr Kolman, Martin Koutecký, and Hans Raj Tiwary. Extension complexity, MSO logic, and treewidth. Discret. Math. Theor. Comput. Sci., 22(4), 2020. doi:10.23638/DMTCS-22-4-8.
  • [27] Tuukka Korhonen. Lower bounds on dynamic programming for maximum weight independent set. In Nikhil Bansal, Emanuela Merelli, and James Worrell, editors, 48th International Colloquium on Automata, Languages, and Programming, ICALP 2021, Glasgow, Scotland (Virtual Conference), July 12-16, 2021, volume 198 of LIPIcs, pages 87:1–87:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPIcs.ICALP.2021.87.
  • [28] Daniel Lokshtanov, Dániel Marx, and Saket Saurabh. Known algorithms on graphs of bounded treewidth are probably optimal. ACM Trans. Algorithms, 14(2):13:1–13:30, 2018. doi:10.1145/3170442.
  • [29] Daniel Lokshtanov, Dániel Marx, and Saket Saurabh. Slightly superexponential parameterized problems. SIAM J. Comput., 47(3):675–702, 2018. doi:10.1137/16M1104834.
  • [30] László Lovász and Michael E. Saks. Lattices, Möbius functions and communication complexity. In 29th Annual Symposium on Foundations of Computer Science, White Plains, New York, USA, 24-26 October 1988, pages 81–90. IEEE Computer Society, 1988. doi:10.1109/SFCS.1988.21924.
  • [31] Shachar Lovett. Recent advances on the log-rank conjecture in communication complexity. Bull. EATCS, 112, 2014. URL: http://eatcs.org/beatcs/index.php/beatcs/article/view/260.
  • [32] R. Kipp Martin. Using separation algorithms to generate mixed integer model reformulations. Oper. Res. Lett., 10(3):119–128, 1991. doi:10.1016/0167-6377(91)90028-N.
  • [33] R. Kipp Martin, Ronald L. Rardin, and Brian A. Campbell. Polyhedral characterization of discrete dynamic programming. Oper. Res., 38(1):127–138, 1990. doi:10.1287/OPRE.38.1.127.
  • [34] Ketan Mulmuley, Umesh V. Vazirani, and Vijay V. Vazirani. Matching is as easy as matrix inversion. Comb., 7(1):105–113, 1987. doi:10.1007/BF02579206.
  • [35] Jesper Nederlof. Bipartite TSP in O(1.9999n) time, assuming quadratic time matrix multiplication. In Konstantin Makarychev, Yury Makarychev, Madhur Tulsiani, Gautam Kamath, and Julia Chuzhoy, editors, Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, Chicago, IL, USA, June 22-26, 2020, pages 40–53. ACM, 2020. doi:10.1145/3357713.3384264.
  • [36] Ran Raz and Boris Spieker. On the “log rank”-conjecture in communication complexity. Combinatorica, 15(4):567–588, 1995.
  • [37] Thomas Rothvoss. The matching polytope has exponential extension complexity. J. ACM, 64(6):41:1–41:19, 2017. doi:10.1145/3127497.
  • [38] Virginia Vassilevska Williams and R. Ryan Williams. Subcubic equivalences between path, matrix, and triangle problems. J. ACM, 65(5):27:1–27:38, 2018. doi:10.1145/3186893.
  • [39] Stephen Warshall. A theorem on boolean matrices. J. ACM, 9(1):11–12, 1962. doi:10.1145/321105.321107.
  • [40] Mihalis Yannakakis. Expressing combinatorial optimization problems by linear programs. J. Comput. Syst. Sci., 43(3):441–466, 1991. doi:10.1016/0022-0000(91)90024-Y.