Manuscript Offprint
arXiv:2610.16869Tractability of Hard Digraph Cut Problems on Eulerian Instances: Treewidth Reduction and Reducing CMSO to Unbreakable Eulerian Instances
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Eulerian digraphs retain the directional structure of general digraphs while exhibiting a symmetry of cuts reminiscent of undirected graphs. We show that this symmetry extends beyond individual cuts to two fundamental techniques in parameterized algorithms for undirected cut problems: treewidth reduction and recursive understanding and randomized contractions.
Both the mentioned techniques have proved very useful for dealing with undirected graph cut problems as each of them reduces the problem at hand on general undirected instances to ones that have bounded treewidth or that are highly connected in a way, respectively.
In this work we prove an edge-cut analogue of the treewidth-reduction theorem of Marx, O'Sullivan, and Razgon [ACM TALG 2013], and an Eulerian analogue of the reduction of model checking to unbreakable instances due to Lokshtanov, Ramanujan, Saurabh, and Zehavi [ICALP 2018]. Both these results now allow us to reduce several problems on general Eulerian digraphs to Eulerian digraphs whose underlying undirected graph has bounded treewidth, or to Eulerian instances that are “highly connected” in the directed (and undirected) sense. Together, our results bring to Eulerian digraphs two fundamental techniques from the undirected parameterized cut toolkit for which no counterparts are known on arbitrary digraphs.
Beyond their structural significance, these results have substantial algorithmic consequences: they yield fixed-parameter algorithms for several directed cut problems that are W[1]-hard on general digraphs. For example, we show that DIRECTED MULTICUT and DIRECTED EDGE ODD CYCLE TRANSVERSAL are fixed-parameter tractable on Eulerian digraphs when parameterized by the solution size and the number of terminal pairs, and just the solution size respectively. This stands in sharp contrast to general digraphs, where the first problem is W[1]-hard even for four terminal pairs, and the second problem is W[1]-hard in general. We also obtain fixed-parameter algorithms for DIRECTED EDGE MULTIWAY CUT-UNCUT and DIRECTED STEINER CUT.
1 Introduction
Cut problems are central to algorithmic graph theory. Given a graph and a connectivity requirement, the goal is to delete a minimum number of vertices or edges to destroy prescribed paths or cycles. Classical examples include MINIMUM s-t CUT, MULTIWAY CUT, MULTICUT, FEEDBACK VERTEX SET and ODD CYCLE TRANSVERSAL. Over the past two decades, the study of NP-hard cut problems, in the realm of parameterized complexity, has produced a collection of powerful structural and algorithmic techniques—including important separators [Mar11], treewidth reduction [MOR13], shadow removal [MR11], recursive understanding and randomized contractions [GKMW11, CCH+16], and flow augmentation [KKPW25, KKPW24]—that now form much of the toolkit of parameterized graph cut algorithms. While these techniques have led to a remarkably “complete” understanding of arguably the fundamental NP-hard graph cut problems on undirected graphs, the directed setting remains significantly more challenging. Only some of these techniques extend to directed graphs, and several fundamental problems that are
Supported by the Young Scientist Fellowship of the Institute for Basic Science (IBS-R029-Y8).
fixed-parameter tractable (FPT) on undirected graphs become W[1]-hard on directed graphs. Despite their hardness on general digraphs, the parameterized complexity of these problems remains poorly understood even on natural restricted classes of digraphs, like planar digraphs.
A particularly natural and fundamental class of directed graphs is that of Eulerian digraphs. A digraph is Eulerian if it admits a closed directed trail traversing every arc exactly once. Rooted in the classical study of traversability of networks, this notion arises naturally in routing and network inspection problems, where one seeks to traverse every connection without repetition. Remarkably, this global traversal property admits a simple local characterization: a digraph whose underlying undirected graph is connected is Eulerian if and only if every vertex has equal indegree and outdegree. This balance condition captures the principle of flow conservation underlying the theory of network flows and circulations. Despite this seemingly simple restriction, Eulerian digraphs can exhibit arbitrarily complex underlying graph structure while retaining the asymmetry characteristic of directed graphs. They thus provide a rich setting in which to investigate how a local balance condition can influence the global structure and computational complexity of directed graphs.
Eulerian digraphs have been the subject of repeated studies from a structural perspective [Dea86, vAEdB87, Joh02, HMS 13, CKK26]. However, from an algorithmic perspective the balance property seems to make it so that Eulerian digraphs form a natural intermediate class between undirected and directed graphs. Eulerian digraphs have repeatedly emerged as the right setting in which algorithmic results non-trivially interpolate between the undirected and directed settings, see for example [Fra88, GJSW14, CKK24] or [Wah18] for a survey. This raises a more fundamental question:
Can the structure that is provided by Eulerian digraphs restore the algorithmic machinery that is missing for directed cut problems?
We answer this question affirmatively by showing that two fundamental techniques from the undirected parameterized cut toolkit can be recovered in the Eulerian setting. The first, treewidth reduction of Marx, O'Sullivan and Razgon [MOR13], says that the vertices of all minimal s-t separators of size at most k in an undirected graph can be captured in a graph of bounded treewidth, where the bound depends only on k. Second, the meta-theorem of Lokshtanov, Ramanujan, Saurabh and Zehavi [LRSZ18] that captures recursive understanding, reduces the study of arbitrary instances of definable problems, to ones that are “highly connected”, or unbreakable. In this paper, we establish both these (meta) theorems for Eulerian digraphs. We show an edge-cut analogue of treewidth reduction that can be exploited on Eulerian digraphs, and an Eulerian analogue of the reduction of model checking to unbreakable instances. We explain both techniques and state our structural results below. Our contribution of this work goes beyond establishing tractability for individual problems: these structural results provide general algorithmic tools that yield FPT algorithms on Eulerian digraphs for several directed cut problems that are W[1]-hard on general digraphs.
Treewidth reduction. One of the earliest structural successes of parameterized complexity for cut problems was the study of the space of all small minimal s-t-separators. The understanding of this structure is important, as in many NP-hard generalizations of MINIMUM s-t CUT, for example MULTIWAY CUT, the solution is a non-trivial union of some overlapping minimal s-t cuts. In a seminal work, Marx, O'Sullivan and Razgon [MOR13] showed that all vertices participating in a minimal s-t separator of size at most k in an undirected graph can be captured in a graph of treewidth . Specifically, both the graph induced by these vertices and the graph obtained by bypassing all other vertices have treewidth bounded by a function of k alone. This result enables cut problems whose optimal solutions are a (non-trivial) combination of minimal s-t separators, for possibly different choices of s and t, to be reduced to bounded-treewidth instances, which are then solvable using meta-theorems such as Courcelle's theorem [Cou92] for a large class of problems.
No directed counterpart of this treewidth reduction for digraphs is known. Directed minimal s-t separators lack the structure of undirected separators, especially since undirected treewidth only cares about small separations in the underlying undirected graph. And trying to bound the directed treewidth for the digraph cases, usually is not as useful as bounding undirected treewidth as far as algorithmic applications are concerned. In fact, Marx, O'Sullivan and Razgon [MOR13] explicitly ask if there is some way of extending these results (at least partially) to directed graphs? This question has remained open ever since. Our first result concerns precisely this; we prove an edge-cut version of treewidth reduction and show its utility for cut problems on Eulerian digraphs. We refer to Section 2.3 for missing definitions.
Theorem 1. Let be a graph, and an integer. Let be the set of all edges of that are part of a minimal cut of size at most for some . There is a time algorithm that computes a set such that contains and all endpoints of edges in , and for some functions and that both are .
Reduction to unbreakable instances. Call a graph -unbreakable if one cannot separate two sets of vertices from each other by deleting at most vertices. Every small separation of an unbreakable graph is lopsided, shaving off only a bounded piece, so a solution of size at most cannot cut the graph in two, and its effect is confined to a bounded region that can be located by brute force or by colour coding (randomly coloring small parts that suggest some part of the solution). This suggests a win/win strategy, and it is the principle of recursive understanding, which emerged in the work of Grohe, Kawarabayashi, Marx and Wollan [GKMW11] and of Kawarabayashi and Thorup [KT11]. Chitnis, Cygan, Hajiaghayi, Pilipczuk and Pilipczuk [CCH 16] complemented this with a colour-coding infrastructure, randomized contractions, that performs the understanding step for a range of cut problems, and thereby obtained fixed-parameter algorithms for UNIQUE LABEL COVER, STEINER CUT and NODE MULTIWAY CUT-UNCUT. Lokshtanov, Ramanujan, Saurabh and Zehavi [LRSZ18] observed that a large part of this approach could be automated for all problems in CMSO .
Theorem 2 ([LRSZ18]). Let be a CMSO sentence. For every there exists such that, if can be tested on -unbreakable graphs in time for some , then can be tested on general graphs in time .
Theorem 2 essentially says that if designing FPT algorithms for definable problems, it is enough to design such algorithms restricted to instances that are unbreakable.
Unfortunately, an analogue of Theorem 2 does not hold for directed graphs. Unbreakability is a statement about undirected separations, and it is useful only because a small solution of an undirected cut problem is a small separation, so that unbreakability constrains it. In digraphs a set of arcs may separate s from t (and not t from s at the same time) while the corresponding cut of the underlying undirected graph has edges, the n arcs in the reverse direction being irrelevant for a solution cut. Since the arc sets one wishes to delete are not small cuts of the underlying undirected graph, the win/win step loses its base case before the recursion is ever reached.
For our second main result we prove a directed Eulerian analogue of the result by Lokshtanov, Ramanujan, Saurabh and Zehavi [LRSZ18]. We refer to Section 3 for missing definitions.
Theorem 3. Let , let be a sentence and let . There exists a such that if parameterized by is FPT on -edge-unbreakable Eulerian structures, then parameterized by is (nonuniformly) FPT on general Eulerian structures.
Interestingly, even though (induced) subgraphs of an Eulerian digraph, may not be Eulerian, our meta-theorem for Eulerian digraphs reduce the Eulerian instances to Eulerian unbreakable instances. This allows one to exploit both Eulerianness and unbreakability simultaneously of the reduced instance. Also observe that this has a considerably broader scope than any individual application: once an algorithm is available for arc-unbreakable Eulerian digraphs, it automatically lifts to general Eulerian digraphs.
Why Eulerianness restores both techniques. The common obstruction behind treewidth reduction and reduction to unbreakability is that both rely on small undirected separations. In a general digraph, a directed cut need not correspond to a small cut in the underlying graph, so neither framework has any leverage. Eulerianness restores precisely this connection. Every directed cut of size is accompanied by an undirected cut of size exactly , allowing the undirected structure theory to become relevant once again. This observation underlies both of our structural results. To the best of our knowledge, treewidth reduction and recursive understanding (or, equivalently, reduction to unbreakable instances) are the only two major techniques in the parameterized cut toolbox that had resisted extension to directed graphs. Our main contribution is to show that both admit natural Eulerian analogues.
The above connection also explains why our results focus on arc-deletion problems. The balance condition relates the numbers of arcs crossing a partition, but provides no analogous guarantee for vertex separators. Moreover, the standard transformations between arc- and vertex-deletion variants do not, in general, preserve Eulerianness, and vertex-deletion variants can remain as hard on Eulerian digraphs as on general digraphs as explained in [Wah18].
DIRECTED MULTICUT (DMC)
Parameter:
Input: A directed graph , a set of terminal pairs, and a positive integer
Question: Does there exist of size at most , such that there is no path in for any ?
On general digraphs the problem is W[1]-hard already for four terminal pairs [PW18], whereas on DAGs it becomes fixed-parameter tractable when the number of terminal pairs is included in the parameter (and remains hard with just the solution size as the parameter) [KPPW15]. We show that the same parameterization, as DAGs, leads to an FPT algorithm on Eulerian digraphs.
Theorem 4. DIRECTED MULTICUT on Eulerian digraphs can be solved in time, where is a computable function of and .
Our treewidth-reduction theorem also yields a fixed-parameter algorithm for DIRECTED EDGE ODD CYCLE TRANSVERSAL, which is W[1]-hard in general [LRSZ20].
DIRECTED EDGE ODD CYCLE TRANSVERSAL (DEOCT)
Parameter:
Input: A directed graph and a positive integer
Question: Does there exist of size at most , such that there is no cycle of odd length in ?
Theorem 5. DIRECTED EDGE ODD CYCLE TRANSVERSAL can be solved in time on Eulerian digraphs.
Finally, our reduction to arc-unbreakable instances yields nonuniform fixed-parameter algorithms for DIRECTED EDGE MULTIWAY CUT-UNCUT and DIRECTED STEINER CUT. To contrast this, we prove that both problems are W[1]-hard on general digraphs. Both problems are known to be FPT on undirected graphs [CCH16].
DIRECTED EDGE MULTIWAY CUT-UNCUT (DEMCU)
Parameter:
Input: A directed graph , a set of terminals, an equivalence relation on and a positive integer
Question: Does there exist of size at most such that for all , the terminals and are in the same strongly connected component of if and only if ?
Theorem 6. DIRECTED EDGE MULTIWAY CUT-UNCUT on Eulerian digraphs is (nonuniformly) FPT parameterized by .
DIRECTED STEINER CUT (DSC)
Parameter:
Input: A directed graph , a set of terminal pairs, and positive integers and
Question: Does there exist of size at most , such that at least strongly connected components of contain at least one terminal vertex?
Theorem 7. DIRECTED STEINER CUT on Eulerian digraphs is (nonuniformly) FPT parameterized by .
Theorem 8. DIRECTED EDGE MULTIWAY CUT-UNCUT parameterized by and DIRECTED STEINER CUT parameterized by are W[1]-hard on general digraphs.
The applications presented above are unlikely to exhaust the reach of the framework. In particular, we expect the reduction to arc-unbreakable instances to provide a useful starting point for other cut problems on Eulerian digraphs. Two important remaining challenges with Eulerian digraphs are to determine the parameterized complexity of DIRECTED MULTICUT and SYMMETRIC DIRECTED MULTICUT (see [ERW22]) when parameterized only by the solution size.
2 Treewidth reduction for Eulerian Digraphs
The properties of Eulerian digraphs allow us to relate minimal directed arc-cuts to minimal undirected edge-cuts, not vertex-separators. Thus, to be able to apply the treewidth reduction technique to cut problems in Eulerian digraphs, we need to modify the original theorem to preserve undirected minimal terminal cuts of size at most k, as seen in Theorem 1.
Theorem 1. Let be a graph, and an integer. Let be the set of all edges of that are part of a minimal cut of size at most for some . There is a time algorithm that computes a set such that contains and all endpoints of edges in , and for some functions and that both are .
More specifically, our treewidth-reduction proof follows the framework of Marx, O'Sullivan and Razgon [MOR13], adapted to edge cuts. The proof works by finding, for each pair of terminals in T, a vertex set containing the endpoints of all minimal cuts of size at most k, yet of which the torso has bounded treewidth. These sets can be combined to form W, which by properties of the torso operation also has bounded treewidth. The set is found by induction on the excess of the cuts that we are looking for. The excess of a cut is equal to the amount it is larger than a minimum cut. Intuitively, for excess 0 (i.e. minimum cuts) one can use flow techniques to find a vertex set to cover the cuts. For excess i, one can observe that these cuts must contain edges inside regions sitting between minimum cuts, and we can construct auxiliary graphs where such edges now appear in cuts of excess i-1, hence allowing the inductive argument to take effect. The formal proof can be found in Section 2.3.
We continue to demonstrate how this tool can be used to prove powerful algorithmic results for cut problems on Eulerian digraphs. As a warming-up, we show that a simple application leads to an FPT algorithm for DIRECTED MULTICUT parameterized by k and the number of terminals. Next, we show that a more technically involved application leads to an FPT algorithm for DIRECTED EDGE ODD CYCLE TRANSVERSAL parameterized by only k. Both of these results are in stark contrast to the complexity landscape for general directed graphs, where both problems are W[1]-hard for the same parameterizations [PW18, LRSZ20, LLM 20].
2.1 Directed Multicut
Before we begin, we need to introduce one more definition. The treewidth reduction technique relies on a torso operation to shrink the graph to a specified region containing all minimal terminal cuts of a certain size, while simultaneously ensuring that connectivity outside of this region is preserved. To replicate this for out setting, we introduce the notion of a directed torso.
Definition 2.1. Let be a directed graph, a natural number and , then the (directed) -torso of in , denoted by torso is the graph where for each we additionally add arcs if has an to path internally disjoint from .
In our applications we want to argue that a solution for a cut problem in the directed torso can be transferred back to a solution of the original digraph. Adding copies of all arcs introduced by the torso operation ensures that a minimal solution of size at most only contains arcs in the induced digraph , which simplifies the required argument. We are now ready to prove the first main algorithmic result.
Theorem 4. DIRECTED MULTICUT on Eulerian digraphs can be solved in time, where is a computable function of and .
Proof. Let be an optimal solution to the DIRECTED MULTICUT instance . Let be set of all terminals in . For every terminal pair , the solution must contain a minimal cut of . As is optimal, every arc is part of a minimal cut for some terminal pair . Furthermore, there is such a minimal terminal-pair cut that contains and is a subset of . Additionally, since is an Eulerian digraph, each minimal cut of size corresponds to a minimal cut of size in the underlying undirected graph of . We apply Theorem 1 to with cut size and terminal set to obtain a set as described in the theorem. We prove that is suffices to solve the DIRECTED MULTICUT problem on the directed -torso of in .
Claim 2.1. is a YES-instance for DIRECTED MULTICUT if and only if is a YES-instance.
Proof of Claim. Let be a minimum arc set of size at most in such that has no path for any . By the argument preceding the claim, all arcs of are part of some minimal terminal-pair cut of size at most in the undirected graph . Hence all arcs of are in , and thus present in torso. We argue that also cuts all terminal pairs in the torso graph.
For sake of a contradiction, assume that there is an path in torso for some . This implies there is also an path in , as any arc on that is not in can be replaced by a directed path from the tail of to its head, internally disjoint from , the existence of which is guaranteed by the presence of in torso. This path is not hit by as contains only arc with both endpoints in . This contradicts the fact that hits all paths in .
Conversely, let be a minimum directed multicut of size at most in torso. As we use a -torso, we know that a minimum cannot contain any arcs not in . We claim that also hits all terminal-pair paths in . For a contradiction, assume there is a path from to in for a . If has a subpath internally vertex-disjoint from , then we can replace this part of the path by one of the arcs of torso that this subpath gives rise to. This arc cannot be in , and hence we find a path from to in torso, a contradiction.
Thus we can focus our attention to the instance (torso(D, W, k), T, k). Observe that torso(D, W, k) need not be an Eulerian digraph. By Theorem 1 we know that, for the underlying undirected graph G of D, the graph torso(G, W) has treewidth at most . When we disregard parallel edges (which do not affect the treewidth regardless), the undirected graph underlying torso(D, W, k) is a subgraph of torso(G, W) and thus must also have the same upperbound on the treewidth. As DIRECTED MULTICUT can be described with a CMSO formula of size dependent only on , we can use Courcelle's theorem to solve the instance (torso(D, W, k), T, k) in time for some function .
2.2 Directed Edge Odd Cycle Transversal
We now turn to a less direct application of treewidth reduction. Unlike the earlier application, it is not immediately clear how to exploit treewidth reduction for DIRECTED EDGE ODD CYCLE TRANSVERSAL. The difficulty is that the requirement of destroying all odd directed cycles does not directly translate into finding a collection of small minimal s-t cuts, whereas the classical FPT algorithm for undirected ODD CYCLE TRANSVERSAL exploits iterative compression to reduce the problem to finding minimum s-t separators [RSV04].
A natural approach is therefore to express the requirement of destroying all odd directed cycles as a collection of directed reachability constraints, as in DIRECTED MULTICUT. To this end, we first use the FPT 2-approximation algorithm of Lokshtanov, Ramanujan, Saurabh, and Zehavi [LRSZ20] to find a set M of at most 2k vertices intersecting every odd directed cycle, or conclude that no solution of size at most k exists. We then construct an auxiliary bipartite digraph by taking two copies of each vertex and replacing every arc by two arcs connecting opposite copies. The resulting digraph remains Eulerian, and odd directed cycles can be detected through reachability between the two copies of vertices in M. This suggests a DIRECTED MULTICUT formulation with at most 4k terminal pairs, in which the two copies of each vertex in M must be separated in both directions.
However, this formulation does not yield a reduction to ordinary DIRECTED MULTICUT. Each arc of the original digraph corresponds to a pair of arcs in the auxiliary digraph, and deleting an original arc requires deleting both members of the pair. An arbitrary multicut need not respect this pairing, and hence need not correspond to a solution of the original problem. We are thus led to a constrained variant of DIRECTED MULTICUT in which the two arcs of each pair must either both be deleted or both be retained.
The key observation is that this additional constraint does not prevent us from exploiting the structure of small minimal cuts. Let denote the involution exchanging the two copies of each vertex, and hence the two arcs corresponding to each original arc. We show that every inclusion-minimal multicut respecting the pairing constraint can be expressed as , where is an inclusion-minimal ordinary multicut. Consequently, every arc of belongs to a minimal cut of size at most between some prescribed terminal pair. Since the auxiliary digraph is Eulerian, these directed cuts correspond to undirected cuts of size at most . This allows us to apply our treewidth-reduction theorem (Theorem 1) to obtain an equivalent instance of bounded treewidth while preserving the pairing constraint.
Although treewidth reduction yields an equivalent instance of bounded treewidth, enforcing the pairing constraint introduces an additional difficulty. In an arbitrary tree decomposition, the two arcs of a pair may be handled in different parts of the decomposition, requiring the dynamic programming algorithm to maintain consistency between their deletion decisions.
We overcome this difficulty by proving that the reduced graph admits a bounded-width tree decomposition in which every bag is closed under the involution . To establish this, we consider the graph obtained by identifying each vertex with its counterpart under . We show that this graph must have bounded treewidth otherwise, the excluded-grid theorem [CT21], together with a grid-minor lifting argument that exploits the involution, would imply the existence of an arbitrarily large grid minor in the original reduced graph, contradicting its bounded treewidth. A tree decomposition of the identified graph can then be lifted to one of the original graph by replacing each vertex with its two counterparts. The resulting decomposition allows us to enforce the pairing constraint locally, and dynamic programming over it yields the desired FPT algorithm.
From this point onwards, we will say that the treewidth of a directed graph , written as , is equal to treewidth of the undirected underlying graph of . One should not confuse this with the directed treewidth of , which is a different concept not relevant for this work.
Theorem 5. DIRECTED EDGE ODD CYCLE TRANSVERSAL can be solved in time on Eulerian digraphs.
Let be the input instance of DEOCT. As a first step, we can use the FPT 2-approximation algorithm by Lokshtanov, Ramanujan, Saurabh and Zehavi [LRSZ20]. This will in time either report that has no vertex set (and thus no arc set) of size at most that hits all odd cycles, or it find a vertex set of size at most such that is odd-cycle-free. In the former case we immediately return that this is a NO-instance.
Next, we reduce the DEOCT instance to a DIRECTED MULTICUT instance defined as follows. The graph has as vertex set and has arcs and for each arc of . Finally, and hence . We define an involution on with for all and . We say that a set is symmetric when is equal to . The reduction relates the two instances through the following equivalence.
Lemma 1. D has a directed edge odd cycle transversal of size at most k if and only if with terminal pairs T has a symmetric directed multicut of size at most 2k.
Proof. Let be such that and is odd-cycle-free. We claim that is a solution for the DMC instance. It is clearly symmetric and of size , so it remains to show that there are no to paths in for any terminal pair . For sake of a contradiction, let be such a path. There is a natural way to find a path corresponding to it in . Simply replace each vertex on by for and replace each arc by . Then the first and last vertex of are the same, and hence is a cycle. Furthermore, this translation of the path preserves its length, and as is bipartite and the two endpoints of are in distinct sides of the bipartition, the path must have been of odd length. Hence is an odd cycle in . Finally, observe that avoids by our choice of , which contradicts that is odd-cycle-free.
For the other direction, let be a symmetric set of size at most 2k such that has no path between terminal pairs. Let . Clearly , hence it remains to show that has no odd cycles. For sake of a contradiction, let be an odd cycle in . Then as is a vertex set hitting all odd cycles, there must be at least one that hits . We can convert into a to path in as follows. Let be the vertices visited by in this order, and note that is odd. The path starts at and follows arc . From here it can follow arc and repeat this procedure to translate the entirety of . Since is odd, has as last vertex and is thus a path between terminal pairs. By choice of , this path will be disjoint from , which contradicts it being a solution.
To solve the original DEOCT instance it thus suffices to decide if the DMC instance has a symmetric solution. Our next step will be to reduce the treewidth of the instance. We first argue that the treewidth reduction technique is applicable.
Let be a minimal symmetric multicut of size at most 2k (if one exists). Let be a minimal, not necessarily symmetric, multicut contained in . Then as by minimality of any needs to pick at least one arc from each symmetric pair of arcs in . By minimality of , every arc in it must be part of some minimal terminal-pair cut. By symmetry of the instance, these two properties must also hold for . Hence all arcs in , and as a consequence in must be part of a minimal -cut of size at most for some . It is not difficult to confirm that is still an Eulerian digraph, hence all arcs of are contained in some minimal undirected cut of size at most .
Lemma 2. There is a symmetric set such that has treewidth at most and such that has a symmetric solution if and only if has a symmetric solution for a suitable involution .
Proof. Let be the vertices in for some . We find a set for each by running Lemma 12 for each pair of terminals . We set and claim that using the treewidth reduction tools we find that is appropriately bounded. In particular, by Lemma 12 we obtain where is the underlying undirected graph of . By symmetry of the graph the same holds for and thus by Lemma 10 we know that , and since the underlying undirected graph without parallel edges of is a subgraph of , we conclude it has a similar upper bound on its treewidth. By construction of we obviously have . This allows us to define a natural symmetry function for based on .
It remains to show that the two instances are equivalent. Let be a minimal symmetric solution on of size at most . Then by the argument preceding this lemma we know that all endpoints of arcs in must be in . We claim that is also a solution on , which by construction of remains a symmetric solution. For sake of a contradiction, let be a to path in for a terminal pair . By construction of , if uses any arc introduced by the torso operation then it can be replaced in by the path internally disjoint from that gave rise to this arc. Replacing each such arc results in a to path in , which contradicts being a solution.
Now let be a minimal symmetric solution for . By construction of , will not contain any arcs introduced by the torso operation, i.e. all arcs of are arcs in . As the symmetry of these arcs are maintained for , it remains to argue there is no terminal pair path in . This follows directly from the fact that any subpath outside of that such a path could use can be replaced by an arc between its endpoints in , which exists by definition of the torso, yet is certainly not in .
At this point we know that has bounded treewidth, but we want to specifically show that has a tree decomposition of bounded width that respects the symmetry of the graph. Let be a function such that every undirected graph of treewidth at least contains a -grid (henceforth referred to as a grid of size ) as a minor. By Churzhoy and Tan [CT21] we know that . We prove the following lemma.
Lemma 3. has a tree decomposition of width at most for such that for every bag of the decomposition and every vertex , if and only if .
Proof. Let be the graph obtained from and by identifying each vertex pair to a single vertex . Observe that a tree decomposition of can be turned into a tree decomposition of with symmetric bags by replacing each such vertex of in each bag by the two vertices of that were identified to form . This only doubles the size of each bag, hence we will prove the claim by bounding the treewidth of . For sake of a contradiction, assume that . By choice of , that means has as a minor a grid of size at least . We will show that this implies has as undirected minor a grid of size at least contradicting that has treewidth at most .
Consider the minor model of in . For each , let be a spanning tree of . Consider an arc that is part of . Since is formed by identifying symmetric vertex pairs of , it must mean one of the following arcs exists: , or . By symmetry of , these arcs come in pairs, i.e. the first two are either both in or are both not in , and same for the last two. We proceed to replicate in . Select an arbitrary as the root. Start from in and consider the arcs of incident to . By the argument above, each such arc must have two counterparts in , one with endpoint and one with endpoint . Hence we can select for each arc of incident to a matching arc in incident to . One can easily see that repeating this argument will yield us a copy of in . Furthermore, if we repeat the process but start now with as root, we find another copy of , vertex-disjoint from the first copy. Let and refer to these two copies of .

