Manuscript Offprint
arXiv:2610.17237Greedy Region Growing: Improved Approximations for Cutwidth, Pathwidth, Flow-Expander Decomposition, and More
Abstract
We give a new rounding technique for spreading-metric linear programs, called Greedy Region Growing, which adapts the classical technique of region growing to min-max graph layout problems and flow-expander decomposition. Using this technique, we obtain state-of-the-art approximation algorithms for several fundamental problems.
-
An -approximation for CUTWIDTH and PATHWIDTH, improving upon the previous bound of due to Bansal, Katzelnick, and Schwartz (FOCS 2024). This matches the integrality gap of the standard LP relaxations.
-
An -approximation for their directed analogues, MINIMUM STORAGE and MINIMUM REGISTER SUFFICIENCY on directed acyclic graphs, improving the previous bound of .
-
A -flow-expander decomposition that cuts at most an fraction of the edges. This improves the bound of Bansal, Jambulapati, and Saranurak (ICALP 2026), and is within an factor of the graph-theoretic lower bound.
The vertex version of our algorithm also gives an -approximation for TREEDEPTH. In particular, our results answer several open problems of [BKS24]. Technically, we also solve the conceptual question raised by [BKS24]: our technique shows how to adapt Seymour recursion to min-max objectives, and constructs -weak local partitions in spreading metrics.
*Email: adanand@umich.edu. Part of this work was done while the author was a Ph.D. student at the University of Michigan.
Contents
1 Introduction 3
2 Technical Overview 7
3 Preliminaries 17
4 An -Approximation for Cutwidth 19
5 Flow-Expander Decomposition 24
6 Directed Layouts: Minimum Storage 29
7 Pathwidth and Treedepth 34
8 Conclusion and Open Problems 39
A Comparison with the Weak Local Partitions of [BKS24] 41
B Minimum Register Sufficiency 42
C Nonnegative Node-Weightings 43
D Separation Oracles and Implementation 43
E Integrality Gaps 44
F AI Disclosure 46
Leighton and Rao [LR99] introduced region growing to round the linear programs for SPARSEST CUT and BALANCED SEPARATOR, obtaining an -approximation for the former with uniform demands and a bicriteria -approximation for the latter. In region growing, we repeatedly grow a ball in the metric until its boundary is cheap, and cut it out. For many problems, including MINIMUM LINEAR ARRANGEMENT, CUTWIDTH and expander decomposition [KVV04, ST11, SW19], the natural approach is to decompose the graph recursively using balanced separators. This typically gives an -approximation: since every separator is balanced, the pieces shrink by a constant factor at each level, so there are levels of recursion, and at each level we lose an factor in approximating BALANCED SEPARATOR. The celebrated -approximation for balanced separators of Arora, Rao, and Vazirani [ARV09], and its extension to vertex separators [FHL08], improves the second logarithm, giving -approximations for several of these problems.
Seymour [Sey95], in the context of feedback set problems in directed graphs, introduced a powerful refinement of region growing that trades the cost of a cut against the size of the piece it separates. Skipping many details, the idea is as follows. We may cut off pieces of any size (so the cuts need not be balanced), but how much we may pay depends on the size of the piece: a piece containing a constant fraction of the graph must be cut at nearly constant approximation cost, whereas a piece of constant size may be cut at cost . In general, we pay for a piece of size s with a factor of . The magic is that along a root-to-leaf path of the recursion tree, these factors telescope to a single : if the pieces along the path have sizes , then the total factor is
The actual implementation works with LP volumes of metric balls rather than their sizes, and loses an additional factor. Using this, Even, Naor, Rao, and Schieber [ENRS00] soon gave -approximations for numerous graph partitioning problems, beating the barrier of balanced recursion. For min-sum objectives such as MINIMUM LINEAR ARRANGEMENT, Rao and Richa [RR05] improved the approximation to , and subsequent SDP-based techniques give -approximations [FL07, CHKR10].
Min-max objectives such as CUTWIDTH and PATHWIDTH are much less well understood, and Seymour recursion does not directly apply to them. In CUTWIDTH, we must find an ordering of the vertices that minimizes the maximum number of edges leaving a prefix. Even if the cuts produced by Seymour recursion are individually cheap, their boundaries may all pile up on a single prefix. This is why, for a long time, the best approximation for these problems remained the given by balanced separators. In a recent breakthrough, Bansal, Katzelnick, and
Schwartz [BKS24] overcame this obstacle using a multiscale metric decomposition, obtaining -approximations for CUTWIDTH and PATHWIDTH. They explicitly point out why adapting Seymour recursion seems to fail, and they proposed weak local partitions as a possible route to an -approximation, leaving their construction open. Moreover, their multiscale argument does not directly extend to directed min-max layouts, where the metric is asymmetric.
The same obstacle appears in flow-expander decomposition. Previously, the best overhead was for flow expansion ( for cut expansion). Recently, Bansal, Jambulapati, and Saranurak [BJS26] broke this barrier by adapting the decomposition of [BKS24], obtaining a flow-expander decomposition with overhead .
This raises two natural questions. The first is conceptual: can Seymour recursion be adapted to min-max graph layout problems and to expander decomposition? The second asks how far one can go. For all the layout problems we consider, the spreading-metric LP has an integrality gap of on bounded-degree expanders ([BKS24], Section E), so is the best one can hope for with this LP approach. The same gap holds for the stronger direct CUTWIDTH LP of [BKS24], as we show in Section E. Can we reach this bound, removing even the loss of Seymour recursion?
Our contribution. We answer both questions in the affirmative. We give two rounding algorithms, which together we call Greedy Region Growing. Both repeatedly carve the heaviest remaining ball out of the metric, so that the cut costs are controlled not only piece by piece but on every prefix of the carving at once; this is exactly what min-max objectives require. They differ in how the radius of each cut is chosen: locally for each center, or globally for all centers at once.
(1) Greedy Seymour Carving chooses the radius locally: it is a greedy variant of Seymour recursion, in which each center chooses its radius by Seymour's region growing. This answers the first question. With it, we obtain a flow-expander decomposition with overhead, and an -approximation for CUTWIDTH. In fact, Greedy Seymour Carving gives bounds for all the problems in this paper; since Global Carving does better for the layout problems, we present it in full only for expander decomposition.
(2) Global Carving goes beyond Seymour recursion and answers the second question. It uses a single radius shared by all centers, which shrinks at a rate proportional to the volume of the heaviest remaining ball. The algorithm is simple and applies uniformly to all our layout problems, including directed layouts, where the metric is asymmetric. With it, we remove the factor and obtain -approximations, matching the integrality gap, for CUTWIDTH, PATHWIDTH, TREEDEPTH, MINIMUM STORAGE and MINIMUM REGISTER SUFFICIENCY. Flow-expander decomposition is the only remaining case, and we leave removing the factor there open.
We state these results below.
1.1 Cutwidth and pathwidth
CUTWIDTH and PATHWIDTH are classical graph layout problems whose approximation algorithms have developed alongside multicommodity-flow methods and balanced-separator techniques [LR99, BGHK95]. For an ordering of an undirected graph, its cutwidth is the maximum
For CUTWIDTH, the gap compares with , and analogously for the other layout problems.
number of edges with exactly one endpoint in a prefix of . The cutwidth of the graph is the minimum over all orderings. PATHWIDTH has an equivalent ordering formulation: the cost of a prefix is the number of vertices in the prefix with a neighbor outside it. The minimum, over all orderings, of the maximum prefix cost is the vertex-separation number, which equals the pathwidth [Kin92].
As a function of , the best known approximation for both problems, due to Bansal, Katzelnick, and Schwartz [BKS24], is , where . Assuming the Small Set Expansion Hypothesis, CUTWIDTH admits no constant-factor approximation [WAPL14]. We obtain -approximations for both problems.
Theorem 1.1 (Cutwidth and pathwidth). There are deterministic polynomial-time algorithms that, given an n-vertex undirected graph G, compute an ordering of cutwidth at most
and a path decomposition of width at most
respectively.
This answers open questions of [BKS24]. The CUTWIDTH result is proved in Section 4. The PATHWIDTH result follows from the vertex version of the carving algorithm in Section 7.
1.2 Directed min-max layouts
In directed layout problems, the input is a directed acyclic graph and the output ordering must be topological. In MINIMUM STORAGE, the cost of an ordering is the maximum number of arcs crossing a prefix. In MINIMUM REGISTER SUFFICIENCY, the cost is the maximum number of vertices in a prefix with an out-neighbor outside the prefix. These classical problems model peak memory and register requirements in precedence-constrained computations. Approximation algorithms for MINIMUM REGISTER SUFFICIENCY date back to the early 1990s [KARR90].
The best previous bound, , follows by combining balanced recursion with the directed separator algorithms of [ACMM05]. For MINIMUM REGISTER SUFFICIENCY, this combination with the framework of [RAK91] is noted explicitly in [WAPL14]; the edge-separator version gives the same bound for MINIMUM STORAGE. Bansal, Katzelnick, and Schwartz [BKS24] asked whether almost logarithmic approximations are possible; since the natural metric is asymmetric, the packing and covering properties used by their multiscale decomposition no longer hold.
Theorem 1.2 (Directed layouts). There are polynomial-time -approximation algorithms for MINIMUM STORAGE and MINIMUM REGISTER SUFFICIENCY on directed acyclic graphs.
We prove the MINIMUM STORAGE result in Section 6. The reduction from MINIMUM REGISTER SUFFICIENCY to weighted MINIMUM STORAGE is given in Section B.
1.3 Treedepth
Treedepth is a central parameter in structural graph theory, particularly in the study of sparse graph classes [CNP21]. An elimination forest of a graph is a rooted forest in which the endpoints of every edge are comparable in the ancestor order. The treedepth of the graph is the minimum height of such a forest. The vertex version of our algorithm gives the following result.
Theorem 1.3 (Treedepth). There is a polynomial-time algorithm that, given an n-vertex graph G, constructs an elimination forest of height
Recursive balanced vertex separators [FHL08] give an -approximation. It can be shown that the separator construction in Section 5 of [BKS24] also implies an -approximation for TREEDEPTH, although their paper states the result only for PATHWIDTH. We obtain an -approximation for treedepth as well.
There are also incomparable guarantees in terms of width parameters. Czerwiński, Nadara, and Pilipczuk [CNP21] compute an elimination forest of height , where and ; this is better when is small. On the hardness side, it is NP-hard to approximate TREEDEPTH within a factor of 1.0003 [BNS25].
1.4 Flow-expander decomposition and the fine-grained flow-cut gap
Expander decomposition is one of the most fundamental techniques in modern graph algorithms [KVV04, ST11, SW19]. We work with the stronger notion of flow expansion, as opposed to the traditional cut-based expansion. An undirected graph is a -flow expander if every multicommodity demand respecting its vertex degrees can be routed with congestion at most . A -flow-expander decomposition is a set of edges whose deletion leaves only -flow-expander components. Flow expansion certifies the routability of all degree-respecting demands, rather than only a lower bound on the capacity of every cut; in particular, a -flow expander is also a -cut expander.
A simple algorithm either certifies that the graph is a -flow expander or finds an approximate sparsest cut and recurses, deleting edges. The best known bound, , is due to Bansal, Jambulapati, and Saranurak [BJS26]. We obtain the following.
Theorem 1.4 (Flow-expander decomposition). There is a polynomial-time algorithm that, given an unweighted graph with vertices and edges and a rational parameter , returns such that every connected component of is a -flow expander and
The theorem can be extended to edge-weighted graphs, with the total weights of C and of E in place of and m. The bound is within an factor of the graph-theoretic lower bound on the overhead, which already holds for cut-expander decompositions (see [BJS26]).
The key ingredient, which gives the decomposition by simple recursion, is the following algorithmic fine-grained flow-cut gap. Here the volume of a set is the sum of the degrees of its vertices, and is the set of edges with exactly one endpoint in .
Theorem 1.5 (Fine-grained flow-cut gap). There is a polynomial-time algorithm that, given a connected graph and a parameter , either certifies that is a -flow expander, or outputs a set with and
This is the case of Theorem 5.3, which holds more generally for every node-weighting with all weights at least one. The classical flow-cut gap of Leighton and Rao [LR99] gives the same statement with the right-hand side replaced by , and the work of [BJS26] implicitly gives a similar bound with replaced by . We conjecture that the factor can also be removed from this fine-grained flow-cut gap, and leave this as an interesting open question.
2 Technical Overview
We use CUTWIDTH to develop the main rounding idea of Greedy Region Growing: a greedy carving order that controls the cumulative boundary of every prefix. We first present the local version, Greedy Seymour Carving, and then Global Carving, which removes the remaining factor. In Section 2.7, we briefly describe the additional ingredients needed for PATHWIDTH and TREEDEPTH, directed layouts, and flow-expander decomposition.
2.1 The LP and the recursive framework
We begin with the LP relaxation for CUTWIDTH used in [BKS24]. Recall that the goal is to find an ordering of the vertices that minimizes the maximum number of edges leaving a prefix of the ordering.
For every induced subgraph of , the quantity is a lower bound on the cutwidth of . Indeed, let be the metric induced by an optimal cutwidth ordering of , so that the vertices at positions and are at distance . This metric is feasible, and its objective is the sum of the prefix cuts, which is at most times the cutwidth of , and hence at most .
Our algorithm is recursive. Suppose we find an ordered partition of into pieces . This fixes the order between pieces: vertices of the first piece come first, then those of the second, and so on. We then recursively order each induced subgraph .
The guarantee we want from the partition is the following. For a set , write for , and for the set of edges with exactly one endpoint in . Every piece should have at most vertices, and for every ,
The left-hand side upper bounds the number of edges leaving the prefix . Following the terminology of [BKS24], we call such an ordered partition an -weak local partition.
In fact, this is the standard relaxation for MINIMUM LINEAR ARRANGEMENT.
Since may be zero, the actual definition (Theorem 4.1) uses instead the volume of : the total LP length of the edges inside , plus per vertex. It is at least , so the actual condition implies (2.2). The factor 2e only keeps the logarithm at least one.
Our ordered definition differs slightly from that of [BKS24], but our construction also satisfies theirs (Section A).

