MINIMUM BISECTION asks whether the vertices of a graph can be partitioned into two parts whose sizes differ by at most one and with at most k edges between the two parts. Cygan, Lokshtanov, Marcin Pilipczuk, Michał Pilipczuk, and Saurabh (SICOMP 2019) gave the first fixed-parameter algorithm, which runs in O∗(2O(k3)) time, by introducing an unbreakable decomposition. Cygan, Komosa, Lokshtanov, Marcin Pilipczuk, Michał Pilipczuk, Saurabh, and Wahlström (TALG 2021) strengthened the decomposition and improved the running time to O∗(2O(klogk)). However, whether the running time could be improved to single-exponential remained open.
In this paper, we give a deterministic O∗(2O(k))-time algorithm for MINIMUM BISECTION. Our algorithm also counts all feasible bisections. To obtain an O∗(2O(k))-time algorithm, we introduce two new techniques. First, we give a new algorithm that computes a (2k,k)-edge-unbreakable decomposition with adhesion at most 2k in O∗(2O(k)) time by relaxing the unbreakability and adhesion guarantees of the decomposition in (TALG 2021). Second, we improve the running time of the dynamic program over the decomposition from O∗(2O(klogk)) to O∗(2O(k)) using important cuts, inclusion-exclusion, and formal logarithms and exponentials.
Together with color coding, the same techniques give a deterministic O∗(2O(k))-time algorithm for MATCHING CUT, which asks for a cut whose crossing edges form a matching. This improves the O∗(2O(klogk))-time algorithm of Aravind and Saxena (IWOCA 2021).
1 Introduction 3
1.1 Related work ..... 6
1.2 Technical overview ..... 8
1.2.1 A single-exponential algorithm for Minimum Bisection ..... 8
1.2.2 Unbreakable decomposition ..... 12
1.3 Organization ..... 13
2 Preliminaries 13
3 Minimum Bisection 14
3.1 Polynomial representation ..... 15
3.2 Conceptual transition ..... 16
3.3 Large-bag transition via formal logarithms ..... 19
3.4 Proof of Lemma 3.3 ..... 24
4 Matching Cut 29
5 Unbreakable decomposition 31
6 Reduction from 3-SAT 36
Acknowledgments 40
Declaration of generative AI use 40
References 40
1 Introduction
MINIMUM BISECTION asks whether the vertices of a graph can be divided into two parts of equal size, up to one vertex, with at most k edges between the two parts. Throughout the paper, G is a simple undirected graph and n=∣V(G)∣. For A⊆V(G), let δG(A):={uv∈E(G):∣{u,v}∩A∣=1}.
MINIMUM BISECTION
Input: A simple undirected graph G and an integer k≥0.
Question: Is there a set A⊆V(G) with ∣A∣=⌊n/2⌋ and ∣δG(A)∣≤k?
Parameter: k.
Kernighan and Lin [KL70] formulated the problem of partitioning the vertices of an edge-weighted graph into parts of prescribed sizes so as to minimize the weight of the crossing edges. The unweighted two-part case with equal part sizes is MINIMUM BISECTION. Garey, Johnson, and Stockmeyer [GJS76] proved that MINIMUM BISECTION is NP-complete.
Cygan, Lokshtanov, Marcin Pilipczuk, Michal Pilipczuk, and Saurabh [CLP+19] gave the first fixed-parameter algorithm for MINIMUM BISECTION, with running time O∗(2O(k3)), and asked whether MINIMUM BISECTION admits a single-exponential fixed-parameter algorithm.1 Cygan, Komosa, Lokshtanov, Marcin Pilipczuk, Michal Pilipczuk, Saurabh, and Wahlström [CKL+21] improved the running time to O∗(2O(klogk)), making substantial progress toward this goal while leaving the question open.
In this paper, we answer the question posed in [CLP+19] affirmatively by giving a deterministic O∗(2O(k))-time algorithm for MINIMUM BISECTION.
Existing framework for Minimum Bisection by [CLP+19] and [CKL+21]. Before describing our algorithm, we review the framework common to the two previous algorithms. Both algorithms first compute a tree decomposition with a certain property, called an unbreakable decomposition, and then perform bottom-up dynamic programming over the decomposition. Unbreakable decomposition itself was introduced in [CLP+19] as an algorithmically tractable relaxation of lean tree decompositions [Tho90, BD02].
For a graph H, a set X⊆V(H) is (q,k)-vertex-unbreakable if every separation (L,R)2 of H with ∣L∩R∣≤k satisfies min{∣L∩X∣,∣R∩X∣}≤q. A tree decomposition is (q,k)-vertex-unbreakable if every bag is (q,k)-vertex-unbreakable. [CLP+19] constructs in O∗(2O(k2)) time a (2O(k),k)-vertex-unbreakable decomposition with adhesion at most 2O(k), where the adhesion of a tree decomposition is the maximum size of the intersection of two adjacent bags. [CKL+21] substantially strengthens the decomposition guarantee and constructs in O∗(2O(klogk)) time a tree decomposition with adhesion at most k that is (i,i)-vertex-unbreakable for every 1≤i≤k.
Both algorithms then perform bottom-up dynamic programming over their tree decompositions. At a node t with parent t′, a state records which vertices of the adhesion Bt∩Bt′ lie on one side of the cut, the number of vertices on that side in the subgraph below t, and the number of cut edges in that subgraph.
The difficult step is the transition at a large bag Bt. The unbreakability guarantee in [CKL+21] ensures that every set A⊆V(G) with ∣δG(A)∣≤k satisfies ∣A∩Bt∣≤k or ∣Bt∖A∣≤k, but enumerating all such intersections takes nO(k) time. Their algorithm avoids this enumeration by
1The O∗ notation suppresses factors polynomial in the input size.
2A pair (L,R) is a separation when L∪R=V(H) and there is no edge between L∖R and R∖L.
color coding. In particular, at most k child adhesions are split by the cut, and each has size at most k. Hence, the coloring must separate the smaller of A∩Bt and Bt∖A from O(k2) vertices on the other side of these adhesions. If each vertex is colored red with probability Θ(1/k), the probability that every vertex of the smaller set is red and all O(k2) opposite-side vertices are blue is 2−O(klogk). The color-coding step therefore contributes a factor of 2O(klogk) to the transition time.
Our techniques. In [CKL+21], both the construction of the unbreakable decomposition and the transition at a large bag take O∗(2O(klogk)) time. We perform both steps in O∗(2O(k)) time and thereby obtain a single-exponential algorithm.
We first consider the construction of the unbreakable decomposition. We do not know whether a vertex-unbreakable decomposition with the bounds of [CKL+21], that is, adhesions of size at most k and (i,i)-vertex-unbreakable bags for every 1≤i≤k, can be constructed in O∗(2O(k)) time. However, as observed in [CKL+21], all applications considered there, including MINIMUM BISECTION, require only the weaker notion of edge-unbreakability. For a graph H, a set X⊆V(H) is (q,k)-edge-unbreakable if min{∣A∩X∣,∣X∖A∣}≤q for every A⊆V(H) with ∣δH(A)∣≤k. A tree decomposition of H is (q,k)-edge-unbreakable if every bag is (q,k)-edge-unbreakable. We construct an edge-unbreakable decomposition in single-exponential time.
Theorem 1.1. Given a graph G and k, one can construct in O∗(2O(k)) time a (2k,k)-edge-unbreakable decomposition with adhesion at most 2k.
We next consider the transition at a large bag. Unlike the previous algorithms, we do not use color coding. We instead apply algebraic operations to formal power series that represent the dynamic-programming tables, including inclusion-exclusion and formal logarithms and exponentials, all of which can be performed in O∗(2O(k)) time. These operations cannot be performed on Boolean existence values alone, so each state stores the number of partial solutions that it represents. Consequently, our algorithm counts all feasible solutions to MINIMUM BISECTION rather than merely deciding feasibility.
Theorem 1.2. The feasible solutions to MINIMUM BISECTION can be counted deterministically in O∗(2O(k)) time. If a feasible solution exists, one can recover one within the same running time.
Application. Our approach also applies to MATCHING CUT, parameterized by the number of crossing edges.
MATCHING CUT
Input: A simple undirected graph G and an integer k≥0.
Question: Is there a set ∅=A⊊V(G) such that ∣δG(A)∣≤k, and ∣δG(A)∩δG({v})∣≤1 for every v∈V(G)?
Parameter: k.
Gomes and Sau [GS19] observed that MATCHING CUT parameterized by k reduces to STABLE CUTSET, for which Marx, O'Sullivan, and Razgon [MOR10] gave a fixed-parameter algorithm using Courcelle's theorem. Aravind and Saxena [AS21] later made the dependence on k explicit with an O∗(2O(klogk))-time algorithm by applying the framework of [CKL+21].
Our algorithm for MATCHING CUT combines the MINIMUM BISECTION algorithm with color coding that assigns distinct colors to the endpoints of the cut. In particular, we obtain the following result.
Theorem 1.3. MATCHING CUT can be solved deterministically, and a witness can be recovered, in O∗(2O(k)) time.
Unlike our algorithm for MINIMUM BISECTION, our algorithm for MATCHING CUT does not count feasible solutions, because the initial color-coding step preserves only the existence of a solution.
Remark. It is natural to ask whether our techniques also yield single-exponential algorithms for other applications of unbreakable decompositions. [CKL+21] applied the unbreakable-decomposition framework to STEINER CUT, a generalization of p-WAY CUT, and to STEINER MULTICUT. As noted above, these applications use only edge-unbreakability, so our decomposition is sufficient for the same framework, up to constant changes in the parameters. This replacement alone, however, does not yield single-exponential algorithms, because the bottleneck is already present in the number of dynamic-programming states. For p-WAY CUT, a solution may have up to p≤k+1 parts, and the direct dynamic program assigns each adhesion vertex to one of these parts, already resulting in pO(k)=2O(klogk) dynamic-programming states, whereas the corresponding number for MINIMUM BISECTION is only 2O(k). We do not know whether these states can be compressed. Nevertheless, we believe that our construction provides a useful first step toward speeding up other applications of unbreakable decompositions, such as p-WAY CUT, STEINER CUT, and STEINER MULTICUT.
Lower bound. Aravind and Saxena [AS21] gave a lower-bound result for MATCHING CUT parameterized by the number k of crossing edges. More quantitatively, let g:N→R≥0 be unbounded and nondecreasing, satisfy g(x)=O(x), and satisfy g(λx)=O(g(x)) for every fixed constant λ>0. Then MATCHING CUT cannot be solved in O∗(2o(g(k))) time unless 3-SAT can be solved in O∗(2o(g(s))) time on instances of size s, where s is the total number of variables and clauses in the input 3-CNF formula.3
For MINIMUM BISECTION, we prove Theorem 1.4.
Theorem 1.4. Let g:N→R≥0 be unbounded and nondecreasing, satisfy g(x)=O(x), and satisfy g(λx)=O(g(x)) for every fixed constant λ>0. Suppose that MINIMUM BISECTION can be solved in O∗(2o(g(k))) time. Then 3-SAT can be solved in 2o(g(qs))+O(slogq/q+logs) time for every integer q with 2≤q≤s, where s is the total number of variables and clauses in the input 3-CNF formula.4
In particular, the theorem yields three consequences.
For every fixed 0<α<1, if 3-SAT has no O∗(2o(sα))-time algorithm, then MINIMUM BISECTION has no O∗(2o((k/logk)α/(2−α)))-time algorithm.
For every fixed c>0, if 3-SAT has no O∗(2o(s/(logs)c))-time algorithm, then MINIMUM BISECTION has no O∗(2o(k/((logk)2cloglogk)))-time algorithm.
If 3-SAT has no O∗(2o(s))-time algorithm, equivalently, if ETH holds, then MINIMUM BISECTION has no O∗(2o(k))-time algorithm.
3Their stated result was that, under the Exponential Time Hypothesis, MATCHING CUT admits no O∗(2o(k))-time algorithm. However, very recently, OpenAI and Anthropic independently released draft manuscripts claiming to refute ETH, each accompanied by a Lean formalization [Ope26, Cla26]. Although neither claim has yet been independently validated by the research community and we have not verified either claim ourselves, in view of these developments, we think that it is better to state the quantitative consequences of ETH-based reductions rather than only their consequences under ETH.
4The usual convention was to state ETH in terms of the number n of variables and invoke the sparsification lemma [IPZ01] to assume O(n) clauses. For every fixed ε>0, however, sparsification incurs a 2εn overhead. This overhead is harmless for ETH itself, but it cannot be absorbed into the finer 2o(sα) and 2o(s/(logs)c) bounds. We therefore measure s by the total number of variables and clauses.
We remark that [CKL +21] asked whether an O∗(2o(k))-time algorithm for MINIMUM BISECTION could be ruled out under ETH. The ETH consequence in Theorem 1.4 answers this question affirmatively. However, OpenAI and Anthropic recently released independent manuscripts claiming that ETH is false [Ope26, Cla26]. If either claim is correct, ETH no longer provides an algorithmic barrier. We nevertheless believe that Theorem 1.4 retains the spirit of the question in [CKL +21], because the first and second items transfer near-exponential lower bounds for 3-SAT to near-single-exponential lower bounds for MINIMUM BISECTION, with the exponent remaining arbitrarily close to linear.
1.1 Related work
Lean and unbreakable decompositions. A tree decomposition (T,{Bt}t∈V(T)) of a graph G is lean if, for all s,t∈V(T) and all Zs⊆Bs and Zt⊆Bt with ∣Zs∣=∣Zt∣=ℓ, the graph G contains ℓ pairwise vertex-disjoint Zs−Zt paths unless there is an adhesion of size less than ℓ along the s−t path in T. Thomas [Tho90] introduced the notion of lean tree decompositions and proved that every graph G admits a lean tree decomposition of width tw(G).5 Bellenbaum and Diestel [BD02] gave a shorter proof of Thomas's theorem. Carmesin, Diestel, Hamann, and Hundertmark [CDHH14] introduced k-lean tree decompositions, a variant of lean tree decompositions that has adhesion at most k and restricts the quantification over ℓ to ℓ≤k+1, and proved that every graph admits a k-lean tree decomposition for every k. Erde [Erd18] developed a common framework for lean-decomposition existence theorems in abstract separation systems and proved that every matroid M admits a lean tree decomposition of width tw(M).
Cygan, Lokshtanov, Marcin Pilipczuk, Michal Pilipczuk, and Saurabh [CLP +19] introduced the algorithmic notion of an unbreakable decomposition as part of the first fixed-parameter algorithm for MINIMUM BISECTION. Cygan, Komosa, Lokshtanov, Marcin Pilipczuk, Michal Pilipczuk, Saurabh, and Wahlström [CKL +21] subsequently gave an algorithm that computes a tree decomposition with adhesion at most k whose bags are (i,i)-vertex-unbreakable for every 1≤i≤k, and applied the decomposition to MINIMUM BISECTION, STEINER CUT, and STEINER MULTICUT.
Lokshtanov, Saurabh, and Surianarayanan [LSS24] gave a polynomial-time algorithm that computes a ((k+1)5,k)-edge-unbreakable decomposition with adhesion at most k, which they used in a parameterized approximation scheme for MINIMUM p-WAY CUT. Inamdar, Lokshtanov, Saurabh, and Surianarayanan [ILSS23] obtained a (9k,k)-edge-unbreakable decomposition with adhesion at most 8k and logarithmic depth, and used it to obtain an FPT-approximation algorithm for FAIR BISECTION. For every 0<ϵ≤1, Anand, Lee, Li, Long, and Saranurak [ALL +25] give a randomized algorithm that computes with high probability a (O(k/ϵ),k)-vertex-unbreakable decomposition with adhesion O(k/ϵ) in 2O((k/ϵ)log(k/ϵ))m1+ϵ time. They use the decomposition to obtain the first close-to-linear-time FPT algorithm for MINIMUM p-WAY CUT. Korhonen [Kor25] gave the first algorithm for constructing a k-lean tree decomposition, which runs in kO(k2)(n+m) time. The decomposition is (i,i)-vertex-unbreakable for every 1≤i≤k and has adhesion at most k. The construction yields, for every fixed k, a linear-time algorithm for computing the k-edge-connected components, as well as algorithms for computing k-Gomory–Hu trees and testing k-vertex-connectivity. Li and Vaughn [LV26] gave a randomized near-linear-time construction of an (O(klog2nloglogn),k)-edge-unbreakable decomposition with adhesion O(klog2nloglogn). They use the decomposition to obtain an improved FPT algorithm and a near-linear-time approximation algorithm for MINIMUM p-WAY CUT. Most recently, Anand, Lee, Long, and Saranurak [ALLS27] gave a randomized algorithm that computes, with high probability, a (5k,k)-vertex-unbreakable
5We write tw(G) for the treewidth of G.
Cut model
Small side in bag
Adhesion
Time
Reference
vertex (lean)
i(i≥1)
tw(G)+1
-
[Tho90, BD02]
vertex (k-lean)
i(1≤i≤k)
k
-
[CDHH14]
vertex
2O(k)
2O(k)
O∗(2O(k2))
[CLP+19]
vertex
i(1≤i≤k)
k
O∗(2O(klogk))
[CKL+21]
edge
9k
8k
O∗(2O(klogk))
[ILSS23]
edge
(k+1)5
k
nO(1)
[LSS24]
vertex
O(k/ϵ)
O(k/ϵ)
O∗(2O((k/ϵ)log(k/ϵ)))
[ALL+25]
vertex (k-lean)
i(1≤i≤k)
k
O∗(kO(k2))
[Kor25]
edge
O(klog2nloglogn)
O(klog2nloglogn)
O(m+kn)
[LV26]
vertex
5k
4k
O∗(2O(klogk))
[ALLS27]
edge
2k
2k
O∗(2O(k))
Theorem 1.1
Table 1: Comparison of lean and unbreakable decomposition guarantees. The results in the first two rows prove only existence and give no running-time bounds.
decomposition with adhesion 4k in O∗(2O(klogk)) time, with near-linear dependence on the input size. Table 1 summarizes existing results on lean, vertex-unbreakable, and edge-unbreakable decompositions together with our result in Theorem 1.1.
Algorithms for Minimum Bisection. Early algorithmic work on MINIMUM BISECTION concerned heuristics [KL70, KK98] and average-case guarantees [BCLS87]. For approximation with worst-case guarantees, Krauthgamer and Feige [KF06] obtained approximation ratios O(log3/2n) for MINIMUM BISECTION on general graphs and O(logn) for every fixed-minor-free graph class. Räcke [Rac08] improved the approximation ratio for general graphs to O(logn). Arora, Karger, and Karpinski [AKK99] gave a polynomial-time approximation scheme (PTAS) for graphs with minimum degree linear in n. Fox, Klein, and Mozes [FKM15] gave a bicriteria PTAS for weighted planar instances. Khot [Kho06] ruled out a PTAS for MINIMUM BISECTION on general graphs under the assumption NP⊆⋂ϵ>0BPTIME(2nϵ).
For exact computation, Scott and Sorkin [SS09] formulated MINIMUM BISECTION as a polynomial-valued constraint-satisfaction problem and gave a polynomial-space O∗(219m/100)-time algorithm that also supports counting. Hanaka, Kobayashi, and Sone [HKS21] gave an O(2t(tn)2)-time algorithm on a given tree decomposition of width t. Cygan, Lokshtanov, Marcin Pilipczuk, Michal Pilipczuk, and Saurabh [CLP+19] gave the first fixed-parameter algorithm for MINIMUM BISECTION parameterized by the number of cut edges, with running time O∗(2O(k3)). Cygan, Komosa, Lokshtanov, Marcin Pilipczuk, Saurabh, and Wahlström [CKL+21] improved the running time to O∗(2O(klogk)).
Algorithms for Matching Cut. Graham [Gra70] introduced decomposable graphs, namely graphs admitting matching cuts, to solve a number-theoretic problem on cube numbering. Subsequent work studied the complexity of MATCHING CUT on graph classes such as bounded-degree graphs [Chv84], line graphs [Mos89], series-parallel graphs [PP01], planar graphs, claw-free graphs, cographs, and graphs of bounded treewidth or clique-width [Bon09], bounded-diameter graphs, both general and bipartite [LL19], bounded-radius graphs and P6-free graphs [LPR22], and P15-free graphs [LPR23].
Exact and parameterized algorithms for general graphs appeared more recently. Kratsch and
Le [KL16] gave the first branching algorithm, which runs in O∗(2n/2) time, and a single-exponential algorithm parameterized by the vertex-cover number. Komusiewicz, Kratsch, and Le [KKL20] gave a randomized exact algorithm running in O∗(1.3071n) time, a quadratic kernel parameterized by distance to a cluster graph, a linear kernel parameterized by distance to a clique, and single-exponential algorithms parameterized by distance to a cluster graph and distance to a co-cluster graph. Gomes and Sau [GS19] proved that MATCHING CUT is fixed-parameter tractable with respect to the number k of crossing edges by combining the line-graph reduction to STABLE CUTSET with the fixed-parameter algorithm of Marx, O'Sullivan, and Razgon [MOR10] for STABLE CUTSET parameterized by the cutset size. Aravind and Saxena [AS21] gave an O∗(2O(klogk))-time algorithm.
1.2 Technical overview
1.2.1 A single-exponential algorithm for Minimum Bisection
Dynamic programming. Recall that Theorem 1.1 constructs a rooted tree decomposition whose adhesions have size at most 2k and whose bags are (2k,k)-edge-unbreakable. Fix such a decomposition T. For a node t of T, let ∂Gt be the adhesion between the bags corresponding to t and the parent of t, with ∂Gt:=∅ at the root.
We perform bottom-up dynamic programming on T. We use the standard representation of a cut on an adhesion: for every P⊆∂Gt, we introduce a state indexed by P, which stores information about cuts A⊆V(G) satisfying A∩∂Gt=P. Since ∣∂Gt∣≤2k, there are at most 22k=2O(k) choices for P. More precisely, the dynamic programming keeps two additional scalar indices, which we suppress in this overview: the number of vertices on the chosen side, needed for the bisection constraint, and the number of cut edges. They have only polynomially many possible values and therefore increase the number of states only by a polynomial factor.
In the usual dynamic programming on a tree decomposition of bounded width, a single-exponential bound on the number of states typically yields a single-exponential running time. This is not the case here, because T bounds only the adhesion size and its bags can be arbitrarily large. Hence we need to design the transitions carefully to obtain a single-exponential running time.
Consider computing the table at a node t from the already computed tables of its children, and let Bt denote the bag corresponding to t. A naive way to compute the transition is to enumerate the possible sets R:=A∩Bt for a hypothetical cut A⊆V(G). Once R is fixed, every child s must use the state indexed by R∩∂Gs. Hence the contribution of cuts satisfying A∩Bt=R can be computed from the child table entries indexed by R∩∂Gs and added to the entry at t indexed by R∩∂Gt. Figure 1 illustrates A, the set R=A∩Bt, and the intersections of Bt with the adjacent bags.
We now analyze the number of possible sets R. A straightforward approach enumerates all R⊆Bt, which gives 2∣Bt∣ possibilities and can be as large as 2n, which is far too large. Instead of enumerating every R⊆Bt, we observe that only cuts with at most k cut edges need to be considered, since a cut with more than k cut edges cannot be a feasible solution. For every such cut A, the (2k,k)-edge-unbreakability of Bt gives min{∣A∩Bt∣,∣Bt∖A∣}≤2k. Hence the number of possible sets R can be reduced to 2∑i=02k(i∣Bt∣)=nO(k). However, this is still too large.
Our key observation is that, we can break this nO(k) bound when we only consider cuts A for which G[A] is connected. More precisely, in O∗(2O(k)) time we can compute a family Ct⊆2Bt of size O∗(2O(k)) such that for every cut A for which G[A] is connected, ∣δG(A)∣≤k, and ∣A∩Bt∣≤2k, the set R=A∩Bt belongs to Ct. To see this, we use important cuts, introduced by Marx [Mar06]. For distinct vertices x,y in a graph H, a connected x−y cut C is important if no connected x−y
Figure 1: A bag Bt, its parent bag Bt′, and three child bags Bs1,Bs2,Bs3. The shaded regions enclose the three connected components of G[A]. Blue vertices form R=A∩Bt.
cut C′⊇C satisfies ∣δH(C′)∣≤∣δH(C)∣.6 It is known that every connected x−y cut C is contained in an important cut D with ∣δH(D)∣≤∣δH(C)∣, and that there are at most 4ℓ important x−y cuts with at most ℓ cut edges (Lemma 2.1); see [CFK+15, Section 8.2] for further details.
To construct Ct, form Ht from G by adding a vertex rt adjacent to every vertex of Bt. For each v∈Bt, enumerate the important connected v−rt cuts D with at most 3k cut edges, and add every subset of D∩Bt to Ct. There are at most ∣Bt∣43k choices for D. Since rt∈/D and every vertex of D∩Bt is adjacent to rt, we have ∣D∩Bt∣≤∣δHt(D)∣≤3k. Thus Ct has size O∗(2O(k)) and can be computed within the same time bound. Now let A satisfy G[A] connected, ∣δG(A)∣≤k, and 0<∣A∩Bt∣≤2k, and choose v∈A∩Bt. In Ht, the set A is a connected v−rt cut with ∣δHt(A)∣=∣δG(A)∣+∣A∩Bt∣≤3k. Since every connected v−rt cut is contained in an important v−rt cut with no more cut edges, there is an important v−rt cut D with A⊆D and ∣δHt(D)∣≤∣δHt(A)∣≤3k. Hence D is enumerated in the construction of Ct, and A∩Bt⊆D∩Bt gives A∩Bt∈Ct.
Formal logarithm. Before describing our use of the formal logarithm, we give a standard example of how the formal logarithm recovers a generating function for connected objects from one that counts arbitrary objects. The example is not used in our algorithm for MINIMUM BISECTION: our algorithm uses a different generating polynomial and proves connected support by another argument. The example only provides the underlying intuition.
Let fn=2(n) be the number of graphs on the labeled vertex set [n], and let gn be the number of connected such graphs. Every graph is uniquely determined by the partition of its vertex set into connected components and a connected graph on each part. Therefore, for every n≥1,
where the sum ∑{B1,…,Br} ranges over all partitions {B1,…,Br} of [n]. The factor n!/(n1!⋯nr!) assigns the labeled vertices to components of the specified sizes, while 1/r! removes the ordering of
6A cut C of H is a connected x−y cut if x∈C, y∈/C, and H[C] is connected.
the components.
Define the exponential generating functions
F(x):=n≥0∑fnn!xn,G(x):=n≥1∑gnn!xn.
Substituting the expression for fn and reordering the sums gives
The series ∑r≥0G(x)r/r! is the Taylor series of the exponential function evaluated formally at G(x). We write expH:=∑r≥0Hr/r! and logH:=∑r≥1(−1)r+1(H−1)r/r for the formal exponential and logarithm, respectively. Then the equality F(x)=∑r≥0G(x)r/r! gives F(x)=expG(x). Since the formal exponential and logarithm are inverse to each other, it follows that G(x)=logF(x). Thus, the formal logarithm recovers the generating function for connected labeled graphs from the generating function for all labeled graphs.
Now we return to MINIMUM BISECTION. The construction of Ct computes a family in 2Bt of size O∗(2O(k)) containing A∩Bt for every cut A such that G[A] is connected, ∣δG(A)∣≤k, and ∣A∩Bt∣≤2k. To handle an arbitrary cut A, we need to convolve the contributions of the connected components of G[A]. A direct convolution again considers the nO(k) possible unions R=A∩Bt, so it does not yield a single-exponential running time. We instead use a technique combining the formal logarithm and degree truncation of the generating polynomial.
To focus on the algebraic intuition, we temporarily forget about dynamic programming and consider the special case in which the entire vertex set V(G) forms a single (2k,k)-edge-unbreakable bag. We also drop the bisection constraint and instead study a generating polynomial that represents every cut (A,V(G)∖A). Indeed, if A⊆V(G) satisfies ∣δG(A)∣≤k and ∣A∣=∣V(G)∖A∣, edge-unbreakability gives ∣A∣≤2k and hence ∣V(G)∣≤4k, but in this case, all 2∣V(G)∣≤24k choices of A can be enumerated directly, so there is nothing to do.
Introduce a variable yv for every vertex v∈V(G), and write y=(yv)v∈V(G). For every S⊆V(G), define
ZS(y,w):=A⊆S∑(w∣δG(A)∣⋅v∈A∏yv).
Every term of ZS(y,w) represents a set A⊆S. The vertex variables record A, and the exponent of w records ∣δG(A)∣. The coefficient of wcya in the polynomial obtained from ZV(G)(y,w) by the substitution yv↦y for every v∈V(G) equals the number of sets A⊆V(G) with ∣δG(A)∣=c and ∣A∣=a. The goal here is to compute all such coefficients.
We consider the formal logarithm of the polynomial ZV(G)(y,w), defined by
The key observation is that every monomial occurring in logZV(G)(y,w) has connected support, where the support of wc∏v∈V(G)yvav is defined as {v∈V(G):av>0}. To prove this, fix S⊆
V(G). The coefficient of a monomial with support exactly S is the same in logZV(G)(y,w) and logZS(y,w), since a product contributing to such a monomial cannot use a variable yv with v∈/S.
Let S1,…,Sr be the connected components of G[S]. For A⊆S, put Ai:=A∩Si. No edge joins distinct sets Si, so A is the disjoint union of A1,…,Ar and δG(A) is the disjoint union of δG(A1),…,δG(Ar). Consequently,
w∣δG(A)∣v∈A∏yv=i=1∏r(w∣δG(Ai)∣v∈Ai∏yv).
The sum of the monomial factorization over all choices Ai⊆Si gives
ZS(y,w)=i=1∏rZSi(y,w).
Taking formal logarithms turns the product into a sum:
logZS(y,w)=i=1∑rlogZSi(y,w).
Suppose that G[S] is disconnected. Then r≥2 and each Si is a proper subset of S. Every monomial in logZSi(y,w) has support contained in Si, so the coefficient of any monomial with support exactly S is zero in logZS(y,w). Since such coefficients are equal in logZS(y,w) and logZV(G)(y,w), they are also zero in logZV(G)(y,w). Hence every monomial with a nonzero coefficient in logZV(G)(y,w) has connected support.
Although every monomial in logZV(G)(y,w) has connected support, the series may still have many distinct supports and, even worse, infinitely many terms with the same support, so we cannot compute it directly. To resolve this, we truncate the series by discarding every monomial whose w-degree exceeds k or whose total y-degree exceeds 2k. The goal is to show that only O∗(2O(k)) monomial supports remain after truncation. To this end, we use the family Ct constructed for the bag Bt. In the situation considered here, Bt=V(G), so we denote Ct simply by C. As described earlier, the family C can be computed in O∗(2O(k)) time, has size O∗(2O(k)), and contains every A⊆V(G) such that G[A] is connected, ∣δG(A)∣≤k, and ∣A∣≤2k.
Consider a retained monomial m, and let S be its support. We show that S∈C. We already know that G[S] is connected, so it remains to show that ∣S∣≤2k and ∣δG(S)∣≤k. The truncation at total y-degree 2k gives ∣S∣≤∑v∈V(G)degyv(m)≤2k. Moreover, every product that occurs in the expansion of a summand of Equation (1) and contributes to m counts every edge of δG(S) at least once in its w-degree. Hence ∣δG(S)∣≤degw(m)≤k. Thus S∈C.
Consequently, we can compute the truncated logarithm as
⟨logZV(G)(y,w)⟩=T∈C∑LT(y,w).
Here ⟨F⟩ discards every monomial of F whose w-degree exceeds k or whose total y-degree exceeds 2k, and LT(y,w) is the sum of the monomials in ⟨logZV(G)(y,w)⟩ with support exactly T. It is not hard to see that we can compute LT(y,w) in O∗(2O(k)) time using subset Möbius inversion. Since ∣C∣=O∗(2O(k)), the truncated logarithm is computable in O∗(2O(k)) time.
Recall that the goal here is to compute the coefficients of wcya for c≤k and a≤2k in the polynomial obtained from ZV(G)(y,w) by substituting yv↦y for every v∈V(G). To this end, we first make this substitution in the truncated logarithm. We then take the formal exponential, defined by
Using the truncated logarithm-exponential identity
⟨exp(⟨logZV(G)(y,w)⟩)⟩=⟨ZV(G)(y,w)⟩,
we can compute all desired coefficients. The substitution yv↦y sends total y-degree to y-degree, so truncation does not discard any coefficient of wcya with c≤k and a≤2k.
We now return to the dynamic-programming transition at a large bag Bt. In addition to Bt, the transition must account for the vertices contained in the child subtrees, so some additional care is needed. Nevertheless, the same technique as described above computes the transition in O∗(2O(k)) time (Section 3). Hence the bottom-up dynamic programming solves MINIMUM BISECTION in O∗(2O(k)) time.
1.2.2 Unbreakable decomposition
The remaining task is to construct a rooted (2k,k)-edge-unbreakable decomposition with adhesions of size at most 2k in O∗(2O(k)) time. Our strategy is as follows. If V(G) is (2k,k)-edge-unbreakable in G, we use V(G) as the only bag. Otherwise, we find a set B⊊V(G) such that B is (2k,k)-edge-unbreakable in G and has adhesion at most 2k, use B as the root bag, and recurse on every component of G−B.
For this overview, we focus on constructing the root bag. Choose an arbitrary vertex v∈V(G) that must remain in the root bag, and start with B:=V(G). If B is (2k,k)-edge-unbreakable, we stop. Otherwise, we find a set B′ such that v∈B′, ∣B′∣<∣B∣, and B′ has adhesion at most 2k, and replace B by B′. Each replacement decreases the bag size, so the process eventually produces the root bag.
Suppose that B is not (2k,k)-edge-unbreakable. Then, there is a cut with at most k cut edges and more than 2k vertices of B on each side. We choose the side A that does not contain v. The components of G[A] together contain more than 2k vertices of B, while their cut-edge sets contain at most k edges in total; hence some component K satisfies ∣K∩B∣>∣δG(K)∣. We can prove that adding at most ∣δG(K)∣ vertices to B∖K gives a set B′ that contains v and has adhesion at most 2k. Since ∣δG(K)∣<∣K∩B∣, we also have ∣B′∣<∣B∣. Figure 2 illustrates A, B, and K.
The remaining task is to find such a component K. Note that the witness cut A is not given, and finding it directly is already nontrivial. We instead use important cuts [Mar06]. We can prove that, for some choice of r∈B, one of the important r−v cuts with at most k cut edges yields a suitable K. There are at most 4k such cuts for each r. Thus we enumerate them for every r∈B and test the bag obtained from each cut. Whenever B is not (2k,k)-edge-unbreakable, at least one enumerated cut yields a valid smaller bag.
For a nonroot recursive call, the new root bag must contain the adhesion to its parent; otherwise, the bags containing an adhesion vertex may fail to form a connected subtree. To this end, instead of preserving the single vertex v, we preserve a set X consisting of the parent adhesion together with one vertex of the current component. Since the parent adhesion has size at most 2k, we have ∣X∣≤2k+1. The same shrinking procedure works with X in place of {v}, and recursion gives the complete decomposition. Section 5 gives the details. The running time is dominated by the number of important cuts, which is O∗(2O(k)), and this proves Theorem 1.1.
Figure 2: A cut A and a component K of G[A], for k=3. The horizontal line separates A from V(G)∖A, the dashed line encloses the vertices of B, and the blue region marks K. The three orange edges form δG(A).
1.3 Organization
The rest of this paper is organized as follows. Section 2 collects the preliminaries. Section 3 proves Theorem 1.2 by giving a single-exponential algorithm for MINIMUM BISECTION, assuming Theorem 1.1. Section 4 proves Theorem 1.3 by applying an algorithm similar to that in Section 3 to MATCHING CUT. Section 5 proves Theorem 1.1. Section 6 proves Theorem 1.4.
2 Preliminaries
Graphs. All graphs in this paper are finite, simple, and undirected. A cut of a graph H is a set A⊆V(H). Its cut-edge set δH(A) consists of the edges with exactly one endpoint in A. The function A↦∣δH(A)∣ is submodular: ∣δH(A)∣+∣δH(B)∣≥∣δH(A∩B)∣+∣δH(A∪B)∣ for all A,B⊆V(H). A vertex separation of H is a pair (L,R) with L∪R=V(H) and no edge from L∖R to R∖L. Its separator is L∩R. For vertex sets S,T⊆V(H), an S−T vertex separator is a set that intersects every path from S to T; it may contain vertices of S∪T. Menger's theorem states that the minimum size of an S−T vertex separator equals the maximum number of pairwise vertex-disjoint S−T paths. A minimum S−T vertex separator can be computed in polynomial time by vertex splitting and a maximum-flow computation.
Let S,T⊆V(H) be disjoint. A connected S−T cut is a cut C of H such that S⊆C⊆V(H)∖T and H[C] is connected. It is important if there is no connected S−T cut D⊇C with ∣δH(D)∣≤∣δH(C)∣. Every connected S−T cut C is contained in an important connected S−T cut D with ∣δH(D)∣≤∣δH(C)∣. The following lemma bounds the number of important cuts.
Lemma 2.1 ([CFK+15, Theorems 8.11 and 8.13]). Let H be an unweighted undirected graph, let S,T⊆V(H) be disjoint, and suppose that S is nonempty and connected. For every ℓ≥0, there are at most 4ℓ important connected S−T cuts D with ∣δH(D)∣≤ℓ. All such cuts can be enumerated in O∗(4ℓ) time.
A tree decomposition of H is a tree T together with bags Bt⊆V(H) for t∈V(T) such that ⋃t∈V(T)Bt=V(H), every edge of H has both endpoints in some bag, and, for every v∈V(H), the nodes t with v∈Bt induce a connected subtree of T. For tt′∈E(T), the set Bt∩Bt′ is the adhesion of tt′; the adhesion of the decomposition is the maximum size of an adhesion, or zero if T has no edge. A rooted tree decomposition additionally has a designated root.
Perfect hash families. For 1≤r≤n, an (n,r)-perfect hash family is a family H of functions h:[n]→[r] such that, for every X⊆[n] with ∣X∣≤r, some h∈H is injective on X. An (n,r)-perfect hash family of size O∗(2O(r)) can be constructed in O∗(2O(r)) time [NSS95].
Formal power series. Let X be a finite set of variables. A formal power series over X is a possibly infinite Q-linear combination of monomials in X. We write Q[[X]] for the ring of such series. For a monomial m and a variable z, let degz(m) denote the exponent of z in m. For u⊆X, every F∈Q[[X]] has a unique expansion F=∑mFmm, where m ranges over the monomials in u and Fm∈Q[[X∖u]]; define [m]uF:=Fm.
For a series F whose constant term is one, define
logF:=j≥1∑j(−1)j+1(F−1)j.(2)
For a series F whose constant term is zero, define
expF:=j≥0∑j!1Fj.(3)
The formal logarithm and exponential are inverse to each other.
For a series F and a nonnegative degree bound D, let ⟨F⟩deg≤D denote the series obtained by discarding the monomials of degree greater than D.
Lemma 2.2. If the formal logarithm of Z is defined, then
⟨exp(⟨logZ⟩deg≤D)⟩deg≤D=⟨Z⟩deg≤D.
Proof. Every discarded monomial has degree greater than D, and multiplying it by any monomial cannot decrease its degree. Hence it cannot affect any retained coefficient in the exponential. The claim follows from exp(logZ)=Z. □
Zeta and Möbius transforms. For a finite set Y and a function f:2Y→Q, its subset zeta transform is the function g:2Y→Q defined by g(T):=∑J⊆Tf(J). The inverse operation is the subset Möbius transform, which recovers f by f(S)=∑T⊆S(−1)∣S∣−∣T∣g(T).
3 Minimum Bisection
In this section, we prove Theorem 1.2. We use the guarantee of Theorem 1.1, leaving the decomposition construction to Section 5.
3.1 Polynomial representation
Fix a rooted tree decomposition T with bags Bt supplied by Theorem 1.1, and denote its root by t0. For a nonroot node t with parent t′, let Gt be the graph obtained from the subgraph of G induced by the union of the bags in the subtree rooted at t by deleting E(G[Bt∩Bt′]); at the root, set Gt0:=G. We call ∂Gt:=Bt∩Bt′ the parent boundary of Gt, and set ∂Gt0:=∅. For a nonroot node t, deleting E(G[Bt∩Bt′]) prevents an edge with both endpoints in ∂Gt from being charged at both t and t′.
For At⊆V(Gt), define the minimum completion cost of At by
μt(At):=min{∣δG(A)∣:A∩V(Gt)=At}.
In other words, μt(At) is the smallest number of cut edges obtainable when At is fixed inside V(Gt) and the vertices outside V(Gt) may be chosen freely. Call Atk-extendable if μt(At)≤k.
Our strategy is dynamic programming on T. A natural way is to keep, for every node t, states indexed by the following data:
• a set P⊆∂Gt, which specifies At∩∂Gt;
• an integer b, which specifies ∣At∖∂Gt∣;
• an integer c∈{0,…,k}, which specifies μt(At).
The state (P,b,c) corresponds to the sets At⊆V(Gt) satisfying At∩∂Gt=P, ∣At∖∂Gt∣=b, and μt(At)=c. The answer to the MINIMUM BISECTION instance can be recovered from the state values at the root t0.
We next decide what each state should store. The most natural way is to store a Boolean value indicating whether any such set At exists. However, Boolean state values are insufficient even if the goal is only to decide whether a solution exists: our algorithm applies algebraic operations, such as Möbius inversion and the formal logarithm, to the state values, which is impossible with existence information alone. We therefore store the number of sets At represented by each state. As our algorithm applies algebraic operations to these counts, it is convenient to encode them in a generating polynomial as follows.
The polynomial Zt lists all k-extendable subsets of V(Gt). For the monomial indexed by At, the exponent of w records μt(At).
In our dynamic-programming states, the vertices in At∖∂Gt are not distinguished; each state records only ∣At∖∂Gt∣=b. In contrast, the monomial indexed by At in Zt contains ∏v∈Atyv, which distinguishes every vertex of At. To use Zt for dynamic programming, we must forget the identities of the vertices in At∖∂Gt. Throughout the algorithm, we implement such a forgetting operation by variable substitution. For X⊆V(Gt), define the substitution ωtX(y,x):=(ωt,vX)v∈V(Gt), where, for every v∈V(Gt),
ωt,vX:={yv,x,v∈X,v∈V(Gt)∖X.
We write Zt(ωtX(y,x),w) for the polynomial obtained by applying ωtX(y,x) to Zt(y,w). Precisely, we have
which is exactly the number of sets represented by the dynamic-programming state (P,b,c).
Our algorithm computes Zt(ωt∂Gt(y,x),w) for every node t. Since 0≤b≤n, 0≤c≤k, and ∣∂Gt∣≤2k, the polynomial Zt(ωt∂Gt(y,x),w) contains only O∗(2∣∂Gt∣)=O∗(2O(k)) monomials.
To recover the answer to the MINIMUM BISECTION instance, consider the root t0. Since ∂Gt0=∅, ωt0∂Gt0(y,x) replaces every vertex variable by x. Moreover, Gt0=G and μt0(A)=∣δG(A)∣, so
The number of feasible solutions to the MINIMUM BISECTION instance is
c=0∑k[x⌊n/2⌋wc]Zt0(ωt0∂Gt0(y,x),w).
3.2 Conceptual transition
We now consider how to compute Zt(ωt∂Gt(y,x),w) from the polynomials Zs(ωs∂Gs(y,x),w) for the children s of t. We first consider a conceptually simple strategy. We enumerate every R⊆Bt, compute the contribution to Zt(ωt∂Gt(y,x),w) of the sets At satisfying At∩Bt=R, and sum the contributions over all R⊆Bt.
Here, we should first remark that the strategy is only conceptual; our algorithm does not compute Zt(ωt∂Gt(y,x),w) by enumerating R⊆Bt because the strategy requires enumerating all 2∣Bt∣ subsets R⊆Bt, which cannot be done within the desired O∗(2O(k)) time. Nevertheless, the strategy is useful for explaining the O∗(2O(k))-time algorithm, so we describe the strategy first.
Formally, Zt(ωt∂Gt(y,x),w) is represented as the following sum:
Now, the next task is to represent Qt,R(x,w) using the child polynomials Zs(ωs∂Gs(y,x),w). Let child(t) denote the set of children of t in T. Fix R⊆Bt. For a child s of t, call a set As⊆V(Gs)R-consistent if As∩∂Gs=R∩∂Gs. By the connectedness axiom of the tree decomposition T, every set At⊆V(Gt) with At∩Bt=R is obtained uniquely by gluing R with one R-consistent set As for each child s of t in the form
At=R∪˙s∈child(t)⋃(As∖∂Gs).
Consequently, Qt,R(x,w) can be written entirely in terms of the sets As as
The sum is taken over all choices of an R-consistent set As⊆V(Gs) for every child s of t that satisfy
μtR∪˙s∈child(t)⋃(As∖∂Gs)≤k.
We would like to rewrite the sum in Equation (6) as a product, over the children s of t, of sums indexed by R-consistent sets As. The x-weight already factors over the children, but the exponent of w is not additive over them. To do so, we correct the w-degree. For P⊆∂Gt, define
Thus, expanding the product in Equation (8) amounts to choosing one R-consistent set As for every child s of t. For these choices, let
At:=R∪˙s∈child(t)⋃(As∖∂Gs).
By Equation (6), it suffices to verify that the right-hand side of Equation (8) assigns At the monomial x∣At∖Bt∣wμt(At) if μt(At)≤k, and zero otherwise. For the x-weight,
s∈child(t)∏x∣As∖∂Gs∣=x∣At∖Bt∣.
For the w-weight, the edge sets of Gt[Bt] and of the graphs Gs for the children s of t partition E(Gt). Hence Equation (7), applied at t and at every child s, gives
Consequently, the selected terms contribute the required monomial x∣At∖Bt∣wμt(At). The truncation in Equation (8) keeps exactly the choices with μt(At)≤k.
Conversely, every set At with μt(At)≤k is obtained from the sets As=At∩V(Gs), which satisfy μs(As)≤k for every child s because a minimum completion of At is also a completion of every As. Thus, Equation (6) shows that the retained sum is Qt,R(x,w).
If ∣Bt∣≤4k+1, we compute Qt,R(x,w) from Equation (8) for every R⊆Bt and then compute Zt(ωt∂Gt(y,x),w) from Equation (5). The computation takes O∗(2O(k)) time.
We now assume that ∣Bt∣>4k+1. Enumerating all 2∣Bt∣ subsets R⊆Bt is too expensive, so we need a different algorithm. By the edge-unbreakability guarantee for the bags of our tree decomposition, every k-extendable set At satisfies ∣At∩Bt∣≤2k or ∣Bt∖At∣≤2k. Since ∣Bt∣>4k+1, the two inequalities are mutually exclusive. We compute the two contributions separately and add them. Define
Zt≤2k(y,w) is the restriction of Zt(y,w) to the sets At satisfying ∣At∩Bt∣≤2k. The next lemma represents the restriction of Zt(y,w) to the sets At satisfying ∣Bt∖At∣≤2k in terms of Zt≤2k(y,w), and hence expresses Zt(y,w) as the sum of the two restrictions.
Proof. Edge-unbreakability and ∣Bt∣>4k+1 imply that every set At with μt(At)≤k satisfies exactly one of ∣At∩Bt∣≤2k and ∣Bt∖At∣≤2k. The polynomial Zt≤2k(y,w) contains exactly the terms indexed by the sets satisfying ∣At∩Bt∣≤2k.
Fix a set At⊆V(Gt) satisfying μt(At)≤k and ∣Bt∖At∣≤2k. Since (V(Gt)∖At)∩Bt=Bt∖At and μt(V(Gt)∖At)=μt(At), we have
If we can compute Zt≤2k(ωtBt(y,x),w), then substituting yv=x for every v∈Bt∖∂Gt yields Zt≤2k(ωt∂Gt(y,x),w). However, computing all coefficients of this polynomial appears infeasible: in the worst case, for every R⊆Bt with ∣R∣≤2k, it contains a monomial xbwℓ∏v∈Ryv for some
b≥0 and 0≤ℓ≤k. It can therefore have at least ∑i=02k(i∣Bt∣)=nΘ(k) distinct monomials, so even writing all its coefficients is too expensive.
The key idea is to consider instead its formal logarithm logZt≤2k(ωtBt(y,x),w), viewed as a formal power series. The polynomial has constant term 1, and its formal logarithm is well-defined; indeed, the set At=∅ contributes the term 1, whereas every other set contributes a monomial of positive degree.
For a monomial m=xbwℓ∏v∈V(Gt)yvav, call {v∈Bt:av>0} the Bt-support of m. The next lemma shows that, after restricting to monomials of w-degree at most k and Bt-support size at most 2k, only O∗(2O(k)) distinct supports occur. It also shows that these supports can be enumerated in O∗(2O(k)) time.
Lemma 3.3. In O∗(2O(k)) time, one can enumerate a downward-closed family Ct⊆2Bt of size O∗(2O(k)) such that every member has size at most 2k and
We prove Lemma 3.3 in Section 3.4. For each S⊆Bt, let Lt,S(y,w) be the formal power series consisting of the terms of logZt≤2k(y,w) whose monomials have Bt-support S. Then
We would like to compute the left-hand side from the series on the right-hand side. Since these series are generally infinite, we truncate both sides to obtain:
The substitution ρtT(y,x) is obtained from ωtBt(y,x) by additionally setting yv=0 for every v∈Bt∖T. Since Lt,J consists of the terms of logZt≤2k(ωtBt(y,x),w) with Bt-support exactly J, this substitution leaves Lt,J(ωtBt(y,x),w) unchanged when J⊆T and annihilates Lt,J(ωtBt(y,x),w) when J⊆T. Thus,
logZt≤2k(ρtT(y,x),w)=J⊆T∑Lt,J(ωtBt(y,x),w).
This is the subset zeta transform of the family Lt,J(ωtBt(y,x),w). Hence Möbius inversion gives
where the second equality follows because ρt,vT=0 for v∈Bt∖T. By Lemma 3.1, Qt,R(x,w) can be computed from the polynomials Zs(ωs∂Gs(y,x),w) for the children s of t, for every R⊆T. Hence all coefficients of Zt≤2k(ρtT(y,x),w) can be computed. For every T⊆S, we take its formal logarithm and truncate it to degrees ≤(k,n,2k). The sum in Equation (11) then computes ⟨Lt,S(ωtBt(y,x),w)⟩≤(k,n,2k).
We analyze the running time. For each T⊆S, the sum over R⊆T in Equation (12) has at most 22k summands because ∣T∣≤∣S∣≤2k. By Lemma 3.1, each Qt,R(x,w) can be computed in polynomial time. Hence Zt≤2k(ρtT(y,x),w) can be computed from Equation (12) in O∗(2O(k)) time. A term with monomial xbwℓ∏v∈Tyvav in ⟨logZt≤2k(ρtT(y,x),w)⟩≤(k,n,2k) satisfies 0≤b≤n, 0≤ℓ≤k, and ∑v∈Tav≤2k. Hence b has n+1 choices, ℓ has k+1 choices, and (av)v∈T has (∣T∣∣T∣+2k) choices; the binomial coefficient counts the nonnegative integer vectors whose coordinate sum is at most 2k. Therefore, the number of retained terms is at most (n+1)(k+1)(∣T∣∣T∣+2k)=O∗(2O(k)) because ∣T∣≤2k. Using Equation (2) with truncation after every multiplication computes all coefficients of the truncated logarithm in O∗(2O(k)) time. Finally, ∣S∣≤2k, so computing the truncated logarithm for all 2∣S∣ sets T⊆S and evaluating Equation (11) takes O∗(2O(k)) time. □
By Equation (9) and Lemma 3.4, we can compute in O∗(2O(k)) time the formal logarithm of Zt≤2k(ωtBt(y,x),w) truncated by the bounds (k,n,2k). We want to recover Zt≤2k(ωt∂Gt(y,x),w) from the truncated logarithm. Intuitively, this requires two operations: changing ωtBt(y,x) to ωt∂Gt(y,x) by the substitution
yv⟼{yv,x,v∈∂Gt,v∈Bt∖∂Gt.(v∈Bt),
and taking the exponential using the relation
⟨exp(⟨logZt≤2k⟩≤(k,n,2k))⟩≤(k,n,2k)=Zt≤2k,
which follows from Lemma 2.2.
A naive approach is to first take the exponential and then replace ωtBt(y,x) with ωt∂Gt(y,x). However, this approach does not work because it must first compute Zt≤2k(ωtBt(y,x),w), which can contain ∑i=02k(i∣Bt∣)=nΘ(k) distinct monomials.
Alternatively, one could substitute x for yv for every v∈Bt∖∂Gt to obtain logZt≤2k(ωt∂Gt(y,x),w) and then take the exponential. However, substituting before exponentiation also fails because the substitution moves the degrees of yv for v∈Bt∖∂Gt into the x-degree. Consequently, a term that should be discarded because its total degree in the variables yv with v∈Bt exceeds 2k may satisfy all three degree bounds ≤(k,n,2k) after the substitution and contribute to the exponential.
To avoid these issues, we use an intermediate substitution. Introduce a fresh variable x′ and define
The substitution ωtBt(y,x)↦σt(y,x,x′) fixes x,w, and every yv with v∈∂Gt, and replaces yv by x′ for every v∈Bt∖∂Gt. The important observation is that if m′ is the image of a monomial m under this substitution, then
v∈Bt∑degyv(m)=degx′(m′)+v∈∂Gt∑degyv(m′).
That is, the original total degree in the variables yv with v∈Bt is preserved as the sum of the x′-degree and the total degree in the remaining variables yv with v∈∂Gt. We first substitute σt(y,x,x′) for ωtBt(y,x) to obtain ⟨logZt≤2k(σt(y,x,x′),w)⟩≤(k,n,2k), where, by a slight abuse of notation, the third coordinate of ≤(k,n,2k) is degx′+∑v∈∂Gtdegyv instead of ∑v∈Btdegyv. We next take the exponential and apply ⟨⋅⟩≤(k,n,2k), and finally substitute x for x′. The next lemma proves that the polynomial obtained after the substitution x′↦x is Zt≤2k(ωt∂Gt(y,x),w) and can be computed in O∗(2O(k)) time.
Lemma 3.5. The polynomial Zt≤2k(ωt∂Gt(y,x),w) can be computed in O∗(2O(k)) time.
Proof. First, apply the substitution σt(y,x,x′) to ⟨logZt≤2k(ωtBt(y,x),w)⟩≤(k,n,2k). We can claim that this substitution yields ⟨logZt≤2k(σt(y,x,x′),w)⟩≤(k,n,2k). Indeed, let
Finally, set x′=x. Since σt(y,x,x)=ωt∂Gt(y,x), we obtain Zt≤2k(σt(y,x,x),w)=Zt≤2k(ωt∂Gt(y,x),w).
We now analyze the running time. By Equation (9) and Lemma 3.4, we can compute the truncated polynomial ⟨logZt≤2k(ωtBt(y,x),w)⟩≤(k,n,2k) in O∗(2O(k)) time. Substituting σt(y,x,x′) only relabels variables and combines terms, so it does not increase the number of terms and also takes O∗(2O(k)) time.
We evaluate the exponential using Equation (3) and truncate after each multiplication. Every intermediate polynomial retains at most
(n+1)(k+1)(∣∂Gt∣+1∣∂Gt∣+2k+1)=O∗(2O(k)),
terms. Hence the truncated exponential can be computed in O∗(2O(k)) time. The substitution x′=x only combines coefficients and takes the same time. □
The next lemma proves that the transitions compute the required polynomials.
Lemma 3.6. For every node t, given Zs(ωs∂Gs(y,x),w) for every child s of t, the algorithm computes Zt(ωt∂Gt(y,x),w) in O∗(2O(k)) time.
Proof. If ∣Bt∣≤4k+1, then Lemma 3.1 computes Qt,R(x,w) for every R⊆Bt, and substituting these polynomials into Equation (5) gives Zt(ωt∂Gt(y,x),w). There are 2∣Bt∣=2O(k) choices of R, so this case takes O∗(2O(k)) time.
If ∣Bt∣>4k+1, then Lemma 3.5 computes Zt≤2k(ωt∂Gt(y,x),w) in O∗(2O(k)) time. Applying Lemma 3.2 under ωt∂Gt(y,x) recovers Zt(ωt∂Gt(y,x),w) by a coefficientwise transformation, which takes the same time. □
Now we prove Theorem 1.2.
Theorem 1.2. The feasible solutions to MINIMUM BISECTION can be counted deterministically in O∗(2O(k)) time. If a feasible solution exists, one can recover one within the same running time.
Proof. Let G1,…,Gr be the connected components of G, and let ti be the root of the decomposition of Gi. For every i∈[r], we compute Zti(ωti∂Gti(y,x),w) using Theorem 1.1 and Lemma 3.6. By Equation (4) and additivity over components, the number of feasible solutions is
c=0∑k[x⌊n/2⌋wc]i=1∏rZti(ωti∂Gti(y,x),w).
The decompositions contain at most n bags in total, each transition takes O∗(2O(k)) time, and the root products take polynomial time. The intermediate numbers have polynomial bit length, so the total running time is O∗(2O(k)).
For witness recovery, first find the minimum feasible cost c≤k. While c>0, delete an edge e for which the resulting instance is feasible with cost c−1, and decrement c; an edge of a minimum bisection always has this property. At cost zero, subset sum over the sizes of the connected components recovers a bisection. This uses only polynomially many calls to the decision algorithm and preserves the running-time bound. □
3.4 Proof of Lemma 3.3
In this subsection, we prove Lemma 3.3. The proof has two main steps. The first step considers logZt(y,w), where yv is a distinct variable for each v∈V(Gt). Take any monomial with nonzero coefficient in logZt(y,w), write it as wc∏v∈V(Gt)yvav, and let S:={v∈V(Gt):av>0}. We show that S is c-extendable to a connected set; that is, there is a connected set A⊆V(G) such that A∩V(Gt)=S and ∣δG(A)∣≤c (Lemma 3.10).
For the specialized series logZt≤2k(ωtBt(y,x),w) in Lemma 3.3, we can state that such an A satisfies ∣A∩Bt∣≤2k. The second step is to use important cuts to enumerate in O∗(2O(k)) time a family Ct that contains A∩Bt for every connected set A⊆V(G) satisfying ∣δG(A)∣≤k and ∣A∩Bt∣≤2k (Lemma 3.11). Hence S=A∩Bt∈Ct.
We now prove the first step. We would like to choose a minimum-cost extension of S and factor the part of Zt(y,w) supported on subsets of S as a product over its connected components, so that taking the formal logarithm turns the product into a sum. The y-part of each monomial factors automatically over these components. The difficulty lies in the w-part. The exponent of w in the term indexed by R⊆S is μt(R), and since μt(R) is defined by minimizing over extensions outside Gt, it is not immediate that these exponents are additive over the components.
To establish this additivity, for each S⊆V(Gt), let Φt(S) be the inclusion-wise largest member of
{A⊆V(G):A∩V(Gt)=S,∣δG(A)∣=μt(S)}.
We first prove that Φt(S) is well-defined for every S⊆V(Gt).
Lemma 3.7. For every S⊆V(Gt), the set Φt(S) is well-defined.
Proof. The family defining Φt(S) is nonempty by the definition of μt(S). Let A,A′⊆V(G) satisfy A∩V(Gt)=A′∩V(Gt)=S and ∣δG(A)∣=∣δG(A′)∣=μt(S). Both A∩A′ and A∪A′ intersect V(Gt) in S, and thus ∣δG(A∩A′)∣≥μt(S) and ∣δG(A∪A′)∣≥μt(S). By submodularity of the cut function,
Thus, both inequalities are equalities. In particular, A∪A′ also satisfies ∣δG(A∪A′)∣=μt(S), and hence the family defining Φt(S) is closed under unions, which implies that its inclusion-wise largest member Φt(S) is unique. □
We also have the following.
Lemma 3.8. If S′⊆S⊆V(Gt), then Φt(S′)⊆Φt(S).
Proof. Let S′⊆S. The sets Φt(S′)∩Φt(S) and Φt(S′)∪Φt(S) intersect V(Gt) in S′ and S, respectively. Hence
Thus Φt(S′)∪Φt(S) is a minimizer in the definition of μt(S). The maximality of Φt(S) gives Φt(S′)∪Φt(S)=Φt(S), and hence Φt(S′)⊆Φt(S).
For S⊆V(Gt), let KS be the family of connected components of G[Φt(S)]. The next lemma shows that every member of KS intersects V(Gt).
Lemma 3.9. For every S⊆V(Gt) and every K∈KS, we have K∩V(Gt)=∅.
Proof. Suppose that K∩V(Gt)=∅ for some K∈KS. The set Φt(S)∖K still intersects V(Gt) in S. Since K∩V(Gt)=∅ and V(Gt)=∅, we have K=V(G). Since G is connected, ∣δG(K)∣>0. Moreover, there is no edge between K and Φt(S)∖K, so
The next lemma is the goal of the first step toward Lemma 3.3.
Lemma 3.10. Suppose that c≤k and that the coefficient of wc∏v∈V(Gt)yvav in logZt(y,w) is nonzero. For S:={v∈V(Gt):av>0}, the set Φt(S) is connected and ∣δG(Φt(S))∣≤c.
Proof. Define the substitution πtS(y):=(πt,vS)v∈V(Gt), where, for each v∈V(Gt),
πt,vS:={yv,0,v∈S,v∈V(Gt)∖S.
Consider logZt(πtS(y),w). Setting yv=0 for every v∈/S leaves only the monomials of logZt(y,w) whose support is contained in S. In particular, the coefficient of wc∏v∈V(Gt)yvav is unchanged.
Let KS be the family of connected components of G[Φt(S)]. We will prove below that the polynomial Zt(πtS(y),w) has the following factorization:
Each summand on the right-hand side uses variables from only one member of KS. If KS has at least two members, then Lemma 3.9 implies that every member intersects S, so no summand has support S; if KS is empty, the right-hand side is zero. Thus, unless KS is a singleton, the coefficient of wc∏v∈V(Gt)yvav is zero, contradicting the hypothesis and its preservation under πtS.
It remains to prove Equation (13). It suffices to show that, for every R⊆S,
μt(R)=K∈KS∑μt(R∩K).(14)
Indeed, if this is proved, then, since the sets K∩V(Gt) for K∈KS partition S, we have
Figure 3: The gray regions are the components K1,K2 of G[Φt(S)]. The darker regions show Φt(R∩K1) and Φt(R∩K2), each with two connected components, all meeting R.
Now we prove Equation (14). By Lemma 3.8, Φt(R)⊆Φt(S). The sets Φt(R)∩K for K∈KS partition Φt(R), and there are no edges between distinct members of KS. Hence
μt(R)=K∈KS∑∣δG(Φt(R)∩K)∣≥K∈KS∑μt(R∩K).
Conversely, fix K∈KS. We show that Φt(R∩K)⊆K (Figure 3). By Lemma 3.8, Φt(R∩K)⊆Φt(S). By Lemma 3.9, every connected component of G[Φt(R∩K)] contains a vertex of V(Gt). Since Φt(R∩K)∩V(Gt)=R∩K, this vertex lies in R∩K⊆K. Since K is a connected component of G[Φt(S)], every connected component of G[Φt(R∩K)] lies in K. Hence Φt(R∩K)⊆K. Consequently, ⋃K∈KSΦt(R∩K) intersects V(Gt) exactly in R. Moreover, since no edge joins distinct members of KS, the edge sets δG(Φt(R∩K)) for K∈KS are pairwise disjoint. Therefore,
Since the coefficient of wc∏v∈V(Gt)yvav is nonzero, this monomial occurs in the expansion of one of the powers on the right-hand side. Hence, for some j≥1, there are nonempty sets At,1,…,At,j⊆V(Gt) such that
By the definition of Φt, we have ∣δG(Φt(S))∣=μt(S)≤c.
The next lemma supplies the second part toward Lemma 3.3.
Lemma 3.11. In O∗(2O(k)) time, one can enumerate a downward-closed family Ct⊆2Bt of size O∗(2O(k)) such that every member has size at most 2k and A∩Bt∈Ct for every connected A⊆V(G) with ∣δG(A)∣≤k and ∣A∩Bt∣≤2k.
Proof. Let Ht be obtained from G by adding a new vertex rt adjacent to every vertex of Bt. For every C⊆V(G), we have ∣δHt(C)∣=∣δG(C)∣+∣C∩Bt∣. For each v∈Bt, use Lemma 2.1 to enumerate all important {v}−{rt} cuts D in Ht satisfying ∣δHt(D)∣≤3k. Let Dt be the union over v∈Bt of the enumerated cut families and set
Ct:={∅}∪{T:T⊆D∩Bt,∣T∣≤2k,D∈Dt}.(15)
By definition, Ct is downward closed. Moreover, Lemma 2.1 gives ∣Dt∣≤∣Bt∣43k, and each D∈Dt contributes at most 2∣D∩Bt∣≤23k members to Ct. Hence ∣Ct∣≤1+∣Bt∣43k23k=O∗(2O(k)).
Let A⊆V(G) satisfy the hypotheses of the lemma and set T:=A∩Bt. If T=∅, then T∈Ct by Equation (15). Otherwise choose v∈T. Then ∣δHt(A)∣=∣δG(A)∣+∣T∣≤3k. Hence A is a connected {v}−{rt} cut and is contained in an important such cut D with ∣δHt(D)∣≤∣δHt(A)∣. The enumeration contains D by Lemma 2.1. Since T⊆D∩Bt and ∣T∣≤2k, Equation (15) gives T∈Ct.
Now we prove Lemma 3.3.
Lemma 3.3. In O∗(2O(k)) time, one can enumerate a downward-closed family Ct⊆2Bt of size O∗(2O(k)) such that every member has size at most 2k and
Proof. Let Ct be the family produced by Lemma 3.11. We show that it satisfies the statement of Lemma 3.3. The running time, downward-closedness, the size of Ct, and the bound on the size of its members follow immediately from Lemma 3.11. It remains to show that the Bt-support of every monomial satisfying the hypothesis belongs to Ct.
Choose nonnegative integers b,ℓ and (av)v∈Bt such that
Set T:={v∈Bt:av>0}. We claim that the exponents (av)v∈Bt can be extended to (av)v∈V(Gt) such that
wℓv∈V(Gt)∏yvavlogZt(y,w)=0.(16)
Given such an extension, set S:={v∈V(Gt):av>0} and A:=Φt(S). Then A∩Bt=S∩Bt=T, and Lemma 3.10 shows that A is connected and ∣δG(A)∣≤ℓ. Since ℓ≤k and ∣T∣≤2k, Lemma 3.11 gives T=A∩Bt∈Ct, which proves the lemma.
We now construct the extension in Equation (16). Since ωtBt(y,x) replaces every yv with v∈V(Gt)∖Bt by x, we have
where the sum is taken over all choices of av∈Z≥0 for v∈V(Gt)∖Bt satisfying ∑v∈V(Gt)∖Btav=b. The left-hand side is nonzero by the hypothesis, so at least one summand on the right-hand side is nonzero. Fix an extension (av)v∈V(Gt) indexing a nonzero summand. Then,
wℓv∈V(Gt)∏yvavlogZt≤2k(y,w)=0.
Set S:={v∈V(Gt):av>0}. Define the substitution πtS(y):=(πt,vS)v∈V(Gt), where, for each v∈V(Gt),
πt,vS:={yv,0,v∈S,v∈V(Gt)∖S.
By the definition of S, the monomial in Equation (16) has support S. The substitution πtS fixes yv for every v∈S and sends only the variables outside S to zero, so it preserves the coefficient of this monomial in logZt≤2k(y,w). Thus,
wℓv∈V(Gt)∏yvavlogZt≤2k(πtS(y),w)=0.
Every term of Zt(πtS(y),w) is indexed by a set At⊆S and hence satisfies ∣At∩Bt∣≤∣S∩Bt∣=∣T∣≤2k. Therefore,
Zt≤2k(πtS(y),w)=Zt(πtS(y),w).
Taking the formal logarithm of both sides gives
logZt≤2k(πtS(y),w)=logZt(πtS(y),w).
The substitution πtS likewise preserves the coefficient of the monomial in Equation (16) in logZt(y,w). Hence,
In this section, we consider MATCHING CUT. We use color coding to reduce MATCHING CUT to an auxiliary problem called COLORFUL CUT, and solve COLORFUL CUT using almost the same algorithm as for MINIMUM BISECTION in Section 3. Without loss of generality, assume throughout the section that G is connected.
For an integer q≥1, a coloring h:V(G)→[2q], and a cut A⊆V(G), let χh(A):={h(v):v∈V(G),δG(A)∩δG({v})=∅} be the set of colors that appear at endpoints of edges in δG(A).
COLORFUL CUT
Input: A simple undirected graph G, a positive integer q, and a coloring h:V(G)→[2q].
Question: Is there a set ∅⊊A⊊V(G) such that ∣δG(A)∣=q and χh(A)=[2q]?
Parameter: q.
The next lemma reduces MATCHING CUT to solving O∗(2O(k)) instances of COLORFUL CUT.
Lemma 4.1. A MATCHING CUT instance (G,k) with n≥2 and k≥1 can be solved by solving O∗(2O(k)) instances of COLORFUL CUT.
Proof. For every q∈[min{k,[n/2]}], construct as above an (n,2q)-perfect hash family Hq of colorings h:V(G)→[2q], and add (G,q,h) to I for every h∈Hq. The construction time and the number of instances are O∗(2O(k)).
Suppose that G admits a matching cut A with ∣δG(A)∣=q≤k. Since G is connected, q≥1. Let X be the set of endpoints of δG(A). Then ∣X∣=2q≤n, so some h∈Hq is injective on X. The equality h(X)=[2q] shows that A is feasible for (G,q,h).
Conversely, take a COLORFUL CUT instance (G,q,h)∈I, and suppose that A is a feasible solution for (G,q,h). Let X be the set of endpoints of δG(A). Since ∣δG(A)∣=q, we have ∣X∣≤2q. Since χh(A)=h(X)=[2q], the set X contains a vertex of each of the 2q colors, so ∣X∣≥2q. Therefore ∣X∣=2q, and no two edges of δG(A) share an endpoint. Thus δG(A) is a matching and ∣δG(A)∣=q≤k.
We now solve COLORFUL CUT by slightly modifying the algorithm for MINIMUM BISECTION in Section 3. Intuitively, it suffices to record in each dynamic-programming state the set of colors that occur at the endpoints of cut edges. To apply the algorithm of Section 3, we express χh(A)=[2q] as a condition on the polynomial. Fix an instance (G,q,h), and introduce one variable ui for each color i∈[2q]. Write u=(u1,…,u2q). For every node t, define the polynomial over Q by
To compute the transition, the only nontrivial change from Section 3 is the definition of Qt,R.
Use the tree decomposition T and bottom-up computation of Section 3 with q in place of k. Define the contribution of the sets At satisfying At∩Bt=R by
By Equation (7), the monomial of either Zt(y,w,u) or Qt,R(x,w,u) indexed by At has total u-degree 2∣δGt(At)∣ and w-degree μt(At). Consequently, every monomial m in Zt(y,w,u) or Qt,R(x,w,u) satisfies ∑i=12qdegui(m)≤2degw(m). Hence the w-degree truncation at q also bounds the total u-degree by 2q throughout the algorithm, even after taking the formal logarithm or exponential. The number of monomials in u of total degree at most 2q is (2q4q)=2O(q). Thus, managing the variables u adds only a 2O(q) factor to the total running time.
Apart from Equation (17), use the algorithm of Section 3 without change, with Zt(y,w,u) and Qt,R(x,w,u) in place of Zt(y,w) and Qt,R(x,w). Accept exactly when
[xbwqi=1∏2qui]Zt0(ωt0∂Gt0(y,x),w,u)>0(18)
for some 1≤b≤n−1.
The next lemma proves the correctness and running time of the COLORFUL CUT algorithm.
Lemma 4.2. COLORFUL CUT can be decided deterministically in O∗(2O(q)) time.
Proof. Let Zt≤2q(y,w,u) denote the restriction of Zt(y,w,u) to the terms indexed by sets At with ∣At∩Bt∣≤2q. For S⊆Bt, let Lt,S(y,w,u) consist of the terms in logZt≤2q(y,w,u) whose Bt-support is S.
In Lemma 3.1, replace Qt,R(x,w) by Qt,R(x,w,u), adjoint u as the last argument of every child polynomial Zs, and replace Equation (8) by Equation (17). For R=At∩Bt and As=At∩V(Gs), the edge partition used in Lemma 3.1 gives
All factors independent of u are identical in Equations (8) and (17). Hence the proof of Lemma 3.1 requires no other change.
In Equation (5), adjoin u as the last argument of Qt,R and Zt. The derivation of Equation (5) partitions the terms according to At∩Bt=R, so Equation (5) holds coefficientwise in u.
In Lemma 3.2, replace Zt(y,w) and Zt≤2q(y,w) by Zt(y,w,u) and Zt≤2q(y,w,u), respectively. Since δGt(V(Gt)∖At)=δGt(At), the proof of Lemma 3.2 requires no other change.
In Lemma 3.3, replace Zt≤2q(y,w) by Zt≤2q(y,w,u) and the coefficient ring Q[x,w] by Q[x,w,u]. The proof of Lemma 3.3 is unchanged: Equation (13) holds over Q[x,w,u], and the Bt-support depends only on the exponents of the variables yv.
In Lemma 3.4, adjoin u as the last argument of Lt,S, Qt,R, and Zt≤2q. The subset inversion in Equation (11) holds coefficientwise for every monomial in u. Therefore, Lemma 3.4 holds without modification.
In Lemma 3.5, replace Zt≤2q(y,w) by Zt≤2q(y,w,u). The substitutions σt(y,x,x′) and x′↦x fix u, and Equations (2) and (3) remain valid over Q[u]. Therefore, Lemma 3.5 holds without modification.
Finally, in Lemma 3.6, adjoin u as the last argument of every polynomial Zt. Applying Lemmas 3.1 to 3.5 with Qt,R(x,w,u), Zt(y,w,u), and Zt≤2q(y,w,u) proves the small-bag and large-bag cases of Lemma 3.6. Thus, the bottom-up computation obtains Zt0(ωt0∂Gt0(y,x),w,u).
At the root, a cut A with ∣δG(A)∣=q contributes a monomial of total u-degree 2q. The equality χh(A)=[2q] holds if and only if every variable ui for i∈[2q] occurs in the monomial. Hence every such variable has exponent one. Therefore, Equation (18) accepts exactly the feasible cuts of COLORFUL CUT.
Throughout the computation, the total u-degree is at most 2q. At most (2q4q)=2O(q) monomials in u occur. Thus, each operation from Section 3 acquires only a 2O(q) factor, and the total running time remains O∗(2O(q)).
Now we prove Theorem 1.3.
Theorem 1.3. MATCHING CUT can be solved deterministically, and a witness can be recovered, in O∗(2O(k)) time.
Proof. Construct the family I from Lemma 4.1, and apply Lemma 4.2 to every instance in I. By Lemma 4.1, some instance in I is a yes-instance if and only if (G,k) is a yes-instance of MATCHING CUT. For a yes-instance (G,q,h)∈I, vertex self-reduction using the decision algorithm of Lemma 4.2 recovers a feasible cut with at most n additional calls. By Lemma 4.1, the feasible cut defines the required matching cut. The family I has O∗(2O(k)) instances. Since q≤k for every (G,q,h)∈I, each instance takes O∗(2O(k)) time. Therefore, the total running time is O∗(2O(k)).
5 Unbreakable decomposition
In this section, we prove Theorem 1.1, completing the decomposition construction used by the algorithms in Sections 3 and 4.
For a graph H and U⊆V(H), let NH(U):={v∈V(H)∖U:uv∈E(H) for some u∈U} denote the open neighborhood of U in H. For T⊆V(H), let adhH(T) be the maximum of ∣NH(C)∣ over the components C of H−T, or zero if H−T is empty.
We construct the tree decomposition from the root down. If V(G) is (2k,k)-edge-unbreakable in G, we output the one-node tree decomposition with bag V(G). Otherwise, we find a set B⊆V(G) that is (2k,k)-edge-unbreakable in G and satisfies adhG(B)≤2k, use B as the root bag, and recurse for every connected component of G−B.
Consider a recursive call on HC:=H[C∪NH(C)], where C is a component created by the parent call. We terminate if V(HC) is (2k,k)-edge-unbreakable in HC. Otherwise, let XC:=NH(C)∪{vC}, where vC is an arbitrary vertex of C=V(HC)∖NH(C). We construct a bag BC with XC⊆BC and recurse for every connected component of HC−BC. We require NH(C)⊆BC because every vertex of NH(C) occurs in the parent bag, and the bags containing any fixed vertex must form a connected subtree. We require vC∈BC to rule out BC=NH(C), which would repeat the same recursive call.
To find such a bag BC in single-exponential time, we repeatedly use the next lemma.
Lemma 5.1. Let X⊆B⊆V(H) satisfy ∣X∣≤2k+1 and adhH(B)≤2k. In O∗(2O(k)) time one can either find B′⊆V(H) such that X⊆B′,∣B′∣<∣B∣, and adhH(B′)≤2k, or certify that B is (2k,k)-edge-unbreakable.
Proof. If ∣B∣≤4k+1, every bipartition of B has a side of size at most 2k, so B is (2k,k)-edge-unbreakable. Hence assume ∣B∣>4k+1. Since ∣X∣≤2k+1, we have B∖X=∅.
Guess a set Z⊆X with ∣X∖Z∣≤k and a vertex r∈B∖X. There are O∗(2O(k)) choices for (Z,r). For each guess, first delete X∖Z from H and set H′:=H−(X∖Z). Then enumerate in H′ the important {r}−Z cuts D with ∣δH′(D)∣≤k using Lemma 2.1.
The key point is that if B is not (2k,k)-edge-unbreakable, then the enumeration finds a cut D containing more vertices of B than the number of edges leaving D in H′, which helps us construct a smaller separator.
Claim 5.2. If B is not (2k,k)-edge-unbreakable, then for some guess (Z,r), the enumeration finds a cut D satisfying ∣D∩B∣>∣δH′(D)∣.
Proof of Claim 5.2. We construct a guess (Z,r) for which the enumeration finds D. Since B is not (2k,k)-edge-unbreakable in H, there is a set A⊆V(H) such that ∣δH(A)∣≤k, ∣A∩B∣>2k, and ∣B∖A∣>2k. Since ∣X∣≤2k+1, we may assume without loss of generality that ∣A∩X∣≤k. Set Z:=X∖A. See Figure 4 for an illustration.
Let K be the family of connected components of H[A∖X]. Observe that A∖X is the part of A that remains in H′. Since the sets in K partition A∖X,
K∈K∑∣K∩B∣=∣(A∖X)∩B∣≥∣A∩B∣−∣A∩X∣>k.
For every K∈K, we have δH′(K)⊆δH(A). Moreover, the sets δH′(K) for K∈K are pairwise disjoint. Hence
K∈K∑∣δH′(K)∣≤∣δH(A)∣≤k.
Therefore some K∈K satisfies ∣K∩B∣>∣δH′(K)∣.
Fix such a component K and choose r∈K∩B. Since K⊆A∖X, we have r∈B∖X, so (Z,r) is among the guesses. Also, K∩Z=∅ and H′[K] is connected, so K is a connected {r}−Z cut in H′. Choose an important connected {r}−Z cut D such that K⊆D (possibly D=K). Then, ∣δH′(D)∣≤∣δH′(K)∣≤k. By Lemma 2.1, the enumeration contains D. Finally, ∣D∩B∣≥∣K∩B∣>∣δH′(K)∣≥∣δH′(D)∣. □
For a cut D guaranteed by Claim 5.2, construct B′ as follows. Let Y be the set of vertices of D incident with an edge of δH′(D), and let P⊆D be a minimum Y−(D∩B) vertex separator in H[D]. Set B′:=(B∖D)∪P. The sets B,D,Y,P, and B′ are illustrated in Figure 5.
Figure 4: The choice of K and D. Here K is a component of H[A∖X], and D⊇K is an important cut.
The set D is disjoint from X, so X⊆B∖D⊆B′. Both Y and P are Y−(D∩B) vertex separators in H[D], so the minimality of P gives ∣P∣≤∣Y∣. Since ∣Y∣≤∣δH′(D)∣, Claim 5.2 gives ∣Y∣≤∣δH′(D)∣<∣D∩B∣. Hence ∣P∣<∣D∩B∣. Moreover, P⊆D, so
∣B′∣=∣B∖D∣+∣P∣=∣B∣−∣D∩B∣+∣P∣<∣B∣.
We now prove that adhH(B′)≤2k. Let K be a component of H−B′. It suffices to show that ∣NH(K)∣≤2k. Suppose first that K∩B=∅. We first show that K⊆D. Since B∖D⊆B′ and K∩B′=∅, every vertex of K∩B belongs to D. Moreover, P⊆B′ gives K∩P=∅. Suppose that K⊆D. Choose a path Q in H[K] from K∩B to K∖D, and let uv be the first edge of Q with u∈D and v∈/D. Since X∖Z⊆B′, we have v∈/X∖Z. Thus uv∈δH′(D) and u∈Y. The initial subpath of Q ending at u lies in H[D]−P and joins D∩B to Y, contradicting that P separates Y from D∩B. Hence K⊆D.
Since H[K] is connected and K∩P=∅, the separator P also gives K∩Y=∅. Every neighbor of K in D belongs to B′∩D=P. Every neighbor v∈/D of K belongs to X∖Z, since any edge uv∈E(H) with u∈K and v∈/D∪(X∖Z) belongs to δH′(D), contrary to K∩Y=∅. Hence NH(K)⊆P∪(X∖Z), and ∣NH(K)∣≤∣P∣+∣X∖Z∣≤2k.
Suppose now that K∩B=∅, and let K0 be the component of H−B that contains K. We show that ∣NH(K)∣≤∣NH(K0)∣≤adhH(B) by constructing an injection from NH(K) into NH(K0). Figure 6 illustrates an injection from NH(K) into NH(K0) when K∩B=∅.
By Menger's theorem, there are ∣P∣ vertex-disjoint Y−(D∩B) paths in H[D]. Truncate each path at its first vertex in D∩B. Since the paths are vertex-disjoint and every path intersects P, each path contains exactly one vertex of P, and every vertex of P lies on one path. For each p∈P∖B, let qp∈(D∩B)∖P be the endpoint of the path through p. The vertices qp are distinct.
Since K is a component of H−B′, every vertex of NH(K) belongs to B′. Together with B′=(B∖D)∪P, this shows that every vertex of NH(K) belongs either to NH(K)∩B or to NH(K)∩(P∖B), and these two events are mutually exclusive. For x∈NH(K)∩B, the vertex x has a neighbor in K⊆K0, so x∈NH(K0).
Figure 5: The construction of B′=(B∖D)∪P, where P is a minimum Y−(D∩B) vertex separator in H[D].
Figure 6: The injection from NH(K) into NH(K0) when K∩B=∅. The green Y−(D∩B) paths contain subpaths connecting the vertices of NH(K)∩(P∖B) to distinct vertices of NH(K0)∖B′.
Now fix p∈NH(K)∩(P∖B). Both p and K avoid B, and p has a neighbor in K, so p belongs to K0. On the path through p, the subpath from p to qp contains no vertex of B except qp, because qp is the first vertex of D∩B on the path. Hence all vertices of this subpath other than qp belong to K0, and therefore qp∈NH(K0). Moreover, qp∈/B′ because qp∈(D∩B)∖P and B′=(B∖D)∪P.
Define f:NH(K)→NH(K0) by f(x)=x for x∈NH(K)∩B and f(p)=qp for p∈NH(K)∩(P∖B). The vertices qp are distinct because the paths are vertex-disjoint. Moreover, f(NH(K)∩B)⊆B′, whereas f(NH(K)∩(P∖B))⊆NH(K0)∖B′. Hence no image of a vertex in NH(K)∩B equals an image of a vertex in NH(K)∩(P∖B). Thus f is injective, and hence ∣NH(K)∣≤∣NH(K0)∣≤adhH(B).
Since ∣P∣≤∣δH′(D)∣≤k and ∣X∖Z∣≤k, the bounds for K∩B=∅ and K∩B=∅ give
adhH(B′)≤max{adhH(B),∣P∪(X∖Z)∣}≤2k.
The minimum separator P and the set B′ are computable in polynomial time, so the total running time is O∗(2O(k)).
Now we prove Theorem 1.1.
Theorem 1.1. Given a graph G and k, one can construct in O∗(2O(k)) time a (2k,k)-edge-unbreakable decomposition with adhesion at most 2k.
Proof. To construct the root bag, choose an arbitrary vertex v∈V(G), set X:={v} and B:=V(G), and apply Lemma 5.1 to (X,B). Whenever the lemma returns B′, replace B by B′ and apply the lemma to (X,B) again. Each replacement satisfies X⊆B, adhG(B)≤2k, and ∣B∣ strictly decreases. Hence, after at most ∣V(G)∣ applications, the lemma certifies that B is (2k,k)-edge-unbreakable in G.
We recurse on the components as follows. At the root, set H:=G and let B be the bag obtained by the repeated applications of Lemma 5.1. After constructing a bag B in an induced subgraph H of G, create a node with bag B. For every component C of H−B, choose an arbitrary vertex vC∈C, define HC:=H[C∪NH(C)] and XC:=NH(C)∪{vC}. Since ∣NH(C)∣≤adhH(B)≤2k, we have ∣XC∣≤2k+1. Starting with BC:=V(HC), the same repeated application of Lemma 5.1 as for the root produces a set BC such that XC⊆BC, adhHC(BC)≤2k, and BC is (2k,k)-edge-unbreakable in HC. Create a child node with bag BC, attach it below the node with bag B, and repeat the construction for every component of HC−BC. Since vC∈XC⊆BC, the vertex vC belongs to no descendant component; thus the recursion terminates after at most ∣V(G)∣ recursive steps.
We verify that the procedure actually yields a tree decomposition of G. Every vertex outside B belongs to some component C of H−B and hence to V(HC), so the recursion covers all vertices. For an edge xy∈E(H), either x,y∈B, or both endpoints lie in C∪NH(C)=V(HC) for some component C of H−B; thus some bag contains both endpoints.
Fix x∈V(H). If x∈/B, it occurs only in the child instance for the component containing x. If x∈B, every child instance containing x has x∈NH(C)⊆XC⊆BC. Induction therefore shows that the bags containing x form a connected subtree.
For the parent-child edge associated with C, since NH(C)⊆XC⊆BC and B∩V(HC)=NH(C), we have B∩BC=NH(C). Thus the adhesion between B and BC has size ∣NH(C)∣≤adhH(B)≤2k.
It remains to verify that every bag is (2k,k)-edge-unbreakable in G. Consider a bag B created in a recursive step on H=G[W]. For every A⊆V(G) with ∣δG(A)∣≤k, we have δH(A∩W)⊆δG(A). The (2k,k)-edge-unbreakability of B in H therefore gives min{∣A∩B∣,∣B∖A∣}≤2k. Hence every bag is (2k,k)-edge-unbreakable in G. There are at most ∣V(G)∣ recursive steps, and each step applies Lemma 5.1 at most ∣V(H)∣ times, so the total running time is O∗(2O(k)).
6 Reduction from 3-SAT
We prove Theorem 1.4 by combining a bounded-degree reduction from 3-SAT to MAX CUT with a reduction from MAX CUT to MINIMUM BISECTION.
MAX CUT
Input: A simple undirected graph H and an integer t≥0.
Question: Is there a set X⊆V(H) such that ∣δH(X)∣≥t?
Garey, Johnson, and Stockmeyer [GJS76] proved the NP-completeness of MAX CUT via a reduction from 3-SAT. Here we need a reduction whose constructed MAX CUT instance has linear size and bounded degree. We therefore give a reduction satisfying both requirements.
Lemma 6.1. There is a polynomial-time reduction from 3-SAT to MAX CUT that maps a 3-CNF formula φ with a total of s variables and clauses to an instance (H,t) such that φ is satisfiable if and only if (H,t) is a yes-instance, H has maximum degree O(1), and ∣V(H)∣+∣E(H)∣=O(s).
Proof. Introduce a variable z and, for every clause C=(a∨b∨c) of φ, a variable wC. Replace C by the two constraints NAE(a,b,wC) and NAE(¬wC,c,z), where NAE requires its three arguments not to be all equal. Let ψ be the conjunction of these constraints. Complementing every variable preserves all constraints of ψ. Hence, if ψ is satisfiable, it has a satisfying assignment with z=0. If c=1, one can choose wC so that NAE(a,b,wC) holds, while NAE(¬wC,c,z) holds for either value of wC. If c=0 and a∨b=1, setting wC=0 satisfies both constraints. If a=b=c=0, NAE(¬wC,c,z) forces wC=0, which violates NAE(a,b,wC). Hence, φ is satisfiable if and only if ψ is satisfiable.
Let r be the number of constraints of ψ. Construct a simple undirected graph H with one vertex for every literal occurrence in ψ. For each NAE constraint, add the three edges joining the vertices representing its three literal occurrences.
We next add a chain for every variable x of ψ. List the occurrence vertices of literals x and ¬x in an arbitrary order u1,…,ud. For every 1≤h<d, add a path from uh to uh+1 whose internal vertices are new. The path has length two if the two occurrences have the same sign and length three otherwise. Let L be the total length of all these paths and set t:=2r+L.
The three edges added for any NAE constraint contribute at most two edges to any cut, and the paths between consecutive occurrences contain L edges in total. Hence no cut has more than t edges.
Assume first that φ is satisfiable. Then ψ has a satisfying assignment. For every literal occurrence, place its representing vertex in X exactly when the literal is true under this assignment. For each path joining two consecutive occurrences of a variable, its endpoints are on the same side of X if the path has length two and on opposite sides if the path has length three. We can therefore add its internal vertices to X so that every path edge crosses the cut. For each NAE constraint, its three literals are not all equal, so exactly two of the three edges among their vertices cross the cut. Hence ∣δH(X)∣=2r+L=t.
Conversely, assume that X⊆V(H) satisfies ∣δH(X)∣≥t. The preceding upper bound implies that equality holds, every path edge crosses the cut, and exactly two of the three edges added for each NAE constraint cross the cut. It follows along the chain for each variable x that any two occurrences with the same sign lie on the same side of X, whereas any two occurrences with opposite signs lie on opposite sides. Hence there is a truth value for x such that each occurrence of x or ¬x is true exactly when its vertex belongs to X. Finally, the three vertices corresponding to any NAE constraint are not all on the same side of X, because exactly two of the three edges among them cross the cut. Thus every constraint of ψ is satisfied, and hence φ is satisfiable.
Each vertex representing a literal occurrence has degree at most four, and each internal path vertex has degree two. The number of constraints, literal occurrences, internal path vertices, and edges is O(s). Therefore, H has maximum degree O(1) and ∣V(H)∣+∣E(H)∣=O(s). □
For an instance (H,t), write n:=∣V(H)∣ and m:=∣E(H)∣. We transform a MAX CUT instance (H,t) with 0≤t≤m into a MINIMUM BISECTION instance. Let q≥2 be arbitrary. Partition V(H) into nonempty sets V0,…,V⌈n/q⌉−1 of size at most q. For every 0≤i<⌈n/q⌉, define Di:=1+maxv∈VidegH(v). Set
K:=i=0∑⌈n/q⌉−1(Di⋅∣Vi∣⋅(∣Vi∣−1))+2(m−t).
For every v∈Vi and a∈{0,1}, create a clique P(v,a) of size (K+n+2)(q+1)i. Add edges between these cliques as follows.
• For every i, every unordered pair of distinct vertices u,v∈Vi, and every a,b∈{0,1}, add Di edges with distinct endpoint pairs between P(u,a) and P(v,b).
• For every uv∈E(H), add an arbitrary edge between P(u,0) and P(v,1) and an arbitrary edge between P(u,1) and P(v,0), distinct from all edges already added.
These choices are always possible: it adds at most n+1<K+n+2 edges between any pair of cliques. The resulting graph G is simple, and the MINIMUM BISECTION instance is (G,K). The graph G has an even number of vertices because every vertex of H contributes two cliques of the same size. Figure 7 illustrates the construction of G.
Lemma 6.2. There is a set X⊆V(H) with ∣δH(X)∣≥t if and only if there is a set Y⊆V(G) with ∣Y∣=∣V(G)∖Y∣ and ∣δG(Y)∣≤K.
Proof. Suppose first that X⊆V(H) satisfies ∣δH(X)∣≥t, and set
Y:=v∈X⋃P(v,0)∪v∈V(H)\X⋃P(v,1).
For each v∈V(H), the set Y contains exactly one of the two equally sized cliques P(v,0) and P(v,1). Hence ∣Y∣=∣V(G)∖Y∣. We evaluate ∣δG(Y)∣. The edges introduced inside group Vi contribute to ∣δG(Y)∣ by Di∣Vi∣(∣Vi∣−1). The two edges representing uv∈E(H) contribute zero when uv∈δH(X) and two otherwise. Therefore,
Conversely, let Y⊆V(G) minimize ∣δG(Y)∣ among all sets satisfying ∣Y∣=∣V(G)∖Y∣. Assume ∣δG(Y)∣≤K. Every clique P(v,a) lies entirely in Y or in V(G)∖Y: a nontrivial partition of a clique of size at least K+n+2 cuts more than K edges. Let ai be the number of cliques from group Vi contained in Y. Since each such clique has size (K+n+2)(q+1)i, we have
Figure 7: The construction for the six-vertex graph H with q=2 and t=5. The blocks are V0={u,v}, V1={w,x}, and V2={y,z}. Here D0=3, D1=D2=4, and K=26. A thick blue line between P(u,a) and P(v,b) represents Di distinct edges, where u,v∈Vi. Internal clique edges are omitted.
We have −q≤ai−∣Vi∣≤q, and the only multiple of q+1 in this interval is zero. Reducing the balance equation modulo q+1 therefore gives a0=∣V0∣. Divide the equation by q+1 and repeat the argument to obtain ai=∣Vi∣ for every i.
We claim that, for every v∈V(H), exactly one of P(v,0) and P(v,1) is contained in Y. Suppose otherwise, and fix a group Vi in which this fails. Because exactly ∣Vi∣ of the 2∣Vi∣ cliques P(x,a) are contained in Y, there exist u,v∈Vi such that P(u,0)∪P(u,1)⊆Y and P(v,0)∪P(v,1)⊆V(G)∖Y. Define Y′:=(Y∖P(u,0))∪P(v,0). Since ∣P(u,0)∣=∣P(v,0)∣, we have ∣Y′∣=∣Y∣.
Under the first rule, for every w∈Vi∖{u,v} and a∈{0,1}, the number of cut edges between P(w,a) and P(u,0)∪P(v,0) is the same for Y and Y′, while the number of cut edges between P(u,a) and P(v,b) over a,b∈{0,1} decreases from 4Di to 2Di. Every clique other than P(u,0) and P(v,0) lies on the same side of the cut for Y and Y′. Therefore, a second-rule edge can change its membership in the cut only if it has an endpoint in P(u,0)∪P(v,0). There are at most degH(u)+degH(v) such edges, so
∣δG(Y)∣−∣δG(Y′)∣≥2Di−degH(u)−degH(v)≥2.
This contradicts the choice of Y and proves the claim.
We now recover a cut of H from this bisection. Define X:={v∈V(H):P(v,0)⊆Y}. For each group Vi, exactly Di∣Vi∣(∣Vi∣−1) edges added by the first rule belong to δG(Y). For each edge of E(H)∖δH(X), both edges added by the second rule belong to δG(Y). Thus,
Since G is simple, it has fewer than ∣V(G)∣2 edges. Thus, the construction takes time polynomial in ∣V(G)∣.
Theorem 1.4. Let g:N→R≥0 be unbounded and nondecreasing, satisfy g(x)=O(x), and satisfy g(λx)=O(g(x)) for every fixed constant λ>0. Suppose that MINIMUM BISECTION can be solved in O∗(2o(g(k))) time. Then 3-SAT can be solved in 2o(g(qs))+O(slogq/q+logs) time for every integer q with 2≤q≤s, where s is the total number of variables and clauses in the input 3-CNF formula.7
In particular, the theorem yields three consequences.
• For every fixed 0<α<1, if 3-SAT has no O∗(2o(sα))-time algorithm, then MINIMUM BISECTION has no O∗(2o((k/logk)α/(2−α)))-time algorithm.
• For every fixed c>0, if 3-SAT has no O∗(2o(s/(logs)c))-time algorithm, then MINIMUM BISECTION has no O∗(2o(k/((logk)2cloglogk)))-time algorithm.
• If 3-SAT has no O∗(2o(s))-time algorithm, equivalently, if ETH holds, then MINIMUM BISECTION has no O∗(2o(k))-time algorithm.
Proof. Suppose that MINIMUM BISECTION can be solved in O∗(2h(k)) time, where h(k)=o(g(k)). We may replace h(x) by max0≤j≤xh(j) and assume that h is nondecreasing. The redefined h is still o(g) because g is nondecreasing and unbounded. Let φ be a 3-CNF formula of size s, and fix an integer q with 2≤q≤s. Apply Lemma 6.1 to obtain (H,t), and then apply the construction above to obtain (G,K). Write n:=∣V(H)∣ and m:=∣E(H)∣. The two reductions are correct by Lemmas 6.1 and 6.2.
The maximum-degree bound in Lemma 6.1 gives Di=O(1). Since ∣Vi∣≤q and ∑i∣Vi∣=n, the definition of K gives K=O(qn+m)=O(qs). Hence there is an absolute constant C such that K≤Cqs. Since g is nondecreasing and g(Cx)=O(g(x)), we have h(K)≤h(Cqs)=o(g(Cqs))=o(g(qs)). Moreover,
∣V(G)∣≤8q2(n+m)(q+1)n/q+1=2O(slogq/q+logs).
7The usual convention was to state ETH in terms of the number n of variables and invoke the sparsification lemma [IPZ01] to assume O(n) clauses. For every fixed ε>0, however, sparsification incurs a 2εn overhead. This overhead is harmless for ETH itself, but it cannot be absorbed into the finer 2o(sα) and 2o(s/(logs)c) bounds. We therefore measure s by the total number of variables and clauses.
The hypothetical algorithm applied to (G,K) thus decides whether φ is satisfiable in 2o(g(qs))⋅2O(slogq/q+logs) time, as claimed.
We finally verify the three consequences in the statement. We choose q separately for each consequence. Let r(s) tend to infinity sufficiently slowly. For the first consequence, put β:=α/(2−α), use g(k):=(k/logk)β, and choose q:=⌈s1−αlogs⋅r(s)⌉. For the second consequence, use g(k):=k/((logk)2cloglogk) and choose q:=⌈(logs)cloglogs⋅r(s)⌉. For the third consequence, use g(k):=k and choose q:=⌈r(s)⌉. In the three cases, r can be chosen so slowly that the exponent o(g(qs))+O(slogq/q+logs) is, respectively, o(sα), o(s/(logs)c), and o(s). These three bounds contradict the three hypotheses on 3-SAT in the theorem statement. □
Acknowledgments
The author thanks Tomohiro Koana for useful discussions and for improving the presentation of the paper.
Declaration of generative AI use
ChatGPT 6 Pro generated the proofs of Theorems 1.1 to 1.3. GPT-6 Astra generated the gadget construction for Theorem 1.4 as part of the ETH-tightness proof, before either OpenAI or Anthropic publicly announced a refutation of ETH. GPT-5.6 Sol and GPT-6 Astra were used in drafting and editing the manuscript. The author verified and revised the proofs and the manuscript and takes full responsibility for the paper.
References
[AKK99] Sanjeev Arora, David R. Karger, and Marek Karpinski. Polynomial time approximation schemes for dense instances of NP-hard problems. Journal of Computer and System Sciences, 58(1):193–210, 1999. doi:10.1006/jcss.1998.1605.
[ALL+25] Aditya Anand, Euiwoong Lee, Jason Li, Yaowei Long, and Thatchaphol Saranurak. Unbreakable decomposition in close-to-linear time. In ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1464–1493, 2025. doi:10.1137/1.9781611978322.46.
[ALLS27] Aditya Anand, Euiwoong Lee, Yaowei Long, and Thatchaphol Saranurak. Local important separators with applications to unbreakable decomposition and multicut. In ACM-SIAM Symposium on Discrete Algorithms (SODA), 2027. To appear. arXiv:2610.39030.
[AS21] N. R. Aravind and Roopam Saxena. An FPT algorithm for matching cut and d-cut. In International Workshop on Combinatorial Algorithms (IWOCA), pages 531–543, 2021. doi:10.1007/978-3-030-79987-8_37.
[BCLS87] Thang Nguyen Bui, Soma Chaudhuri, Frank Thomson Leighton, and Michael Sipser. Graph bisection algorithms with good average case behavior. Combinatorica, 7(2):171–191, 1987. doi:10.1007/BF02579448.
[BD02] Patrick Bellenbaum and Reinhard Diestel. Two short proofs concerning tree-decompositions. Combinatorics, Probability and Computing, 11(6):541–547, 2002. doi:10.1017/S0963548302005369.
[Bon09] Paul S. Bonsma. The complexity of the matching-cut problem for planar graphs and other graph classes. Journal of Graph Theory, 62(2):109–126, 2009. doi:10.1002/jgt.20390.
[CDHH14] Johannes Carmesin, Reinhard Diestel, Matthias Hamann, and Fabian Hundertmark. k-blocks: A connectivity invariant for graphs. SIAM Journal on Discrete Mathematics, 28(4):1876–1891, 2014. doi:10.1137/130923646.
[CFK+15] Marek Cygan, Fedor V. Fomin, Łukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michał Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, Cham, 2015. doi:10.1007/978-3-319-21275-3.
[Chv84] Václav Chvátal. Recognizing decomposable graphs. Journal of Graph Theory, 8(1):51–53, 1984. doi:10.1002/jgt.3190080106.
[CKL+21] Marek Cygan, Paweł Komosa, Daniel Lokshtanov, Marcin Pilipczuk, Michał Pilipczuk, Saket Saurabh, and Magnus Wahlström. Randomized contractions meet lean decompositions. ACM Transactions on Algorithms, 17(1):6:1–6:30, 2021. doi:10.1145/3426738.
[CLP+19] Marek Cygan, Daniel Lokshtanov, Marcin Pilipczuk, Michał Pilipczuk, and Saket Saurabh. Minimum bisection is fixed-parameter tractable. SIAM Journal on Computing, 48(2):417–450, 2019. doi:10.1137/140988553.
[Erd18] Joshua Erde. A unified treatment of linked and lean tree-decompositions. Journal of Combinatorial Theory, Series B, 130:114–143, 2018. doi:10.1016/j.jctb.2017.12.001.
[FKM15] Kyle Fox, Philip N. Klein, and Shay Mozes. A polynomial-time bicriteria approximation scheme for planar bisection. In ACM Symposium on Theory of Computing (STOC), pages 841–850, 2015. doi:10.1145/2746539.2746564.
[GJS76] Michael R. Garey, David S. Johnson, and Larry J. Stockmeyer. Some simplified NP-complete graph problems. Theoretical Computer Science, 1(3):237–267, 1976. doi:10.1016/0304-3975(76)90059-1.
[Gra70] Ronald L. Graham. On primitive graphs and optimal vertex assignments. Annals of the New York Academy of Sciences, 175(1):170–186, 1970. doi:10.1111/j.1749-6632.1970.tb56468.x.
[GS19] Guilherme C. M. Gomes and Ignasi Sau. Finding cuts of bounded degree: Complexity, FPT and exact algorithms, and kernelization. In International Symposium on Parameterized and Exact Computation (IPEC), pages 19:1–19:15, 2019. doi:10.4230/LIPIcs.IPEC.2019.19.
[HKS21] Tesshu Hanaka, Yasuaki Kobayashi, and Taiga Sone. A (probably) optimal algorithm for bisection on bounded-treewidth graphs. Theoretical Computer Science, 873:38–46, 2021. doi:10.1016/j.tcs.2021.04.023.
[ILSS23] Tanmay Inamdar, Daniel Lokshtanov, Saket Saurabh, and Vaishali Surianarayanan. Parameterized complexity of fair bisection: (FPT-approximation meets unbreakability). In European Symposium on Algorithms (ESA), pages 63:1–63:17, 2023. doi:10.4230/LIPIcs.ESA.2023.63.
[IPZ01] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? Journal of Computer and System Sciences, 63(4):512–530, 2001. doi:10.1006/jcss.2001.1774.
[KF06] Robert Krauthgamer and Uriel Feige. A polylogarithmic approximation of the minimum bisection. SIAM Review, 48(1):99–130, 2006. doi:10.1137/050640904.
[Kho06] Subhash Khot. Ruling out PTAS for graph Min-Bisection, dense k-subgraph, and bipartite clique. SIAM Journal on Computing, 36(4):1025–1071, 2006. doi:10.1137/S0097539705447037.
[KK98] George Karypis and Vipin Kumar. A fast and high quality multilevel scheme for partitioning irregular graphs. SIAM Journal on Scientific Computing, 20(1):359–392, 1998. doi:10.1137/S1064827595287997.
[KKL20] Christian Komusiewicz, Dieter Kratsch, and Van Bang Le. Matching cut: Kernelization, single-exponential time FPT, and exact exponential algorithms. Discrete Applied Mathematics, 283:44–58, 2020. doi:10.1016/j.dam.2019.12.010.
[KL70] Brian W. Kernighan and Shen Lin. An efficient heuristic procedure for partitioning graphs. Bell System Technical Journal, 49(2):291–307, 1970. doi:10.1002/j.1538-7305.1970.tb01770.x.
[KL16] Dieter Kratsch and Van Bang Le. Algorithms solving the matching cut problem. Theoretical Computer Science, 609(2):328–335, 2016. doi:10.1016/j.tcs.2015.10.016.
[Kor25] Tuukka Korhonen. Linear-time algorithms for k-edge-connected components, k-lean tree decompositions, and more. In ACM Symposium on Theory of Computing (STOC), pages 111–119, 2025. doi:10.1145/3717823.3718123.
[LL19] Hoàng-Oanh Le and Van Bang Le. A complexity dichotomy for matching cut in (bipartite) graphs of fixed diameter. Theoretical Computer Science, 770:69–78, 2019. doi:10.1016/j.tcs.2018.10.029.
[LPR22] Felicia Lucke, Daniël Paulusma, and Bernard Ries. On the complexity of matching cut for graphs of bounded radius and H-free graphs. Theoretical Computer Science, 936:33–42, 2022. doi:10.1016/j.tcs.2022.09.014.
[LPR23] Felicia Lucke, Daniël Paulusma, and Bernard Ries. Finding matching cuts in H-free graphs. Algorithmica, 85(10):3290–3322, 2023. doi:10.1007/s00453-023-01137-9.
[LSS24] Daniel Lokshtanov, Saket Saurabh, and Vaishali Surianarayanan. A parameterized approximation scheme for min k-cut. SIAM Journal on Computing, 53(6):FOCS20-205-FOCS20-238, 2024. doi:10.1137/20M1383197.
[LV26] Jason Li and Trevor Vaughn. Faster minimum k-cut I: Simple and sparse weighted graphs, 2026. arXiv:2609.27781. URL: https://arxiv.org/abs/2609.27781.
[MOR10] Dániel Marx, Barry O'Sullivan, and Igor Razgon. Treewidth reduction for constrained separation and bipartization problems. In Symposium on Theoretical Aspects of Computer Science (STACS), pages 561-572, 2010. doi:10.4230/LIPIcs.STACS.2010.2485.
[Mos89] Augustine M. Moshi. Matching cutsets in graphs. Journal of Graph Theory, 13(5):527-536, 1989. doi:10.1002/jgt.3190130502.
[NSS95] Moni Naor, Leonard J. Schulman, and Aravind Srinivasan. Splitters and near-optimal derandomization. In IEEE Symposium on Foundations of Computer Science (FOCS), pages 182-191, 1995. doi:10.1109/SFCS.1995.492475.
[PP01] Maurizio Patrignani and Maurizio Pizzonia. The complexity of the matching-cut problem. In Graph-Theoretic Concepts in Computer Science (WG), pages 284-295, 2001. doi:10.1007/3-540-45477-2_26.
[Răc08] Harald Răcke. Optimal hierarchical decompositions for congestion minimization in networks. In ACM Symposium on Theory of Computing (STOC), pages 255-264, 2008. doi:10.1145/1374376.1374415.
[SS09] Alexander D. Scott and Gregory B. Sorkin. Polynomial constraint satisfaction problems, graph bisection, and the Ising partition function. ACM Transactions on Algorithms, 5(4):45:1-45:27, 2009. doi:10.1145/1597036.1597049.
[Tho90] Robin Thomas. A Menger-like property of tree-width: The finite case. Journal of Combinatorial Theory, Series B, 48(1):67-76, 1990. doi:10.1016/0095-8956(90)90130-R.