Manuscript Offprint
arXiv:2610.18540Solving SAT via Treewidth Backdoors in Linear Time: Beyond Sparsity
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The Boolean Satisfiability (SAT) problem is a remarkably expressive computational problem, serving both as a cornerstone of complexity theory and as a unifying language for a wide range of search and reasoning tasks.
While NP-complete in general, SAT is well known to be linear-time solvable on instances with bounded treewidth. This motivates the search for “hidden” tree-like structures in formulas—for instance by detecting so-called weak t-treewidth backdoors. Such backdoors are sets of k variables that can be assigned in such a way that the remaining instance has treewidth at most t and is satisfiable whenever the original instance is.
Ever since Gaspers and Szeider [ICALP 2012] showed that finding a weak t-treewidth backdoor for a SAT formula is W[2]-hard with respect to k, tractability results have been restricted to structurally sparse formulas—most notably, a linear-time algorithm for d-SAT (bounded clause-length SAT) by Fomin, Lokshtanov, Misra, Ramanujan, and Saurabh [SODA 2015] and a non-uniform polynomial-time algorithm when the incidence graph of the input formula belongs to a nowhere-dense graph class (or more generally is -free) by Lokshtanov, Panolan, and Ramanujan [ICALP 2022].
In this paper, we push the tractability boundaries of finding weak t-treewidth backdoors beyond sparsity and into the regime of “well-behaved” dense formulas. Aiming towards relaxing structural input restrictions from nowhere-dense to edge-stable graph classes, as featured in the theory of beyond sparsity for FO model checking, or to bounded VC-dimension set systems, we identify signed semi-ladder-freeness as the correct dense structural restriction that establishes the boundary between tractability and intractability along this line.
Algorithmically, we concentrate on formulas whose signed incidence graph is d-semi-ladder-free, which include not only all -free graphs, but also dense graph classes such as map graphs and more generally all graph classes that can be encoded by existential positive first-order formulas in nowhere-dense classes. As our main technical contribution, we provide a linear-time algorithm that, for all fixed integers , , and , takes as input a signed d-semi-ladder-free SAT formula and either outputs a satisfying assignment for along with a weak t-treewidth backdoor of size at most , or detects that no such backdoor exists.
Complementing the above positive result, we provide W[2]- and W[1]-hardness results when the input is restricted to unsigned d-semi-ladder-freeness and signed d-ladder-freeness (edge-stable), respectively. This identifies signed d-semi-ladder-freeness as the natural tractability frontier for detecting weak t-treewidth backdoor sets in dense SAT instances, when trying to approach edge-stable graph classes or bounded VC-dimension set systems.
*Hasso Plattner Institute, Potsdam, Germany
Algorithms and Complexity Group, TU Wien, Austria
Discrete Mathematics Group, Institute for Basic Science (IBS), Daejeon, South Korea
1 Introduction
The Boolean Satisfiability (SAT) problem is undeniably one of the most fundamental problems in computer science as it lies at the heart of the classical theory of NP-completeness as well as of the Exponential Time Hypothesis and its variants. Given the theoretical hardness of SAT, the surprising efficiency with which real-world solvers can exploit hidden structural properties to solve SAT instances [2] has motivated a long line of research aimed at understanding the more fine-grained boundaries of tractability for the problem. Nowadays, this is often pursued via the framework of parameterized complexity [8]. A classical result in this domain is that SAT is fixed-parameter tractable (FPT) with respect to the treewidth of the instance, or more specifically, the treewidth of its incidence graph [34] .
Naturally, a SAT instance need not have bounded treewidth—yet it may still possess a “hidden” tree-like structure that reveals itself once a small number of variables is assigned. This phenomenon is typically viewed through the lens of backdoors, introduced by Williams, Gomes, and Selman [40]. A set X of k variables is a strong t-treewidth backdoor if every assignment of X results in an instance of treewidth at most t; this means that for any fixed k and t, we can solve SAT in linear time when provided with such a strong t-treewidth backdoor. This motivates the study of computing such backdoors of size at most k.
Due to a classical result of Gaspers and Szeider [22], it is known that SAT is fixed-parameter tractable w.r.t. the size k of a strong t-treewidth backdoor—in particular, for every fixed k and t, we can in cubic time either compute a strong t-treewidth backdoor of size bounded by a function of k, or determine that no small strong t-treewidth backdoor exists.
A natural drawback of strong backdoors, as far as using them for solving SAT is concerned, is that they require every partial assignment of X to yield a bounded-treewidth instance. In practice, to obtain a satisfying assignment, we merely need a set X of k variables such that there is at least one assignment under which the given formula is satisfiable and of treewidth at most t, provided that the unrestricted is satisfiable. Such a set X is called a weak t-treewidth backdoor. Intuitively, while strong backdoors act as witnesses for tractability, weak backdoors can be seen as direct witnesses for satisfiability.
Unfortunately, in contrast to strong backdoors, finding even a weak backdoor to treewidth 1 for an arbitrary formula is W[2]-hard with respect to [20]. A natural response to this hardness is to restrict the structure of ; in fact, subsequent research has established that finding weak -treewidth backdoors becomes tractable when the input formulas are structurally sparse. In particular, Fomin, Lokshtanov, Misra, Ramanujan, and Saurabh [16] gave the first fixed-parameter algorithm for solving -SAT via weak -treewidth backdoors by showing that such backdoors can be computed in linear time for every fixed choice of , , and . More recently, Lokshtanov, Panolan, and Ramanujan [28] expanded this frontier via an algorithm for computing weak -treewidth backdoors on any -free SAT instance . This highly general result applies to all previously studied sparse graph classes, including graphs of bounded degree, bounded-genus graphs, and nowhere-dense graph classes.
Given the above results, a natural follow-up question is whether the tractability of SAT via weak t-treewidth backdoors can be pushed beyond sparsity into the regime of “well-behaved” dense formulas. In our work, we answer this question positively by giving a linear-time algorithm for
The incidence graph of a formula contains a vertex for each variable and clause of , with edges connecting clauses with variables whose (positive or negative) literal occurs in that clause.
solving SAT via weak t-treewidth backdoors on instances that are signed d-semi-ladder-free. In the next paragraph, we define and motivate the study of these graph classes.
Beyond Sparsity. Our search for tractable structures in the dense regime is inspired by the line of work that lifts first-order (FO) model checking from nowhere dense classes to their dense counterparts (see [33] for a survey). A recurring combinatorial notion in this line of work is the ladder. A d-ladder, also known as a half-graph, is a graph with vertices on one side and vertices on the other, and there is an edge if and only if . We refer to d as the height of the ladder. A graph class is edge-stable if it avoids some d-ladder as a semi-induced subgraph, and much of the recent progress on FO model checking beyond sparsity concerns dense classes whose structure is governed by the absence of ladders in logically defined auxiliary graphs (monadic stability) [9]. Excluding ladders in the input graph itself, however, is a purely combinatorial condition that is considerably more general than such logically defined conditions, and it is natural to ask whether it already suffices for the detection of weak t-treewidth backdoors. It does not: we show in Theorem 5.1 that the problem is W[1]-hard on d-ladder-free, that is, edge-stable, instances.
Semi-ladders arise as a natural relaxation of the notion of ladders. While a ladder prescribes both the forced edges and the forced non-edges between the two ordered sides of a bipartition, a semi-ladder keeps only the forced edges and additionally requires horizontal non-edges; that is, we have the edge whenever , and the non-edges . See Figure 2 for a visualization of both notions. Thus, when excluding a semi-ladder rather than an induced ladder (half-graph), the “lower triangle” is left unconstrained. Notice that since every ladder contains a semi-ladder (up to in the height) but the converse does not hold, the class of d-ladder-free graphs is strictly more general than the class of d-semi-ladder-free graphs, making the latter a promising candidate for delineating the boundary of efficient weak backdoor detection.
The relevance of semi-ladders can also be understood through the Helly property—see for example [12]. In a bipartite incidence graph , where vertices of represent possible choices and vertices of represent constraints, a Helly-type property says that whenever a set of constraints cannot be covered by a single choice from , this failure is already witnessed by a bounded-size subset of constraints. Equivalently, the family of candidate sets , , has bounded-size certificates for empty intersection. The obstruction to such a strong Helly property is precisely a large co-matching [12]. Thus, since bounded semi-ladder index is equivalent, up to Ramsey bounds, to simultaneously bounding the ladder height and co-matching index [12], semi-ladder-freeness can be viewed as the conjunction of stability (excluding order-like half-graphs) and a Helly-type finite-obstruction principle (excluding large co-matchings). This makes it especially natural for domination, hitting, and SAT-backdoor problems, where the algorithmic task is to cover constraints by a small number of selected vertices or literals. Moreover, fixed-radius neighborhood relations in nowhere-dense graph classes have bounded semi-ladder index, showing that semi-ladder-freeness captures a structural phenomenon already present in sparsity theory while extending it to dense graph classes such as map graphs [12] and existential-positive first-order interpretations in nowhere-dense graph classes [30].
Unfortunately, it turns out that simply excluding d-semi-ladders in the instance still yields W[2]-hardness for the problem of detecting weak t-treewidth backdoor sets, as we will show in Theorem 5.2. The reason here, though, is subtle. The hardness occurs because the incidence graph
We note that our problem cannot be expressed as an FO model checking problem.
only captures the complexity of a “monotone” SAT instance. That is, the edges of the incidence graph do not account for the polarity in which literals occur in clauses.
One way to circumvent this issue, which is in line with past research on algorithms for dense SAT [14, 37, 18, 32, 39], is to consider the signed incidence graph of the input formula. Here, every edge between a vertex that corresponds to a clause and a vertex that corresponds to a variable carries a positive or negative sign depending on how this variable appears in the clause (cf. Figure 4). Then, the notion of a signed d-semi-ladder-free instance means that a d-semi-ladder is not present in the incidence graph restricted to positive edges and in the incidence graph restricted to negative edges (cf. Figure 2). It is not difficult to show that this is, in fact, equivalent (up to a factor of 2 and an additive constant) to excluding the d-semi-ladder in the edge-unlabeled graph, where each variable is represented by two vertices: one for its positive and the other for its negative occurrences. This notion of signed d-semi-ladder-freeness turns out to be exactly the right condition for making the detection of weak t-treewidth backdoors tractable. Proving this constitutes the main technical contribution of our paper (cf. Theorem 1.1).
On a different note, one can also observe that the (unsigned) incidence graph of a SAT instance is precisely the incidence graph of the set system defined via the occurrence of variables in clauses. This viewpoint makes it natural to turn to structural parameters that have been widely studied for set systems and try to exploit them for solving SAT. One such parameter that has been employed in the study of set systems is the VC-dimension [38, 35, 36]; it is well known (and also fairly easy to observe) that bounding the height of the largest (semi-)ladder in the incidence graph also bounds the system's VC-dimension. In this sense, semi-ladders are a natural next step from both the graph-theoretic and set-theoretic viewpoints on SAT.
Our Contribution. As elaborated earlier, in an attempt to relax structural input restrictions from nowhere-dense graph classes to edge-stable graph classes or to bounded VC-dimension set systems, we identify signed d-semi-ladder-freeness as the correct dense structural restriction that delineates the boundary of tractability. We establish the following theorem.
Theorem 1.1. For all non-negative integers , and , there is a linear-time algorithm that takes as input a signed -semi-ladder-free SAT instance and either:
- outputs a satisfying assignment for along with a weak t-treewidth backdoor of size at most k, or
• detects that contains no weak t-treewidth backdoor of size at most k.
As highlighted in the lower part of Figure 1 and discussed in the next paragraph, Theorem 1.1 generalizes the linear-time fixed-parameter algorithm for SAT via weak t-treewidth backdoors on d-SAT [16] to a more general class of instances. It also improves upon the more recent fixed-parameter algorithm via weak t-treewidth backdoors on -free SAT, both by applying to an even broader class of instances and by avoiding the superlinear factor of in the running time.
We remark that a weak 0-treewidth backdoor corresponds to a partial assignment that satisfies all clauses. As a special case, we thus obtain the following corollary.
Corollary 1.2. For all non-negative integers d and k, there is a linear-time algorithm which takes as input a signed d-semi-ladder-free SAT instance and either:
• outputs a partial assignment of at most k variables satisfying all clauses in , or
• reports that no such partial assignment exists.
On a related note, the tractability established by Corollary 1.2 contrasts with a problem known as MINIMUM WEIGHT SAT. In MINIMUM WEIGHT SAT, given a SAT formula and a positive integer k, the goal is to find a satisfying assignment that sets at most k variables to true, or correctly determine that no such assignment exists. Interestingly, one can show that this problem is W[1]-hard even on -free instances, and hence when excluding (signed) semi-ladders of constant height (see Lemma A.1 in the Appendix).
bounded unsigned
semi-ladder height
(Thm. 5.2)