Figure 1: The cost of a prefix ending at a vertex . At each level, the shaded earlier pieces belong to , the unshaded later pieces do not, and the blue piece contains . At the top level, these are the pieces of . The cut receives one contribution from each level ; the weak local partition bound (2.2) makes their sum .
Why does this suffice? Consider a prefix of the final ordering that ends at a vertex of the piece , as illustrated in Figure 1. Intuitively, the current level contributes about edges to its cut, while the recursion inside contributes about ; the two logarithms add up to . Concretely, let be the recursive instances containing : , and in general is induced by the piece of that contains . Since , applying (2.2) at each level shows that is crossed by at most
edges, since the depth is and the LP values lie between and . For the rest of the overview, we therefore focus on constructing -weak local partitions: first with , using Greedy Seymour Carving (Sections 2.2 to 2.5), and then with , using Global Carving (Section 2.6).
2.2 Balls, volumes and region growing
We first recall region growing, and give an alternative proof, different from the one in the classical literature, of Seymour's fine-grained version. This argument is the basic building block of Greedy Seymour Carving.
Fix an optimal solution of (2.1). For a vertex and a radius , the ball is the set of vertices at distance less than from . For every vertex , the ball of radius contains at most vertices. Otherwise, it can be easily shown that the set violates the spreading constraint of (2.1) with center .
The volume of the ball is the total LP length of the edges inside it, plus for every vertex in the ball. An edge on the boundary of the ball contributes the part of its length that lies inside. For example, if an edge has and , and , then it contributes 0.21 - 0.2 = 0.01. With this definition, the volume grows continuously as long as no new vertex enters the ball, and its derivative is exactly the cut-size of . When a new vertex enters the ball, the volume jumps up: the term of the vertex is added, and its edges to vertices already in the ball now count with their full length. The term per vertex keeps volumes positive: every ball has volume between and . We call
the deficit of the ball. It satisfies , and it is nonincreasing in .
Classical region growing. Given radii , there is a radius such that
To see this, divide into intervals of equal length. The volume cannot double across every one of them, since otherwise . So some interval is stable, meaning . The average increase of over this interval is at most , so at some point the derivative is at most this quantity, since the jumps only increase . This gives a radius with
The fine-grained version. The logarithm above involves , the volume at the inner radius, which may be as small as . So it can be even if the ball we eventually cut out is huge. We now show that there is a radius satisfying
The proof is the same argument applied one level up, to the deficit instead of the volume . Divide into intervals of equal length. Moving inward, the deficit cannot double across every one of them, since otherwise . So some interval is stable for the deficit, meaning . Applying the classical bound inside , whose length is , gives a radius with
The point is that this logarithm is now small:
by stability and then by monotonicity of , since . As , the additive is absorbed, which proves the claim. The logarithm is now controlled by the volume of the ball we
A related stability condition for logarithmic ball-size deficits appears in [BKS24, Section 3.2], in their multiscale decomposition.
actually cut out rather than by the volume at the inner radius; the price is the factor from working in a shorter interval.
Taking , so that every ball we consider has at most vertices, we obtain the following Seymour-type guarantee (Theorem 3.5): around any center , we can find a ball of volume with
Since contains the length of every edge inside , and restricting to gives a feasible solution, we have . So the logarithm in (2.3) is at most , the quantity in (2.2).
2.3 Why one Seymour step is not enough
Our first goal is an -weak local partition: an ordered partition of into pieces of at most vertices such that, for every ,
The most direct approach is to apply (2.3) repeatedly: cut out one ball, remove it, apply (2.3) again in the remaining graph, and output the pieces in the order in which they were removed. Each piece then pays for its own boundary with its own deficit. The problem is not obtaining one such piece; it is controlling the total cut-size of a prefix, since every piece with contributes to the prefix ending at .
Let be the ball volume of when it is carved, measured in the graph from which it is removed, and let be its deficit. Two simple facts are useful. First, charging each edge when the first of its endpoints is removed shows that the volumes of all pieces sum to at most 2LP(G): at most LP(G) from the vertex terms and at most LP(G) from the edges. Second, each edge between two pieces is cut, in the remaining graph, when the earlier of the two pieces is removed, and it appears at most twice on the left-hand side of (2.2). Using (2.3), we obtain the naive bound
If the deficits were roughly equal, we would be done. This is precisely where the approach breaks down: in the worst case, we may first remove many pieces of small volume, and then a final piece of very large volume. Then for all , and the bound above is far from the bound that we need for the prefix ending at .
This suggests extracting the pieces greedily: pieces of large volume should come first, and pieces of small volume later. A simple algorithm would pick the largest ball first. However, the sequence of cuts determines the graph in which we look for the next piece. Every removal shrinks the balls around the remaining centers, and the radius chosen by the argument of Section 2.2 may change completely. So there is no fixed list of pieces that we could sort in advance.
2.4 Greedy Seymour Carving: stable annuli
The observation that rescues the greedy approach is that we never need to know exactly which piece a center will cut. It suffices to know its deficit up to a factor of two, and a stable interval provides exactly this. From now on, volumes and deficits are always measured in the graph induced by the vertices that have not yet been removed. We divide the range of radii into equal annuli. If an annulus is stable for , that is, , then, since the deficit is nonincreasing in the radius, every satisfies
So the volume at the outer radius , which we call the key of , predicts the deficit of the piece that would cut up to a factor of two, whatever radius region growing picks inside the annulus. By Section 2.2, that radius cuts at most edges.
This suggests the following algorithm. Every vertex keeps a pointer to a current annulus, initially the outermost one. While vertices remain:
(1) move the pointer of every remaining vertex inward until its annulus is stable;
(2) pick the vertex with the largest key;
(3) grow a region inside its annulus and remove the resulting ball. All other vertices keep their pointers.
Two properties make this work.
Keys never increase. Removing vertices only removes volume, and moving a pointer inward moves the outer radius inward. So every key can only decrease, and since we always select the maximum, the selected keys are nonincreasing. This is why the pointers must persist: if we reset them to the outermost annulus after each cut, as a naive repetition of the one-step argument would, keys could jump back up.
Pointers never run out. The key fact is that removing vertices only shrinks balls, so it can only increase deficits: once a deficit is large, it stays large. A pointer leaves the annulus only when . Then a becomes the new outer radius, whose deficit is already more than , and by the key fact it never drops below this value again. So the deficits that trigger successive moves more than double each time. Since deficits lie between 1 and , each pointer moves only times, so the annuli fixed at the start suffice for the entire carving.
2.5 Putting it together