(a) Mismatch when constructing a model of the grid. Each vertex on the square of the grid has two candidate vertices and . The structure is in blue and in orange, and both connect to both candidates for the bottom left corner.

(b) The grid of grids construction. Each subgrid must contain at least one unifier (indicated in orange).
Figure 1
in . Find such pairs of trees for each and let be the (undirected) graph obtained from by contracting all such trees and to single vertices and and removing all other vertices from the graph.
At this point we can attempt to replicate the grid minor model in . Fix some embedding of on the plane. Then we start at the top-left vertex of , for which we have the two candidate vertices and in . Select and we will try to discover a copy of starting from here. We look at a neighbour of , let us say . In the original minor model on there is an arc between and , hence by symmetry there must be an arc from to at least one of and . Thus we can find an arc from to at least one of or . Add one such arc to our structure. By repeatedly finding such arcs we can step-by-step build a structure resembling the grid , but now in . Assume that we build the grid from left to right, top to bottom. There is one potential obstacle to this structure being a proper grid. For vertices of that are the bottom right corner of a square (a ) there will be a connection made in our structure both from the vertex above it and to the left of it. However, one arc might connect to while the other connects to (see Figure 1a for an illustration). As a result, there will not be a in our structure. Regardless, we can continue the construction procedure by choosing to continue from either only or only in the next step. We address the raised problem as follows.
Note that in the above we constructed a structure by starting a growing procedure from . We can in exactly the same way grow a structure starting from . Let and denote these two structures. By symmetry of , these two structures can be constructed in such a way that they are entirely arc-disjoint. This is achieved by, when in the growing procedure we have a choice between connecting to or continuing from and , making sure both structures make a different choice.
Now, in case a mismatch occurs in a square of the grid, then observe that it means that all 8 vertices involved in the square are connected through these 8 arcs that are partitioned over and (i.e. it forms a ). Let us refer to such mismatched squares of the grid as unifiers. If either or (and by symmetry then both) contains a subgrid of size at least then we are done. Otherwise, for all subgrids of and of at least this size, there will be a unifier in the corresponding region of . Partition the grid into vertex-disjoint subgrids, structured themselves in a grid like structure (see Figure 1b). Each of these subgrids must contain a unifier, and as a consequence it is a connected subgraph of . That means we can treat each subgrid as a branching set, and all branching sets together form a new grid, which is a minor of . Since each subgrid is connected, the problem of a mismatch cannot occur. The grid found in this way has size , concluding the proof.
The function in Theorem 1 is such that , and hence has a symmetric tree decomposition of size at most . We can compute a symmetric tree decomposition as stated in Lemma 3 by following the setup at the start of its proof. We construct and compute a tree decomposition of it of width at most using the algorithm by Korhonen [Kor21] in time. Furthermore, we can turn this into a nice tree decomposition of same width and with nodes in time [CFK+15]. We then reverse the identification of all vertices to find a
‘symmetrically-nice’ tree decomposition of of width at most . For a node let be the subgraph of consisting of all vertex and arcs introduced in the subtree of rooted at . Let denote the set of all individual terminals that are part of a terminal pair in and are in .
We then solve the problem of finding a symmetric multicut through dynamic programming on the tree decomposition. The main idea is that the symmetry of our tree decomposition allows us to force only symmetric solutions to be considered, as symmetric arcs can be processed simultaneously. We introduce the following two definitions.
Definition 2.2 (Reachability relation). A reachability relation on a set of vertices on a digraph is a reflexive and transitive relation on . The relation is valid for a set of terminal pairs if .
A digraph realises a reachability relation on a set if if and only if there is a (potentially empty) path from to in .
Definition 2.3. For every node , every valid reachability relation on and every symmetric set , we define to be the minimum size of a set such that
-
S is symmetric,
-
, and
-
realises reachability relation .
If no such set S exists we put .
Let be the root of . Then we can find the size of a minimum symmetric DMC solution for by taking where ranges over all valid reachability sets on the terminals. We will show in a series of lemmas how to compute the values of for each type of node appearing in , after which they can be computed for the whole tree in a bottom-up manner.
Lemma 4 (Leaf node). Let be a leaf node, then .
Proof. For a leaf node b the graph is empty and thus there is only one valid choice.
Lemma 5 (Introduce vertex node). Let be an introduce vertex node with a child such that for some . Then
Proof. The two introduced vertices and are isolated in as none of their incident arcs have been introduced yet. Hence it is impossible for any solution to realise any reachability relation that involves or (except for their reflexive relations and ). Therefore, if contains or in any other pair, must be . If they indeed appear only in reflexive pairs, then any solution on realises reachability relation if and only if realises on .
Lemma 6 (Introduce edge node). Let be an introduce edge node with a child . Let and be the arcs introduced by . Then
Where in the second case ranges over all valid reachability relations such that the transitive closure of is equal to .
Proof. First consider the case where . Then note that these two arcs are in any potential solution and hence . Furthermore any solution for can be turned into a solution for by adding these two arcs to , from which equality in the first case follows.
Next consider the second case. Note that a solution for realises some reachability relation on that can be obtained from by potentially removing some pairs. Hence will be a valid solution for some and thus . For the other direction, note that any solution for by definition of realises reachability on , hence .
Lemma 7 (Forget node). Let be a forget node with a child such that for some . Then
Where ranges over all supersets of obtained by adding a symmetric set of arcs of incident to and , and ranges over all valid reachability relations of that is equal to when restricted to .
Proof. First note that . Let be a solution for . Then is also a solution for where is the reachability relation on realised by . As these are both considered for and , we have . For the other direction, consider a solution for some . Then realises and so it is a candidate for , hence .
Lemma 8 (Join node). Let b be a join node with children and . Then
Where and range over the valid reachability relations for both parts, such that the transitive closure of is equal to .
Proof. Remember that in this case. Let be an arc set of minimum size fitting the definition of . Let and . Let and be the reachability relations realised respectively by in and in . Then as has as transitive closure, we get the following inequality.
Conversely, let and now be the minimum sets according to the definitions of and for some and that have as transitive closure of their union . Then it suffices to observe that is a set of arcs of realising reachability relation and with , and hence . As this holds for each such and , the second direction of the inequality and hence the lemma follows.
Finally, note that since the tree decomposition has width bounded in , and since we have at most 4k terminal vertices in , the dynamic programming algorithm runs in time , proving Theorem 5.
2.3 Proof of the Treewidth-reduction Statement for Edge-cuts
Lemma 9 (Edge version of Lemma 2.4 of [MOR13]). Let be two vertices in graph such that the size of a minimum cut is . Then there is a collection of sets where for , such that
-
,
-
for every , and
-
Every s-t cut of size is fully contained in
Proof. We construct a directed graph on the vertex set of by adding the two arcs and , both of capacity one, for every edge of . The following claim follows directly from this construction.
Claim 2.2. For every that contains , the edge-set is an -t cut of size in if and only if is an cut of weight in (where is the set of all outgoing arcs of ).
Since every minimal cut is equal to for some , it suffices to find a collection as in the lemma, yet now on for directed cuts cuts instead.
We run rounds of the Ford-Fulkerson algorithm on to find a maximum flow, let be the residual graph obtained based on this flow. Let be a topological ordering of the strongly connected components of . Since there is a flow from to so there will also be a to path in . Since this is a maximum flow, there will be no to path in . So, if we assume and , then we must have . For , we define . For , we define .
Property 1 is immediate from this definition of . For property 2, we need to confirm that for each . We know that is a suffix of the topological ordering of the strongly connected components of , and hence has no outgoing arcs in . So all arcs of must have been turned into incoming arcs in , which happens if this arc is used by the flow. Since no flow enters (it would give rise to an outgoing arc in ), there can be at most arcs in . Furthermore note that is an cut and thus must have size at least , hence .
To prove that property 3 is satisfied, let be a minimum cut in . Let be the set of nodes reachable from in , which implies that . Consider an arc . Since this arc is in a minimum cut and since a maximum flow saturates all minimum cuts, we know that the arc will be present in the residual graph . Furthermore, since there is a flow going through , there must also be a flow from to and from to , and thus an to path and a to path in . Hence, if and , then . It remains to prove that and are in different strongly connected components of (i.e. ), from which it follows that . Assume for a contradiction that and are in the same strongly connected component. Since and , this must mean there is an arc going out of in (so and ). Note that such an arc is part of and thus part of a minimum cut, which means it is saturated by the flow and hence not in , a contradiction.
For a graph and a vertex set , we denote by the boundary of , which consists of all vertices in that have a neighbour outside of . Let be the minimum size of an -t cut, then we say that a -t cut has excess if .
Definition 2.4 (Torso). Let be an undirected graph and . The graph torso has vertex set and for each an edge if there is a path from to in that is internally vertex-disjoint from .
Proposition 2.1. For a graph G and sets , torso( ) is a subgraph of torso( ).
We will make use of the following lemmas regarding the treewidth of torsos.
Lemma 10 ([MOR13, Lemma 2.8]). Let be a graph and be subsets of and let . We have .
Lemma 11 ([MOR13, Lemma 2.9]). Let be a set of vertices and let be components of . For every , let be subsets and let . Then we have
Lemma 12 (Edge version of Lemma 2.11 of [MOR13]). Let be two vertices of graph and let be the minimum size of an -t cut. For some , let be the union of all minimal -t cuts having excess at most (i.e. size at most ). Then there is an time algorithm that returns a set that contains the endpoints of all edges in such that (for some and such that both are ).
Proof. We prove the lemma by induction on the excess . Start by invoking Lemma 9 to get a collection . We define for . Additionally set , , and . Then for let . Observe that and each is a -t separator of .
Now for and disjoint non-empty we define as the graph with new vertices and and subdivided edges from to every vertex in , and similar for and . This ensures that these edges are never part of a minimal cut of size at most , and hence all such cuts are in fact cuts.
Claim 2.3. If an edge with is in , then there are disjoint non-empty such that is part of a minimal cut in of size at most and excess at most .
Proof of Claim. As , there is a minimal cut of size at most that contains . Let (i.e. the edges of with at least one endpoint in ) and . Partition into sets and with vertices reachable from in and with those not reachable from in , respectively.
We first argue that and are non-empty. As is a minimal cut, there must be an -t path in that intersect exclusively in . Note that separates from and separates from . Thus the prefix from the path up till must intersect at least one , and since this prefix is entirely disjoint from there is a path in , ergo . Next consider a suffix of starting from , which gives a path, disjoint from , which must intersect . Thus there is a for which there is a path in . If was reachable from in this would then imply that there is a -t path in which contradicts being a -t cut. Hence it must be the case that is not reachable from in and thus .
Next, we show that is an cut in . For sake of a contradiction, let be an path in . By construction of this path contains a minimal subpath, meaning a subpath of which the interior is contained in . This subpath must clearly exist in and thus by definition of also in . However, by definition of there exists an path in , which could consequently be extended with this subpath, which results in an path in , contradicting the definition of . Hence must be an cut.
We continue to prove that is a minimal cut in . We again use a proof by contradiction. Assume that is still an cut for some . Since is a minimal cut of , there must exist a path in of which only intersections in . Assume without loss of generality that . Then for similar reasons as above has to intersect both and . Let be a minimal subpath of . Then by construction all internal vertices of belong to , hence is a path in , which can trivially be extended to an path, contradicting that is an cut.
It remains to show that has excess at most (with regards to being an cut in ). Let be a minimum cut in . We claim that is an cut in . If this is not the case, then there must be a path in . This path must intersect and thus must visit . We must then again have that visits both and . Take a minimal subpath of , which by construction is an path in and can be trivially extended to an path. This contradicts being a cut, hence must be an cut. Since contains an edge with an endpoint in it cannot be of minimum size, so . Putting this together gives us that . This concludes the proof of the claim.
Having proven the claim, we can now present our algorithm for computing such a set . Remember that we use induction on the excess . First, we define . In case we set and we are done. Note that we can define a tree decomposition of of width at most by taking as bags the sets for . By Lemma 9 this set contains all endpoints of minimum cuts in . If , then for every and subsets of , we use the induction hypothesis to compute a set containing all minimal cuts of excess at most in . We set where (note that already). By Claim 2.3, contains the endpoints of all edges in minimal cuts of size at most and excess at most .
Next we want to bound the treewidth of torso(G, W). Observe that by the induction hypothesis and by construction . Observe that is a subgraph of by Proposition 2.1, and thus . Consider the set . Then by using Lemma 10, noting that for any we find at most sets , we get . Finally, by Lemma 11 we can conclude that . This means we can choose such that .
The running time remains essentially unchanged compared to the original proof, and hence we refer to [MOR13] for this.
Theorem 1. Let be a graph, and an integer. Let be the set of all edges of that are part of a minimal cut of size at most for some . There is a time algorithm that computes a set such that contains and all endpoints of edges in , and for some functions and that both are .
Proof. Consider each distinct pair and compute a set containing all minimal cuts of size at most using Lemma 12 and adding and to it (in case there is no cut of size at most , ). Note that adding and to increases the treewidth of the torso induced by it by at most two. Let be the union of all these sets , then the torso of in has by Lemma 10 treewidth bounded by .
3 Reducing CMSO model-checking on Eulerian digraphs to arc-unbreakable instances
The goal of this section is to prove Theorem 9.
Theorem 9. Let , let be a sentence and let . There exists a such that if parameterized by is FPT on -edge-unbreakable Eulerian structures, then parameterized by is (nonuniformly) FPT on general Eulerian structures.
We follow the general approach of Lokshtanov, Ramanujan, Saurabh and Zehavi [LRSZ18] where possible. That being said, in [LRSZ18] the concept of boundaried graphs plays a fundamental role. Roughly speaking, this is a graph where a set of vertices is marked as the boundary, mainly with the purpose of being able to ‘glue’ two compatible boundaried graphs to each other. However, in our setting of Eulerian digraphs and arc-cuts, it is more suitable to consider a set of arcs to be the boundary instead. One fundamental result on traditional boundaried graphs is that when considering those graphs with a fixed, finite boundary size, there is only a finite amount of different behaviours they can exhibit with regards to a fixed property. The goal of the first half of this section is to prove that the same holds for arc-boundaried graphs. We achieve this by showing that the arc-boundaried setting can be reduced to the vertex-boundaried setting, which allows us to lift this finite state property to arc-boundaried graphs. Specifically, we prove this for (arc-boundaried) structures, which are a generalisation of digraphs useful when modelling properties.
After showing that these structures have finite state, we can prove Theorem 9. This is done by recursion on the size of the structure. If the structure is small (with regards to ) then it is trivially unbreakable. Otherwise, a large yet breakable instance can be partitioned into two large parts separated by a small cut. We can take one of these parts in isolation, regard it as an arc-boundaried structure, and recursively find for it a small representative (meaning an arc-boundaried structure that behaves identically with regards to our property), which is guaranteed to exist by the finite state property. We then substitute in the original instance the chosen part by its representative to obtain an equivalent instance of smaller size, on which we can recurse as long as the structure remains breakable. We ensure that the instance remains Eulerian throughout by picking a representative that is internally balanced and has the same imbalance along the boundary as the part of the graph that it replaces.
3.1 The framework
Arc-boundaried Digraphs. We start by introducing all the necessary definitions.
Definition 3.1. A digraph with half-arcs is a tuple where describes a directed graph and is a relation on where for each , exactly one of or is in and the other is equal to . The elements of are called half-arcs.
In a digraph with half-arcs, the in-degree (out-degree ) of a vertex is equal to the number of elements of for which it is the head (tail). For these graphs, we still say it is balanced if for all . We assign to each half-arc a type of either hd or tl based on whether its tail or head is , respectively. For a digraph with half-arcs and we define the induced subgraph to have vertex set , as arcs all edges of with both endpoints in and as half-arcs those in incident to U, as well as all the arcs in that are turned into half-arcs by setting occurrences of vertices outside of U to .
We continue by introducing the concept of arc-boundaries, which motivates why we are interested in half-arcs.
Definition 3.2. An arc-boundaried digraph is a digraph with half-arcs together with an injective labelling . We refer to as the boundary and say that the label set of the arc-boundaried digraph is the set .
When the labelling is clear from the context, we may sometimes refer to the arc-boundaried graph as simply . We say that two arc-boundaried graphs and are compatible if and for each , the half-arcs and have distinct types. For two half-arcs and with distinct types (i.e. one is hd and the other is tl), we define if and and if and .
Definition 3.3. Let and be two compatible arc-boundaried digraphs. Then is the digraph (not-boundaried and without half-arcs) obtained by taking the disjoint union of the digraphs of and and for each , replacing the half-arcs and by .
To help with notation, when gluing two arc-boundaried digraphs and we define a mapping that maps each arc or half-arc of or to the arc in that it gives rise to. Hence for we get and for we get . The following observation will be pivotal for guaranteeing that the reduced instance in Theorem 9 is Eulerian.
Observation 13. Let and be two compatible arc-boundaried digraphs. Then is balanced if and only if and are balanced.
Structures and Properties. Next, we generalise the notion of arc-boundaried digraphs to arc-boundaried structures. First, we introduce the standard notion of a structure, following the exposition in [LRSZ18].
Definition 3.4. A structure is a tuple with as first element a (directed) graph denoted by , and each remaining element is either a subset of , a subset of , a vertex in or an edge in . The arity of the structure is the number of elements in the tuple.
Given a structure of arity and a , we let refer to 'th element in the tuple and hence . When is either a single vertex or edge, or a vertex or edge set, then we can append to , denoted by , to obtain a new structure of arity such that and for all we have . We now define the type of a structure.
Definition 3.5. Let be a structure of arity . The type of , denoted by , is a tuple of arity such that and for every , define
Definition 3.6. A property is a function from the set of all structures to {true, false}.
Counting Monadic Second Order Logic (CMSO₂) provides a syntax to describe properties on graphs. Its syntax includes the standard logical connectives ¬, ∧, ∨ and ⇒. It also includes the following atomic formulas.
-
where is a vertex (edge) and is a vertex set (edge set).
-
where is an edge variable and is a vertex variable. It holds if and only if is the tail of .
-
where is an edge variable and is a vertex variable. It holds if and only if is the head of .
-
u = v for any two variables u and v of the same type.
-
where is a set variable and and are integers. It holds if and only if
Finally, we can use existential and universal quantifiers over vertices, edges and vertex and edge sets. For example, if is a sentence with a free vertex variable , then is a CMSO sentence that is true if and only if holds when substituting by each vertex in the graph to which the formula is applied. We remark that in the context of undirected graphs the predicates for tail and head are usually replaced by an incidence predicate instead.
A CMSO₂-sentence ψ can contain several free variables. Each free variable x has a rank associated with it such that is an integer greater than 1. Evaluating a CMSO₂-formula on a structure α involves instantiating the free variables of ψ by the elements in the tuple α. We say that a structure α matches a CMSO₂-formula ψ if the arity of α is at least max and for each free variable x the type of x in the CMSO₂-sentence corresponds with type(α)[ ]. Finally, each CMSO₂-sentence ψ naturally defines a property on structures by mapping structures that do not match it to false, and evaluating ψ on the structure otherwise. CMSO₂[ ] describes the decision problem where, given an input structure α, one needs to decide whether is true.
Arc-boundaried Structures. Now that we have defined the standard notion of structures, we can combine it with our concept of arc-boundaried digraphs. Intuitively, one should consider arc-boundaried structures as a means to allow us to split and glue structures, similar as to how an arc-boundaried digraph allows us to split and glue digraphs. We now give the formal definitions.
Definition 3.7. An arc-boundaried structure is a tuple with as first element an arc-boundaried digraph denoted by , and each remaining element is either a subset of , a subset of , a vertex in , an element in , or the symbol . The arity of the arc-boundaried structure is the number of elements in the tuple.
Definition 3.8. Let be an arc-boundaried structure of arity . The type of , denoted by , is a tuple of arity such that and for every , define
Definition 3.9 (Compatibility). Two arc-boundaried structures and are compatible, denoted by , if
• and have the same arity p,
• and are compatible,
• for every , one of the following conditions holds
-
;
-
and ;
-
and .
• for every such that both and are edges, , and
Compatibility of arc-boundaried structures captures when two such structures can be combined to form a single structure. This gluing operation is now defined.
Definition 3.10 (Gluing by ). Given two compatible arc-boundaried structures and of arity , the operation is defined as follows.
• is a structure of arity p.
• .
• For every :
-
if and are vertex sets, ;
-
if and are edge sets,
-
if and are edges, ;
-
if , if is a vertex and if it is an edge
-
if , if is a vertex and if it is an edge
We say that an (arc-boundaried) structure is Eulerian if is balanced. Let and , we then denote with the set of all arc-boundaried structures of arity and for which the arc-boundaried digraph has as label set a subset of . In a similar vein, we let be the set of all Eulerian arc-bounded structures of arity with label set a subset of . Finally, similar as Observation 13, we make note of the following.
Observation 14. A structure is Eulerian if and only the arc-boundaried structures and are.
Finite state. We first define a compatibility equivalence relation capturing when two arc-boundaried structures can be glued to precisely the same set of arc-boundaried structures. Formally, when and for each , . We next define an equivalence relation on Eulerian arc-boundaried structures based on a structure property .
Definition 3.11. Given a property for structures, the Eulerian canonical equivalence relation is an equivalence relation on Eulerian arc-boundaried structures defined as follows. For two Eulerian arc-boundaried structures and , we let if
-
, and
-
for all Eulerian arc-boundaried structures that are compatible with (and thus ), .
Next, we prove that when is a property and we have fixed and finite and , this equivalence relation has only a finite amount of equivalence classes on . This same result was proven in the context of general undirected vertex-boundaried structures by Bodlaender et al. [BFL 16]. We will prove the result for Eulerian arc-boundaried structures by showing that we can translate them to vertex-boundaried structure while preserving equivalence, hence allowing us to lift the result back to arc-boundaried structures. To keep this presentation compact, we refer to [BFL 16] or [LRSZ18] for the relevant definitions related to vertex-boundaried structures. To improve readability, we slightly abuse notation and write rather than from here on out.
Theorem 10. For every -definable property , natural number and finite , the equivalence relation on has a finite number of equivalence classes.
Proof. Fix a formula , a and finite . We can describe a map that turns any arc-boundaried structure to a vertex-boundaried structure with arity and the same label set. The undirected graph has vertex set . It has edges and for each edge . It additionally has an edge for each half-arc and edge for each half-arc in . The vertex boundary of is set to with labelling . We translate the elements to directly, where typewise an edge in becomes a vertex in and an edge set becomes a vertex set. We additionally append three new elements to the end of , namely the vertex sets , and the edge set .
We consequently translate into a formula for undirected structures capturing the same behaviour as did originally. The atomic formulas for head and tail incidence are replaced as follows.
Furthermore, when in the formula there is a quantification over the vertex set of the graph, we include that the vertex should be in . Similarly occurrences of the edge set are modified with . For example, becomes .
Claim 3.1. For every arc-boundaried structure with (i.e. a non-boundaried structure),
Proof of Claim. This follows from the fact that all atomic sentences of get translated into equivalent sentences for (with regards to the structures they will be evaluated on), and that thus instantiating the free variables of with the elements of gives the same truth value as instantiating the free variables of with the elements of .
Claim 3.2. For two arc-boundaried structures and that are compatible, the vertex-boundaried structures and are compatible and .
Proof of Claim. First we confirm that and are indeed compatible (in context of vertex-boundaried structures). They both have arity and for the translation consistently maps the elements in the structure that are a to a and a vertex/edge (set) to a vertex (set). As the conditions for type compatibility are stronger for arc-boundaried graphs than for vertex-boundaried graphs, their types must be compatible. Furthermore, as no or for is an edge, we only need to confirm that when both and are a vertex, that , and . However, this follows immediately from the way the boundary is defined and that for compatible and , it must be that both and are half-arcs in their respective boundaries with .
To see that first observe that as they are glued precisely along the half-arcs in both cases (although in one they have been transformed to vertices), and the rest of the graph is unaffected by the order of operations. Additionally, for , and , hence it is irrelevant in which order the gluing operation occurs. It is not difficult to verify that the same holds for the special elements , and as they are sets and the edges are appropriately carried over through the function.
Now we can argue that has a finite amount of equivalence classes on . It is clear that indeed only has a finite amount for finite and . Consider and an arc-boundaried structure compatible with them. We observe that implies that through the following use of the claims.
We obtain from [BFL 16, Lemma 2.2] that has a finite number of equivalence classes on vertex-boundaried structures of arity and label set in . Hence has a finite number of equivalence classes on .
Edge-breakability. Before we can start to prove Theorem 9 we need to formally introduce the notion of breakability, and describe how to decide if a graph is or is not breakable.
Definition 3.12. Let be a directed graph and let and be natural numbers. is -edge-breakable if there exists a partition of such that and . If no such partition exists, is -edge-unbreakable.
Where (written as when it is clear which graph is intended) is defined as the set of edges with one endpoint inside and one endpoint in . As half-arcs can never contribute to the size of a cut, we say that digraph with half-arcs is -edge-(un)breakable if and only if the digraph is. Similarly, we say that an (arc-boundaried) structure is -edge-(un)breakable if is. As in the above definition the orientation of the edges is irrelevant, we can directly make use of the following result by Chitnis, Cygan, Hajiaghayi, Pilipczuk and Pilipczuk [CCH 16].
Lemma 15 ([CCH 16, Lemma 2.2]). There exists a deterministic algorithm that, given an (un)directed graph G on n vertices, along with integers c and s, in time either finds a partition A, B witnessing that G is -edge-unbreakable or reports that no such partition exists for which A and B both contain a connected component of size greater than s.
One limitation is that Lemma 15 can only decide breakability with the additional constraint that both sides of the partition must contain a large connected component. The next lemma shows that we can avoid this constraint if we are satisfied with merely an ‘approximate’ breakability-witnessing partition.
Lemma 16. There exists a deterministic algorithm that, given an (un)directed graph G on n vertices, along with integers c and s, in time either finds a partition A, B witnessing that G is -edge-breakable or reports that G is -edge-unbreakable.
Proof. We can easily determine whether is -edge-unbreakable by solving a polynomial-time solvable instance of the knapsack problem on the connected components of . Next, if then it is trivially -edge-unbreakable. Otherwise, let be the connected components of , ordered decreasingly by their number of vertices. Consider the case where . Then we can always find a such that , and since we get that and forms a partition witnessing -edge-unbreakability, so we output this for and . Now consider the second case where . Let . If then we again find a trivial partition witnessing -edge-unbreakability, namely and , thus assume henceforth that . We use the algorithm of Lemma 15 on to examine -edge-breakability. If it finds no partition we report that is -edge-unbreakable. Alternatively, it finds a partition of such that and , in which case we output and .
It should be obvious that whenever the algorithm outputs a partition, then it is correct. It remains to argue that is only -edge-unbreakable when the algorithm reports so. To this end, assume that is -edge-breakable and let be a partition of witnessing this. We will show that both and contain a connected component of size greater than , after which correctness immediately follows by Lemma 15. Remember, we only enter the final case (and risk falsely reporting unbreakability) if . Split the connected components of into which contains all those components such that (ergo is a connected component already in ) and which contains all remaining components. Thus and . As each connected component in contains an endpoint of at least one edge in , we get . Combining these facts with tells us that at least one has . The same argument holds on the side, which concludes the correctness proof.
For the running time of the algorithm, observe that the -edge-unbreakable case can be solved in time with a dynamic programming algorithm. The algorithm from Lemma 15 runs in the claimed time and is only called once, and all other steps can be easily performed in time.
Reduction to Unbreakable Instances. Our goal is to prove an Eulerian analogue to Theorem 3 of [LRSZ18]. Observe that while this original theorem could be used to reduce the task of solving the problem on general Eulerian structures to the problem of solving it on unbreakable structures, it would require us to solve it on unbreakable non-Eulerian structures, which defeats the purpose of looking at Eulerian structures in the first place. Our main contribution is in showing that it suffices to solve the problem on unbreakable Eulerian structures.
Before stating the theorem, we need to introduce the notion of the parametrized problem MIN-EDGE-CMSO₂[ψ] for a fixed CMSO₂ formula ψ. It takes as input a structure α and a parameter k such for each , the structure α ◇ S matches ψ. We are tasked to decide whether there is a set of size at most k such that α ◇ S satisfies ψ. Similarly, the MAX-EDGE-CMSO₂[ψ] and EQ-EDGE-CMSO₂[ψ] are similarly defined, now with the task to find an edge set of size at least k or exactly k, respectively.
Theorem 9. Let , let be a sentence and let . There exists a such that if parameterized by is FPT on -edge-unbreakable Eulerian structures, then parameterized by is (nonuniformly) FPT on general Eulerian structures.
We will follow the general approach of [LRSZ18] and make modifications where necessary to preserve the Eulerian property and account for arc-boundaried structures. We will in fact focus on a non-parameterized result from which Theorem 9 follows.
Theorem 11. Let be a formula. For all there exists such that if there exists an algorithm that solves on -edge-unbreakable Eulerian structures in time for some , then there exists an algorithm that solves on general Eulerian structures in time .
We start by showing how Theorem 9 follows from Theorem 11.
Proof of Theorem 9. For and for a value of , we define where used as free variable. Note that one can easily express in with a formula of length depending on . Similarly, if one can similarly define using and . Now observe that is equivalent to .
For each , we let be the value of obtained from Theorem 11 with and . Let be fixed such that for each , there is an such that on -edge-unbreakable Eulerian structures can be solved in . As is equivalent to , we find that it can be solved in for a fixed on these unbreakable structures. By Theorem 11, that means and hence can be solved in in in general Eulerian structures. This shows that for every fixed , can be solved in with independent of , and hence it is nonuniformly FPT.
Thus it remains to show Theorem 11. First, consider as a fixed formula with free variables and a fixed . We will set to a fixed value depending only on and , the exact value of which we will describe later. Thus, to prove the theorem we assume that there exists an algorithm Solve-Unbr-ALG that solves on -edge-unbreakable Eulerian structures in time for some .
We will instead focus on a different problem, namely UNDERSTAND-E[ ]. To define it we need to introduce some notation. Let . Let be the set of equivalence classes of when restricted to . For an arc-boundaried structure we denote with the equivalence class containing . For each equivalence class , we let be the arc-boundaried structure in such that its encoding is smallest among all elements of . We refer to as the representative of , and we let be the set of all representatives. By Theorem 10 there is a fixed that depends only on and such that both as well of the maximum size of a representative is upper bounded by . Finally, set .
The UNDERSTAND-E[ ] problem is now defined as follows. Given an Eulerian arc-boundaried structure that matches , output an Eulerian arc-boundaried structure such that (i.e. return the representative of ). We start by showing that UNDERSTAND-E[ ] generalises CMSO[ ].
Lemma 17. If there exists an algorithm that solves UNDERSTAND-E[ ] on Eulerian arc-boundaried structures in time , then there exists an algorithm that solves CMSO on Eulerian structures in time
Proof. Let be a Eulerian structure given as input for . Let be the Eulerian arc-boundaried structure obtained by setting to have an empty boundary. As , we can call upon the algorithm from the hypothesis to find the representative for in time.
Now as , they must both have an empty boundary. Hence by removing this redundant information we can obtain an Eulerian (not boundaried) structure . More concretely, let be the arc-boundaried structure with as an empty graph and equal to either or depending on whether is a vertex/edge or a set, respectively. Then and .
By choice of , we know and hence is a trivially -edge-unbreakable structure. Therefore, we can call upon Solve-Unbr-ALG to solve in time. As we get .
Hence we may focus our attention instead on the UNDERSTAND-E[ ] problem. We start by showing how to solve it on unbreakable instances.
Lemma 18. There exists an algorithm Understand-Unbr-ALG that solves UNDERSTAND-E[ ] on -edge-unbreakable Eulerian arc-boundaried structures in time .
Proof. Let be an -edge-unbreakable Eulerian arc-boundaried structure given as input. Let and let . As is -edge-unbreakable and by choice of , for any we have and thus is -edge-unbreakable, as well as Eulerian. Therefore we can use Solve-Unbr-ALG to compute for each .
On the other hand, for each also hence by choice of for each the structure is Eulerian and -edge-unbreakable. Therefore in the same way as before we can use Solve-Unbr-ALG to find for each combination of and . At this point, we find the such that for all , and output this .
As there must be at least one candidate for , namely the representative for . It remains to argue that no also satisfies the condition that for all . For sake of a contradiction, assume such a exists. As , we immediately conclude that . Now let be an arbitrary Eulerian arc-boundaried structure compatible with and let be the representative of (hence ). Then
which implies that , a contradiction to the fact that we choose only one representative per equivalence class. Finally, the running time of Understand-Unbr-ALG is clearly as a consequence of having constant size.
We are now ready to prove that we can solve UNDERSTAND-E[ ] on general Eulerian arc-boundaried structures.
Lemma 19. There exists an algorithm Understand-ALG that solves UNDERSTAND-E[ ] on general Eulerian arc-boundaried structures in time .
Proof. Let be the Eulerian arc-boundaried structure given as input. We can use Lemma 16 to decide in time (for fixed and ) whether is -edge-unbreakable, or find a -edge-breakable witnessing partition. If it is unbreakable, then Understand-Unbr-ALG can be used to solve it in time. Otherwise, let be a partition of with and . Without loss of generality, assume that the number of half-arcs incident to vertices of is greater than or equal to the number of half-arcs incident to vertices of . We will describe a recursive procedure for Understand-ALG, hence we assume that the algorithm returns the correct output for all instances of size strictly smaller than .
We now construct an Eulerian arc-boundaried structure based on the side of the partition. Let the arc-boundaried digraph be equal to . To help with notation, let be an injective map that maps each edge in to the half-arc that was created from it, with . First observe that is Eulerian as the balance of each vertex of is maintained. Second, as and the side contained at most half of the original up to half-arcs of . Set such that the labels for all half-arcs that were present in are maintained, and the half-arcs in all get mapped to unique integers in . Now, for we set in the following way.
• If then .
• If then if , and otherwise .
• If then if we set , if then and otherwise .
• If then
• If then (i.e. all edges that were part of the side, but edges in get correctly replaced by their corresponding half-arcs).
Since and is strictly smaller than , we can recursively call Understand-ALG to find the Eulerian representative such that .
We next define the arc-boundaried structure which will roughly correspond to replacing the side of by . More formally, to construct start by taking the disjoint union of with only the half-arcs with label not in and with only the half-arcs of . For each edge , such that , we add an edge from the tail of to . Alternatively, if , we add an edge from to the head of . Similar as for a formal gluing operation, we define here a function that maps each edge or half-arc of and to the edge or half-arc of that it naturally corresponds to. We can determine by, for each half-arc , setting to or depending on whether or , respectively. To finish our definition of , for each we set the following.
• If then .
• If , then .
• If , then
• If , then
- if , then (i.e. the edges and half-arcs from that correspond to those from or from the side of ).
To conclude the algorithm, we now solve the instance , which is strictly smaller than as . Let be the output of the algorithm on instance . We continue to prove that is indeed the right representative for . It should be clear from the description that Understand-ALG only outputs arc-boundaried structures in , so we focus on the following.
Claim 3.3.
Proof of Claim. By our assumption that the algorithm is correct on all inputs of size smaller than , we immediately obtain and . Hence the goal becomes . We start by arguing that . First note that as is partitioned over (and in turn ) and , and when constructing the corresponding half-arcs with labels in are maintained. For the same reason, the half-arc with a label in has type hd if and only if the half-arc with label in has type hd, hence and are compatible with the same arc-boundaried digraphs. Clearly, has the same arity as . For , because of how is set, and how is consequently defined. Hence .
It remains to prove that for an arbitrary Eulerian arc-boundaried structure that is compatible with , we have if and only if . The intuitive idea is that to construct we replaced in the side which was captured by by , which are canonically equivalent. Since we can view both and instead as gluing something to and , we can apply the equivalence of and to arrive at our goal.
More formally, let be defined as follows. The arc-boundaried digraph is equal to . To set , note that each edge in induces an half-arc in but also can be bijectively mapped to a corresponding half-arc in . Thus we let , from which it follows that . The remaining elements of the arc-boundaried structure can naturally be set such that . In fact, since was constructed by effectively substituting by it follows that . This gives us the following
where the second equality follows from .
◇
It remains to show that Understand-ALG runs in time . We prove this by induction on the size of the instance that there exists a value such that it runs in . The algorithm starts by calling the algorithm of Lemma 16, which for fixed and in time for some fixed . We require from here . In the base case with no recursive calls, Understand-ALG simply calls the algorithm of Lemma 16 which runs in time and hence in for an appropriate choice of . We proceed to the inductive step. Given our input instance , Understand-ALG will be recursively applied to and . Let and , then by the inductive hypothesis the two calls will run respectively in time and . Thus the total runtime will be upper bounded by
Let (hence ) and observe that . Furthermore, by choice of . Define the function . For we have and as at least one of or is at most , we can derive the following.
Using this we can find the following upper bound on the runtime.
Hence, to prove an upper bound of it suffices to prove that
As , we have and since , if we ensure also . It remains to show
but this immediately follows since (otherwise the graph is trivially unbreakable), and .
4 Applications of the Eulerian Breakability Framework
In this section we demonstrate how Theorem 9 can be used to find FPT algorithms by applying it to two cut problems on Eulerian digraphs, namely DIRECTED EDGE MULTIWAY CUT-UNCUT and DIRECTED STEINER CUT. These are two prime examples of problems for which in the undirected setting breakability proved especially useful to find algorithmic results. The minimum bisection problem is a third major example of such a problem, however one can easily see that the directed version on Eulerian digraphs reduces to the undirected version of the problem, and is thus immediately FPT.
When designing algorithms on unbreakable instances, it is common to rely on a colour-coding approach. In such cases we will make use of the following lemma that is stated by Chitnis et al. [CCH 16] and based on the work by Naor, Schulman and Srinivasan [NSS95] to be able to present our algorithms in a deterministic manner.
Lemma 20. Given a set of size , and integers , one can in time n log n construct a family of at most log n subsets of , such that the following holds: for any sets , , , , there exists a set with and .
4.1 Directed Edge Multiway Cut-Uncut
In this section we focus on the directed analogue of the EDGE MULTIWAY CUT-UNCUT problem and prove the following.
Theorem 6. DIRECTED EDGE MULTIWAY CUT-UNCUT on Eulerian digraphs is (nonuniformly) FPT parameterized by k.
The first step is to show that DEMCU is -expressible. To this end, we define the following formula with free variables R, T and S that should be interpreted according to the problem definition. We will use several obvious shorthands for sake of readability.
where
Observation 21. is a YES-instance of DEMCU if and only if is a YES-instance of MIN-EDGE-CMSO[ ] where .
Thus, by Theorem 9, it suffices to solve MIN-EDGE-CMSO[ ] on -unbreakable structures where is the function obtained from the theorem.
Lemma 22. MIN-EDGE-CMSO₂[ψ] is FPT on (q(k), 2k)-unbreakable structures parameterized by k.
Proof. First note that we can easily check in polynomial time for our structure whether is a cluster. Hence, assume this property to be satisfied, which means it remains to determine whether Eulerian, -unbreakable, DEMCU instance is a YES-instance. Keep in mind that the unbreakability property applies to , rather than .
Let be a hypothetical minimal witness to it being a YES-instance. Consider a topological ordering of and let be the largest strongly connected component in the ordering. By minimality we must have that is precisely the set of arcs going backwards between components in this ordering. Since in an Eulerian digraph the number of backward arcs is invariant under cyclic shifts of the ordering [Wah18, Lemma 4.4.2], we may consider without loss of generality a solution such that is first in this ordering. Let be the ordering on the strongly connected components of . As
Given a graph G and integer k, decide whether there exists a partition A, B of such that and there are at most k edges between A and B. In the directed setting, we count the number of arcs from A to B.
contains all backward arcs, for each prefix of the ordering there are at most arcs from to and hence by Eulerianness at most edges in total between these two parts. Furthermore, by nature of , no arcs in it cross strongly connected components for a solution . As is -unbreakable, this must mean that . Now, if contains at most vertices, then and the problem could be solved through brute-force, hence assume from which it immediately follows that . We can also conclude at this point that if has more than equivalence classes, then it must be a NO-instance. Keep in mind that, contrary to the undirected version of the same problem, for an optimal solution there can be components not containing any equivalence class.
We will find S through colour coding. We colour every arc in D either red or black. We consider a colouring good when the following properties are satisfied.
-
All arcs between different strongly connected components of are red.
-
An arbitrary spanning tree within each small component to is coloured black.
-
For each vertex in that is the endpoint of an arc with as other endpoint a vertex outside of , there is a set of vertices in containing such that a spanning tree of this set is coloured black.
In fact, we will use Lemma 20 to deterministically compute a family of colourings, such that at least one corresponds to a good colouring (under the assumption that exists). As the number of arcs that we constrain in a good colouring is bounded in terms of , this computation can be done in FPT time, after which we try to use all sets in the family, of which there are for some function .
We show how to extract using the colouring by identifying the components to . Contract each weakly connected components of minus the red arcs to a single vertex and let be the resulting graph. Let be the set of vertices of that were formed by contracting components with at least vertices. Note that for a good colouring all vertices in must be part of , and each of to was contracted to single vertices to . At this point, we can guess which one of the at most equivalence classes should be contained in (if any). Then all other equivalence classes should have been entirely contained in a weakly connected component of with only the black arcs, and any such component contains at most one class. Hence if neither is the case we can discard this guess, and if no guess is valid we discard the colouring. We mark the vertices of that originate from a component that contained an equivalence class. Now consider the weakly connected components of . We claim that the vertices to are precisely those vertices contained in components of containing at least one marked vertex. Since separates to from the remainder of the graph, any component contains either exclusively vertices within or outside of it. Any component with a marked vertex must then clearly be composed of a subset of the vertices . Furthermore, any component without a marked vertex will be contained in by minimality of . Having identified the set of vertices we can extract by reversing the contractions. In order to find (or another solution) it suffices to guess which of the at most orderings the found components appear in, and verify whether this leads to a valid solution of size at most . As we are guaranteed that at least one colouring and guess is compatible with , we are guaranteed to find a solution if one exists.
4.2 Directed Steiner Cut
The DIRECTED STEINER CUT problem is the directed analogue of the STEINER CUT problem, which is known to be FPT when parameterized by the deletion budget for undirected graphs . This inspires us to look at the directed version.
We follow similar steps as for DIRECTED EDGE MULTIWAY CUT-UNCUT. We first define a formula that is satisfied by a suitable structure if and only if the DSC instance is a YES-instance. Then we solve the problem on unbreakable structures through derandomised colour-coding.
where
Observation 23. is a YES-instance for DSC if and only if is a YES-instance for MIN-EDGE-CMSO[ ].
Lemma 24. MIN-EDGE-CMSO₂[ψ] is FPT on (q(k,p), 2k)-unbreakable structures parameterized by k + p.
Proof. Similar as for DIRECTED EDGE MULTIWAY CUT-UNCUT, we start by considering a hypothetical minimal solution . Let be the largest strongly component in and as is Eulerian assume without loss of generality that the topological ordering of is for some . Then contains all backwards arcs of this ordering. Repeating the argument found in Lemma 22 tells us that either (and the problem can be solved by brute-force), or . We again colour every arc in either red or black and consider a colouring good when it satisfies the following properties.
-
All arcs between different strongly connected components of are red.
-
An arbitrary spanning tree within each small component to is coloured black.
-
For each vertex in that is the endpoint of an arc with as other endpoint a vertex outside of , there is a set of vertices in containing such that a spanning tree of this set is coloured black.
Using Lemma 20 we compute in FPT time a family of colourings such that at least one is good, if a good colouring exists (i.e. if a solution exists). Let be the graph after contracting all black arcs (i.e. all weakly connected components of without the red arcs become single vertices). That means that each small component was contracted to a single vertex for . For each vertex of we want to guess if it was one of or whether it belongs to . Let be the set of all vertices of to which at least vertices were contracted. Then we know all of belongs to and in particular separates the vertices belonging to from . In particular, that means that every weakly connected component of must be either a subset of or be entirely contained in . Let denote a connected component of . We compute both the cost and value of choosing not to be in . If then by -breakability of it must be that belongs to . Otherwise, we set the value simply to the number of vertices of that are a terminal or to which a terminal was contracted. We minimise the cost by trying all of the at most topological orderings of the vertices of and record the minimum number of backward arcs. We also include all arcs to , as is fixed to be the first component of the topological ordering of . This also allows us to compute the cost and value of each weakly connected component independently. After computing all costs and values, we can find a choice of components leading to at least strongly connected components and at most cut arcs, if one such choice exists for this guess, by setting up a polynomial-time solvable knapsack instance with these components as items.
Combining Observation 23, Lemma 24 and Theorem 9 will give us the FPT result that we are looking for. In fact, one technically needs a variation on Theorem 9 in order to handle a parameterization other than just k. However, given Theorem 11 it should be clear that such a variation is not hard to prove in an analogues manner as the current proof by defining for a given p the sentence as the formulation for as seen above, after which we solve the MIN-EDGE-CMSO problem.
Theorem 12. DIRECTED STEINER CUT on Eulerian digraphs is (nonuniformly) FPT parameterized by .
The need to include as parameter comes from the fact that the length of the CMSO formula, and thus the function for obtained from Theorem 9, depends on and . For the undirected version of the problem it is observed in [CCH16] that one can reduce the instance to get to be linear in . This reduction crucially relies on the fact that deleting an edge from an undirected graph increases the number of connected components by at most one. In contrast, deleting an arc from a directed graph can increase the number of strongly connected components by up to .