bounded signed
ladder height
(Thm. 5.1)
Figure 1: The complexity of finding weak t-treewidth backdoors in increasingly more general formulas. Classes that are fixed-parameter tractable with respect to the size of the backdoor are highlighted in green, intractable classes in red. Most of the depicted inclusions are well-known. Additionally, Lemma 3.5 proves that every formula with bounded signed semi-ladder height also has bounded unsigned semi-ladder height.
Crucially, we complement Theorem 1.1 by showing that signed semi-ladder-freeness marks the tractability barrier of finding weak t-treewidth backdoors—see the top part of Figure 1. More precisely, we first show in Theorem 5.2 that weak t-treewidth backdoor detection is W[2]-hard if we merely exclude d-semi-ladders in the incidence graph—i.e., without taking the edge signs into account. Second, in Theorem 5.1 we prove that weak t-treewidth backdoor detection is W[1]-hard on SAT instances that are signed ladder-free (as opposed to semi-ladder-free). In fact, both lower bounds hold even if d is a small constant and apply to every fixed choice of .
Related Work on Backdoors. The study of backdoor sets has developed into an active line of research for understanding hidden structures in satisfiability problems that can be exploited to obtain tractable algorithms. The general backdoor paradigm was introduced by Williams, Gomes, and Selman [40]. Building on this idea of identifying a small set of variables whose assignment reduces the instance to a tractable class, the literature has considered backdoors to both syntactic classes (such as Horn- and 2-SAT [31], affine [25], nested [21], and q-Horn formulas [24]) and to structural classes (such as acyclic formulas [20] and more generally formulas of bounded incidence


Figure 2: A 4-semi-ladder (left) and a 4-ladder (right). Here, solid lines indicate edges and dashed lines represent non-edges. Vertices that are not connected by a solid or dashed line may be either adjacent or non-adjacent.

Figure 3: A 6-semi-ladder contains a as a subgraph.

unsigned:

signed, edge-labeled:

signed, literal vertices:
Figure 4: The distinct incidence graphs of the formula .
treewidth [22]). Surveys, including a very recent one, by Gaspers and Szeider [23, 19] emphasize that the parameterized complexity of detecting such backdoors has become a broad research program, including variants for strong and weak backdoors, structural backdoors, and extensions beyond classical SAT.
This activity is ongoing: recent work on quantified Boolean formulas (QBFs) studied backdoors to Horn, 2-SAT, and affine QBFs, showing that the QBF setting is substantially more delicate than SAT—QBF remains PSPACE-hard even for formulas with constant-size standard backdoors—while introducing enhanced backdoors that recover FPT algorithms under additional structural control such as bounded quantifier depth and bounded incidence treewidth [11].
The problem of detecting weak t-treewidth backdoor sets for SAT, the one considered in this work, is shown not to admit a polynomial kernel parameterized by k, even for d-SAT when and t is fixed, under reasonable complexity assumptions [16].
Related Work on d-semi-ladder-free Graphs. Fabianski et al. [12] introduced semi-ladder-freeness in the context of their progressive exploration framework, obtaining FPT algorithms for domination problems on several graph classes. Subsequently, Guillemot [26] established FPT and kernelization results for SET COVER on d-semi-ladder-free hypergraphs. A certain part of the algorithm that underlies our main result is inspired by the latter work; we indicate the respective part of the algorithm below.
The General Procedure. The algorithm that Theorem 1.1 postulates is a branching algorithm that orchestrates three major components in an iterative fashion. We call these components reducer, extractor, and progressor. The pipeline that comprises all three components is illustrated in Figure 5. In broad strokes, the extractor samples a set of variables and clauses of bounded size such that every weak backdoor X, if there is any, intersects or satisfies a clause in via a partial assignment witnessing its weak backdoor property. The extractor may not be able to achieve the above on general instances, which is why the instances are pre-processed by the reducer component, which ensures that an instance exhibits a certain structure that guarantees the success of the extractor. Finally, the progressor takes as input a variable or a clause that is guaranteed to be in the weak backdoor or be satisfied by it, respectively, and eliminates it from the instance, thus ensuring that some progress towards finding a weak backdoor is made.
To motivate the choice of these modules and their interplay, we first sketch the general procedure for finding weak t-treewidth backdoors on instances of d-SAT and -free SAT as proposed in [17] and [28], respectively. These works operate on the unsigned incidence graph of the respective SAT instances.
Thus, let be the unsigned incidence graph of a SAT formula and let be a hypothetical weak -treewidth backdoor of of size at most . Then, in particular, the treewidth of the residual graph is at most , where denotes the closed neighborhood of in . Observe that if the size of were bounded by some function of , then the original instance would have a treewidth of size (where is some computable function) and we could immediately apply Courcelle's Theorem [7].
Unfortunately, the size of may be large; in fact, this may be the case even if is a formula of bounded clause size, since the variables in may appear in many clauses. Hence, instead of relying on the size of to be bounded, we further observe that if a “good” fraction of the edges of is not incident on , then there are large subgraphs in , which have treewidth at most and a “boundary” of size to the rest of the graph. Such subgraphs are called -protrusions in the literature. Essentially, the task of our reducer is to compress large -protrusions in the graph , while preserving the satisfiability status of the instance.
After the instance has been processed by the reducer, a random uniform sampling of an edge of the graph and then a random selection of an end-point of this edge gives a vertex in with high probability. This random sampling—in fact, a deterministic version of it—is the task of the extractor.
Equivalently, one can say that is a modulator to treewidth t in G.
Finally, the progressor gets a vertex that is guaranteed to be in with “high probability” (this is simulated by branching in the case where the extractor is a deterministic algorithm). If this vertex corresponds to a variable then the progressor chooses to pick it in the hypothetical weak backdoor X, guesses an assignment to it, which is compatible with a satisfying assignment of the formula, and then removes all the clauses that are satisfied by this assignment of the chosen vertex. In this case, the progressor made progress by dropping the measure k by 1.
The interesting case is when the extractor produces a vertex which happens to be a clause vertex in . In this case, we know that the hypothetical weak backdoor contains a literal that is one of the literals of this clause. If the input formula was a d-SAT formula, then the length of each clause is bounded by d, and therefore one can branch on which literal in this clause is in X and then proceed to delete it, delete all clauses it satisfies and decrease k by 1. This is roughly how the algorithm of Fomin et al. [17] for d-SAT operates. The non-trivial scenario arises when the clauses have unbounded length, which prevents this final branching of guessing which literal of the clause satisfies it in the weak backdoor X.
The key obstacle to make this procedure work on instances beyond d-SAT, is having a notion of a bounded measure that can still drop while eliminating a sampled clause from . We elaborate on this main obstacle below while highlighting the impact of this in the interplay between our three components reducer, extractor, and progressor. Also note that the reducer and the extractor function irrespectively of the structure of the input formula. It is the progressor that needs additional structure on the input, in order to make “progress”.
The earlier work of Lokshtanov et al. [28] for -free SAT also encounters this challenge and manages to resolve it, in a way, by waiting for several rounds of the “extractor-progressor communication” (still bounded by a function of ) before really dropping the measure of the branching algorithm. This is not quite the formal treatment; instead the authors make use of the notion of unbreakability of instances to overcome the challenge. The implementation of this, in the work of Lokshtanov et al. costs them super-linear time—in fact the time taken is XP w.r.t. (that is, ). Our work, on the other hand, overcomes this issue in linear time on a even more general class of instances.
The progressor. Our progressor, is inspired by the FPT algorithm for SET COVER on on d-semi-ladder-free hypergraphs by Guillemot [26]. On receiving a clause C that is guaranteed to be satisfied by the assignment of the weak backdoor X, records that some literal of this clause must be selected into the weak backdoor. This information is kept by imagining X as an ordered set of k literals and maintaining k (not necessarily disjoint) sets of literals, called candidate sets , that keep the choices for the first, second, ..., k-th literal of the backdoor, respectively. In other words, in this annotated problem, the i-th backdoor variable is forced to come from the set . Initially, each contains all literals. When the progressor receives a clause C that is guaranteed to be satisfied by the weak backdoor, the progressor guesses the least index i such that C will be satisfied by the i-th literal of the weak backdoor. Under the guess, it deletes the i-th candidate set to only contain the literals of C that were already in , and delete everything else. This way, the new ensures that as long as, for each i, some literal of is selected into the final weak backdoor, the clause C will always be satisfied.
To guarantee termination of the algorithm, we will show that some measure decreases every time the progressor is called. To this end, the algorithm cleans up the instance after every branching by deleting all clauses whose neighborhood contains some . This deletion is correct since, as long as any literal from each set is chosen to be satisfied by the final weak backdoor, the deleted clauses will all be satisfied. The clean-up ensures that after each branching step followed by a clean-up, the size of a maximum semi-ladder that can be constructed using the literal vertices of (and arbitrary clauses) in the signed incidence graph, strictly decreases. Thus, the total measure of all branching steps of the progressor is bounded by . This bounds the number of calls to the progressor in the overall algorithm. See Figure 6.
The reducer. Finally, since the progressor makes progress by reducing a bounded measure at the cost of adding many annotations to the instance, it correspondingly increases the burden on the reducer routine.
Recall that the reducer is a pre-processing routine that outputs an equivalent instance that is free from large -protrusions. Because of the steps outlined above, the reducer now needs to deal with annotated instances. The problem, however, is that our annotations, that is, the candidate sets and a measure associated with the instance, are not encoded in the graph structure. Consequently, even if a graph contains an -protrusion—so, in particular, a subgraph with an -sized boundary—this boundary is not the protrusion’s “real” one, as information flows between this protrusion and the remaining graph through the annotations, which the graph structure does not capture. This makes handling protrusions non-trivial. We circumvent the issue by designing a reducer that efficiently compresses sufficiently large -protrusions to ones of size —this differs from the bound one would obtain when working with the “genuine” boundary of -protrusions, but is still sufficient for our purposes.
Thm. 4.1

Figure 5: A schematic depiction of the interplay between our algorithmic modules—the reducer, extractor, and progressor—in the proof of Theorem 4.1.
Solving Base Cases To conclude the outline of the algorithm, notice that once the progressor reduced our “measure of progress” sufficiently, we are guaranteed to remain with a set of “simple” instances: for each of them, we have either (asking for the existence of an empty weak backdoor), or s, a measure of the “maximal semi-ladder height of an annotated instance”, is zero. We link the latter to the instance not having any clauses. Based on these descriptions, it should be evident that both cases are easy to handle. In fact, if , it suffices to check whether the instance already has treewidth at most t and, if it does, to determine whether a satisfying assignment exists. In the second case, that is, if no clauses remain, note that removing any set of variables yields treewidth 0, so we only have to decide whether such a set exists that respects the annotated information of