carving order:
Figure 2: Greedy carving of G. The selected keys are nonincreasing, so the pieces appear at roughly decreasing volume scales: for . The sizes shown are schematic.
Let be the pieces in the order of removal, and let be the deficit of when it is cut, as in Section 2.3. By stability, is within a factor of two of the deficit of the i-th selected key, and these key deficits are nondecreasing. Hence
Up to a factor of two, the deficits of the pieces are nondecreasing: roughly, pieces of large volume come out first, which is exactly what the greedy approach wanted. The calculation of Section 2.3 now goes through, with the largest deficit replaced by :
Since , we have . So the carving order is an -weak local partition, and together with the recursion of Section 2.1, this gives an -approximation for CUTWIDTH.
2.6 Removing the factor: Global Carving
We now show how to remove the remaining factor and construct an -weak local partition. We first explain why Greedy Seymour Carving cannot avoid this factor, and why a weak local partition does not actually require it. We then give the algorithm and show that it constructs an -weak local partition.
Where the factor comes from. Greedy Seymour Carving pays for every piece by itself: the boundary of is charged to its own volume and its own deficit, as in (2.3), and the prefix bound of Section 2.5 is obtained by adding up these charges. The factor is the price of this local charging. To obtain (2.3) for a single ball, we must run region growing in an interval that is stable for the deficit. We do not know in advance where such an interval lies, so we split the range of radii into annuli, and region growing in an annulus of width loses this factor.
This loss is inherent in charging every piece to itself. Suppose that, as the radius decreases from to , the deficit of a ball grows geometrically from a constant to , say with . Since and the derivative of is the cut-size, we get, at every radius in this range,
So no radius cuts this ball at cost . Such a ball is consistent with all the properties of volumes that we use, so an analysis based on these properties, in which every piece pays for its own boundary, must lose the factor .
A global view. Let us look again at what a weak local partition asks for. As in Section 2.5, the deficit of a piece is at most , so it suffices to show
The right-hand side depends only on the deficit of the current piece. It is a budget for the whole prefix, and it does not ask , or any earlier piece, to pay for its own boundary. Greedy Seymour Carving uses this budget in a particular way: it pays for every piece with its volume times its deficit, and then uses the fact that the volumes add up to . But the budget can also be used differently. Suppose that the deficits of the pieces were nondecreasing, . Then it would suffice that every cut is paid for by the increase of the deficit from one piece to the next,
since these increases add up to at most ; if, in addition, every cut costs at most , the cut of the current piece is absorbed as well, since . Under this charging, a piece pays nothing for having a large deficit; it pays only for the growth of the deficit that it causes. The bound is then global: no single cut is compared with its own piece, only the carving as a whole is compared with the budget.
Why growing deficits pay for cuts. Why should the deficit grow when the cuts are expensive? For a single ball, the two are the same thing. Since and the derivative of is the cut-size, away from the jumps of we have
So a ball has a large boundary exactly at the radii where its deficit grows quickly as the radius shrinks. This is what happens in the example above: the boundary is large at every radius, but the deficit also grows from a constant to across the range of radii. Averaging over a window makes this quantitative. Fix a window , and let
be the growth of the deficit across the window. Since the jumps of only increase it, some radius r in the window has cut-size at most the average increase of :
Thus cutting at the best radius in the window costs at most per unit of deficit growth across the window, and no logarithm appears. Two requirements turn this into the charging scheme above.
(a) The window must be wide enough. The cost per unit of growth must be , so the window must have width . Heavy balls need wide windows, and light balls only thin ones.
(b) The deficits of later pieces must increase by . Every later piece should have deficit at least , that is, volume at most . Otherwise the growth does not show up in the budget.
Global Carving. These two requirements lead directly to the algorithm. All remaining centers share a single radius , which starts at and only decreases; as before, volumes are measured in the graph induced by the remaining vertices. Global Carving repeats the following step while vertices remain.
(1) Let K be the largest volume of a ball of radius , and set .
(2) Let v be a vertex whose ball of radius has the largest volume.
(3) Cut out the ball around v at the radius in the window with the smallest cut-size, remove it, and set .
Step (1) chooses the width of the window as requirement (a) asks: w is proportional to the volume K of the heaviest ball, and up to a constant it is the radius times the fraction of the total volume that sits in this ball. Steps (2) and (3) are designed for requirement (b): v has the heaviest ball of the inner radius , and every later cut is made at a radius below . The radius in Step (3) is found by plain averaging, as in (2.4); there is no Seymour step and no stability test.
We now show that the pieces, in the order in which they are carved, form an -weak local partition. We first prove the prefix bound, in three steps, and then check that the radius does not run out.
The level. The charging scheme above needs nondecreasing deficits. Instead of the deficits of the pieces, we use a quantity that is defined at the start of every step. Number the steps , write , and for the quantities , and of step , write for the growth of the deficit of across its window, as in (2.4), and let be the piece carved in step . The level at the start of step is
the deficit of the heaviest ball of the current radius. Since all volumes are at most 2 LP(G), we have . The level has the two properties that the charging scheme needs.
-
It never decreases. Between two steps, vertices are removed and the radius decreases. Both can only shrink balls, so , that is, .
-
It is at most the deficit of the current piece. The piece is a ball of radius less than the current radius, so its volume is at most , and its deficit satisfies .
The cost of a step. Fix a step , and let be the radius at its start. Since , the window bound (2.4) shows that step cuts at most
edges of the remaining graph. This is where requirement (a) is used: since is proportional to , the ratio is the same in every step. We now show that the level rises by at least in this step; this is where requirement (b) is used. Step starts at radius , and before was removed, had the heaviest ball of this radius. Removing only shrinks balls, so
that is, (see Figure 3). Combining the two bounds, step cuts at most edges of the remaining graph.