Figure 2: Choice-synchronisation gadget between a path and a path in the construction of the DEMCU instance. Undeletable arcs are drawn in bold.
5 Hardness results
In this section we show that the two problems considered in Section 4 are W[1]-hard on general digraphs.
5.1 Multiway cut-uncut
Theorem 13. DIRECTED EDGE MULTIWAY CUT-UNCUT on general digraphs is W[1]-hard when parameterized by k, even when R has only two equivalence classes.
Proof. We will reduce from the CLIQUE problem. Let be an instance for CLIQUE, we will construct an instance of DEMCU as follows. First, set . We describe step by step how we build , and . The digraph has two vertices and , which are both terminals in different equivalence classes connected through an undeletable arc from to (realised as parallel arcs). For each , we construct two paths and from to . Specifically, and . The paths have arcs for , and for , and are connected to and through undeletable arcs , , and .
As a consequence of the construction so far, in order to ensure that and do not end up in the same strongly connected component, every solution needs to select exactly one arc per path and per path for . The choice of arcs here will simulate our choice of vertices for a clique in . In particular, let us denote by . We then want that selecting for the clique is simulated by cutting the two arcs going into and for precisely one .
As a first step, we want to ‘synchronise’ the choices for and . We do this as follows. For each and , we add a terminal , which belongs to the same equivalence class as , and undeletable arcs , and . Similarly, we add a terminal in the equivalence class of and add undeletable arcs , and . See Figure 2 for an illustration. One can now confirm that, when a solution selects an arc , then in order for to be reachable from the solution must select an arc of appearing after . Simultaneously, in order for to be able to reach , the selected arc of must appear before . That means the only valid choice is the arc . One can confirm that for any , selecting these two arcs ensures that all connectivity requirements on the terminals introduced so far is satisfied.
As a next step, we will introduce gadgets to ensure that if in paths and some vertex is selected through their arc choice, and if paths for a vertex is selected, then we must necessarily have that . To achieve this we will utilise the fact that when a path pair and make a choice for a vertex through their arc-cuts, then there is one unique index, namely , such that both and are not reachable from . So, for each distinct pair and for each such that , we introduce a terminal vertex in the same class as , and we add an undeletable arc , as well as an undeletable arc from , , and to . This ensures that can reach if and only if in and the arcs for are not selected, or in and the arcs for are not selected.
Correctness of the reduction now follows from correctness of the individual gadgets, and the observation that these gadgets do not interfere.
5.2 Directed Steiner cut
Theorem 14. DIRECTED STEINER CUT on general digraphs is W[1]-hard when parameterized by .
Proof. We show W[1]-hardness by reducing from the CLIQUE problem. Given an instance of CLIQUE, we construct an instance of DSC as follows. We set . Construct by taking as vertex set . We have arcs for each . Furthermore, we add an undeletable arc (undeletable arcs can be modelled by parallel arcs). Next, for each edge , we add undeletable arcs from and to . Finally, we add an undeletable arc from each to . We conclude by setting .
We now show that the reduction is correct. Let be a clique of size in . Then we let be our cutset for the DSC instance. Clearly , hence it remains to show that has at least strongly connected components with a terminal. For this, it suffices to observe that a vertex is in a strongly connected component distinct from the one containing if and only if contains both the arcs from to and to . Thus, the number of strongly connected components of containing a terminal is precisely one plus the number of edges in , which is as is a clique.
For the converse, let be a cutting set of size most such that has at least strongly connected components containing a terminal. Let , and observe that . As stated above, we know that a terminal is in its own strongly connected component if and only if both and are in . That means that by cutting at most arcs, at most of such terminals can have become a strongly connected component. Since , we know that we must have that and for each pair , there must exist a terminal . By construction, this means that for each pair , there must be an edge , ergo is a clique of size .
References
[BFL 16] 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. 17, 18
[CCH 16] Rajesh Chitnis, Marek Cygan, MohammadTaghi Hajiaghayi, Marcin Pilipczuk, and Michal Pilipczuk. Designing FPT algorithms for cut problems using randomized contractions. SIAM J. Comput., 45(4):1171–1229, 2016. 1, 3, 4, 18, 23, 24, 25
[CFK 15] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. 9
[CKK24] Dario Giuliano Cavallaro, Ken-ichi Kawarabayashi, and Stephan Kreutzer. Edge-disjoint paths in eulerian digraphs. In Bojan Mohar, Igor Shinkar, and Ryan O'Donnell, editors, Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, Vancouver, BC, Canada, June 24-28, 2024, pages 704–715. ACM, 2024. 2
[CKK26] Dario Cavallaro, Ken-ichi Kawarabayashi, and Stephan Kreutzer. Well-quasi-ordering eulerian digraphs: Bounded carving width. In Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis, editors, 53rd International Colloquium on Automata, Languages, and Programming, ICALP 2026, Royal Holloway, University of London, Egham, United Kingdom, July 7-10, 2026, volume 374 of LIPIcs, pages 51:1–51:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2026. 2
[Cou92] Bruno Courcelle. The monadic second-order logic of graphs III: tree-decompositions, minor and complexity issues. RAIRO Theor. Informatics Appl., 26:257–286, 1992. 2
[CT21] Julia Chuzhoy and Zihan Tan. Towards tight(er) bounds for the excluded grid theorem. J. Comb. Theory B, 146:219–265, 2021. 7, 8
[Dea86] Nathaniel Dean. What is the smallest number of bicycles in a bicycle decomposition of an eulerian digraph? Journal of graph theory, 10(3):299–308, 1986. 2
[ERW22] Eduard Eiben, Clément Rambaud, and Magnus Wahlström. On the parameterized complexity of symmetric directed multicut. In Holger Dell and Jesper Nederlof, editors, 17th International Symposium on Parameterized and Exact Computation, IPEC 2022, Potsdam, Germany, September 7-9, 2022, volume 249 of LIPIcs, pages 11:1–11:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022. 4
[Fra88] András Frank. On connectivity properties of eulerian digraphs. In Annals of Discrete Mathematics, volume 41, pages 179–194. Elsevier, 1988. 2
[GJSW14] Gregory Gutin, Mark Jones, Bin Sheng, and Magnus Wahlström. Parameterized directed-chinese postman problem and arc-disjoint cycles problem on euler digraphs. In International Workshop on Graph-Theoretic Concepts in Computer Science, pages 250–262. Springer, 2014. 2
[GKMW11] Martin Grohe, Ken-ichi Kawarabayashi, Dániel Marx, and Paul Wollan. Finding topological subgraphs is fixed-parameter tractable. In Lance Fortnow and Salil P. Vadhan, editors, Proceedings of the 43rd ACM Symposium on Theory of Computing, STOC 2011, San Jose, CA, USA, 6-8 June 2011, pages 479–488. ACM, 2011. 1, 3
[HMS 13] Hao Huang, Jie Ma, Asaf Shapira, Benny Sudakov, and Raphael Yuster. Large feedback arc sets, high minimum degree subgraphs, and long cycles in eulerian digraphs. Combinatorics, Probability and Computing, 22(6):859–873, 2013. 2
[Joh02] Carl Darwin Thor Johnson. Eulerian digraph immersion. Princeton University, 2002. 2
[KKPW24] Eun Jung Kim, Stefan Kratsch, Marcin Pilipczuk, and Magnus Wahlström. Flow-augmentation II: undirected graphs. ACM Trans. Algorithms, 20(2):12, 2024. 1
[KKPW25] Eun Jung Kim, Stefan Kratsch, Marcin Pilipczuk, and Magnus Wahlström. Flow-augmentation I: directed graphs. J. ACM, 72(1):5:1–5:38, 2025. 1
[Kor21] Tuukka Korhonen. A single-exponential time 2-approximation algorithm for treewidth. In 62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Denver, CO, USA, February 7-10, 2022, pages 184–192. IEEE, 2021. 9
[KPPW15] Stefan Kratsch, Marcin Pilipczuk, Michal Pilipczuk, and Magnus Wahlström. Fixed-parameter tractability of multicut in directed acyclic graphs. SIAM J. Discret. Math., 29(1):122–144, 2015. 4
[KT11] Ken-ichi Kawarabayashi and Mikkel Thorup. The minimum k-way cut of bounded size is fixed-parameter tractable. In Rafail Ostrovsky, editor, IEEE 52nd Annual Symposium on Foundations of Computer Science, FOCS 2011, Palm Springs, CA, USA, October 22-25, 2011, pages 160–169. IEEE Computer Society, 2011. 3
[LLM 20] William Lochet, Daniel Lokshtanov, Pranabendu Misra, Saket Saurabh, Roohani Sharma, and Meirav Zehavi. Fault tolerant subgraphs with applications in kernelization. In Thomas Vidick, editor, 11th Innovations in Theoretical Computer Science Conference, ITCS 2020, Seattle, Washington, USA, January 12-14, 2020, volume 151 of LIPIcs, pages 47:1–47:22. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. 5
[LRSZ18] Daniel Lokshtanov, M. S. Ramanujan, Saket Saurabh, and Meirav Zehavi. Reducing CMSO model checking to highly connected graphs. In Ioannis Chatzigiannakis, Christos Kaklamanis, Dániel Marx, and Donald Sannella, editors, 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, Prague, Czech Republic, July 9-13, 2018, volume 107 of LIPIcs, pages 135:1–135:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018. 2, 3, 14, 15, 17, 19
[LRSZ20] Daniel Lokshtanov, M. S. Ramanujan, Saket Saurabh, and Meirav Zehavi. Parameterized complexity and approximability of directed odd cycle transversal. In Shuchi Chawla, editor, Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020, pages 2181–2200. SIAM, 2020. 4, 5, 6, 7
[Mar11] Dániel Marx. Important separators and parameterized algorithms. In Petr Kolman and Jan Kratochvil, editors, Graph-Theoretic Concepts in Computer Science - 37th International Workshop, WG 2011, Teplá Monastery, Czech Republic, June 21-24, 2011. Revised Papers, volume 6986 of Lecture Notes in Computer Science, pages 5–10. Springer, 2011. 1
[MOR13] Dániel Marx, Barry O'Sullivan, and Igor Razgon. Finding small separators in linear time via treewidth reduction. ACM Trans. Algorithms, 9(4):30:1–30:35, 2013. 1, 2, 5, 11, 12, 13
[MR11] Dániel Marx and Igor Razgon. Fixed-parameter tractability of multicut parameterized by the size of the cutset. In Lance Fortnow and Salil P. Vadhan, editors, Proceedings of the 43rd ACM Symposium on Theory of Computing, STOC 2011, San Jose, CA, USA, 6-8 June 2011, pages 469–478. ACM, 2011. 1
[NSS95] Moni Naor, Leonard J Schulman, and Aravind Srinivasan. Splitters and near-optimal derandomization. In Proceedings of IEEE 36th Annual Foundations of Computer Science, pages 182–191. IEEE, 1995. 23
[PW18] Marcin Pilipczuk and Magnus Wahlström. Directed multicut is w[1]-hard, even for four terminal pairs. ACM Trans. Comput. Theory, 10(3):13:1–13:18, 2018. 4, 5
[RSV04] Bruce A. Reed, Kaleigh Smith, and Adrian Vetta. Finding odd cycle transversals. Oper. Res. Lett., 32(4):299–301, 2004. 6
[vAEdB87] Tanja van Aardenne-Ehrenfest and Nicolaas Govert de Bruijn. Circuits and trees in oriented linear graphs. In Classic papers in combinatorics, pages 149–163. Springer, 1987. 2
[Wah18] Magnus Wahlström. Euler digraphs. In Jørgen Bang-Jensen and Gregory Z. Gutin, editors, Classes of Directed Graphs, Springer Monographs in Mathematics, pages 173–205. Springer, 2018. 2, 3, 23