Figure 6: High-level overview of the proof of our main result. The input formula is translated into an annotated instance with a SL-pattern size bound of and . Theorem 4.1 is then applied to this instance to obtain a set of instances in which or is reduced by 1. The process is iterated on all output instances. After at most iterations we obtain a set of instances with or . These can be decided easily, and a solution (or its non-existence) can be lifted back to the original question for the formula .
our instance (in particular, that satisfies the clauses which we removed earlier). We solve this via a simple branching algorithm.
We have thus presented all ingredients of the algorithm that Theorem 1.1 postulates. The overall procedure is depicted in Figure 6. Below, we highlight several further aspects that make finding weak backdoors in a dense regime more challenging than in the sparse settings studied in [17] and in [28], respectively.
The (deterministic) extractor: Structure-oblivious deterministic sampling. Earlier works rely on a random sampling argument for the extractor routine. In principle, the randomized argument works for all instances of SAT, as long as they have been pre-processed by the reducer. In earlier works, this random step is derandomized by accounting for the sparse structure of the instance. In our work, we derandomize without relying on any structure of the SAT formula. In fact, this makes both our reducer and our (deterministic) extractor oblivious to the structure of the input formula.
Below, we briefly sketch the idea of our deterministic extractor. We first make a fairly simple observation: since a is an obstruction to treewidth at most t, any in the incidence graph G must either be hit by the weak backdoor X or contain a clause vertex that will be satisfied by the witnessing assignment for X. Therefore, if we find a in G, the extractor can output the literals corresponding to all the variables, and the clauses, contained in this .
The challenge is to find such a , if it exists, in linear time. Since finding a biclique is W[1]-hard parameterized by the desired size [27], a linear-time algorithm is out of reach—though finding such a biclique (or reporting that none exist) in time is trivial.
We overcome this challenge by exploiting the fact that, due to the pre-processing in the reducer module, any weak backdoor X is such that is a -cover of the incidence graph G, where and f is a function that depends only on k, t, d. A -cover in a graph is a set of vertices that has a -fraction of edges incident to it. Since is a -cover, either there is a clause vertex in the neighborhood of X that has at least a -fraction of the edges incident to it, or X contains a literal vertex whose clause neighborhood covers at least a -fraction of all edges. In the first case, the number of (clause) vertices which have a -fraction of the edges incident on them individually is bounded by . In the second case, we observe that, if the number of literal vertices Y whose clause neighborhoods have a -fraction of the edges incident on them is large enough, then there is a whose literal endpoints reside in any sufficiently large (but bounded) subset of Y. This allows us to find a in linear time when Y is large.
Linear versus almost-linear time in the dense regime. Apart from the challenges discussed above, yet another issue arises from entering the dense regime: The reducer is an -time procedure that reduces the number of vertices in the incidence graph by a fraction of the original number of vertices (if the instance is not already “ready” for the extractor). Here, n and m are the number of vertices and edges in the incidence graph of the SAT formula. But one round of this pre-processing may not be enough for the extractor to work, so this step needs to be exhaustively performed until we are in a scenario that the extractor accepts. In the sparse regime, this is not a problem if we want to design a linear-time algorithm, since in each time step, the number of vertices reduces by a fraction and the number of edges is in any case bounded linearly in the number of vertices. Therefore, the total running time of this exhaustive application is , for some constant , which is still .
On dense instances, however, a reduction in the number of vertices by a fraction does not guarantee that the number of edges also drops by that proportion. Thus, a naive exhaustive application of a reduction rule that eliminates a fraction of the vertices will give an algorithm with running time . Designing a truly linear-time algorithm with these repetitive procedures requires making careful observations about the structure of the problem and the process.
3 Preliminaries
For any variables we define for any function depending only on to capture all functions bounded from above by for some computable function . In particular, when .
Graphs. For a graph we denote its vertex and edge set by and , respectively. The size of a graph is measured by . For some , we let and . Moreover, we let denote the degree of in . For a vertex set , we let and , and we let denote the graph that is obtained from by deleting all vertices in together with all edges incident to . Throughout the paper, we assume a graph encoding that supports the following operations in time: adding/deleting an isolated vertex, adding/deleting a given edge, and testing adjacency between two vertices; moreover, we assume that all edges incident to a vertex can be listed in time linear in the number of such edges.
Adding and deleting vertices and edges in this way is supported e.g. by doubly-linked adjacency lists with cross-pointers between the two occurrences of each edge; note that deleting a non-isolated vertex v then costs , as one first deletes its incident edges. Edge deletion is possible in time given a pointer to one of the two occurrences in the adjacency lists. To additionally support constant-time adjacency tests, each vertex can maintain a hash set of its neighbors—the complexity of the query, add, and remove operations on this set depends on the
The treewidth tw(G) of a graph G is a well-established measure of how “tree-like” it is. For a definition of treewidth and (nice) tree decompositions we refer to the literature [8, Subsection 7.2].
Definition 3.1 ( -cover). Let be a graph and let . set is a -cover of if .
CNF formulas. For a set of Boolean variables , let denote the corresponding set of literals. For simplicity of notation, we define for all . A clause over is a set of literals from , and it is satisfied via any of the literals in that set. A CNF formula is a pair , where is a multiset of clauses over . Given a CNF formula and a partial assignment for some , we define the residual of under to be with and and is not already satisfied by a literal described by . The length of a clause is the number of literals it contains and the size of a formula , denoted by , is the total length of all clauses in . Below, we define several options for representing CNF formulas via graphs.
Definition 3.2 (Signed Incidence Graphs). Let be a CNF formula. We define the following variants of signed incidence graphs for .
-
The signed vertex incidence graph contains for each and , the edge if and only if , and additionally the edge for each that connects two opposing literals.
-
The signed edge incidence graph contains for each and , the edge of sign + if and only if and of sign - if and only if .
For , we write for the subgraph of obtained by keeping all vertices and exactly the edges of sign s.
Semi-Ladders. A semi-ladder of height in a graph is a sequence of vertices , such that for all , and for all with . Note that the vertices are pairwise distinct (for , is a neighbor of while is not) and so are . Moreover, restricting a semi-ladder to any subset of its positions, that is, to , for indices , yields again a semi-ladder. For , we say that is -free if it contains no semi-ladder of height at least .
Consider a graph in which every vertex is marked either as a literal vertex or as a clause vertex; for instance, in the literal vertices are and the clause vertices are . We call a semi-ladder in such a graph proper if every is a literal vertex and every is a clause vertex. Similarly, we call a semi-ladder in proper if every is a variable vertex and every is a clause vertex.
We have thus defined several notions of semi-ladders in the incidence graphs of a formula; for instance, semi-ladders in may a priori mix literal and clause vertices on both sides, whereas proper ones may not. The following lemma shows that all these notions are functionally equivalent: their maximum heights agree up to a factor of two and an additive constant. Given this
machine model, but in general they work in expected time (though not necessarily in the worst case).
correspondence, we restrict our attention to proper semi-ladders in signed vertex incidence graphs in the following and, for simplicity, refer to these graphs as signed incidence graphs .
Lemma 3.3. Let be a CNF formula. Let be the maximum height of a semi-ladder in , let be the maximum height of a proper semi-ladder in , and let be the maximum height of a proper semi-ladder in or . Then
Proof. Since every proper semi-ladder is in particular a semi-ladder, we have .
We next show . Let be a semi-ladder in of height . Recall that in no two clause vertices are adjacent, and every literal vertex is adjacent to exactly one other literal vertex, namely the opposing literal. We will moreover use mirroring: if is a semi-ladder, then so is , obtained by exchanging the two sides and reversing their order. We call a position proper if is a literal vertex and is a clause vertex, and co-proper if is a clause vertex and is a literal vertex. Let and denote the number of proper and co-proper positions, respectively. Restricting the semi-ladder to its proper positions yields a proper semi-ladder of height , and restricting it to its co-proper positions and mirroring yields one of height , so . It therefore suffices to show , which we do by bounding the number of positions of all remaining types. First, at most one position consists of two clause vertices: given two such positions , the clause vertices and would be adjacent. Second, at most two positions consist of two literal vertices: for two such positions , the literal vertices and are adjacent and hence opposing literals, so three such positions would yield , contradicting the distinctness of and . Finally, we claim that . Note that every proper position precedes every co-proper position, as otherwise two clause vertices and with would be adjacent. So if and , there are proper positions and a co-proper position with , and the literal vertex is adjacent to the two distinct literal vertices and , a contradiction. Symmetrically, if and , there is a proper position and co-proper positions with , and the literal vertex is adjacent to the two distinct literal vertices and , again a contradiction. In total, , as required.
It remains to show . Fix a sign and, for a variable , let if and if . By definition of the two graphs, is an edge of if and only if is an edge of .
This correspondence immediately yields : if is a proper semi-ladder in , then is a proper semi-ladder in .
Conversely, let be a proper semi-ladder in of height . At least of the literals have the same polarity; let be the corresponding sign and let with be the corresponding positions. By the same correspondence, the variables of together with form a proper semi-ladder in . Hence we have and thus .
Another natural graph representation of a CNF formula is the unsigned incidence graph, a graph that contains a vertex for each clause and each variable, but does not distinguish between positive and negative occurrences of variables in clauses. Formally, we define such graphs as follows.
Definition 3.4 (Unsigned Incidence Graphs). Let be a CNF formula. The unsigned incidence graph contains for each and , the edge if and only if or .
The maximum height of any semi-ladder in the unsigned incidence graph of a formula gives us insight into the maximum height of any semi-ladder in its signed incidence graph. The relation is not as tight as the correspondence established above—in fact, it is exponential—but still suffices to conclude that every graph whose maximum signed semi-ladder height is bounded by a constant also has a constantly bounded unsigned semi-ladder height (see Figure 1).
Lemma 3.5. Let be a CNF formula. Let be the maximum height of a semi-ladder in and be the maximum height of a semi-ladder in . Then, .
Proof. Consider a semi-ladder of maximum height in . If , then the statement holds trivially since . Moreover, note that in , no literal vertices (here variable vertices) are adjacent to each other and neither are clause vertices. Therefore, if , then contains a proper semi-ladder of height where . Now, for each pair let be the polarity with which variable occurs in clause (pick either one if both occur). This induces a two-coloring of the pairs of . By Ramsey's theorem, there exists a subset of indices with and a color , such that for all . From this, we can build a signed semi-ladder of height as follows: For each , let be the literal of of polarity and let . This sequence is indeed a semi-ladder because (1) if is a non-edge in the unsigned graph this means that neither literal of appears in the clause , hence there is no edge between and ; and (2) for , we have that is adjacent to because occurs in with polarity .
We have thus shown that every proper unsigned semi-ladder of height yields a signed one of height . Consequently, recalling that has maximum signed semi-ladder height and that , we can bound the maximum unsigned semi-ladder height by .
In Section 5, we complement the tractability of finding weak backdoors on semi-ladder-free graphs by a lower bound that rules out a similar result for ladder-free graphs. There we will make use of the following notion.
Ladders. A ladder of height in a graph is a sequence of vertices such that for all we have if and only if . For , we say that is -free if it contains no ladder of height at least .
Backdoors. We now formally define the notion of weak backdoors for SAT.
Definition 3.6 (Weak Backdoor to Treewidth t). Let be a CNF formula. A set is a weak backdoor of to treewidth if there exists an assignment such that is satisfiable and the unsigned incidence graph of has treewidth at most . Note that only satisfiable formulas admit weak backdoors. Since weak backdoors come with a specific assignment, we will also refer to them as sets of literals, where each variable in is set in the polarity that is satisfied by . The size of a weak backdoor is the number of variables (equivalently, literals) it contains. A weak -backdoor is a weak backdoor of size at most to treewidth at most .
In Section 4, we will mostly work on the following auxiliary problem, which allows us to make progress towards finding backdoors. We here state it in terms of a decision problem on colored graphs, See Figure 7. Its last condition is based on the following notion, which measures, for each of k given vertex sets, the largest proper semi-ladder supported by that set.