Figure 3: One step of Global Carving. Some radius in the window has cut-size at most the average slope of across it. The new heaviest volume is at most , so the level rises by at least .
The prefix bound. Now fix , and consider the prefix . As in Section 2.3, every edge between two pieces is cut, in the remaining graph, when the earlier of the two pieces is removed, and it is counted at most twice in . The steps cut at most edges each, and these bounds add up to . Step itself cuts at most edges. Hence
where the last step uses that the level is at most the deficit of the current piece. This is the weak-local-partition bound with .
The radius does not run out. Every cut is made at a radius below , so by Section 2.2 every piece has at most vertices. It remains to check that the windows fit into the range of radii. We show that their total width is at most , so that the radius never drops below . Let be the volume of when it is carved. If is the radius at the start of step , the piece contains the ball of radius around , so . If this volume is at least , then . Otherwise, since by the cost paragraph, the heaviest volume drops below , and then . In both cases,
The volumes add up to at most 2 LP(G), as noted in Section 2.3, and the differences add up to at most . So , and . In words, a wide window is paid for either by a heavy piece or by a large drop of the heaviest volume, and both are limited by the total volume. So the wide windows of requirement (a) still fit into the range of radii.
Summary. The carving order of Global Carving is an -weak local partition, and together with the recursion of Section 2.1, this gives an -approximation for CUTWIDTH. Both algorithms are instances of Greedy Region Growing: every step carves around the center with the heaviest ball (in Greedy Seymour Carving, each ball is measured at the outer end of its own annulus), so this largest volume never increases, and this is what controls the prefixes. They differ only in how the radius of each cut is chosen. Greedy Seymour Carving chooses it locally, for each center, so that every piece pays for its own boundary; this costs a factor . Global Carving uses a single radius shared by all centers, so that every cut is paid for by the rise of the level; the deficit in the final bound is at least the level, which accumulates the rises of all earlier steps, and the volume of a piece is used only to pay for the radius.
2.7 Beyond cutwidth
The same greedy principle drives all our results. Each of the other problems brings one new difficulty.
Pathwidth and treedepth. Here we must cut vertices rather than edges. Using the vertex relaxation of [BKS24], Global Carving goes through with vertex separators in place of edge boundaries, and this extension is essentially direct.
Directed layouts. Now the metric is asymmetric, and the ordering must respect precedence constraints. This is exactly where the approach of [BKS24] breaks down, as it relies on packing and covering properties of symmetric metrics. We need to carve pieces that are consistent with the precedence constraints and to arrange them in a topological order without losing the prefix bound. We do this by carving two kinds of balls: source balls, which only have outgoing arcs at the time they are removed, and sink balls, which only have incoming arcs. Placing the source balls at the beginning of the ordering and the sink balls at the end, in reverse order of removal, gives a topological order. Global Carving runs with these balls.
Flow-expander decomposition. Here we need a single cut whose cost is paid for by the weight of the smaller side, rather than by its LP volume. With a node-weighting A (such as the degrees), we need a Seymour-type bound
for some set with , where ; the metric now comes from the dual of a multicommodity flow LP. Region growing only pays for cuts with LP volume, so the carving has to control weight and volume at the same time. We do this by requiring each annulus to be stable for both quantities, using the weight to order the pieces and the volume to pay for their boundaries, and then an averaging argument finds one piece satisfying the bound. This averaging argument needs a bound on the sum of the costs of all pieces, each relative to its own weight, rather than a bound on every prefix. This is why we use Greedy Seymour Carving here: Global Carving controls only prefixes, and we do not know how to remove the factor in this setting.
2.8 Organization
Section 3 collects preliminaries, including the region-growing, stable-annulus and persistent-pointer lemmas of Section 3.3, which are used in Section 5. Section 4 gives the algorithm for CUTWIDTH, Global Carving, in full detail. Section 5 treats flow-expander decomposition with Greedy Seymour Carving, Section 6 MINIMUM STORAGE, and Section 7 PATHWIDTH and TREEDEPTH; the last two follow the structure of Section 4. We conclude with open problems in Section 8. In the appendices,
Section A compares our weak local partitions with those of [BKS24], Section B reduces MINIMUM REGISTER SUFFICIENCY to weighted MINIMUM STORAGE, Section C extends the flow-expander decomposition to arbitrary nonnegative node-weightings, Section D contains the implementation details: separation oracles, rational arithmetic, and the multicommodity flow LP, and Section E shows the integrality gaps. Section F is the AI disclosure.
For completeness and ease of reading, we keep Sections 4 to 7 largely self-contained. As a result, some lemmas appear in several sections in closely analogous forms: they rest on the same principle, but their details differ from problem to problem.
3 Preliminaries
All graphs are finite. Unweighted undirected graphs are simple. Edge weights, capacities, and algorithmic parameters are rational. Directed graphs are acyclic whenever a topological ordering is required. Unless stated otherwise, n and m denote the numbers of vertices and edges of the input graph. Logarithms are natural unless a base is specified.
3.1 Notation
For an undirected graph and , let be the induced subgraph and let
For a directed graph , denotes all arcs with exactly one endpoint in . We use for the vertex sets of the connected components of , and .
A metric may assign distance zero to distinct vertices. A quasi-metric satisfies the directed triangle inequality but need not be symmetric. A symmetric demand assigns a nonnegative value to each unordered pair . A routing sends this amount between and . The load of an edge is the sum of the commodity flows using it, and the congestion is the maximum ratio of edge load to edge capacity.
3.2 Vertex orderings and path decompositions
For an ordering , let . Its cutwidth is . Its vertex-separation cost is
Restricting an ordering to an induced subgraph cannot increase either cost. The same observation holds for MINIMUM STORAGE (Section 6) when the ordering is topological.
A path decomposition is a sequence of bags whose union is , such that every edge has both endpoints in a common bag and the bags containing any fixed vertex form an interval. Its width is . The pathwidth is the minimum width of a path decomposition.
Lemma 3.1. The minimum vertex-separation cost of an ordering of G equals [Kin92]. An ordering of vertex-separation cost k can be converted in polynomial time into a path decomposition of width at most k.
Proof. Let have vertex-separation cost . For each , set
The second set is the active set after the first vertices, so . If is an edge with , then both endpoints belong to . Let be the largest index of a neighbor of appearing after , or if no such neighbor exists. The bags containing are exactly . Thus is a path decomposition of width at most .
Conversely, let have width , and let be the first bag containing . Order the vertices by nondecreasing , breaking ties arbitrarily. Fix a proper prefix, and let be the first-bag index of its next vertex. If a processed vertex has an unprocessed neighbor , then the intervals for and intersect. Since , the interval for contains . Hence every active processed vertex lies in . The next unprocessed vertex also lies in , so at most processed vertices are active.
The LPs in this paper use spreading constraints. They are satisfied by the distances of every ordering.
Lemma 3.2 (Line metrics are spreading). Let be an ordering of a finite set , and let . Then for every and every .
Proof. Let ; we may assume , since replacing a vertex of by does not increase the sum. Let be the distances from to the vertices of . At most two vertices lie at each positive integer distance from , so . If , then ; if , it equals .
3.3 Region growing and stable annuli
For a metric , a center , and , write
All our algorithms grow balls whose volume behaves like the volume in Section 2.2. We isolate the properties we use. A volume function is a function that is nondecreasing and piecewise affine with finitely many breakpoints, called events, at which it may jump upward, and whose derivative away from the events is a nonnegative quantity , called the boundary cost at . Given a normalization , the deficit of is
It is nonincreasing in and at least one. An interval is stable if .
Lemma 3.3 (Region growing). Let V be a volume function and . There is an event-free radius with
Proof. This is the argument of Section 2.2. Divide into intervals of equal length. If more than doubled across each of them, then . So some interval has . Since the jumps are nonnegative, , so some event-free has .
Lemma 3.4 (Stable annulus). Let V be a volume function with deficit F, and let be stable. There is an event-free radius with
Such a radius, up to an absolute constant factor in the bound, can be found in polynomial time (Section D).
Proof. Apply Theorem 3.3. By stability, . Since , this is at most .
Corollary 3.5 (One-step carving). Let V be a volume function whose deficit takes values in [1, D], and let 0 < a < b. There is an event-free radius with
Proof. Divide into intervals of equal length. If none were stable, then . Apply Theorem 3.4 to a stable one, whose length is .
The algorithm of Section 5 maintains, for each center, a pointer into a fixed sequence of annuli that only moves inward. The following lemma bounds how often a pointer moves.
Lemma 3.6 (Persistent pointers). Let be fixed radii, and let be functions such that every is nonincreasing, pointwise, and all values lie in . A pointer starts at 1 and may only increase. Call a move of the pointer from to at time forced by if . Then at most moves are forced by .
Proof. We show that at the -th forced move, . For this holds since . Let the -th forced move happen at time from , so that . The -th forced move happens at a time from some . Since , monotonicity in the radius and in time give , hence . All values are at most , so .
In particular, if a pointer moves only when forced and , then it never passes the last annulus.
The stable-annulus and persistent-pointer lemmas are used only in Section 5, which uses Greedy Seymour Carving.
4 An -Approximation for Cutwidth
For an undirected graph G, we use the spreading-metric relaxation from Section 2.1 [ENRS00, BKS24]:
(4.1)
Its spreading constraints admit a polynomial-time separation oracle (Section D). For every induced subgraph H of G,
Indeed, let be an ordering of of cutwidth . The metric is feasible for (4.1) on by Theorem 3.2. An edge has length , which is the number of prefixes that it crosses, so the objective is . The second inequality holds since restricting an ordering of to does not increase cutwidth. Throughout this section, is a connected graph on vertices and is an optimal solution of (4.1). As in Section 2.1, the volume of a set is
The volumes of the parts of any partition sum to at most 2 LP(G).
4.1 Weak local partitions
Definition 4.1 (Weak local partition). An ordered partition of is an -weak local partition if for every and
This implies the unordered condition of [BKS24]; see Section A. The following lemma makes the recursion of Section 2.1 precise.
Lemma 4.2. Suppose an -weak local partition can be computed in polynomial time for every connected induced subgraph with at least two vertices. Then CUTWIDTH admits a polynomial-time -approximation.
Proof. Since there are no edges between connected components, we may order the components one after another, so we may assume that G is connected; a single vertex is ordered trivially. On a connected instance H with at least two vertices, solve (4.1) on H, compute an -weak local partition of H, recursively order the connected components of each of its parts, and concatenate the orders following the order of the parts. Every recursive instance has at most half as many vertices as its parent, so the recursion depth is . Write for the volume (4.3) computed in H.
Fix a prefix of the final ordering. Every instance occupies a contiguous block of the ordering. Let be the instances with at least two vertices whose block contains the last vertex of . For each , let be the part of containing that vertex; for , the next instance is a component of . An edge crossing that is separated at the level of leaves a part of that precedes or equals . By (4.4) and (4.2), there are at most
such edges. Restricting the metric of to is feasible, so for . At the last level, , since every vertex contributes to the volume. Therefore
Here we used , , and . The last bound holds for every connected instance with vertices: spreading gives , while the triangle inequality along a path gives , so . Finally, every edge crossing is separated at one of the levels , since a single vertex contains no edge. This proves the claim.
4.2 The carving algorithm
The algorithm grows balls in the graph induced by the remaining vertices. For , and , let , and define its volume as in Section 2.2, computed in :
For the ball is empty and its volume is 0.
Lemma 4.3. For every , every , and every :
(i) is a volume function (Section 3.3) with boundary cost and normalization 2LP(G); its events are the distances ;
(ii)
(iii) removing vertices other than u from U does not increase ;
(iv) if , then .
Proof. Write .
(i) Between two consecutive values of , the ball does not change, and every edge of with and contributes , which grows with slope one. So the derivative of is . When reaches and enters the ball, the term of is added, and for every edge with already in the ball, the partial term is replaced by the full length ; this is an increase, since by the triangle inequality. So only jumps upward.
(ii) The vertex terms sum to at most , and the edge terms to at most . Since , the volume is at least .
(iii) Removing a vertex from U removes its own term and the terms of the edges incident to y, and leaves all other terms unchanged.
(iv) Suppose that the ball contains a set of size . Then and , so , contradicting spreading; the last inequality is equivalent to .
The algorithm. Algorithm 1 is the Global Carving of Section 2.6, with balls and volumes taken among the remaining vertices.
Algorithm 1 (Global Carving)
Input: a connected graph with vertices, and an optimal solution of (4.1).
Output: an ordered partition of .
1: Initialize , , and .
2: while do
3: , , , , and .
4: Let be a vertex maximizing .
5: Let be a radius that is not an event of and minimizes .
6: , , and .
7: return .
Line 5 is well defined as long as , since then by Theorem 4.3(ii), and the boundary is constant between consecutive events; we show in Theorem 4.5 that stays above . The window of iteration is , where , and we write for the volume of when it is carved.
4.3 Analysis
We follow Section 2.6. The first lemma collects the facts about volumes that we use.
Lemma 4.4 (Volumes). For every iteration i:
(i) . In words, a piece is no heavier than its ball when carved, which is no heavier than the heaviest ball.
(ii) If , then , and hence . In words, after iteration , no ball of the new radius is heavier than the ball of at this radius.
Moreover, .
Proof. (i) Recall from (4.3) that counts for every vertex of and the full length of every edge inside . The volume of the ball counts the same terms, plus part of the length of every edge leaving in ; so . Since is nondecreasing and , the choice of in Line 3 gives .
(ii) Since , we have . Every satisfies , by Theorem 4.3(iii) and the choice of in Line 4, and is the largest of these volumes. Finally, by (i).
For the sum, every vertex contributes only to the volume of its own piece. An edge contributes at most its length, and only to the volume of the piece containing the endpoint removed first, since afterwards it is no longer an edge of the remaining graph. So .
Lemma 4.5 (Radius). The radius never drops below n/20, that is, for every i. Consequently, Algorithm 1 terminates after at most n iterations, in polynomial time, and for every i.
Proof. As in Section 2.6, a wide window is paid for either by a heavy piece or by a large drop of the heaviest volume. Let . If , then by Theorem 4.4(ii); otherwise, by the same lemma. In both cases,
Fix i. Summing over , adding , and using , we get
Hence every window lies in . Since , we have by Theorem 4.3(iv). Since , every iteration removes , so there are at most iterations, and each of them evaluates volumes at given radii and boundaries between consecutive events, which takes polynomial time.
Lemma 4.6 (Prefix bound). For every i,
Proof. Every cut is paid for by the rise of the level, as in Section 2.6. Let be the level at the start of iteration ; it is at least one by Theorem 4.3(ii).
The cost of a step. Fix an iteration j, and let
be the growth of the deficit of across its window; it is finite since by Theorem 4.5. By Theorem 4.3(i), only jumps upward, and away from the events its derivative is the boundary of the ball in . So the integral of the boundary over the window is at most , and Line 5 chooses a radius with the smallest boundary. Since , iteration cuts
edges. If , Theorem 4.4 gives , so the level rises by at least : .
The prefix bound. Now fix . For , iteration cuts at most edges, and these bounds add up to . Iteration cuts at most edges. An edge between and with lies in , and it is counted at most twice on the left-hand side of (4.6), and only if . Hence
where the last step uses .
Lemma 4.7. The carving order is a 320-weak local partition.
Proof. The size condition is part of Theorem 4.5. Since by Theorem 4.4, Theorem 4.6 gives (4.4) with .
Proof of the cutwidth statement in Theorem 1.1. Combine Theorems 4.2 and 4.7. Algorithm 1 runs in polynomial time by Theorem 4.5; the LP and the numerical implementation are discussed in Section D.
5 Flow-Expander Decomposition
Let be an undirected graph, and let be a rational node-weighting; so every vertex has weight at least one. Write . A demand on the vertex pairs is -respecting if for every vertex . Following [BJS26], we say that is -flow-expanding in if every -respecting demand can be routed in with congestion at most . For , this says that is a -flow expander. To avoid clutter, in this section stands for . We prove the following weighted version of Theorem 1.4.
Theorem 5.1. Let be a graph with a node-weighting as above, and write . For every rational , one can delete in polynomial time edges so that is -flow-expanding in every remaining connected component.
The theorem can be extended to edge-weighted graphs, with the total weight of the deleted edges in place of their number. Moreover, for every rational node-weighting , one can delete edges so that is -flow-expanding in every remaining component (Section C).
Proof of Theorem 1.4. Isolated vertices are trivially -flow expanders, so we may remove them and let , so that and . If is a remaining component, every -respecting demand is also -respecting, so is a -flow expander.
5.1 The flow LP and its dual
Let be a connected graph, and write . The product demand is . It is -respecting, since every vertex has total demand ; summing over , the total demand over all pairs is at most .
Lemma 5.2. If can be routed in with congestion at most , then is -flow-expanding in , that is, every -respecting demand can be routed in with congestion at most [BJS26, Fact 2.1].
Proof. Let be an -respecting demand. Route each pair through every intermediate vertex , sending an fraction of along the two legs and . The total amount that has to be sent between a pair in this way is at most
So two copies of a routing of carry all legs, and is routed with congestion at most .

Figure 4: The threshold cut in the proof of Theorem 5.4. Every vertex is placed at its distance from , which sits at 0. For a threshold , the set (shaded) contains . An edge is cut (red) only if falls between and (the highlighted interval); for uniform , this happens with probability at most .
The minimum congestion for routing is the value of a multicommodity flow LP of polynomial size (Section D). If it exceeds , LP duality gives nonnegative edge lengths such that
where d is the shortest-path metric of G under . The main lemma rounds these lengths into a cut.
Lemma 5.3. Given lengths satisfying (5.1), one can find in polynomial time a set with and
5.2 Proof of Theorem 5.3
Fix lengths satisfying (5.1), and let . The easy case is when some ball of radius carries a third of the total weight. Then a much stronger guarantee holds: a single threshold cut around the ball has at most edges, without the logarithmic factor of (5.2). This is essentially [BJS26, Lemma 4.1], and a similar argument appears in [LR99]; we include a short proof.
Lemma 5.4. Let have and diameter at most 2R. One can find in polynomial time a set with and .
Proof. Let be the distance of v from Y. We first show that, weighted by A, the vertices are far from Y on average. Any two vertices u, v are connected through their nearest points in Y, and Y has diameter at most 2R, so . By (5.1),
where the last step uses that every vertex has total demand at most and that the total demand is at most . Since , we get
In particular, . Pick uniformly at random, and let , which contains (Figure 4). An edge is cut only if lies between and , which happens with probability at most . A vertex lies outside with probability . Hence
So some has ; in particular both sides of the cut have positive weight. Since , the complement has weight at most , so . Let be the side of smaller weight. The set only changes at the values , so trying these thresholds finds deterministically.
A ball of radius has diameter at most , and , so Theorem 5.4 proves Theorem 5.3 whenever some ball of radius has weight at least . So we may assume from now on that
Volumes. For a set , a vertex , and , let . Its volume counts for every vertex of the ball, the length of every edge inside it, and the part inside the ball of every edge leaving it:
We use two deficits, one for the volume of the ball and one for the weight of a set S:
Lemma 5.5. For every , every , and every :
(i) is a volume function (Section 3.3) with boundary cost and normalization 2;
(ii) and , and both are nonincreasing in ;
(iii) removing vertices other than u from U decreases neither nor .
Proof. Write .
(i) Between two consecutive values of , the ball does not change, and every edge of with and contributes , which grows with slope one. So the derivative of is . When reaches and enters the ball, the term is added, and for every edge with already in the ball, the partial term is replaced by the full length ; this is an increase, since by the triangle inequality. So only jumps upward.
(ii) The vertex terms sum to at most one and the edge terms to at most , so and . Since , we have , so . Similarly, gives . Both deficits are nonincreasing in , because and are nondecreasing in .
(iii) Removing a vertex from U removes its own term and the terms of the edges incident to y, and leaves all other terms unchanged. So neither nor increases, and neither deficit decreases.
26
☐
The algorithm. Unlike Sections 4, 6 and 7, which use Global Carving, here we use Greedy Seymour Carving (Section 2.4): the averaging argument in the proof of Theorem 5.3 needs a bound on the sum of the costs of all pieces, each relative to its own weight, whereas Global Carving only controls the prefixes of the carving.
Let , and divide into the annuli for , where ; so is the outermost annulus and the innermost. For a set and a vertex , the annulus is stable for in if
The algorithm for Theorem 5.3, assuming (5.3), is described in Algorithm 2. At a high level, it maintains a residual set , initially , and removes one ball from in each iteration until is empty. Every vertex keeps an index , which only increases, and its current annulus is . The key of is the weight of the ball at the outer end of its current annulus; unlike in Section 2.4, keys are weights rather than volumes, since the pieces are compared by weight. Each iteration carves around a vertex of maximum key. At the end, the algorithm outputs the piece whose boundary is smallest relative to its weight.
Algorithm 2 (Greedy Seymour Carving, weighted)
Input: a connected graph G with a node-weighting A, and lengths satisfying (5.1) and (5.3).
Output: a set as in Theorem 5.3.
1: Initialize , , and for every vertex .
2: while do
3: for every : while is not stable for in , set .
4: , and let be a vertex of maximum key.
5: Apply Theorem 3.4 to on , and let be the resulting radius.
6: , , and .
7: return the piece minimizing .
Analysis. We first show that Algorithm 2 is well defined and that every piece is cheap in the residual graph.
Lemma 5.6. Every index stays in , and Algorithm 2 terminates after at most n iterations, in polynomial time. For every i,
Proof. Fix a vertex . Whenever increases, the annulus is unstable for or for , so the move is forced by one of them in the sense of Theorem 3.6. By Theorem 5.5, that lemma applies to both, with values in , so each forces at most increases, and . Each iteration removes , so there are at most iterations.
Line 5 applies Theorem 3.4 to an annulus of width that is stable for , which gives the bound on . Finally, , and by (5.3), since .
The choice of a maximum key in Line 4 makes the weight deficits of the pieces nondecreasing up to a factor of two.
Lemma 5.7. whenever .
Proof. Removing vertices and increasing indices can only decrease a key, so the key of every remaining vertex only decreases over time. Let be the key of when it is selected. Since Line 4 always selects a maximum key, . If the annulus of is , then gives , and stability gives
For , we get .
Next, the volumes of the pieces are bounded in total, and their boundaries in G are comparable to their boundaries in the residual graph.
Lemma 5.8. , , and
Proof. Every vertex contributes only to the volume of its own piece, and every edge contributes at most its length, and only to the volume of the piece containing the endpoint removed first. So . The pieces partition , so .
For the last bound, an edge between and with lies in . It contributes to the right-hand sum, and to the left-hand sum, by Theorem 5.7.
We can now prove the main lemma.
Proof of Theorem 5.3. If some ball of radius R has weight at least , we are done by Theorem 5.4. Otherwise, run Algorithm 2. We use the elementary inequality
If , the left-hand side is at most . Otherwise write with ; then the left-hand side is , since .
Apply it with and , for which and . By Theorems 5.6 and 5.8,
Since , some piece satisfies : otherwise, multiplying each ratio by and summing over would give more than . The piece returned in Line 7 minimizes this ratio, so it satisfies
where the last step uses . Line 7 can be implemented with rational arithmetic, up to a constant factor (Section D).
5.3 The decomposition
The decomposition algorithm is recursive. On a connected instance (initially each connected component of the input graph), compute the minimum congestion for routing in . If it is at most , stop: is -flow-expanding in by Theorem 5.2. Otherwise, find the set of Theorem 5.3, delete , and recurse on the connected components of and .
Proof of Theorem 5.1. Every remaining component passes the test, so A is -flow-expanding in it. Every cut splits an instance into two nonempty parts, so there are fewer than 2n instances, each handled in polynomial time. It remains to count the deleted edges.
By Theorem 5.3, when an instance of weight is cut along , the number of deleted edges is at most for an absolute constant . We charge this amount to the vertices of , each vertex receiving . Fix a vertex , and let be the weights of the instances in which is charged, with the side containing in the -th of them. Every later instance containing lies inside , so . Since ,
So every vertex is charged in total, and summing over all vertices bounds the number of deleted edges by .
6 Directed Layouts: Minimum Storage
Let be a DAG. For a topological ordering , let be its storage, and let . Every prefix of a topological ordering is closed under predecessors, so all arcs crossing a prefix leave it.
Theorem 6.1. There is a polynomial-time algorithm that, given an n-vertex DAG G, computes a topological ordering of storage at most MS(G).
6.1 The relaxation
We use the following LP [ENRS00, RR05]:
The constraints encode precedence, and the last family imposes spreading on the symmetrization , which is a metric.
Lemma 6.2. The LP (6.1) can be solved in polynomial time, and .
Proof. For a topological ordering , set . It satisfies the directed triangle inequality, for every arc , and , which satisfies spreading by Theorem 3.2; so it is feasible. Its objective is . The spreading constraints are separated as in Section D, using the values .
Restricting a solution to an induced subgraph preserves feasibility. Moreover, along any path of the underlying undirected graph, each arc contributes its length to , so for in the same weak component. As in the proof of Theorem 4.2, it follows that for every weakly connected with at least two vertices.
6.2 Source balls, sink balls, and volumes
For a vertex u and r > 0, the source ball and the sink ball around u are
The names come from the following property: in any induced subgraph, a source ball only has outgoing arcs, and a sink ball only has incoming arcs.
Lemma 6.3. Let , , and . Every arc of with exactly one endpoint in leaves , and every arc of with exactly one endpoint in enters .
Proof. If , then , so and . Hence implies , so no arc enters a source ball; and implies , so no arc leaves a sink ball.
From now on, is weakly connected with vertices and is an optimal solution of (6.1). For every vertex , one of and has at most vertices: their intersection lies in the -ball of radius , which has at most vertices by the argument of Theorem 4.3(iv), applied to , on which (6.1) imposes spreading. We fix such a sign for every vertex; we say that is of source type if and of sink type otherwise, and write
for its oriented ball in a set . By Theorem 6.3, every arc of crossing leaves it if is of source type, and enters it if is of sink type.
As in Section 4, the volume of a set is . The volume of an oriented ball adds the part inside the ball of every arc of crossing it:
For the ball is empty and its volume is 0.
Lemma 6.4. For every , every , and every :
(i) is a volume function (Section 3.3) with boundary cost and normalization 2 DLP(G); its events are the values if is of source type, and otherwise;
(ii)
(iii) removing vertices other than u from U does not increase ;
(iv) if , then .
Proof. Write . We give the argument for of source type; for of sink type, replace by and leaving arcs by entering arcs.
(i) Between two consecutive values of , the ball does not change, and every arc of leaving contributes , which grows with slope one. By Theorem 6.3, these are all the arcs of crossing , so the derivative of is . When reaches and enters the ball, the term of is added, and for every arc with already in the ball, the partial term is replaced by the full length ; this is an increase, since by the triangle inequality. So only jumps upward.
(ii) The vertex terms sum to at most , and the arc terms to at most . Since , the volume is at least .
(iii) Removing a vertex from U removes its own term and the terms of the arcs incident to y, and leaves all other terms unchanged.
(iv) This holds by the choice of .
6.3 The algorithm
Algorithm 3 is Algorithm 1 with oriented balls, followed by a reordering of the pieces.
Algorithm 3 (Global Carving, directed)
Input: a weakly connected DAG G with vertices, and an optimal solution d of (6.1).
Output: an ordered partition of .
1: Initialize , , and .
2: while do
3: , , , , and .
4: Let be a vertex maximizing .
5: Let be a radius that is not an event of \text{Vol}_u_i^U and minimizes .
6: , , and .
7: return the pieces in the two-ended order defined below.
As in Section 4.2, Line 5 is well defined as long as ; we show in Theorem 6.7 that stays above . The window of iteration is , where , and we write for the volume of when it is carved. The index gives the removal order of the pieces. Call a source piece if is of source type, and a sink piece otherwise. The two-ended order lists the source pieces in removal order, followed by the sink pieces in reverse removal order.
Lemma 6.5. Let . Every arc between and goes from the piece that comes earlier in the two-ended order to the piece that comes later. In particular, any ordering of V that lists the pieces in the two-ended order, each piece as a contiguous block ordered topologically, is a topological ordering of G.
Proof. When is removed, the remaining graph is , and all later pieces lie in . By Theorem 6.3, a source ball has only outgoing arcs in the remaining graph, and a sink ball has only incoming arcs. So every arc between and a later piece leaves if is a source piece, and enters if is a sink piece. The two-ended order respects this. It places every source piece before all pieces removed after it, and every sink piece after them. Hence every arc between two pieces points forward. Arcs inside a piece point forward by assumption, which gives the last claim.
Analysis in removal order. The next three lemmas are the analogues of Theorems 4.4 to 4.6, and their proofs are the same.
Lemma 6.6 (Volumes). For every iteration i:
(i)
(ii) if , then , and hence .
Moreover, .
Proof. As in the proof of Theorem 4.4, with arcs in place of edges, using Theorem 6.4(iii) and the choice of in Line 4.
Lemma 6.7 (Radius). The radius never drops below n/40, that is, for every i. Consequently, Algorithm 3 terminates after at most n iterations, in polynomial time, and for every i.
Proof. As in the proof of Theorem 4.5, Theorem 6.6(ii) gives for . So , and . Since , Theorem 6.4(iv) gives , and since , every iteration removes .
Lemma 6.8 (Prefix bound). For every i,
Proof. Let be the level at the start of iteration , and let \Delta_j = \log \frac{\text{Vol}_{u_j}^U_j(\rho_j)}{\text{Vol}_{u_j}^U_j(\rho_{j+1})}, which is finite since . As in the proof of Theorem 4.6, averaging over the window, with the boundary as the derivative of \text{Vol}_{u_j}^U_j (Theorem 6.4(i)), gives
and Theorem 6.6(ii) gives for . Summing over , and adding at most for iteration , we get . An arc between and with lies in , and it is counted at most twice on the left-hand side of (6.2), and only if . Hence the left-hand side is at most , since .
The two-ended order. It remains to relate prefixes of the two-ended order to the removal order.
Lemma 6.9. Let be a prefix of an ordering of that lists the pieces in the two-ended order, each piece as a contiguous block, and suppose that the last vertex of lies in . Then every arc of that is not an arc of lies in for some ; in particular, there are at most such arcs.
Proof. Consider an arc that is not an arc of . If has an endpoint in , then its other endpoint is outside , so . Otherwise, suppose first that is a source piece. Then is the union of the source pieces with , and has an endpoint in , so for such a . If is a sink piece, then is the union of the sink pieces with , and has an endpoint there, so again for such a .
6.4 Proof of Theorem 6.1
The final ordering is computed recursively. Process weak components separately; a single vertex is ordered trivially. On a weakly connected instance with at least two vertices, solve (6.1) and run Algorithm 3; then recursively order the weak components of each piece, and concatenate these orders following the two-ended order of the pieces. By Theorem 6.5 and induction, the result is a topological ordering.
Proof of Theorem 6.1. There are no arcs between weak components, so we may assume that is weakly connected with at least two vertices. Fix a prefix of the final ordering, and let be its last vertex. Let be the recursive instances with at least two vertices that contain . For , let be the piece of containing ; is the weak component of containing , where . Write for the volume computed in .
Every arc of is charged to the last level at which both of its endpoints lie in . At level , the charged arcs are arcs of inside that are not arcs of ; an arc of outside does not cross , since it lies in another weak component of , which is ordered as a contiguous block not containing , and hence lies entirely inside or entirely outside . Since is a prefix of the ordering of , Theorems 6.8 and 6.9 bound the number of arcs charged to level by
Here we used that the volume of is at most its volume when it is carved (Theorem 6.6(i)), and that by Theorem 6.2.
It remains to bound the sum of the logarithms. Since restricting the solution of to is feasible, for , and , since every vertex contributes to the volume. Hence
since by Theorem 6.7, , and . So .
Theorem 6.1 is the MINIMUM STORAGE statement of Theorem 1.2.
Remark 6.10 (Weighted arcs). For positive arc weights w, the weighted storage of a topological ordering is , and . Theorem 6.1 also holds for , for positive rational arc weights w whose largest-to-smallest ratio is polynomial in n.
Proof. Scale so that its minimum is 1, and let . Then for every . Let be obtained from by replacing every arc by paths , each through a new vertex . Let be a topological ordering of , and let be its restriction to . Each such lies between and in , so a path crosses a prefix of if and only if lies in the prefix and does not, and then it crosses it exactly once. Hence . Conversely, every extends to such a by placing each right after . Since has polynomially many vertices, Theorem 6.1 applied to proves the claim.
7 Pathwidth and Treedepth
This section proves Theorem 1.3 and the PATHWIDTH statement of Theorem 1.1.
7.1 The relaxation
For a graph G with n vertices, we use the vertex-separation relaxation of [BKS24]:
It has a polynomial-time separation oracle (Section D).
Lemma 7.1. For every graph , .
Proof. By Theorem 3.1, some ordering has vertex-separation cost . Set and . This is a metric, and it satisfies spreading by Theorem 3.2. For every edge with , we have . Finally, is the number of prefixes of in which is active, that is, in which is processed and has an unprocessed neighbor. So is the sum over all prefixes of the number of active vertices, which is at most .
Lemma 7.2. Given an elimination forest of height , a depth-first preorder has vertex-separation cost at most . In particular, for every graph .
Proof. Consider a proper prefix of the preorder, and let be the next vertex. If a processed vertex has an unprocessed neighbor , then and are comparable, so is an ancestor of . At a depth-first boundary, every processed vertex with an unprocessed descendant is a strict ancestor of , and there are at most of them. The last claim follows from Theorem 3.1.
7.2 Cores and separators
From now on, is connected with vertices and is an optimal solution of (7.1). Around a vertex , each vertex occupies the interval of radii . For a set , a vertex , and a radius , the core consists of the vertices of whose interval lies below , and the separator of those whose interval contains :
We only use radii that differ from all values and . For such a radius, every with lies in , and every other satisfies .
Lemma 7.3 (Core-separator property). No edge joins to . If , then .
Proof. Let and . Then , so . If were an edge, the edge constraint would give , and hence , contradicting the triangle inequality.
For the second claim, every vertex of the core satisfies . Suppose that the core contains a set of size . Then and , so , contradicting the spreading constraint for and .
So the separator disconnects the core from the rest of U, and it plays the role of the edge boundary in Section 4.
Volumes. Let . The volume counts for every vertex of this ball, and the part below of every interval:
This formula makes sense for every real r.
Lemma 7.4. For every , every , and every :
(i) is a volume function (Section 3.3) with boundary cost and normalization ; its events are the values and ;
(ii)
(iii) removing vertices other than u from U does not increase .
Proof. (i) The term of a vertex is continuous in , and away from the values it has slope one exactly when , that is, when . So the derivative of is . The only jumps come from the term of a vertex , which is added when reaches ; so only jumps upward.
(ii) The vertex terms sum to at most , and the interval terms to at most . Since , the volume is at least .
(iii) Removing a vertex from U removes its two terms and leaves all other terms unchanged.
7.3 The algorithm
Algorithm 4 is Algorithm 1 with these volumes, except that each iteration removes a core together with its separator.
Algorithm 4 (Global Carving with separators)
Input: a connected graph with vertices, and an optimal solution of (7.1).
Output: pairs of cores and separators.
1: Initialize , , and .
2: while do
3: , , , , and .
4: Let be a vertex maximizing .
5: Let be a radius that is not an event of and minimizes .
6: , , , and .
7: return the pairs in order of .
As in Section 4.2, Line 5 is well defined as long as ; we show in Theorem 7.6 that stays above . The window of iteration is , where , and we write for the volume of iteration . As in Line 6, .
7.4 Analysis
The following three lemmas are the analogues of Theorems 4.4 to 4.6, and their proofs are the same.
Lemma 7.5 (Volumes). For every iteration i:
(i) , and for every ;
(ii) if , then , and hence .
Moreover, .
Proof. (i) As in Theorem 4.4, . Every satisfies , so it contributes its full interval length to ; thus . Restricting to is feasible for (7.1) on , which gives .
(ii) As in the proof of Theorem 4.4, using Theorem 7.4(iii) and the choice of in Line 4.
For the sum, a vertex contributes to only if and , and then it lies in . So every vertex contributes only to the volume of the iteration in which it is removed, and there it contributes at most . Hence .
Lemma 7.6 (Radius). The radius never drops below n/20. Algorithm 4 terminates after at most n iterations, in polynomial time, and the sets , partition . Moreover, for every , , and no edge joins to .
Proof. As in the proof of Theorem 4.5, Theorem 7.5(ii) gives for . So , and .
Every iteration removes : since , and , the vertex lies in if and in otherwise. So there are at most iterations, and the sets , partition . Since , Theorem 7.3 applied in gives and shows that no edge joins to .
Lemma 7.7 (Prefix bound). For every i,
Proof. Let be the level at the start of iteration , and let \Delta_j = \log \frac{\text{Vol}_{u_j}^U_j(\rho_j)}{\text{Vol}_{u_j}^U_j(\rho_{j+1})}. As in the proof of Theorem 4.6, averaging over the window, with the separator size as the derivative of \text{Vol}_{u_j}^U_j (Theorem 7.4(i)), gives
and Theorem 7.5(ii) gives for . Summing over , and adding at most for iteration , we get , since .
7.5 Constructing the forest
The final forest is computed recursively. Process connected components separately; a single vertex forms a forest of height one. On a connected graph with vertices, solve (7.1), run Algorithm 4, recursively build forests for the components of each , and assemble the pairs backward: for from last to first, the forest on consists of the vertices of on a chain, with the forest already built on and the recursive forests for the components of attached, as siblings, below the last vertex of the chain. If is empty, the forest on is their disjoint union. The output is the forest on ; see Figure 5.
Lemma 7.8 (Assembly). The construction gives an elimination forest of G of height
where the inner maximum is zero when is empty.
Proof. We show by backward induction on that the forest on is an elimination forest of ; the forest on is one of by induction, and each recursive forest is an elimination forest of its component by induction on the size. Consider an edge of . If , then lies on the chain, and every vertex of , in particular , lies on the chain or below its last vertex, so and are comparable; the case is symmetric. If and lie in the same component of or both lie in , they are comparable by induction. The remaining cases do not occur: distinct components of are not adjacent, and no edge joins to by Theorem 7.6.
For the height, a root-to-leaf path of the forest on passes through the chains and then either ends on the chain or enters a component of , for some . In the first case it has at most vertices; in the second case, at most vertices for the component that it enters. This proves (7.3).