literal vertex
clause vertex
incidence edge
opposite-literal
edge
Figure 7: A CNF formula and the graph G in a corresponding instance of EXT-WB-TW. Initially, every literal vertex lies in each of the candidate sets (and holds the respective colors).
Definition 3.7 (SL-pattern). Let be a graph in which every vertex is marked as a literal or a clause vertex, and let . For each , let be the maximum height of a proper semi-ladder in whose literal vertices all lie in . Then is the SL-pattern of with respect to , and we refer to as the SL-pattern size.
Definition 3.8 (EXTENSION WEAK BACKDOOR TO BOUNDED TREEWIDTH (EXT-WB-TW)). For and a vertex- and edge-colored graph , the tuple is a well-formed instance of EXT-WB-TW (and is well-formed) if
(W1) every vertex of G is colored as a literal vertex or as a clause vertex, but not both;
(W2) every edge of G is colored either as an incidence edge, joining a literal vertex to a clause vertex, or as an opposite-literal edge, joining two literal vertices;
(W3) the opposite-literal edges form a perfect matching on the literal vertices—intuitively each pair represents the two opposing literals of some variable;
(W4) literal vertices may carry at most more colors indicating membership in some (backdoor) candidate sets ; for every the set is non-empty and for every clause vertex , that is, some literal vertex of is not an incidence-neighbor of ; and
(W5) the SL-pattern size of G with respect to is at most s.
A well-formed instance of EXT-WB-TW is a yes-instance if there is an ordered set of literal vertices (a solution) with for each that satisfies three properties:
• non-conflicting: there is no opposite-literal edge joining two solution vertices ;
• bounded treewidth: deleting from G and then contracting all opposite-literal edges yields a graph of treewidth at most t; and
- domination: there is a set of literal vertices in that pairwise do not share any opposite-literal edges and which dominate all clause vertices in .
Non-well-formed instances are never yes-instances by any X, even if X satisfies the above three criteria.
The bounded treewidth property intuitively corresponds to having a set of literal vertices such that the residual SAT formula for this partial assignment has small treewidth. The domination property expresses that this partial assignment can be extended to a full satisfying assignment. The combination of these yields the property of being a small weak backdoor to bounded treewidth.
Crucially, we show that finding a weak -backdoor for a CNF formula is equivalent to solving a certain EXT-WB-TW instance where all sets contain all literal vertices.
The following observation relates the target treewidth in the bounded treewidth property of yes-instances to the treewidth of (without edge contraction).
Observation 3.9. Let X be a solution to a yes-instance of EXT-WB-TW. Then and have treewidth at most each.
Proof. By definition, the contracted residual graph obtained by contracting edges of opposing literals in has treewidth at most . Consider a witness tree decomposition of width and replace in every bag each contracted vertex by the two endpoints of its matching edge. This is a valid tree decomposition of : every vertex and every edge is covered (a matching edge by any bag holding its contracted vertex, and every other edge because the contracted vertices of its endpoints share a bag), and the bags containing any fixed vertex still form a subtree. Previously, all bags had size at most , so now they have size at most . Thus the treewidth of is at most . Since is obtained from by adding the now isolated vertices of , has treewidth at most as well (note that vertices in are pairwise non-adjacent as they are non-conflicting).
4 Weak Backdoors to Treewidth for Semi-Ladder-free SAT
The goal of this section is to establish our main algorithmic result Theorem 1.1: for every SAT instance whose signed incidence graph is -free, we can decide whether a weak -backdoor exists—and, in the positive case, exploit it to solve SAT—in linear time.
At the core of our algorithm lies a recursive procedure formalized in the following theorem:
Theorem 4.1 (Main Technical Theorem). There is an algorithm A that takes as input a well-formed instance of EXT-WB-TW, where and G has n vertices and m edges. A runs in time and outputs many well-formed instances of EXT-WB-TW such that
• or for some labeled graph for all ;
• I is a yes-instance if and only if there is at least one such that is a yes-instance; and
• given a solution to for some , one can derive a solution to in time.
Towards this, we first establish the three modules (reducer, extractor, and progressor) and combine them to prove Theorem 4.1, which is then used to establish our main Theorem 1.1.
Lemma 4.2 (Reducer). There exist and an algorithm which takes as input a well-formed instance of EXT-WB-TW, where has vertices and edges. runs in time and outputs a well-formed instance of EXT-WB-TW such that
• I is a yes-instance if and only if is a yes-instance;
• given a solution to , one can compute a solution to I in time ; and
- is ready for extraction: for every solution to (if there is any), is a -cover in .
Lemma 4.3 (Extractor). There is an algorithm which takes as input a well-formed instance of EXT-WB-TW with , where has vertices and edges, and some such that for every solution to , the set is a -cover in . runs in time and outputs a set such that
• if I is a yes-instance witnessed by a solution X then , and
• .
Lemma 4.4 (Progressor). There is an algorithm P which takes as input a well-formed instance of EXT-WB-TW, where G has n vertices and m edges, and a vertex v of G. P runs in time and outputs a set of well-formed instances of EXT-WB-TW such that
• or for some labeled graph for all ;
• I is a yes-instance via a solution X with if and only if contains a yes-instance;
• given a solution X to an instance one can derive a solution to I in time.
In the following sub-sections, we prove Lemmas 4.2, 4.3 and 4.4 and then use them to first establish Theorem 4.1 and finally prove Theorem 1.1.
4.1 The Reducer
Our reducer (Lemma 4.2) turns a well-formed instance into an equivalent one whose every solution X is “sample-able” in the sense that covers a good fraction of all edge-endpoints of G; this is the -cover property the extractor will consume in the next subsection. We obtain it by following the strategy of [17, Theorem 3] : A protrusion replacer is an algorithm to obtain an equivalent instance where a subgraph with a certain structure, a protrusion, is replaced by a subgraph of fixed size. We will prove the existence of such an algorithm in Section 4.1.1; for now, assume it is given as a black box.
Using this black box algorithm, we describe a reducer in Section 4.1.2, which follows [17] closely. The key observation is that if many vertices of G lie in large disjoint protrusions, we can replace them all in a single linear-time round (Lemma 4.2) and shrink the whole instance by a constant fraction (depending on k, s, and t). We iterate this round until no such collection of protrusions remains. At that fixed point, a structural argument about G (via Lemmas 6 and 7 in [17]) shows that the neighborhood of every weak backdoor X must comprise a constant fraction of the vertices of G—intuitively, a small would leave the bulk of G packed into large protrusions, contradicting termination. A short degree-counting argument then converts this lower bound on into the desired -cover.
4.1.1 The Protrusion Replacer
Boundaried Graphs and Protrusions. We use the standard boundaried-graph vocabulary for protrusion replacement; see [4, Section 2.2 and Definition 2.17] and [5] . An -boundaried graph is a triple where is a vertex- and edge-colored graph, has size at most , and is an injective labeling. We lift standard graph notation to boundaried graphs as
[17] is the openly available version of [16].
[4] is the openly available version of [5].
usual. In particular, let whenever . Two -boundaried graphs are compatible if their labelings induce an isomorphism between their boundary graphs and that respects vertex- and edge colors. The glue of two -boundaried compatible graphs and is the -boundaried graph obtained from their disjoint union by identifying equally labeled boundary vertices and retaining that common labeled boundary. Compatibility makes the colors and edges among the identified vertices well-defined. Forgetting the boundary of an -boundaried graph yields its underlying plain graph plain( ) := .
Definition 4.5 (r-protrusion). Let be a well-formed vertex- and edge-colored graph and let . set is an -protrusion of if , where , and .
Definition 4.6 (Canonical equivalence). Fix . We say two boundaried graphs are canonically equivalent (written ) if they are compatible and, for every boundaried compatible with both, plain is well-formed if and only if plain is, and whenever both are, it holds that
is a yes-instance of EXT-WB-TW
is a yes-instance of EXT-WB-TW.
The relation is clearly an equivalence relation. The following lemma shows that this equivalence relation has finite index in a constructive sense: every boundaried graph of bounded treewidth can be replaced, in linear time, by a bounded-size representative of its class, from which solutions can moreover be lifted back to the original.
Lemma 4.7 (Finite index). There is a computable function such that for every and every -boundaried graph of treewidth at most , one can compute in time a representative rep( ) with the following properties.
(R1) (Small and equivalent) rep(G) has size at most and satisfies rep(G) .
(R2) (Solution-respecting) For every boundaried graph that is compatible with and every solution of , one can compute in time a solution of .
Proof. Throughout, we work over the fixed finite signature consisting of the two vertex colors (literal and clause), the unary predicates , the two edge predicates (incidence and opposite-literal), and unary predicates for boundary labels. An -boundaried graph uses only the first of these predicates; the remaining predicates are used for the bags of the tree decomposition below.
The only problem-specific ingredients are two sentences and . For an introduction to , we refer to [7] and [8, Chapter 7.4.1]. We claim that, for every plain graph ,
To define , observe that in Definition 3.8, conditions (W1) and (W2) are first-order constraints on the colors and edges, (W3) says that every literal vertex is incident to exactly one opposite-literal
We here simply interpret the first color as the color for literal vertices, the second for clause vertices, and so on, in an arbitrary fixed order.
edge, and (W4) essentially says that each is non-empty and that every clause vertex misses some -vertex. For (W5), a proper semi-ladder of any fixed height is a fixed finite configuration. Hence, the statement that there is a semi-ladder that has its entire literal side in is first-order expressible. Since and are fixed, the condition for the SL-pattern can be expressed by forbidding, for every tuple of non-negative integers with , the simultaneous existence of proper semi-ladders of heights whose literal sides lie in , respectively; a height-zero requirement is vacuous. Thus, exists.
To define , let be the formula with one free vertex-set variable that asserts that consists of a valid selection of non-conflicting literals from the sets , and states that the contracted residual graph , obtained by contracting all opposite-literal edges in , has treewidth at most and is satisfiable. For fixed , the property “treewidth at most ” is -expressible and satisfiability is expressed by the existence of a set of literal vertices that contains no opposite-literal edge and in which every clause vertex has an incidence-neighbor. Moreover, the contracted residual graph is -interpretable from . We then set
With and in hand, the lemma readily follows from the finite-state and protrusion-replacement machinery for CMSO-definable properties of boundaried graphs developed by Bodlaender, Fomin, Lokshtanov, Penninkx, Saurabh, and Thilikos [4]. Since EXT-WB-TW is a decision problem, we need only the finite-state property of that framework; the finite-integer-index refinement used there for optimization problems is not required.
For completeness, we briefly summarize the key ideas of [4]. Let be the maximum of the quantifier ranks of and . The -type of a graph , denoted -type(), is the set of sentences of quantifier rank at most that hold in it. Up to logical equivalence, there are only finitely many such sentences over the fixed signature. Hence the number of -types is bounded by a computable function of . We rely on a Feferman–Vaught-style compositionality theorem for on boundaried graphs: the -type of a glue is determined by the -types of and [13, 29]. We apply it three times.
First, every boundary vertex has a unique unary predicate, and w.l.o.g. . Therefore, the q-type determines the labeled boundary graph. Thus, two boundaried graphs of equal q-type are compatible. When they are glued to any compatible context H, compositionality yields glues of equal q-type, whose plain graphs therefore agree on and . Hence equal q-type implies canonical equivalence. In particular, the number of q-types bounds the number of canonical equivalence classes.
Second, take a rooted tree decomposition for of width at most r, add to every bag, and convert the result into a nice tree decomposition for G. The resulting decomposition has width at most 2r, and its root contains . For each bag, consider the boundaried graph consisting of the bag together with all vertices introduced in the subtree rooted at that bag, using the bag as the boundary. Its q-type can be computed bottom-up using Courcelle-style arguments. Whenever the same q-type occurs twice on a root-to-leaf path, replace the larger rooted subgraph by the smaller one having the same q-type. Compositionality ensures that this replacement leaves the q-type of the whole graph unchanged. Since the original boundary is retained throughout the construction,
For fixed t, the graphs of treewidth at most t form a minor-closed class and are therefore characterized by a finite set of forbidden minors; since “H is a minor” is -expressible for each fixed graph H, so is “treewidth at most t” (see, e.g., [8, Chapter 7]).
the resulting representative is compatible with G. Repeating this operation yields a graph of the same q-type whose size (number of edges plus number of vertices) is bounded by a computable function of k, r, s, t: a nice tree decomposition has bounded branching, and after the replacements its depth is bounded by the number of possible q-types. Computing the bag q-types and performing the replacements takes time by Courcelle's Theorem [7]. Together with the first application, this proves (R1).
For the third application, we transfer witnesses to establish (R2). Since is a subformula of , the quantifier rank of is at most . For a graph and a set , denote by -type( ) the -type of the structure obtained by expanding with a fresh unary relation interpreted as . The Feferman–Vaught-style compositionality theorem extends to this enriched signature [13, 29]: for compatible boundaried graphs and any , the labeled type -type( ) is determined by -type( ) and -type( ).
Now let be a solution, and set and . Let -type( ). Let be the finite set of (normalized) sentences of quantifier rank at most over the extended signature, and define
where the additional unary relation is viewed as the free set variable . By construction, if and only if -type(, and the realizability sentence has quantifier rank at most . Since , witnessed by , and and have the same -type, we also have . The constructive variant of Courcelle's Theorem due to Arnborg, Lagergren, and Seese [1], applied to the boundaried graph of treewidth at most , therefore produces a set with -type( in time .
Because each boundary label has its own unary predicate, the type determines which boundary vertices belong to the distinguished set. Hence and agree on equally labeled boundary vertices, and can be combined consistently with . Define . By labeled compositionality, we have that
The right-hand side satisfies , which has rank at most , because is a solution. Therefore, the left-hand side also satisfies . Thus, is a solution, proving (R2).
Replacing a single protrusion by its representative is a local, in-place modification of the graph; we record it in the following lemma.
Lemma 4.8 (Protrusion replacement). There is an algorithm that takes as input an instance of EXT-WB-TW and an -protrusion of with , where is the function from Lemma 4.7. In time, the algorithm modifies in place into an instance with such that is well-formed if and only if is and is a yes-instance if and only if is. Moreover, given any solution of , a solution of can be computed in time.
Proof. Recall that we assumed that our graph encoding supports adjacency tests as well as the addition (deletion, respectively) of an edge (vertex, resp.) in time each, as well as identifying from a vertex in time. We first assemble the boundaried graph , where is an arbitrary injective labeling. Since is an -protrusion, and has at most edges in the boundary and ) edges incident to at least one non-boundary vertex. Since non-boundary vertices have no neighbors outside in , the latter edges can be identified in ) time. The edges between boundary vertices are found by adjacency tests. Hence is assembled in ) time.
By (R1) of Lemma 4.7 we compute the representative rep( ), which satisfies and , in time . We then update to in place: delete the interior together with its incident edges (in ) time), and insert the interior of rep( ), attaching it to the retained boundary (in time).
The size guarantee and solution lifting follow immediately from Lemma 4.7, using . The preservation of well-formedness as well as outputting a yes-instance if and only if is a yes-instance is due to the canonical equivalence.
4.1.2 Constructing the Reducer
While Lemma 4.8 handles replacing a single protrusion, our reducer module (Lemma 4.2) replaces many protrusions per round, using the lemma as a black box. Such a round shrinks the instance size when the current graph admits a certain structure, namely an -protrusion decomposition as used by [17] and originally introduced by [4].
Definition 4.9 ((α, β)-protrusion decomposition). Let α, β ∈ ℝ. An (α, β)-protrusion decomposition of a graph G is a partition V(G) = R₀ ⊕ R₁ ⊕ ⋯ ⊕ Rₐ of its vertex set such that
•
• for every , and ;
• for every , is a -protrusion of with boundary .
Intuitively, such a decomposition describes a set of disjoint -protrusions in the graph, where bounds the number of protrusions and the size of the graph not covered by protrusions.
A small relative to thus means that the bulk of G is packed into protrusions, which is precisely the regime in which the protrusion replacer of Lemma 4.8 can be applied to a large fraction of G in a single linear-time round.
We now show how multiple protrusions can be replaced in a single linear-time round. This is the Linear Time Protrusion Replacement Theorem (Theorem 3 in [17]), instantiated for EXT-WB-TW; where we tighten the running time guarantee to rather than the stated by [17]. This improvement is what makes the iterated reducer linear: across the rounds the number of vertices shrinks by a constant factor but the number of edges need not, so an per-round cost would not sum to linear (cf. the running-time analysis in the proof of Lemma 4.2); for [17] this did not matter, since there .
Lemma 4.10 (One-round protrusion replacement; cf. [17, Theorem 3]). There is an algorithm that takes as input an instance of EXT-WB-TW, where has vertices. In time, the algorithm computes an instance in place such that , is well-formed if and only if is and is a yes-instance if and only if is. Moreover, given a solution to , a solution to can be recovered in time. If, in addition, admits an -protrusion decomposition with and for and as in Lemma 4.8, then for some .
Proof. This is the algorithm of Theorem 3 of [17] applied to our problem using the protrusion replacer of Lemma 4.8—compute a large protrusion cover with the linear-time algorithm of [17, Lemma 16] and replace each of its protrusions. Since each single replacement preserves well-formedness (Lemma 4.8), so does their composition; hence is well-formed if and only if G is. Below, we comment on some changes we made to that statement apart from applying it to our problem: we fixed some constants, added the recovery of solutions, and decreased the running time to be linear in n instead of .
Setting Constants. We instantiate the algorithm of [17] with , and as in Lemma 4.8, and we let their variable —not to be confused with our —take value . Their requirement is equivalently expressed by .
Reconstruction of solutions. While this is not explicitly stated in [17], the authors rely on solution recovery as well. It follows by observing that the protrusions can be replaced one after another, using Lemma 4.8, in any order. Indeed, replacing a protrusion Y deletes only the interior of Y—these vertices are exclusive to Y, since the protrusions computed by the algorithm overlap only on their boundaries, if at all—and it retains Y's labeled boundary together with the edges among boundary vertices. Hence, for any other protrusion , no vertex of is deleted and the subgraph induced on is unchanged, so remains an r-protrusion of size at least and Lemma 4.8 still applies to it. Tracing back the resulting solutions in a last-in-first-out manner and at each step invoking the solution-recovery property of Lemma 4.8 allows us to derive a solution to I from a solution to . We replace a set of protrusions and the recovery step takes time for each . As the protrusions pairwise overlap in at most r vertices (the boundary), we have
where is the set of vertices which appear exclusively in .
Tighter time bound. The authors of [17] bound the running time of their algorithm by . We analyze their algorithm more carefully, tightening the running time to . Note that [17, Lemma 16] returns a set of protrusions that only overlap in the boundaries and which are then sequentially replaced using Lemma 4.8, with each protrusion Y taking time. Since there are protrusions and, by the same argument as above, , this latter step of replacing all protrusions takes time. It remains to examine the time required by [17, Lemma 16] more closely. We do not restate the arguments of correctness or even the intuition of this proof, but simply list their steps and argue that each is feasible in time.
(1) For some constant depending only on and , the authors of [17] first compute for every vertex a set that contains all such that we have , , , and is connected. They explicitly state this takes time in total (independently on whether or larger). This is due to the fact that no such set contains vertices of degree larger than , hence, all high degree vertices can be ignored. Identifying whether the degree of a vertex exceeds some constant is possible in constant time. They remark that for every vertex .
(2) Next, for every vertex , all sets for which the treewidth exceeds some constant value are discarded. As is argued in [17], this can be tested in time per set and thus takes time in total.
(3) As a next step, the authors group all sets in according to their neighborhood, which can be done in time as they argue themselves. This can be achieved by passes of bucket sort over the vertex identifiers; to keep the cost at even when these identifiers do not form the range (as happens when the graph has been locally modified previously), we clear the buckets lazily, touching only the buckets actually used rather than reinitializing the whole array. This yields a partition into non-empty sets, so .
(4) Then they form sets by, for each , greedily extracting disjoint subsets of certain sizes. Since each set is touched at most once, this takes time.
(5) From this, they construct a graph with vertex set , where and with share an edge if and only if there are and such that or there is an edge in between and . Assume , then the only case where there is an edge between and in is if one set intersects the neighborhood of the other, or conversely . Thus, and share an edge if and only if there are and such that . By construction (the third and fourth step), each collection is a sub-collection of one of the neighborhood classes of , so every member is one of the sets listed in the first step. Moreover, the only condition defining that refers to is , while the remaining conditions (, and connected) depend on alone; hence for every , and likewise for every . We exploit this to construct as follows. Iterate over every vertex and every set ; since and for every vertex , we can in time iterate over all vertices and all sets . Whenever and lie in distinct collections and , add the edge to (unless it is already present). This enumeration finds every edge of : if and are adjacent, witnessed by , , and a vertex , then choosing any the outer loop enumerates , the inner loop reaches , and there it enumerates (using ). Conversely, every pair produced this way satisfies and hence corresponds to a genuine edge. As there are choices of , each handled in time, can be constructed in time.
(6) Lastly, they compute a large independent set in in time, noting that has constant maximum degree for fixed . The output of [17, Lemma 16] are the sets corresponding to this independent set in .
Since each of the six consecutive steps takes time, so does the entire algorithm.
With Lemma 4.10 in hand, we are now ready to prove the main lemma of this subsection.
Lemma 4.2 (Reducer). There exist and an algorithm which takes as input a well-formed instance of EXT-WB-TW, where has vertices and edges. runs in time and outputs a well-formed instance of EXT-WB-TW such that
• I is a yes-instance if and only if is a yes-instance;
• given a solution to , one can compute a solution to I in time ; and
- is ready for extraction: for every solution to (if there is any), is a -cover in .
Proof. Use , , , and of Lemma 4.10. Let denote a single round, that is, one application of Lemma 4.10 to the current graph on vertices, which in time —independent of the number of edges—produces an equivalent graph with vertices. By Lemma 4.10, if admits an -protrusion decomposition with and , then .
Set and iterate rounds . Stop at the first index at which the round failed to shrink, i.e., , and let and . The total time required is . Since for all such (except for ), this forms a geometric series bounded by .
By induction along the chain, is a yes-instance if and only if is, and—by composing the per-round solution recovery of Lemma 4.10—a solution of lifts to a solution of in time . Each round also preserves well-formedness (Lemma 4.10), so since is well-formed, so is . This establishes that is well-formed together with the first two statements of the lemma.
It remains to argue that the third condition is met as well. For this, let and let be a solution to . By Observation 3.9, has treewidth at most . Then, feeding , , and to Lemma 6 in [17] (which is based on [4, 15]) gives that at least one of the following holds:
(i)
Towards a contradiction, assume that (i) is the case. Feeding to Lemma 7 in [17] (which is based on [4]) yields an -protrusion decomposition with and . Since and , the shrinking condition of Lemma 4.10 would be satisfied, so a further round Q applied to would have shrunk it—contradicting the stopping condition. Consequently, case (i) never occurs and is a -cover.
4.2 The Extractor
The extractor is the second module that Theorem 4.1 relies on. It receives an instance I of EXT-WB-TW in which the neighborhood of every solution is a -cover of the graph associated with I and aims at identifying a set of vertices such that, for any solution to I, at least one of these vertices lies in the solution or in its neighborhood.
For a single fixed solution X, the hitting property is easy to achieve by randomization: since is a -cover, a uniformly random edge has an endpoint in with probability at least , so collecting the endpoints of random edges hits with constant probability. The more elaborate lemma below instead produces a single deterministic set that works for all solutions at once.
Lemma 4.3 (Extractor). There is an algorithm which takes as input a well-formed instance of EXT-WB-TW with , where has vertices and edges, and some such that for every solution to , the set is a -cover in . runs in time and outputs a set such that
• if I is a yes-instance witnessed by a solution X then , and
• .
Proof. Recall that is partitioned into a set of clause vertices and a set of literal vertices. Set , , and . Note that , since each factor lies in . We define the following sets of vertices.
We first show that is always a valid output apart from the size bound. Claim 4.11. If is a solution to , then .
Proof of Claim 4.11. Towards a contradiction, suppose that ; in particular , , and . By (W2)–(W3), every literal vertex in has exactly one literal neighbor, namely its opposite literal. Hence, the literal vertices in are exactly , a set of at most vertices, and .
Since , each has , so the opposite literals contribute
Moreover, since , we have , so every lies in ; together with (as ) this gives . Hence the clause neighbors contribute
Adding the two bounds, we obtain , contradicting the fact that is a -cover.
To handle the cases where the above is too large, we first bound the size of Y and W.
Claim 4.12. and .
Proof of Claim 4.12. Since there are no edges between clause vertices, we have
If , then , a contradiction.
Furthermore, since , at most literal vertices have degree at least , so .
By the previous claim, if exceeds our size bound, it is due to being very large. The following claims show that in this regime, the graph contains a biclique, which we can find efficiently, and that any such biclique yields a valid output set as well. The case is handled separately below.
Claim 4.13. Suppose and , and let be an arbitrary subset of size (which exists since ). Then contains a (a complete bipartite graph on vertices) as a subgraph, with one side contained in and the other in .
Proof of Claim 4.13. Recall that for every literal vertex we have and, since , each clause neighbor satisfies .
Sample a set of distinct clause vertices from , drawn one at a time without replacement, each clause with probability proportional to its degree.
Fix a literal and consider the probability that all sampled clauses are neighbors of . For each , condition on the first draws being neighbors of . These removed clauses lie in and so have total degree less than , hence the remaining neighbors of still carry mass at least , while the normalizer—the total degree of the undrawn clauses of —is at most , as the incident edges account for at most of the edges. Thus the -th draw is a neighbor of with probability at least . Multiplying over gives
By linearity of expectation, the expected number of literals in that are adjacent to every vertex of is at least . As the maximum is at least the expectation, there is a choice of for which at least literals of are adjacent to every clause of . These literals together with form a in .
Claim 4.14. If and , then one can find a in with one side in and the other in in time .
Proof of Claim 4.14. Let be an arbitrary subset of of size . From Claim 4.13, we know that contains a . Thus a can be found by brute-forcing over all choices of vertices from in time . Since , we have . Consequently, , which gives the claimed running time.
Claim 4.15. Let be a in with and , and let , where denotes the opposite literal vertex of . Then for any solution to , we have that either or .
Proof of Claim 4.15. Suppose, for the sake of contradiction, that there is a solution to such that and . We show that the biclique survives in the residual graph . Each literal vertex lies outside : otherwise , or is adjacent to some , which (as is a literal vertex) can only be via the opposite-literal edge, i.e. ; either case yields , a contradiction. Likewise each clause vertex lies outside : being a clause vertex, would mean , contradicting . Hence contains the biclique , whose treewidth is ; thus has treewidth at least . By Observation 3.9, however, has treewidth at most since is a solution to , a contradiction.
The algorithm outputs the set based on the following cases. We prove the correctness of each individual case.
(1) Case 1: .
Here : any has all its clause neighbors in , each of degree below , so and hence . Output . By Claim 4.11 (with ), every solution satisfies , so since . By Claim 4.12, .
(2) Case 2: and .
Output . The correctness is immediate from Claim 4.11: every solution satisfies . The size bound follows from Claim 4.12 and . This gives .
(3) Case 3: and .
From Claim 4.14, a , say with and , can be found in in time. Output , where is as defined in Claim 4.15. By Claim 4.15, every solution satisfies or , so . Moreover, .
It remains to bound the running time. The degrees and the sets Y and W can be computed in time. We then mark and, in one further scan of the adjacency lists, compute the sums that determine Z, again in time. Cases 1 and 2 then require only linear time, while Case 3 takes time by Claim 4.14. This establishes the overall running time stated in the lemma.
4.3 The Progressor
The progressor is the last module that gets called in the pipeline of Theorem 4.1. On a high level, this module receives an instance of EXT-WB-TW together with a vertex and creates a set of instances, such that in each, some progress towards finding a backdoor is made. As will be made precise below, progress can be achieved by decreasing the number of literals that can still be selected into the backdoor or by decreasing the SL-pattern size s of the instance.
Lemma 4.4 (Progressor). There is an algorithm P which takes as input a well-formed instance of EXT-WB-TW, where G has n vertices and m edges, and a vertex v of G. P runs in time and outputs a set of well-formed instances of EXT-WB-TW such that
• or for some labeled graph for all ;
• I is a yes-instance via a solution X with if and only if contains a yes-instance;
• given a solution X to an instance one can derive a solution to I in time.
Proof. Recall that in G, every vertex is either a literal vertex or a clause vertex.
Claim 4.16. The statement holds if v is a literal vertex.
Proof of Claim 4.16. The construction for a literal vertex is guided by a hypothetical solution with ; the claimed properties (in particular the first item) are established unconditionally. Since is a literal vertex, its only literal neighbor is ; hence means that either or
. In other words, we found a variable that belongs to our backdoor set, but we do not know yet, in which polarity we should set it. Consequently, we branch over the two possibilities ( or ) and over the index of the candidate set out of which is selected. More specifically, for each and each with , we create an instance covering the case .
The graph is obtained from G as follows:
• delete every clause vertex in , i.e. the clauses satisfied by u;
• delete all edges from to clause vertices (as is now false);
-
if some clause vertex thereby becomes isolated, we discard the branch: such a clause can never be dominated, so would be a no-instance. We likewise discard the branch if removing empties some remaining candidate set, i.e. if for some , whose only choice would conflict with ;
-
otherwise, remove the color indicating membership in candidate set from all literal vertices (the -th literal is now resolved);
-
remove from all remaining candidate sets by removing the respective colors from (choosing would conflict with our choice of ); and
-
remove all clause vertices for which for some (this clause is satisfied for every remaining choice of ).
Note that we keep the literals and in the instance since can be reused in another candidate set. There are at most branches, each constructed in time: deleting the clauses of , deleting 's incident edges, and checking whether a clause became isolated together take time, while the last step tests, separately for each of the at most sets with , whether for every clause ; as in the clause case below, each such test runs in time by a single scan over the incidence lists of the literals in . Summing over all branches yields a total running time of .
Well-formedness. arises from by deleting some clause vertices and the edges of to clause vertices, while keeping all literal vertices and all opposite-literal edges; in particular the opposite-literal edges still form a perfect matching, so are inherited. Regarding , each retained set ( ) is non-empty since branches violating this were discarded, and the final deletion removes exactly the clauses with for some ; hence every surviving clause satisfies for all . Any containing the now-isolated vertex satisfies this trivially, as . Regarding , consider any proper semi-ladder of whose literal side lies in ; its clause side then consists of surviving clause vertices. All adjacencies and non-adjacencies among these vertices agree in and , since the only edges lacks relative to are those incident to (not a literal of ) or to a deleted clause vertex (not on the surviving clause side). Hence the same sequence is a proper semi-ladder of with literal side in , giving ; thus the SL-pattern size of is at most .
Preservation of solutions and efficient solution transfer. First, suppose is a yes-instance witnessed by a solution with . Since , either or equals some , so . For every , we have (as is non-conflicting and ), so ; in particular, no is empty. Moreover, the deletion of edges incident to isolates no clause: a clause whose only neighbor is lies in but has no neighbor there, so it could not be dominated—contradicting that is a solution. Hence the branch is created and not discarded. Let be the tuple with its -th entry removed (its remaining entries , , may again include ). We claim that is a solution to if and only if is a solution to . Admissibility and non-conflicting property transfer: for every , and since the only literal that could conflict with is , the tuple is non-conflicting exactly when is. For the residual, every clause deleted in constructing lies in : those in because , and every deleted in the last step because gives ; likewise, the deleted incidence edges are precisely those incident to . Hence and coincide (once the coloring of is forgotten), except that the latter still contains the isolated matched pair whenever . As an isolated pair contracts to a single isolated vertex, the contractions and have the same treewidth, and the clause vertices in one are dominated by a non-conflicting literal set if and only if this holds in the other (the isolated and dominate no clause and need not be dominated). Consequently, is a solution to , so contains the yes-instance .
Conversely, the same equivalence yields the solution transfer: given any solution to a created branch , its entries satisfy for all and are non-conflicting with (as ), so extending by yields a solution to , obtained in time.
Claim 4.17. The statement holds if v is a clause vertex.
Proof of Claim 4.17. The construction for a clause vertex is guided by a hypothetical solution with ; the properties claimed below, however, are established unconditionally. For each , if , we consider an instance covering the case that for the -th literal vertex of we have that . Intuitively, this case corresponds to the clause being satisfied by the literal . We now construct from as follows. Update the coloring so that the candidate sets of become , where and for all . Moreover, we remove all clause vertices (and their incident edges) for which for some ; such a clause is adjacent to every admissible choice of and is thus intuitively guaranteed to be satisfied by whatever literal we end up selecting from . Note that in particular, this includes itself. Towards bounding the running time of the above procedure, note that each can be constructed in time: by (W4) applied to , no clause vertex satisfies for any , so only the condition has to be tested, which can be checked for all clause vertices simultaneously in time.
Well-formedness. Since is obtained from by deleting only clause vertices and their incident edges, all literal vertices and opposite-literal edges remain, so (W1)-(W3) are inherited from . Regarding (W4), each set is non-empty: by the branching case, and for . Moreover, the deletion step removes exactly the clause vertices with for some , so every surviving clause satisfies for all (and , as clause vertices neighbor only literal vertices and no literal vertices are deleted). Finally, (W5) follows from the next paragraph, which bounds the SL-pattern size of by .
Shrinkage of SL-pattern size. Let and be the SL-patterns of and some , respectively. For each , since is an induced subgraph of and , we have that every proper semi-ladder of with literals in is also one of with literals in ; hence . We sharpen this to . Fix some , which exists since by (W4), and let , be a proper semi-ladder of height in with all literals in . Appending as the final ordered pair yields the sequence
which is a proper semi-ladder of height in with all literals in : its new horizontal pair is a non-edge since , the diagonal edges are present for all because , and all remaining edge and non-edge conditions are inherited. Here and are genuinely new vertices: as , and is not a vertex of . Hence , that is, . Summing over , the SL-pattern size of is at most .
Preservation of solutions and efficient solution transfer. Assume that is a yes-instance via a solution with literal vertices and let . Then for some , so while for all . We claim that is a solution to as well. First, each literal lies in . Secondly, every clause vertex removed in the construction of satisfies for some , and as this gives . Hence all deleted vertices lie in , so and coincide once the -colorings are forgotten; in particular their contractions (of all opposite-literal edges) and have the same treewidth and the clause vertices in are dominated by a non-conflicting set of literal vertices if and only if this is the case in . Thus, since is a solution to , it is a solution to as well.
Conversely, let be any solution to . Its literals satisfy and for , so is admissible for and in particular . As above, every clause deleted in constructing lies in , so and coincide, and the equivalences of the previous paragraph show that is a solution to . The solution is unchanged, so the third property holds in time.
Finally, Lemma 4.4 follows directly from Claim 4.16 and Claim 4.17.
4.4 Deriving the Main Result
We are now ready to establish our main recursion routine.
Theorem 4.1 (Main Technical Theorem). There is an algorithm A that takes as input a well-formed instance of EXT-WB-TW, where and G has n vertices and m edges. A runs in time and outputs many well-formed instances of EXT-WB-TW such that
• or for some labeled graph for all ;
- I is a yes-instance if and only if there is at least one such that is a yes-instance; and
• given a solution to for some , one can derive a solution to in time.
Proof. We first describe the algorithm, and then analyze its running time and argue its correctness.
We apply the reducer (Lemma 4.2) to to obtain an instance of size that is ready for extraction. We then use the extractor (Lemma 4.3) on to obtain a set of vertices. Then, for each , we call the progressor (Lemma 4.4) on and , each call yielding a set of at most instances. We output all instances obtained across all .
Each of the three steps takes time by the respective lemma, and hence so does the entire pipeline. We output instances. Recall from the extractor that is bounded from above by a function of only, so is bounded by a similar function.
The reducer preserves the values of , and , while the progressor preserves and, in each output instance, either decrements or decrements . Thus, every output instance is of the form or , establishing the first point. Moreover, since is well-formed, the reducer returns a well-formed instance (Lemma 4.2), so the extractor and progressor receive a well-formed instance, and every instance produced by the progressor is well-formed (Lemma 4.4); hence all output instances are well-formed.
For the second point, first suppose is a yes-instance. Then by Lemma 4.2 is a yes-instance as well, witnessed by some solution . Let be the graph in . Since is ready for extraction, it satisfies the condition of Lemma 4.3, so ; fix some . As , the call to the progressor (Lemma 4.4) on and produces a yes-instance, which is among our output. Conversely, if one of the output instances is a yes-instance, then the third point (shown below) turns its solution into a solution to , so is a yes-instance as well. This proves the equivalence.
For the third point, consider a solution to an output instance . Lemma 4.4 lifts to a solution to and Lemma 4.2 then lifts to a solution to , each in time.
Using the above, we are almost ready to establish the algorithm for solving SAT via weak backdoors (Theorem 1.1). The last ingredient we need is that the base instances of EXT-WB-TW after exhaustive application of Theorem 4.1 are easy to solve.
Lemma 4.18. There is an algorithm that takes as input a well-formed instance of EXT-WB-TW such that has literal vertices and no clause vertices. In time it outputs a solution to or verifies that none exist.
Proof. Note that contracting all edges between opposing literals in already gives a graph of treewidth 0. Thus, in order to solve an instance that is as specified by the lemma statement, it only remains to decide whether there are pair-wise non-conflicting literals such that for all . We can enumerate all candidate sets in time. From each candidate set with drop all but the first entries. Then, consider all possibilities to select one literal from each set. For each possibility, we can test whether it is non-conflicting in time, and if so output this choice as the solution . We reject the instance if the test fails for all choices.
Clearly, any output choice is indeed a valid solution. For the other direction, suppose there is a solution X. Consider the set of branches where for all sets with size smaller than , the same literals are chosen as in X. Among these, there is a branch that finds a solution: The literals for sets with are non-conflicting between each other since they appear in X. We then fix the choices for the sets with (now ) one after another, at each step restricting to the subset of branches consistent with the choices made so far. When fixing such a set , the at most literals chosen so far are opposite to at most elements. Since for the reduced set , there is at least one branch where does not conflict with any previously chosen literal. Iterating over all these sets leaves a branch whose selection is non-conflicting overall.
Lemma 4.19. There is an algorithm that takes as input a well-formed instance of EXT-WB-TW such that has vertices and edges. In time it outputs a solution to or verifies that none exist.
Proof. Since the only possible solution is the empty set. Let be the graph obtained from contracting all edges between pairs of literals in . Note that is a yes-instance (via ) if and only if has treewidth at most and there is a set of non-conflicting literal vertices that dominate all clause vertices. In time we can decide whether has treewidth at most , e.g. using Bodlaender's algorithm [3]. If the treewidth of exceeds , we reject the instance. Otherwise, deciding whether there is a dominating set of non-conflicting literal vertices corresponds exactly to solving a SAT instance with incidence treewidth at most . This can be done in time, e.g. by the dynamic-programming algorithm of Samer and Szeider [34].
We now proceed with the proof of Theorem 1.1. For convenience, we restate the theorem below.
Theorem 1.1. For all non-negative integers , and , there is a linear-time algorithm that takes as input a signed -semi-ladder-free SAT instance and either:
- outputs a satisfying assignment for along with a weak t-treewidth backdoor of size at most k, or
• detects that contains no weak t-treewidth backdoor of size at most k.
Proof. The algorithm proceeds in three steps: it translates into an equivalent instance of EXT-WB-TW, iterates Theorem 4.1 to reduce k or the SL-pattern size to zero, and finally solves the resulting simple instances and backtracks a solution. Below, we describe and analyze each step individually.
Translation into EXT-WB-TW. If , then no formula is signed -semi-ladder-free (every graph contains the empty semi-ladder of height 0), so the statement holds vacuously; we therefore assume in the following, which ensures . Without loss of generality, assume that for there is no clause with , that is, no clause in contains every variable of in both polarities. Let be the signed incidence graph of but with the following coloring for edges and vertices: vertices are colored as literal or clause vertices depending on which they represent, respectively. Edges are colored according to in the definition of EXT-WB-TW. Every literal vertex also carries all additional colors—consequently the candidate sets each contain all literal vertices. We claim that has a weak -backdoor if and only if , read as a set of literal vertices of , is a solution to the instance of EXT-WB-TW. Under the identification of each literal of with the literal vertex of representing it, the two notions match property by property:
-
Because every contains all literal vertices, the constraint is vacuous, so a solution is simply a set of at most literal vertices meeting the three properties below (note that the same literal can be chosen for multiple candidate sets ).
-
The non-conflicting property—no opposite-literal edge joins two chosen vertices—holds if and only if X does not contain a variable in both polarities, i.e. if and only if the literals of X define a consistent partial assignment setting each of them to true.
-
Deleting from removes the variables underlying X together with all clauses satisfied by , and contracting the surviving opposite-literal edges merges the two vertices of each remaining variable into a single variable vertex; the resulting graph is exactly the signed incidence graph of . Hence the bounded-treewidth property holds if and only if the signed incidence graph of has treewidth at most .
-
A set of pairwise non-conflicting literal vertices of that dominates all remaining clause vertices is precisely a consistent assignment of the residual variables that satisfies every remaining clause. Hence the domination property holds if and only if is satisfiable.
Combining these equivalences, is a solution to if and only if witnesses that is a weak -backdoor of , proving the claim. Here the subscript represents , a measure of progress towards a simple instance. Moreover, is well-formed.
This translation takes time. For the following, let and denote the number of vertices and edges in , respectively, and note that and , so both are linear in the encoding size of .
Translation into simple instances. Towards solving , we perform multiple iterations of Theorem 4.1, each time decrementing k or the bound s on the SL-pattern size, until we obtain a set of instances where one of the measures is 0. If this is already the case for (that is, k = 0, or s = 0 as happens when d = 1), we skip this step and set . Otherwise, let . For , , compute by applying Theorem 4.1 to every instance in and collecting the union of all output sets in .
Note that for all , each instance in is of the form with for some graph , , and . If at some point we produce an instance with or without clause vertices, we immediately put it in the set instead of adding it to the current set.
Indeed, we observe that all instances in have or do not have clause vertices. Suppose otherwise, i.e., there is an instance with such that contains at least one clause vertex . Since and due to the existence of , has not been placed in prematurely but rather after iterations of Theorem 4.1. Since initially and each iteration decreases we have that after the last iteration. As , we have . However, we also have by (W4). Consequently, there is a literal vertex such that , so and form a semi-ladder of height 1 (i.e., a non-edge) in . Thereby, has SL-pattern size at least 1, contradicting .
By Theorem 4.1, there is a constant depending only on , and such that . Hence we construct many instances in total (recall that at every point ). Each application of Theorem 4.1 (and test for clause vertices) takes time, so the total time required for this step is in .
Solving the simple instances and backtracking the solution. All instances in for which we have are solved via Lemma 4.19. All remaining instances in are solved via Lemma 4.18 since, by the argument above, they do not have clause vertices.
If there are only no-instances in , we certify that does not admit a weak -backdoor as follows: suppose would admit a weak -backdoor, then is a yes-instance of EXT-WB-TW. Then, every set for contains at least one yes-instance (via induction starting at and by Theorem 4.1) or at some point, a yes-instance was supposed to be placed in a set with but instead was placed in due to not having clause vertices or . In either case would contain a yes-instance.
Now suppose one of the instances in , say , admits a solution . Note that was obtained from by a sequence of applications of Theorem 4.1. By reversing this sequence, Theorem 4.1 allows us to lift back up to a solution to , which in turn is a weak -backdoor to .
To obtain a corresponding satisfying assignment, it suffices to solve the satisfiability problem on the residual CNF formula in which all variables represented in and all clauses satisfied by are removed. Since the incidence graph of this residual formula has treewidth at most , any algorithm for solving SAT on instances of bounded incidence treewidth can be used, e.g. the dynamic-programming algorithm of Samer and Szeider [34], which runs in time once a width- tree decomposition is computed (for example via Bodlaender's algorithm [3] in time ).
Solving all instances in takes time, using Lemma 4.19 for the instances with and Lemma 4.18 for the clause-less instances. Lifting a solution through the iterations of Theorem 4.1 takes time.
5 Hardness of Finding Weak Backdoors
We accompany our algorithm by two lower bounds, which support our choice of measuring the height of semi-ladders in the signed incidence graph. Under well-established complexity-theoretic assumptions, they rule out that the same result can be achieved when measuring ladders instead of semi-ladders in the signed incidence graph, or when measuring semi-ladders in the unsigned incidence graph. Both lower bounds rely on reductions from the RED-BLUE DOMINATING SET problem.
RED-BLUE DOMINATING SET
Input: A graph and a natural number .
Parameter: k
Question: Is there an with such that dominates all vertices in ?
Theorem 5.1. For all and , deciding whether a SAT instance with an -free signed vertex incidence graph admits a weak backdoor of size to treewidth is -hard parameterized by .
Proof. It has been recently proved that DOMINATING SET is W[1]-hard on -free instances, for [10, Theorem 5]. To show this, the authors carefully inspect the standard parameterized reduction from MULTICOLORED INDEPENDENT SET to DOMINATING SET and argue that it gives rise to ladders of height at most 16. Their reduction is easily adapted to show that the problem RED-BLUE DOMINATING SET is W[1]-hard on -free instances, for as well: we color all original vertices red and all vertices that the reduction introduces blue. The correctness of this adaptation follows from the fact that our budget only allows for choosing original vertices to dominate others anyway.
We conclude our proof by reducing RED-BLUE DOMINATING SET on -free instances, for any and , to the problem of finding weak backdoors to treewidth ; as the bounded-ladder-height argument below shows, the signed incidence graph of the resulting formula is -free, which yields the theorem for all . In the following, we will assume that all instances of RED-BLUE DOMINATING SET are pre-processed in a way that removes all vertices that are not adjacent to the respective other color: if there is a red vertex that is not adjacent to any blue vertex, it can be removed from the instance since it cannot cover any blue vertex; if there is a blue vertex that is not adjacent to any red vertex, then it witnesses a no-instance. Now, for a given -free instance of RED-BLUE DOMINATING SET, we construct a formula as follows.
For every red vertex , we create Boolean variables and let denote their positive literals; for every blue vertex , we create clauses . We distribute the literals over the clauses such that, for every , , and all , the literal occurs in the clause if and only if . In particular, all occurrences are positive, and holds for every exactly when .
Bounded ladder height. We show that any ladder in the signed incidence graph of projects to a ladder of height smaller by at most one in the RED-BLUE DOMINATING SET instance. Consequently, if the original instance is -free for some , then the signed incidence graph of is -free.
Recall that the signed incidence graph is almost bipartite between literals and clauses, with each literal joined to every clause containing it, together with the edges between the two literals of each variable. In our construction every occurrence is positive, so a clause vertex is adjacent only to positive literals, a positive literal is adjacent only to the clauses containing it and to its negation , and each negation has degree exactly one, its only neighbor being .
Consider any ladder in the signed incidence graph, with sides and , where is an edge if and only if .
We first claim that there is at most one index for which and both represent literals. Suppose not, and let be two such indices. An edge between two literals must be one of the edges , so forces . By the ladder property, is an edge as well; since and are both literals, it is again of the form , whence . This contradicts and proves the claim.
Delete this (at most one) exceptional position from the ladder and reindex the remaining ones; deleting a position from a ladder again yields a ladder, so we obtain one of height in which every pair is an edge between a literal and a clause. We show that one side of this sub-ladder consists entirely of positive literals and the other entirely of clauses. Up to the symmetry that exchanges the two sides (replacing by ), we may assume is a literal and a clause; being adjacent to a clause, is a positive literal. Its neighbors are clauses together with its negation , which has degree one and hence is adjacent to at most one ladder vertex; but the only b-side vertex adjacent to a single a-side vertex is , which is a clause. Thus none of equals , and since is adjacent to all of them, every is a clause. Each is then adjacent to the clause and is therefore a positive literal.
Finally, two vertices on the same side of a ladder have distinct neighborhoods towards the other side. As the literals of a fixed red vertex all have the same neighborhood in the incidence graph of , at most one of them occurs among the literals of the sub-ladder; symmetrically, at most one of the clauses of a fixed blue vertex occurs. Since and are adjacent if and only if , mapping each literal to its red vertex and each clause to its blue vertex yields a ladder of height in the original instance. As , every ladder of height in the signed incidence graph projects to a ladder of height at least in the RED-BLUE DOMINATING SET instance, which establishes the claimed -freeness.
Correctness. First assume that in an -free instance of RED-BLUE DOMINATING SET there are red vertices that suffice to cover all blue vertices. Then, setting the variable underlying to true for each satisfies all clauses of , hence the remaining instance (after contracting edges between opposing literals, thereby corresponding to the unsigned incidence graph) has treewidth zero. Conversely, assume that there is an assignment to variables in such that the contracted incidence graph of the remaining instance has treewidth at most . Observe that for every , the clauses form a biclique with the literals of at least one —a red neighbor of , which exists by the preprocessing. This biclique is an induced and hence has treewidth ; since has treewidth at most , at least one vertex of the biclique must be absent from . That vertex is either a literal assigned by , or a clause satisfied by ; in the latter case the satisfying literal is some with set to true. Either way, assigns the variable underlying some with . Thus, the at most red vertices corresponding to the assigned variables dominate all blue vertices in the original instance.
Theorem 5.2. For all and , deciding whether a SAT instance with an -free unsigned incidence graph admits a weak backdoor of size to treewidth is -hard parameterized by .
Proof. We reduce from RED-BLUE DOMINATING SET, which is W[2]-hard parameterized by via its equivalence to SET COVER [8, Theorem 13.28]. Given an instance ((R ⊕ B), E, k), we construct the following formula . For every red vertex , we create variables with , . For every blue vertex , we create clauses . We distribute the variables among the clauses as follows: for all and , we inspect their adjacency. If , then for each , , we add the positive literal to each of the clauses . If , then for each , , we add the negative to each of the clauses . Additionally, we add special clauses such that for each and , the clause contains the positive literals for all .
Bounded semi-ladder height. The unsigned incidence graph of contains no semi-ladder of height at least 4 as follows. Each clause vertex originating from a blue vertex is adjacent to every variable vertex, since every variable occurs either positively or negatively. Each special clause vertex is adjacent to exactly the variable vertices , note that for .
Since restricting a semi-ladder to any four of its positions again yields a semi-ladder, it suffices to rule out semi-ladders of height exactly 4. Suppose, for contradiction, that is such a semi-ladder. Recall that the incidence graph is bipartite between variable and clause vertices. If were a clause vertex, then its neighbors would all be variable vertices, and passing to the mirrored semi-ladder would place a variable vertex in the first position; we may therefore assume that is a variable vertex.
As is a variable vertex adjacent to , , , these three are clause vertices; in turn, , , are adjacent to the clause vertex and hence are variable vertices. Consider now and , whose diagonal partners and are variable vertices with and . As blue clause vertices are adjacent to all variable vertices, both and must be special clause vertices, say with first indices and . Then, by its adjacency, . As the sets are pairwise disjoint, this forces and thus . But is adjacent to and not to , so , a contradiction.
Correctness. First suppose that for a given instance of RED-BLUE DOMINATING SET there are at most red vertices that together cover all blue vertices. Then assigning to true for each will satisfy all clauses in that originated from blue vertices. Furthermore, each special clause is satisfied by . Thus, since all clauses are satisfied, the remaining instance has treewidth zero.
For the converse direction, assume that there is an assignment that assigns variables in such that the incidence graph of has treewidth at most . First, observe that for each , the clause vertices form a biclique with and have no further neighbors. By assumption, has treewidth at most , which implies that for all , either (1) at least variables from need to be assigned by or (2) at least one of the variables in must have been assigned by in such a way that it satisfies one of the clauses . Without loss of generality we can assume (otherwise the original instance of RED-BLUE DOMINATING SET would have been trivial). Then option (1) would require assigning at least variables for a single alone, exceeding the budget; hence option (2) must be the case for all . Moreover, since for all , the clauses contain only positive literals, we can strengthen the previous insight by remarking that for each , one of the variables in must have been assigned positively by , which—recalling the pairwise disjointness of the —already requires us to set variables, thereby exhausting our entire budget; in particular, assigns no variable negatively.
Analogously, note that for each , the clause vertices form a biclique with the set of all variable vertices, i.e. . Hence, for each , at least one of the clauses must be satisfied by . Since assigns variables only positively, we can conclude that for any variable that satisfies , we must have that holds in the original instance of RED-BLUE DOMINATING SET. Therefore, the set , which has size at most , dominates all blue vertices.
6 Concluding Remarks
For all fixed integers , and , we give a linear-time algorithm for detecting weak -treewidth backdoors of size at most on SAT instances whose signed incidence graphs exclude semi-ladders of height . Our result strictly generalizes previous algorithms for bounded-clause-width SAT [17] and for -free SAT [28] to a much richer family of dense instances. By complementing our algorithmic contribution with matching lower bounds on (a) signed ladder-free and (b) unsigned semi-ladder-free instances, we demonstrate that signed semi-ladder-freeness is an appropriate structural notion for tackling dense SAT instances.
A natural direction for future work is to situate the tractability of detection of a weak t-treewidth backdoor within the landscape of dense graph classes obtained as transductions of sparse classes, as surveyed in [33] (see e.g. [33, Figure 1]). We highlight two especially relevant dense structural notions here: monadically stable and bounded twin-width graph classes, both of which have seen considerable algorithmic success and mark independent tractability frontiers for FO model checking in the dense regime [9, 6]. Monadically stable graph classes are exactly those that do not transduce the class of all half-graphs (ladders). One of our hardness results shows that just excluding large ladders is not enough for tractability, but excluding the presence of large ladders as transductions—which leads to monadically stable graph classes—may lead to tractability. Similarly, our lower bounds do not rule out efficient weak backdoor detection on instances of bounded twin-width.
On a more technical note, we remark that our current algorithmic write-up expects a bound on the signed semi-ladder height of an instance to be provided as part of the input. Determining a tight upper bound for this height is non-trivial and, to the best of our knowledge, there is no such algorithm achieving this in linear time. Nevertheless, our algorithm can be adjusted such that, given integers and a SAT instance , it correctly outputs one of the following: (a) a satisfying assignment, (b) a semi-ladder of height , or (c) a guarantee that there is no weak backdoor. In particular, it may provide a witnessing semi-ladder for cases where the algorithm fails due to not being an upper bound on the semi-ladder height.
Acknowledgments. This research was funded in whole or in part by the Austrian Science Fund (FWF), projects 10.55776/COE12 and 10.55776/Y1329 and by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), project 563448077. Roohani Sharma acknowledges the support of the Young Scientist Fellowship of the Institute for Basic Science (IBS-R029-Y8).
Declaration on the use of AI tools. The authors used Claude Opus 4.7 and 4.8 as well as Claude Fable 5 (Anthropic) and Codex with GPT-5.5 (OpenAI) in the following ways. (i) To assist in the proofreading and polishing of our proofs and prose. (ii) To assist in producing figures and visualizations in tikz. The authors assume responsibility for all content.
References
[1] Stefan Arnborg, Jens Lagergren, and Detlef Seese. Easy problems for tree-decomposable graphs. J. Algorithms, 12(2):308–340, 1991. doi: 10.1016/0196-6774(91)90006-K.
[2] Armin Biere, Marijn Heule, Hans van Maaren, and Toby Walsh, editors. Handbook of Satisfiability - Second Edition, volume 336 of Frontiers in Artificial Intelligence and Applications. IOS Press, 2021. ISBN 978-1-64368-160-3. doi: 10.3233/FAIA336.
[3] Hans L. Bodlaender. A linear-time algorithm for finding tree-decompositions of small treewidth. SIAM J. Comput., 25(6):1305–1317, 1996. doi: 10.1137/S0097539793251219.
[4] Hans L. Bodlaender, Fedor V. Fomin, Daniel Lokshtanov, Eelko Penninkx, Saket Saurabh, and Dimitrios M. Thilikos. (Meta) Kernelization. CoRR, abs/0904.0727, 2009. URL http://arxiv.org/abs/0904.0727.
[5] Hans L. Bodlaender, Fedor V. Fomin, Daniel Lokshtanov, Eelko Penninkx, Saket Saurabh, and Dimitrios M. Thilikos. (meta) kernelization. J. ACM, 63(5):44:1–44:69, 2016. doi: 10.1145/2973749.
[6] Édouard Bonnet, Eun Jung Kim, Stéphan Thomassé, and Rémi Watrigant. Twin-width I: tractable FO model checking. J. ACM, 69(1):3:1–3:46, 2022. doi: 10.1145/3486655.
[7] Bruno Courcelle. The monadic second-order logic of graphs. i. recognizable sets of finite graphs. Inf. Comput., 85(1):12–75, 1990. doi: 10.1016/0890-5401(90)90043-H.
[8] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. ISBN 978-3-319-21274-6. doi: 10.1007/978-3-319-21275-3.
[9] Jan Dreier, Ioannis Eleftheriadis, Nikolas Mählmann, Rose McCarty, Michal Pilipczuk, and Szymon Torunczyk. First-order model checking on monadically stable graph classes. In 65th
IEEE Annual Symposium on Foundations of Computer Science, FOCS 2024, pages 21–30. IEEE, 2024. doi: 10.1109/FOCS61266.2024.00012.
[10] Jan Dreier, Nikolas Mählmann, and Sebastian Siebertz. The parameterized complexity of independent set and more when excluding a half-graph, co-matching, or matching. CoRR, abs/2602.07606, 2026. doi: 10.48550/ARXIV.2602.07606.
[11] Leif Eriksson, Victor Lagerkvist, Sebastian Ordyniak, George Osipov, Fahad Panolan, and Mateusz Rychlicki. Backdoors for quantified boolean formulas. CoRR, abs/2604.15927, 2026. doi: 10.48550/ARXIV.2604.15927.
[12] Grzegorz Fabianski, Michal Pilipczuk, Sebastian Siebertz, and Szymon Torunczyk. Progressive algorithms for domination and independence. In Rolf Niedermeier and Christophe Paul, editors, 36th International Symposium on Theoretical Aspects of Computer Science, STACS 2019, volume 126 of LIPICS, pages 27:1–27:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019. doi: 10.4230/LIPICS.STACS.2019.27.
[13] Solomon Feferman and Robert L. Vaught. The first order properties of products of algebraic systems. Fundamenta mathematicae, 47:57–103, 1959. doi: 10.2307/2271704.
[14] Eldar Fischer, Johann A. Makowsky, and Elena V. Ravve. Counting truth assignments of formulas of bounded tree-width or clique-width. Discret. Appl. Math., 156(4):511–529, 2008. doi: 10.1016/J.DAM.2006.06.020.
[15] Fedor V. Fomin, Daniel Lokshtanov, Neeldhara Misra, and Saket Saurabh. Planar f-deletion: Approximation, kernelization and optimal FPT algorithms. In FOCS, pages 470–479. IEEE Computer Society, 2012.
[16] Fedor V. Fomin, Daniel Lokshtanov, Neeldhara Misra, M. S. Ramanujan, and Saket Saurabh. Solving d-sat via backdoors to small treewidth. In Piotr Indyk, editor, Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, pages 630–641. SIAM, 2015. doi: 10.1137/1.9781611973730.43.
[17] Fedor V. Fomin, Daniel Lokshtanov, Neeldhara Misra, M. S. Ramanujan, and Saket Saurabh. Solving d-sat via backdoors to small treewidth. 2015. URL https://sites.cs.ucsb.edu/~daniello/papers/BackdoorsTreewidth.pdf.
[18] Robert Ganian, Petr Hlinený, and Jan Obdrzálek. Better algorithms for satisfiability problems for formulas of bounded rank-width. Fundam. Informaticae, 123(1):59–76, 2013.
[19] Serge Gaspers and Stefan Szeider. Backdoors to satisfaction. In Hans L. Bodlaender, Rod Downey, Fedor V. Fomin, and Dániel Marx, editors, The Multivariate Algorithmic Revolution and Beyond - Essays Dedicated to Michael R. Fellows on the Occasion of His 60th Birthday, volume 7370 of Lecture Notes in Computer Science, pages 287–317. Springer, 2012. doi: 10.1007/978-3-642-30891-8_15.
[20] Serge Gaspers and Stefan Szeider. Backdoors to acyclic SAT. In Artur Czumaj, Kurt Mehlhorn, Andrew M. Pitts, and Roger Wattenhofer, editors, Automata, Languages, and Programming - 39th International Colloquium, ICALP 2012, volume 7391 of Lecture Notes in Computer Science, pages 363–374. Springer, 2012. doi: 10.1007/978-3-642-31594-7_31.
[21] Serge Gaspers and Stefan Szeider. Strong backdoors to nested satisfiability. In Alessandro Cimatti and Roberto Sebastiani, editors, Theory and Applications of Satisfiability Testing - SAT 2012, volume 7317 of Lecture Notes in Computer Science, pages 72–85. Springer, 2012. doi: 10.1007/978-3-642-31612-8_7.
[22] Serge Gaspers and Stefan Szeider. Strong backdoors to bounded treewidth SAT. In 54th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2013, pages 489–498. IEEE Computer Society, 2013. doi: 10.1109/FOCS.2013.59.
[23] Serge Gaspers and Stefan Szeider. Backdoors to satisfaction continued. Comput. Sci. Rev., 60:100868, 2026. doi: 10.1016/J.COSREV.2025.100868.
[24] Serge Gaspers, Sebastian Ordyniak, M. S. Ramanujan, Saket Saurabh, and Stefan Szeider. Backdoors to q-horn. Algorithmica, 74(1):540–557, 2016. doi: 10.1007/S00453-014-9958-5.
[25] Serge Gaspers, Neeldhara Misra, Sebastian Ordyniak, Stefan Szeider, and Stanislav Zivný. Backdoors into heterogeneous classes of SAT and CSP. J. Comput. Syst. Sci., 85:38–56, 2017. doi: 10.1016/J.JCSS.2016.09.002.
[26] Sylvain Guillemot. Parameterized covering in semi-ladder-free hypergraphs. ACM Trans. Comput. Theory, 17(2):9:1–9:15, 2025. doi: 10.1145/3708510.
[27] Bingkai Lin. The parameterized complexity of the k-biclique problem. J. ACM, 65(5):34:1–34:23, 2018. doi: 10.1145/3212622.
[28] Daniel Lokshtanov, Fahad Panolan, and M. S. Ramanujan. Backdoor sets on nowhere dense SAT. In Mikolaj Bojanczyk, Emanuela Merelli, and David P. Woodruff, editors, 49th International Colloquium on Automata, Languages, and Programming, ICALP 2022, volume 229 of LIPIcs, pages 91:1–91:20. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPICS.ICALP.2022.91.
[29] Johann A. Makowsky. Algorithmic uses of the feferman-vaught theorem. Ann. Pure Appl. Log., 126(1-3):159–213, 2004. doi: 10.1016/J.APAL.2003.11.002.
[30] Nikolas Mählmann and Sebastian Siebertz. Existential positive transductions of sparse graphs. In LICS 2026: 41st Annual ACM/IEEE Symposium on Logic in Computer Science, 2026. to appear.
[31] Naomi Nishimura, Prabhakar Ragde, and Stefan Szeider. Detecting backdoor sets with respect to horn and binary clauses. In SAT 2004 - The Seventh International Conference on Theory and Applications of Satisfiability Testing, 2004. URL http://www.satisfiability.org/SAT04/programme/51.pdf.
[32] Daniël Paulusma, Friedrich Slivovsky, and Stefan Szeider. Model counting for CNF formulas of bounded modular treewidth. Algorithmica, 76(1):168–194, 2016. doi: 10.1007/S00453-015-0030-X.
[33] Michal Pilipczuk. Graph classes through the lens of logic. CoRR, abs/2501.04166, 2025. doi:10.48550/ARXIV.2501.04166.
[34] Marko Samer and Stefan Szeider. Algorithms for propositional model counting. J. Discret. Algorithms, 8(1):50–64, 2010. doi: 10.1016/J.JDA.2009.06.002.
[35] Norbert Sauer. On the density of families of sets. J. Comb. Theory A, 13(1):145–147, 1972. doi: 10.1016/0097-3165(72)90019-2.
[36] Saharon Shelah. A combinatorial problem; stability and order for models and theories in infinitary languages. Pacific Journal of Mathematics, 41(1):247–260, April 1972. ISSN 0030-8730. doi: 10.2140/pjm.1972.41.247.
[37] Friedrich Slivovsky and Stefan Szeider. Model counting for formulas of bounded clique-width. In Leizhen Cai, Siu-Wing Cheng, and Tak Wah Lam, editors, Algorithms and Computation - 24th International Symposium, ISAAC 2013, volume 8283 of Lecture Notes in Computer Science, pages 677–687. Springer, 2013. doi: 10.1007/978-3-642-45030-3_63.
[38] V. N. Vapnik and A. Ya. Chervonenkis. On the uniform convergence of relative frequencies of events to their probabilities. Theory of Probability & Its Applications, 16(2):264–280, 1971. doi: 10.1137/1116025.
[39] Romain Wallon and Stefan Mengel. Revisiting graph width measures for cnf-encodings. J. Artif. Intell. Res., 67:409–436, 2020. doi: 10.1613/JAIR.1.11750.
[40] Ryan Williams, Carla P. Gomes, and Bart Selman. Backdoors to typical case complexity. In Georg Gottlob and Toby Walsh, editors, IJCAI-03, Proceedings of the Eighteenth International Joint Conference on Artificial Intelligence, 2003, pages 1173–1178. Morgan Kaufmann, 2003. URL http://ijcai.org/Proceedings/03/Papers/168.pdf.
A W[1]-hardness of MINIMUM WEIGHT SAT on -free instances
MULTICOLORED CLIQUE
Input: A graph G, a natural number k and a partition of into k independent sets called the color classes.
Parameter: k
Question: Does there exist , for each , such that is a clique?
MINIMUM WEIGHT SAT
Input: A CNF-SAT formula and a natural number k
Parameter: k
Question: Does there exist a satisfying assignment of that assigns at most k variables the value 1?
Lemma A.1. MINIMUM WEIGHT SAT is W[1]-hard on -free instances.
Proof. We give a parameter-preserving reduction from MULTICOLORED CLIQUE. Towards this, let be an instance of MULTICOLORED CLIQUE, where are the color classes.
We create a SAT formula, whose variable set is the same as the set of vertices of , that is . The clause set is defined as follows: for each , create a clause containing a positive literal corresponding to each vertex in . Such clauses are called color-class-clauses. Further for each and , such that , create a clause containing a negative literal of and a negative literal of . Such clauses are called non-adjacency-clauses. Then is an instance of MINIMUM WEIGHT SAT, where is the formula as created above.
For the correctness, if is a clique in , where , then consider an assignment of where all variables corresponding to the vertices of are assigned 1 and all other vertices are assigned 0. This assignment satisfies all color-class-clauses because there is one vertex from each color class whose variable is assigned 1. Secondly, for each non-adjacent pair of vertices of , both the end-points are not chosen to be in the clique , such the variables corresponding to these end-points are not both set to 1, thus the non-adjacency-clauses are satisfied.
The other direction works similarly. Consider a satisfying assignment for the formula which has at most ones. We claim that the vertices of corresponding to the variables of that assigns to 1, induce a clique of size in , each of whose vertex belongs to a different color class. Indeed, since satisfies the color-class-clauses, it sets exactly one variable from each color class vertex 1. Let be vertices corresponding to two variables that are set to 1 by . Then because otherwise it would contradict a non-adjacency-clauses.