(a) the forest on

(b) the forest on
Figure 5: Assembling the elimination forest. (a) The vertices of the separator form a chain; below its last vertex hang, as siblings, the recursive forests of the components of and the forest already built on . (b) Applying (a) for : the dashed box is the forest on , glued below the last vertex of , and the dotted edge stands for the omitted levels . A root-to-leaf path passes through the chains and then ends on or enters a component of (highlighted), which gives the height bound (7.3).
Lemma 7.9 (Height). For every connected graph G with n vertices, the construction gives an elimination forest of height
Proof. Since has an edge, . Unrolling (7.3), there are instances , each with at least two vertices, and indices such that is a component of for and
where the inner sum is taken in , and the term 1 bounds the height of a forest on a single vertex. In what follows, also refers to the run of Algorithm 4 on . By Theorem 7.1, , since pathwidth does not increase under taking induced subgraphs. So by Theorem 7.7,
By Theorem 7.5(i), for , and by Theorem 7.4(ii), . Therefore
By Theorem 7.6, , so . By Theorem 7.1, . Finally, every connected graph with vertices has : for two vertices joined by a simple path, the edge constraints and the triangle inequality give , the sum ranging over the edges of the path, while spreading with gives ; so . Hence the sum above is , and .
All steps take polynomial time, by Theorem 7.6 and since the recursion has at most n instances with at least two vertices at each depth.
Proof of Theorem 1.3. The construction processes connected components separately. Apply (7.4) to every component with an edge, using that pathwidth does not increase under taking subgraphs, and note that single vertices have height one; then combine with .
Proof of the pathwidth statement in Theorem 1.1. Take a depth-first preorder of the forest. By Theorem 7.2 and (7.4), applied to every component with an edge, its vertex-separation cost is , and Theorem 3.1 turns it into a path decomposition of the same width.
8 Conclusion and Open Problems
We introduced Greedy Region Growing, with two algorithms: Greedy Seymour Carving, a greedy version of Seymour recursion that controls cumulative boundary costs, and Global Carving, which pays for every cut with the growth of a global level rather than with its own piece. Together, they give -approximations for CUTWIDTH, PATHWIDTH, TREEDEPTH, MINIMUM STORAGE, and MINIMUM REGISTER SUFFICIENCY, and a flow-expander decomposition with overhead.
Our algorithms for the layout problems, like those of [BKS24], are LP-based, and the standard integrality gaps on expanders [BKS24] show that is the limit of these relaxations for all of them (Section E). On the hardness side, under the Small Set Expansion Hypothesis, several of these problems admit no constant-factor approximation [WAPL14], and for TREEDEPTH the known NP-hardness of approximation is only for a factor of 1.0003 [BNS25]. Can SDP relaxations give better bounds for these problems?
For flow-expander decompositions, the graph-theoretic lower bound on the overhead shows that the logarithmic loss is unavoidable, so only the factor remains. Global Carving does not remove it: the fine-grained flow-cut gap (Theorem 1.5) needs a bound on the sum of the costs of all pieces, each relative to its own weight, whereas Global Carving controls only the prefixes of the carving. We conjecture that the factor can be removed from the fine-grained flow-cut gap, which would give a flow-expander decomposition with optimal overhead.
Acknowledgements
The author thanks Nikhil Bansal, Ian DeHaan, Euiwoong Lee, Yury Makarychev and Thatchaphol Saranurak for useful discussions. Generative AI tools assisted in developing the algorithms and proofs and preparing the manuscript; details appear in Section F.
References
[ACMM05] A. Agarwal, M. Charikar, K. Makarychev, and Y. Makarychev. approximation algorithms for Min UnCut, Min 2CNF Deletion, and directed cut problems. In Proceedings of the 37th Annual ACM Symposium on Theory of Computing, pages 573–581, 2005.
[ALN08] S. Arora, J. R. Lee, and A. Naor. Euclidean distortion and the sparsest cut. Journal of the American Mathematical Society, 21(1):1–21, 2008.
[AR98] Y. Aumann and Y. Rabani. An approximate min-cut max-flow theorem and approximation algorithm. SIAM Journal on Computing, 27(1):291–301, 1998.
[ARV09] S. Arora, S. Rao, and U. Vazirani. Expander flows, geometric embeddings and graph partitioning. Journal of the ACM, 56(2):5:1–5:37, 2009.
[BBF99] V. Bafna, P. Berman, and T. Fujito. A 2-approximation algorithm for the undirected feedback vertex set problem. SIAM Journal on Discrete Mathematics, 12(3):289–297, 1999.
[BG96] A. Becker and D. Geiger. Optimization of Pearl's method of conditioning and greedy-like approximation algorithms for the vertex feedback set problem. Artificial Intelligence, 83(1):167–188, 1996.
[BGHK95] H. L. Bodlaender, J. R. Gilbert, H. Hafsteinsson, and T. Kloks. Approximating treewidth, pathwidth, frontsize, and shortest elimination tree. Journal of Algorithms, 18(2):238–255, 1995.
[BJS26] N. Bansal, A. Jambulapati, and T. Saranurak. Expander decomposition with almost optimal overhead. In 53rd International Colloquium on Automata, Languages, and Programming, volume 374 of LIPIcs, pages 22:1–22:19, 2026.
[BKS24] N. Bansal, D. Katzelnick, and R. Schwartz. On approximating cutwidth and pathwidth. In Proceedings of the 65th IEEE Symposium on Foundations of Computer Science, pages 713–729, 2024.
[BNS25] É. Bonnet, D. Neuen, and M. Sokolowski. Treedepth inapproximability and exponential ETH lower bound. In 20th International Symposium on Parameterized and Exact Computation, volume 358 of LIPIcs, pages 17:1–17:10, 2025.
[CHKR10] M. Charikar, M. T. Hajiaghayi, H. Karloff, and S. Rao. spreading metrics for vertex ordering problems. Algorithmica, 56(4):577–604, 2010.
[CKR00] G. Călinescu, H. Karloff, and Y. Rabani. An improved approximation algorithm for multiway cut. Journal of Computer and System Sciences, 60(3):564–574, 2000.
[CNP21] W. Czerwiński, W. Nadara, and M. Pilipczuk. Improved bounds for the excluded-minor approximation of treedepth. SIAM Journal on Discrete Mathematics, 35(2):934–947, 2021.
[DJP 94] E. Dahlhaus, D. S. Johnson, C. H. Papadimitriou, P. D. Seymour, and M. Yannakakis. The complexity of multiterminal cuts. SIAM Journal on Computing, 23(4):864–894, 1994.
[ENRS00] G. Even, J. Naor, S. Rao, and B. Schieber. Divide-and-conquer approximation algorithms via spreading metrics. Journal of the ACM, 47(4):585–616, 2000.
[ENSS98] G. Even, J. Naor, B. Schieber, and M. Sudan. Approximating minimum feedback sets and multicuts in directed graphs. Algorithmica, 20(2):151–174, 1998.
[FHL08] U. Feige, M. T. Hajiaghayi, and J. R. Lee. Improved approximation algorithms for minimum weight vertex separators. SIAM Journal on Computing, 38(2):629–657, 2008.
[FL07] U. Feige and J. R. Lee. An improved approximation ratio for the minimum linear arrangement problem. Information Processing Letters, 101(1):26–29, 2007.
[GVY96] N. Garg, V. V. Vazirani, and M. Yannakakis. Approximate max-flow min-(multi)cut theorems and their applications. SIAM Journal on Computing, 25(2):235–251, 1996.
[KARR90] P. Klein, A. Agrawal, R. Ravi, and S. Rao. Approximation through multicommodity flow. In Proceedings of the 31st Annual Symposium on Foundations of Computer Science, pages 726–737, 1990.
[Kin92] N. G. Kinnersley. The vertex separation number of a graph equals its path-width. Information Processing Letters, 42(6):345–350, 1992.
[KVV04] R. Kannan, S. Vempala, and A. Vetta. On clusterings: Good, bad and spectral. Journal of the ACM, 51(3):497–515, 2004.
[LLR95] N. Linial, E. London, and Y. Rabinovich. The geometry of graphs and some of its algorithmic applications. Combinatorica, 15(2):215–245, 1995.
[LR99] F. T. Leighton and S. Rao. Multicommodity max-flow min-cut theorems and their use in designing approximation algorithms. Journal of the ACM, 46(6):787–832, 1999.
[RAK91] R. Ravi, A. Agrawal, and P. Klein. Ordering problems approximated: single-processor scheduling and interval graph completion. In Proceedings of the 18th International Colloquium on Automata, Languages, and Programming, pages 751–762, 1991.
[RR05] S. Rao and A. W. Richa. New approximation techniques for some linear ordering problems. SIAM Journal on Computing, 34(2):388–404, 2005.
[Sey95] P. D. Seymour. Packing directed circuits fractionally. Combinatorica, 15(2):281–288, 1995.
[ST11] D. A. Spielman and S.-H. Teng. Spectral sparsification of graphs. SIAM Journal on Computing, 40(4):981–1025, 2011.
[SV14] A. Sharma and J. Vondrak. Multiway cut, pairwise realizable distributions, and descending thresholds. In Proceedings of the 46th Annual ACM Symposium on Theory of Computing, pages 724–733, 2014.
[SW19] T. Saranurak and D. Wang. Expander decomposition and pruning: Faster, stronger, and simpler. In Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms, pages 2616–2635, 2019.
[WAPL14] Yu Wu, Per Austrin, Toniann Pitassi, and David Liu. Inapproximability of treewidth and related problems. Journal of Artificial Intelligence Research, 49:569–600, 2014.
A Comparison with the Weak Local Partitions of [BKS24]
The weak-local-partition condition in [BKS24] compares parts by volume without fixing their order: for every part, the sum ranges over all parts of at least the same volume. Our ordered condition (4.4) implies it. Indeed, given a part , let be the largest index with ; then all parts of volume at least are among , and (4.4) for gives the bound, since .
The presentation of [BKS24] also notes that the technical volume includes partial boundary-edge contributions and a seed. Our condition uses the volume (4.3). We show here that the carving of Algorithm 1 also satisfies the unordered bound with the carving-time volumes , which include both of those contributions. By Theorem 4.4, . Fix , and let be the largest index with . Then , so , and every with satisfies . By Theorem 4.6,
B Minimum Register Sufficiency
We reduce MINIMUM REGISTER SUFFICIENCY to weighted MINIMUM STORAGE. For a topological ordering of a DAG , let
The register sufficiency of is , and MRS(G) is the minimum over topological orderings.
Let have arcs, and let . We make two copies and of every vertex , and join them by an arc of weight 1. For every arc , we add the arcs and of weight . Call the resulting weighted graph . The copies induce a copy of , and the copies are sinks, so is acyclic.
The idea is the following. In any topological ordering of , the vertex can appear only after for all out-neighbors of . So if the copies appear in the order , then for every the arc crosses the prefix ending just before the -th copy . Conversely, if every is placed as early as possible, then essentially no other arcs of weight 1 cross this prefix. The -arcs have total weight , so they do not affect the analysis.
Lemma B.1. The graph has 2n vertices and arc weights in , and
Moreover, the restriction of any topological ordering of to is a topological ordering of of register sufficiency at most .
Proof. Upper bound. Let be a topological ordering of with register sufficiency . Let list , , in this order, and insert each directly after the first with and . Then is topological. A prefix of that ends between and is crossed by the unit arcs with only. Indeed, if and , then either , or and, by the placement of , for all , in particular . Hence . Hence .
Lower bound and restriction. Let be a topological ordering of , and let be its restriction to . The arcs make topological in ; write . Fix , let be the prefix of ending just before , and let with an arc , . Then and , so by the arc . Thus for every , and . With optimal, this also gives .
Proof of the Minimum Register Sufficiency statement in Theorem 1.2. Apply Theorem 6.10 to the graph of Theorem B.1, which has 2n vertices and weight ratio at most , so the approximation factor is . Restricting the output order to the copies gives the same approximation factor for MRS(G).
C Nonnegative Node-Weightings
The assumption in Theorem 5.1 is used only to bound the deficits in Theorem 5.5(ii), to ensure in Theorem 5.6, and in the last step of the charging argument in the proof of Theorem 5.1. It can be removed as follows.
Lemma C.1. Let be a graph with vertices, let be a rational node-weighting, and let be rational. One can delete in polynomial time edges so that is -flow-expanding in every remaining connected component.
Proof. Let and , so that and . Apply Theorem 5.1 to and ; it deletes edges. Let be a remaining component, and let be an -respecting demand in . Then is -respecting, so it can be routed in with congestion at most . Scaling this routing by routes with congestion at most .
D Separation Oracles and Implementation
We give the algorithmic details for the LPs, the region-growing steps, and the multicommodity flow LP of Section 5.
D.1 Separating the spreading constraints
All triangle, symmetry, nonnegativity, precedence-zero, and edge constraints in (4.1), (6.1), and (7.1) form polynomial-size families. Only the spreading constraints are exponential.
Fix a candidate solution and a center . For either symmetric relaxation, sort the distances as . Among all sets of size , the minimum of is . A spreading constraint centered at is therefore violated if and only if some prefix satisfies
Check every prefix after sorting, and repeat for every center. For the directed relaxation, sort and apply the same procedure. The vertex variables in (7.1) do not affect this separation oracle.
For completeness, the variables may be bounded by without changing the optimum. Capping a nonnegative metric or quasi-metric at preserves the triangle inequalities. Any spreading sum containing a capped term is already at least its required right-hand side; all other sums are unchanged. In the vertex LP, cap the variables at as well. If an endpoint variable is capped, it still dominates every capped edge distance, so the edge constraints remain valid. All coefficients have polynomial encoding length, and the ellipsoid method computes an optimum rational solution in polynomial time.
D.2 Implementing the carving steps
Each LP solution is rational with polynomial encoding length, so all volumes, weights, event radii, keys, and window endpoints are rational, and so is every quantity that the algorithms compare. Global Carving (Algorithms 1, 3 and 4) only compares volumes. In Line 5, the boundary is constant between consecutive events, so it suffices to take the midpoint of an event-free interval in the window with the smallest boundary cost.
In Section 5, logarithms enter the algorithm only through the stability tests and through in Line 7. A stability test for a deficit is equivalent to , and the test for is equivalent to for the two balls . Replacing the constant by 4 inside every deficit and inside makes these rational comparisons. The new deficits are still at least one and exceed the old ones by less than , so the analysis changes only by absolute constants. The annulus count only needs to be an integer of order that is large enough for Theorem 5.6; such an integer can be computed by comparisons with powers of two.
In Line 7, it suffices to use for in place of . For , both quantities lie between and , so the averaging argument in the proof of Theorem 5.3 loses only a constant factor.
Finally, the radius of Theorem 3.4 can be taken as the midpoint of an event-free interval inside the annulus that minimizes . On each such interval is affine and nondecreasing, so for every in it, and the minimizing midpoint has at most twice the value at the radius given by Theorem 3.3. Since , the proof of Theorem 3.4 shows that satisfies its bound up to a factor of two. All carving estimates allow these constant factors, and all algorithms run in polynomial time.
D.3 The multicommodity flow LP
There is one commodity for each unordered vertex pair. Replace each undirected edge by two orientations, and let be the amount of commodity sent on orientation . Flow conservation requires net outflow at , net inflow at , and zero net flow elsewhere. Minimize subject to
This LP has polynomial size. Its length dual, normalized by , maximizes
By strong duality, a routing of congestion at most exists exactly when every normalized length vector has dual value at most . So either the LP returns the routing required by Theorem 5.2, or its dual returns lengths satisfying (5.1).
E Integrality Gaps
We sketch why is the limit of the relaxations we use for the layout problems. Here the integrality gap for CUTWIDTH is the ratio of to
the strongest normalized LP lower bound over all nonempty induced subgraphs, which captures the LP bounds used throughout the recursion. We use the analogous bound for the other layout problems, with the corresponding LP (after the reduction for MINIMUM REGISTER SUFFICIENCY). For CUTWIDTH and PATHWIDTH, the gap is witnessed by the standard example of bounded-degree expanders [BKS24]; the same example works for the other problems. Let H be an n-vertex expander of maximum degree , in which every set of vertices has edges leaving it, and let for a large constant . Write for the number of edges on a shortest path in the underlying undirected graph.
Spreading. Let be a graph with vertices and maximum degree , and let be a symmetric function with for all , where is a constant. Then satisfies the spreading constraints. Indeed, fix and with . If , then . Otherwise, since a ball of hops contains vertices, at least half of is hops away from , so the sum is .
Undirected problems. Let , and for every . This is feasible for (4.1) and (7.1), with objective . On the other hand, in every ordering, the prefix of vertices has edges, and hence vertices with a neighbor, outside it. So , , and are , which is times and .
Directed problems. Let be the DAG on with an arc whenever . Every topological ordering has a prefix containing exactly vertices of . Every edge of with in this prefix and outside lies outside it, so the arc crosses the prefix and has an out-neighbor outside it. Hence and are . Now let be times the minimum number of arcs traversed forward on an undirected path. It satisfies the triangle inequality and for every arc , and its objective in (6.1) is . Since every arc goes from to , forward and backward arcs alternate along every path, and since is acyclic, for . Hence , and spreading holds. For MINIMUM REGISTER SUFFICIENCY, the relaxation is (6.1) on the graph obtained from by Theorem B.1 and Theorem 6.10. The same construction, with for its number of vertices, gives an gap there: that graph has no directed path with more than four arcs, so forward arcs form a constant fraction of every long path, and it has vertices within hops of any vertex, which suffices for the computation above.
Finally, these bounds hold uniformly over induced subgraphs. The displayed feasible solutions restrict to every induced subgraph , with objective : the original constructions have bounded degree, the vertex solution has , and every arc of the subdivided construction is incident to a subdivision vertex of degree two. Thus maximizing the normalized LP value over induced subgraphs preserves the gaps.
The direct cutwidth LP. Let be the same -vertex bounded-degree expander as above, so that . We also show that the stronger direct relaxation LPCW introduced in [BKS24, Section 6.2] has an integrality gap. This LP minimizes over metrics on , one for each , subject to for every , the pair constraints for distinct , and the triple constraints for distinct .
Write . For each x, give every edge uv length
and let be the resulting shortest-path metric. The metric constraints hold automatically. Every path from to a distinct vertex starts with an edge of length 2, so the pair constraints hold. For a triple, relabel its vertices so that are a farthest pair in hop distance, and put . Any path has at least edges. For , its -th vertex , counting from , satisfies . Thus each of the first edges has length at least , giving and hence the triple constraint.
Let be a fixed upper bound on the maximum degree of , and put . Only edges have an endpoint within hops of ; each has length at most 2, and all other edges have length at most . Therefore, uniformly over ,
This gives a feasible direct LP solution of value , while , proving the claimed gap.
F AI Disclosure
The author formulated the fine-grained flow-cut gap problem, specified the LP relaxation, and proposed greedy Seymour recursion as the approach. A central difficulty was choosing a greedy order when the radii returned by Seymour's region growing were not known in advance. Drawing on the stability idea in [BKS24], the author proposed maintaining a stable interval for each vertex and selecting centers greedily by ball volume at an interval endpoint, rather than at the eventual carving radius. The author also anticipated that using stability within greedy Seymour recursion would avoid the loss from the multiscale packing-covering construction of [BKS24] and improve its bound. The author supplied this algorithmic template and explained the relevant Seymour bound. Through iterative discussions, GPT-5.6 Sol developed the proof establishing the desired guarantee (Theorem 1.5). It subsequently extended the result to the other problems, leading to bounds for all of them.
The improvement to for the layout problems (Global Carving, Sections 2.6, 4, 6 and 7) was obtained by Claude Opus 5.5, when given the paper with these results. GPT-6 Astra, Sol and Opus proved the integrality gaps and assisted with writing, and together drew the figures. All results were verified by the author.