Abstract 1 Introduction 2 Graph definitions and notation 3 Not-All-Equal 3-Sat to Degree Balancing 4 Degree Balancing to Linear Mim-Balancing/Tree Sim-Balancing 5 Mim/Sim-Balancing to Linear Mim-Width/Sim-Width References

Mim-Width Is paraNP-Complete

Benjamin Bergougnoux ORCID LIS, Aix-Marseille Université, France Édouard Bonnet ORCID CNRS, ENS de Lyon, Université Claude Bernard Lyon 1, LIP UMR 5668, Lyon, France Julien Duron ORCID ENS de Lyon, Université Claude Bernard Lyon 1, LIP UMR 5668, Lyon, France
Abstract

We show that it is 𝖭𝖯-hard to distinguish graphs of linear mim-width at most 1211 from graphs of sim-width at least 1216. This implies that Mim-Width, Sim-Width, One-Sided Mim-Width, and their linear counterparts are all 𝗉𝖺𝗋𝖺𝖭𝖯-complete, i.e., 𝖭𝖯-complete to compute even when upper bounded by a constant. A key intermediate problem that we introduce and show 𝖭𝖯-complete, Linear Degree Balancing, inputs an edge-weighted graph G and an integer τ, and asks whether V(G) can be linearly ordered such that every vertex of G has weighted backward and forward degrees at most τ.

Keywords and phrases:
Mim-width, lower bounds, parameterized complexity, ordered graphs
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © Benjamin Bergougnoux, Édouard Bonnet, and Julien Duron; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Problems, reductions and completeness
; Theory of computation Fixed parameter tractability
Related Version:
Full Version: https://arxiv.org/abs/2501.05638 [2]
Funding:
ÉB and JD were supported by the ANR projects TWIN-WIDTH (ANR-21-CE48-0014-01) and DIGRAPHS (ANR-19-CE48-0013-01).
Editors:
Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis

1 Introduction

Mim-width (for maximum induced matching width) is a relatively young width parameter introduced by Vatshelle [19]. Informally speaking, the mim-width of a graph bounds the size of any induced matching appearing in a cut of a branch decomposition. The strength of mim-width lies in its high expressive power. While an upper bound on the treewidth or clique-width of a graph always implies an upper bound on its mim-width, there are several well-studied graph classes, such as interval graphs and permutation graphs, that have n-vertex graphs of clique-width Ω(n) [9] while their mim-width is bounded by a constant [1]. In fact, the linear mim-width of interval graphs and of permutation graphs is at most 1. As proven with two recent meta-algorithmic theorems [3, 10], many problems are polynomial-time solvable when the input graph is given together with one of its branch decompositions of constant mim-width.

While it was shown shortly after the inception of these parameters by Vatshelle in 2012 [1, 19] that Mim-Width and Linear Mim-Width are W[1]-hard [17, 18], whether a slice-wise polynomial (XP) algorithm111i.e., for any fixed integer k, a polynomial-time algorithm (whose exponent may depend on k) that decides if the (linear) mim-width of the input graph is at most k. can compute (or approximate) the (linear) mim-width of an input graph has been raised as an open question repeatedly over the past twelve years [3, 4, 5, 13, 14, 16, 18, 19]. We give a negative answer to this question (at least for some too-good approximation factor), and similarly settle the parameterized complexity of the related sim-width and one-sided mim-width parameters – introduced in respectively [15] and [4] – as well as their linear variants. Indeed we show that all these parameters are 𝗉𝖺𝗋𝖺𝖭𝖯-complete to compute, i.e., 𝖭𝖯-hard even when guaranteed to be upper bounded by some universal constant (𝗉𝖺𝗋𝖺𝖭𝖯-hard), and in 𝖭𝖯 when upper bounded by any fixed constant (in 𝗉𝖺𝗋𝖺𝖭𝖯).222Note that 𝗉𝖺𝗋𝖺𝖭𝖯 is different from the notion of 𝗉𝖺𝗋𝖺-𝖭𝖯 as defined in [8], but 𝗉𝖺𝗋𝖺𝖭𝖯-hardness and 𝗉𝖺𝗋𝖺-𝖭𝖯-hardness do coincide.

Theorem 1.

Mim-Width, Sim-Width, One-Sided Mim-Width, Linear Mim-Width, Linear Sim-Width, and Linear One-Sided Mim-Width are 𝗉𝖺𝗋𝖺𝖭𝖯-complete.

To the best of our knowledge, only the 𝗉𝖺𝗋𝖺𝖭𝖯-completeness of Linear Sim-Width was known via a result of Ziedman et al. [20] which implies that deciding whether a graph has linear sim-width at most 1 is 𝖭𝖯-complete. We show Theorem 1 with a single reduction.

Theorem 2.

There is a polynomial-time algorithm that takes an input φ of an NP-hard restriction of Not-All-Equal 3-Sat and builds a graph G such that

  • if φ is satisfiable, then G has linear mim-width at most 1211,

  • if φ is unsatisfiable, then G has sim-width at least 1216.

Theorem 2 indeed implies Theorem 1 as, by definition, the linear mim-width upper bounds the other five parameters, while the sim-width lower bounds the other five parameters. Our reduction is naturally split into three parts, thereby going through two intermediate problems. The first intermediate problem may be of independent interest (perhaps especially so, its unweighted version), and we were somewhat surprised not to find it already defined in the literature. We call it Linear Degree Balancing.

Linear Degree Balancing Parameter: τ

Input: An edge-weighted n-vertex graph H and a non-negative integer τ.

Question: Is there a linear ordering v1v2vn of V(H) such that every vertex vi has weighted degree in H[{v1,,vi}] and in H[{vi,,vn}] at most τ?

We call τ-balancing order of H a linear order over V(H) witnessing that H is a positive instance of Linear Degree Balancing.

The three steps.

Our reduction starts with a Not-All-Equal 3-Sat (Nae 3-Sat for short) instance φ, and goes through an edge-weighted graph (H,ω), a vertex-partitioned graph (G,𝒫), and finally an instance G of Mim-Width.

First we prove that Linear Degree Balancing is 𝖭𝖯-complete even when τ is a constant, and every edge weight is a positive integer. For our purpose, we in fact show something stronger. The first step is a polynomial-time reduction from Nae 3-Sat that maps satisfiable formulas to edge-weighted graphs admitting a τ-balancing order, and unsatisfiable formulas to negative instances of Tree Degree Balancing, a tree variant of Linear Degree Balancing, for the larger threshold of τ+γ, where γ can grow linearly in τ.

In Tree Degree Balancing, the vertices of H are bijectively mapped to the nodes of a freely-chosen tree T such that for every node t of T and every edge e incident to t, the vertex of H mapped to t has weighted degree at most the given threshold in the cut of H defined by the two connected components of Te. A formal definition is given in Section 3.3.

The second step turns the weighted degree into the maximum (semi-)induced matching at the expense of mapping subsets of vertices of G to nodes of T, in a way that the nodes of T jointly hold a prescribed partition 𝒫 of V(G). In Tree Mim-Balancing (resp. Tree Sim-Balancing), for every edge e of T, the size of a maximum semi-induced (resp. induced) matching in the cut of G defined by e shall remain below the threshold. Their linear variants force T to be a path. See Section 4.1 for formal definitions.

The third step erases the differences between Tree Mim-Balancing and Mim-Width, and between their respective variants. Intuitively speaking:

  • for each part of 𝒫, the corresponding vertices of G can be gathered in their own subtree,

  • T can be chosen ternary (i.e., every non leaf node has degree 3),

  • only the leaves of T need hold a vertex of G.

Figure 1 summarizes these three steps.

Figure 1: Visual summary of our reduction, split into its three steps.

We now outline each step.

Nae 3-Sat to Degree Balancing.

We actually reduce from an NP-hard restriction of Nae 3-Sat where every variable appears four times positively, and does not appear negatively [6]. We design a gadget called bottleneck sequence that, given three disjoint sets X,Y,ZV(H), forces all vertices of Y to appear in the order after all the vertices of X, and before all the vertices of Z (or by symmetry after all the vertices of Z, and before all the vertices of X). Vertices of Y are in one-to-one correspondence with clauses of φ. Similarly, we have a vertex for each variable of φ. Each variable vertex is forced to be placed before X (where it represents being set to true), or after Z (where it represents being set to false). The weights are designed so that a clause vertex can tolerate two but not three of its variable vertices to be on the same side (before or after it); which exactly captures the semantic of a not-all-equal 3-clause.

The gap between at most τ and at least τ+γ+1 is obtained by carefully crafting ω. We also add a padding gadget to raise the minimum degree of H, in such a way that only two vertices have low-enough degree to be leaves of T. This forces T to be a path (the only tree with at most two leaves), thus Linear Degree Balancing and Tree Degree Balancing to coincide.

Degree Balancing to {Linear M, Tree S}im-Balancing.

Every vertex u of H becomes an independent set S(u) of G and a part of 𝒫 of size the sum of the weights of edges incident to u. Adjacencies in H become induced matchings in G, whereas non-adjacencies in H become bicliques in G (with some additional twist, see Figure 5). The density of G forces large induced matchings to be mainly incident to a single part S(u). Thus, roughly speaking, the maximum induced matchings in G behave like the degree in H. As the parts S(u) are independent sets, there is in effect no difference between Tree Mim-Balancing and Tree Sim-Balancing. The indifference between the tree or the linear variants is inherited from the previous reduction. The actual arguments incur a small additive loss (of 50) in the induced matching size, which is eventually outweighed by γ.

{Linear M, Tree S}im-Balancing to {Linear M, S}im-Width.

We design a part gadget 𝒢(u) that simultaneously takes care of the three items above Figure 1. Essentially, every part S(u) is transformed into the 1-subdivision Pu of a path on |S(u)| vertices, then duplicated a large (but constant) number of times, concatenated into a single path, and every pair of vertices in different copies are linked by an edge whenever they do not correspond to the same vertex or neighboring vertices in Pu. On the one hand, this may only increase the linear mim-width (compared to the linear mim-balancing) by an additive constant. Following the “spine” of 𝒢(u), one gets a witness of low linear mim-width for G from a witness of low linear mim-balancing of (G,𝒫).

On the other hand, the dense “path-like” structure of 𝒢(u) ensures that, in an optimal decomposition of G, its vertices may as well be placed in order at the leaves of a caterpillar. We thus devise a process that builds a witness of low sim-balancing for (G,𝒫) from a witness of low sim-width for G: We in turn identify an edge e of the branch decomposition of G that can support V(𝒢(u)), and in particular S(u), without increasing the width. We then relocate the vertices of S(u) at a vertex subdividing e. Eventually each set S(u) is solidified at a single node of the tree, and we reach the desired witness for Tree Sim-Balancing.

Remarks and perspectives.

It can be noted that we had to develop completely new techniques. Indeed, the known W[1]-hardness [17, 18] relies on the difficulty of actually computing the value of a fixed cut, i.e., solving Maximum Induced Matching. In some sense, the instances produced there are not difficult to solve (a best decomposition is, on the contrary, suggested by the reduction), but only to evaluate. In any case, as Maximum Induced Matching is W[1]-hard but admits a straightforward XP algorithm, we could not use the same idea.

We believe that Linear Degree Balancing could be explored for its own sake. We emphasize that our techniques could prove useful to show the 𝗉𝖺𝗋𝖺𝖭𝖯-hardness of other parameters based on branch decompositions such as those recently introduced by Eiben et al. [7], where the cut function can combine maximum (semi-)induced matchings, maximum (semi-)induced co-matchings, maximum half-graphs (or ladders). One would then mainly need to tune the gadgets of the second step (see Figure 5) to fit the particular cut function.

We notice that our reduction from 4-Occ Not-All-Equal 3-Sat is linear: n-variables instances are mapped to Θ(n)-vertex graphs. Hence, unless the Exponential-Time Hypothesis (ETH) [11] fails,333the assumption that there is a λ>1 such that n-variable 3-Sat cannot be solved in time O(λn). no 2o(n)-time algorithm can decide if the mim-width (or any of the five variants of mim-width) of an n-vertex graph is at most 1211. Indeed the absence of 2o(n)-time algorithm for n-variable 4-Occ Not-All-Equal 3-Sat (even Positive 4-Occ Not-All-Equal 3-Sat) under the ETH can be derived from the Sparsification Lemma [12] and classic reductions.

Our focus was to handle all the variants of mim-width at once. This made the reduction more technical and degraded the constant upper and lower bounds. Better bounds (than 1211) could be achieved if separately dealing with Mim-Width or with Linear Mim-Width. For example, the latter problem essentially only requires the first two steps of the reduction. Still, deciding if the (linear) mim-width of a graph is at most 1 (or any 1-digit constant) remains open. In addition, the question whether an XP f(OPT)-approximation algorithm for Mim-Width (and its variants) exists, for some fixed function f and OPT being the optimum width, remains open.

Finally, notice that Theorem 2 only implies the 𝗉𝖺𝗋𝖺𝖭𝖯-hardness of the problems mentioned in Theorem 1. The 𝗉𝖺𝗋𝖺𝖭𝖯-completeness of these problems follows from the fact that they are in 𝗉𝖺𝗋𝖺𝖭𝖯, i.e., in 𝖭𝖯 when the parameter is upper bounded by a universal constant. Indeed, for each problem, we can check in polynomial time whether the width of a given decomposition is at most a universal constant. However, these problems are probably not in 𝖭𝖯. In fact, the reduction in [17] implies that Mim-Width and Linear Mim-width are 𝖼𝗈𝖭𝖯-hard.

2 Graph definitions and notation

For i and j two integers, we denote by [i,j] the set of integers that are at least i and at most j. For every integer i, [i] is a shorthand for [1,i].

2.1 Standard graph theory

We denote by V(G) and E(G) the vertex and the edge set, respectively, of a graph G. If G is a graph and SV(G), we denote by G[S] the subgraph of G induced by S, and use GS as a short-hand for G[V(G)S]. If eE(G), we denote by Ge the graph G deprived of edge e, but the endpoints of e remain. More generally, if FE(G), GF is the graph obtained from G by removing all the edges of F (but not their endpoints). For XV(G), we may denote by EG(X) the edge set of G[X]. We denote the open and closed neighborhoods of a vertex v in G by NG(v) and NG[v], respectively. For SV(G), we set NG(S):=vSNG(v)S and NG[S]:=NG(S)S. In every notation with a graph subscript, we may omit it if the graph is clear from the context. A vertex set SV(G) covers an edge set FE(G) if every edge of F has at least one endpoint in S.

cut of a graph G is a bipartition (A,B) of V(G). The cut-set defined by a cut (A,B), denoted by E(A,B), is {uvE(G)uA,vB}. We denote by G[A,B] the bipartite subgraph of G with edge set E(A,B). A matching is a set of edges that share no endpoints and an induced matching of G is a matching M such that every edge of G intersects at most one edge in M. If A,BV(G) are two disjoint vertex subsets of G, a matching between A and B is a matching where every edge has one endpoint in A and the other endpoint in B. An induced matching in G[A,B] is called a semi-induced matching of G between A and B.

2.2 Mim-width and its variants

branch decomposition or tree layout (or simply layout) of a graph G is a pair (T,f) where T is a ternary tree (i.e., every internal node of T has degree 3) and f is a bijection from V(G) to the leaves of T. Given two disjoint sets X,YV(G), we denote by mimG(X,Y) (resp. simG(X,Y)) the maximum number of edges in a semi-induced matching (resp. induced matching) of G between X and Y, and may refer to it as mim-value (resp. sim-value). An edge e of T induces or defines a cut (Ae,Be) of G, where Ae and Be are the preimages by f of the leaves in the two components of Te.

The mim-value (resp. sim-value) of (Ae,Be) is set as mimG(Ae,Be) (resp. simG(Ae,Be)). The mim-value (resp. sim-value) of the branch decomposition (T,f) is the maximum of mimG(Ae,Be) (resp. simG(Ae,Be)) taken over every edge e of T. Finally, the mim-width (resp. sim-width) of G is the minimum mim-value (resp. sim-value) taken over every branch decomposition (T,f) of G.

The upper-induced matching number of XV(G) is the maximum size of an induced matching of GE(V(G)X) between X and V(G)X. The one-sided mim-width is defined as above with the omim-value of cut (Ae,Be), omimG(Ae,Be), defined as the minimum between the upper-induced matching numbers of Ae and of Be.

The linear variants of these widths and values impose T to be a rooted full binary tree (i.e, every internal node has exactly two children) such that the internal nodes form a path.

3 Not-All-Equal 3-Sat to Degree Balancing

Given a graph H edge-weighted by a map ω:E(H), the weight of a vertex v of H is the sum of the weights of the edges incident to v. We say that a total order on V(H) is τ-balancing, for some non-negative integer τ, if for every vertex vV(H) the left weight of v, uN(v),uvω(uv), and the right weight of v, uN(v),vuω(uv), are both at most τ, i.e.,

Δ(v):=max(uN(v),uvω(uv),uN(v),vuω(uv))τ.

Constants 𝝉, 𝜸, 𝝀.

Henceforth we will use τ and γ as global natural constants. The reduction in this section will also use a constant positive integer λ. For the current section, we need that the following conditions hold.

γ<λ, 3γ+4<τ, 2λ+γ<τ, 6λτ. (1)

We will not only prove that Linear Degree Balancing is 𝗉𝖺𝗋𝖺𝖭𝖯-hard but we will obtain a scalable additive gap. More specifically, we start by showing the following.

Theorem 3.

It is 𝖭𝖯-hard to distinguish graphs having a τ-balancing order from graphs having no (τ+γ)-balancing order.

Eventually we will need that τ and γ are multiples of a constant integer a (which is defined and set to 45 in Section 5). This can simply be achieved by multiplying all edge weights of the forthcoming reduction by a. We will finally set τ:=24a=1080, λ:=4a=180, and γ:=3a=135. One can quickly check that these values do respect Equation 1.

3.1 First properties on balancing orders, and bottlenecks

Given a total order on a graph H, we say that a vertex set S is smaller (resp. larger) than another vertex set U, denoted by SU (resp. US), if for all sS,uU we have su (resp. us). When a set S is neither larger nor smaller than a vertex u, we say that S surrounds u. We also say that u is surrounded by S. Note that if S surrounds two vertices u and v, it surrounds any vertex w with uwv.

We begin with a useful observation on the only possible τ-balancing order of a P3 (i.e., 3-vertex path) with large total weight.

Lemma 4.

For any integer t, and any edge-weighted graph (H,ω) containing a P3 abc such that ω(ab)+ω(bc)>t. Then in any t-balancing order of H, {a,c} surrounds b.

We also rely on the following observation, where the induced subgraph of an edge-weighted graph (H,ω) is an induced subgraph of H edge-weighted by the restriction of ω to its edge set.

Observation 5.

Every t-balancing order of (H,ω) is a t-balancing order of any induced subgraph of (H,ω).

Our main ingredient here is a family of edge-weighted caterpillars called bottleneck.

Definition 6.

(τ,γ)-bottleneck on terminals v1,,vk is an edge-weighted caterpillar B obtained as follows.

  1. 1.

    Let P(B) be a 2k-vertex path, say a1b1a2b2akbk, called spine of B and we set ω(aibi):=τ for every i[k] and ω(bjaj+1):=γ+1 for every j[k1].

  2. 2.

    We obtain B by adding to P(B) a leaf vi adjacent to ai, and we set ω(viai) such that γ+1ω(viai)τγ1 for every i[k]. The edge viai is called the attachment of vi to B.

  3. 3.

    The caterpillar B is rooted in bk.

The vertex v1 is called first terminal of B. A (τ,γ)-bottleneck is depicted in Figure 2.

Figure 2: Illustration of a (τ,γ)-bottleneck.

A bottleneck ensures the following.

Lemma 7.

Let be a (τ+γ)-balancing order of a (τ,γ)-bottleneck B on terminals v1,,vk. Using the notation of Section 3.1, if akbk then a1b1a2b2akbk, and viai for each i[k]. Hence symmetrically, if bkak then bkakbk1ak1b1a1, and aivi for each i[k].

Henceforth every bottleneck is a (τ,γ)-bottleneck. Thus we simply write bottleneck.

Definition 8.

Given three vertex sets S1,S2,S3, we call bottleneck sequence on S1,S2,S3 an edge-weighted graph B(S1,S2,S3) obtained by

  1. 1.

    adding for every i{1,2}, a bottleneck Bi+ with terminals Si{si} where si is the first terminal of Bi+, and the attachment of si is of weight γ+1,

  2. 2.

    adding for every i{2,3}, a bottleneck Bi with terminals Si{si} where si is the first terminal of Bi and the attachment of si is of weight γ+1 such that

  3. 3.

    identifying for every i{1,2}, the roots of Bi+ and of Bi+1 as the same vertex, and

  4. 4.

    adding for every i{2,3}, an edge sisi+1 of weight τ+γ2+1,

with s1,s2,s3 three new vertices.

Figure 3: Bottleneck sequence B(S1,S2,S3). Vertices of S1{s1},S2{s2},S3{s3} are in red, green, and blue, respectively. As in Figure 2, every edge with an unspecified weight get one in the discrete interval [γ+1,τγ1].

The next lemma yields the crucial property ensured by bottleneck sequences.

Lemma 9.

Any (τ+γ)-balancing order on a bottleneck sequence B(S1,S2,S3) is such that S1S2S3 or S3S2S1.

We conclude the section by defining τ-balancing orders for bottleneck sequences. A direct order of a bottleneck B with terminals v1,,vk goes as follows:

{v1,,vk}a1b1a2b2akbk,

where a1b2akbk is the spine of B rooted in bk. Note that the order induced by {v1,,vk} is not specified (and so a given bottleneck on k terminals admits k! different direct orders). A reverse order of B, denoted by , is simply defined as the reverse order of a direct order .

direct order seq of a bottleneck sequence B(S1,S2,S3) is a common (linear) extension of direct orders on B1+ and B2+ and reverse orders on B2 and B3. Note that on any bottleneck sequence, at least one direct order exists since the direct and reverse orders constrain disjoint vertex sets. In particular we have S1seqS2seqS3. We check that any direct order of B(S1,S2,S3) is indeed τ-balancing.

Lemma 10.

A direct order seq of the bottleneck sequence B(S1,S2,S3) is τ-balancing.

3.2 Encoding NAE 3-Sat in Linear Degree Balancing

We now describe the reduction from Nae 3-Sat to Linear Degree Balancing. We recall that a not-all-equal 3-clause is satisfied if it has at least one satisfied literal and at least one unsatisfied literal. The Nae 3-Sat remains 𝖭𝖯-hard if each clause is on exactly three distinct positive literals, and every variable appears exactly four times positively (and zero times negatively) [6]. Let φ be any such n-variable Nae 3-Sat instance. As we will only deal with not-all-equal 3-clauses, we say that φ is satisfiable whenever it admits a truth assignment that, in each clause of φ, sets a (positive) literal to true and another (positive) literal to false. We will build an edge-weighted graph H:=H(φ) as follows.

Variables, clauses, and variable-clause incidence.

For each variable x of φ, we add a vertex vx (to H(φ)), the vertex of x. For each clause c of φ we add a vertex vc, the vertex of c. For every clause c and every variable x in c, we add the edge vxvc of weight λ. We add two sets of vertices T={ti:i[n]} and F={fi:i[n]}, for true and false. For each ti (resp. each fi), we add a vertex ti¯ (resp. a vertex fi¯), and the edge titi¯ (resp. fifi¯) of weight τλ. For each i[n], let xi be the i-th variable of φ. We add a vertex vxi¯, and the edges vxiti,vxifi,vxi¯ti,vxi¯fi each of weight λ.

Bottleneck sequence 𝑩(𝑻,𝑪,𝑭).

We then add a bottleneck sequence B(T,C,F) where C:={vc:c is a clause of φ}, with weight τλ on every attachment incident to T or F, and weight τ2λ on every attachment incident to C. (This is allowed since γ+1τ2λτλτγ1.) We remind the reader that every attachment of the first terminals of the bottlenecks forming B(T,C,F) has weight γ+1. These three first terminals are extra vertices not in T, C, and F.

This could end the construction of H, but we want to impose an extra condition, which will later prove useful. Specifically, we want that all but two vertices have weight at least τ+γ+1 (both having weight τ). Let us call H the edge-weighted graph built so far.

Weight padding.

For each vertex vV(H) of weight less than τ+γ+1, the missing weight of v is defined as τ+γ+1 minus the weight of v. Let p be the sum of missing weights of vertices of H. Let X and Y be two sets each comprising p new vertices. We add a bottleneck BL with terminals the vertices of X, and a bottleneck BR with terminals the vertices of Y. Every attachment to BL and BR with an unspecified weight gets weight τγ1. We add a perfect matching between X and Y with every edge of weight 2γ+2. Finally, for each vertex vV(H), we link v by edges of weight 1 to t vertices of X, where t is the missing weight of v. We do so such that every vertex in X has exactly one neighbor in V(H).

This completes the construction of H; see Figure 4. We observe that H is triangle-free. This fact will significantly simplify some proof in Section 5 (although is not in any way crucial).

Figure 4: Illustration of (H,ω). Centered at the top is the bottleneck sequence B(T,C,F). The vertices of X are in purple (left), and the vertices of Y are in yellow (right). The edges incident to the variable vertices that are drawn in blue, green, red all have weight λ. Not to overburden the figure, we have only drawn some edges of the construction. Only one edge of the matching between X and Y is depicted, and the paddings of vx¯ and of t2¯ are (partially) represented (weight-1 edges toward X). The clause corresponding to the bottommost vertex of C contains x,y and some other variable (not shown), while that of the second bottommost vertex of C contains z (and two other variables). The roots of bottlenecks are in gray. The leftmost and rightmost gray vertices are the only two vertices of weight less than τ+γ+1 (namely τ).

We check that the weight padding works as intended.

Lemma 11.

Every vertex of H has weight at least τ+γ+1, except two vertices.

We can now show that our reduction performs as announced.

Lemma 12.

The graph H(φ) admits a (τ+γ)-balancing order if and only if φ is satisfiable.

Theorem 3 is a direct consequence of Section 3.2. The reason we “padded the degree” in H(φ) will become apparent in the next section. We will observe that when φ is unsatisfiable, not only no linear order can “balance” the degrees, but no tree can either.

3.3 From linear orders to trees

As mim-width is defined via branch decompositions, we adapt the balancing order problem to trees. Consider an edge-weighted graph (H,ω), and a tree T such that there exists a bijective map f:V(H)V(T). Note that (T,f) is not a branch decomposition of H for two reasons: vertices of H are mapped to all nodes of T and not merely its leaves, and T is not necessarily a ternary tree (nor a rooted binary tree).

Each edge e of T defines a cut of H, which we denote (Ae,Be), where Ae is the preimage by f of one connected component of Te, and Be, of the other component. We say that (T,f) is a τ-balancing tree of (H,ω) if for any vertex vV(H), for any edge eE(T) incident to f(v), the sum of the weights of edges (in E(H)) incident to v in the cut (Ae,Be) is at most τ.

Tree Degree Balancing Parameter: τ

Input: An edge-weighted graph (H,ω) and a non-negative integer τ.

Question: Does (H,ω) admit a τ-balancing tree?

Note that any graph with a τ-balancing order also admits a τ-balancing tree, with T being the path of length |V(H)|, and f mapping the vertices of H along T in the τ-balancing order.

Theorem 13.

Given an edge-weighted graph (H,ω) promised to satisfy either one of

  • (H,ω) admits a τ-balancing order or

  • (H,ω) does not admit a (τ+γ)-balancing tree,

deciding which outcome holds is 𝖭𝖯-hard.

4 Degree Balancing to Linear Mim-Balancing/Tree Sim-Balancing

In this section, we show how to transfer the degree requirement of Degree Balancing to the induced-matching requirement of Mim- and Sim-Balancing.

4.1 The Mim-Balancing and Sim-Balancing problems

partitioned graph is a pair (G,𝒮) where G is a graph and 𝒮 is a partition of V(G). A tree mapping of a partitioned graph (G,𝒮) is a pair (T,f) where T is a tree and f:𝒮V(T) is a bijection from the parts of 𝒮 to the vertices of T. When T is a path, we may call (T,f)path mapping of 𝒮.

We say that a cut (A,B) of G is an 𝒮-cut if each set in 𝒮 is included in either A or B. Each edge eE(T) in a tree mapping (T,f) of (G,𝒮) defines an 𝒮-cut (Ae,Be) of G: the union of the parts mapped to each component of Te. The sim-value (resp. mim-value) of a tree mapping (T,f) of (G,𝒮) is the maximum taken over every edge eE(T) of the maximum size of an induced (resp. semi-induced) matching between Ae and Be. The sim-balancing (resp. mim-balancing) of (G,𝒮) is the minimum sim-value (resp. mim-value) among all possible tree mappings of (G,𝒮). Similarly, the linear sim-balancing (resp. mim-balancing) is the minimum sim-value (resp. mim-value) among path mappings.

Tree Sim-Balancing (resp. Tree Mim-Balancing) Parameter: τ

Input: A partitioned graph (G,𝒮) and a non-negative integer τ.

Question: Does (G,𝒮) admit a tree mapping (T,f) of sim-value (resp. mim-value) τ?

Note that even when 𝒮 is the finest partition {{v}:vV(G)}, this problem is not exactly Mim-Width, as f also maps vertices to internal nodes of T, and T has no degree restriction. Linear Mim-Balancing (or Linear Sim-Balancing) is defined analogously except T is forced to be a path. We may use Mim-Balancing to collectively refer to Linear Mim-Balancing and Tree Mim-Balancing; and similarly with Sim-Balancing.

At the end of this section, we will have established the following.

Theorem 14.

Let τ,γ be natural numbers satisfying Equation 1 and γ>50. Given partitioned graphs (G,𝒮) such that:

  • the linear mim-balancing of (G,𝒮) is at most τ+50, or

  • the sim-balancing of (G,𝒮) is at least τ+γ,

deciding which of the two outcomes holds is 𝖭𝖯-hard.

4.2 Encoding Degree Balancing in Mim/Sim-Balancing

Let (H,ω) be an instance of Tree Degree Balancing with positive and integral weights. We build an instance of Tree Mim-Balancing G:=G(H,ω),𝒮:=𝒮(H,ω), as follows.

Construction of (𝑮,𝓢).

For every vertex uV(H) and every vNH(u), we add an independent set I(u,v) of size ω(uv) to G. For each vertex uV(H), we set

S(u):=vNH(u)I(u,v).

Each S(u) will remain an independent set in G. The partition 𝒮 is simply defined as {S(u):uV(H)}.

We finish the construction by adding two kinds of edges in G, matching edges and dummy edges. For every pair of disjoint edges uv and xy of H, we add an edge between every vertex of I(u,v) and every vertex of I(x,y). All these edges are called dummy. For every uvE(H), we add a maximum (perfect) induced matching between I(u,v) and I(v,u). All these edges are called matching edges. Observe that ω(uv)=ω(vu) (H is undirected), hence |I(u,v)|=|I(v,u)| and the matching between I(u,v) and I(v,u) is indeed perfect. This concludes the construction of (G,𝒮); see Figure 5 for an illustration of the adjacencies between some S(u) and S(v).

Figure 5: Adjacencies between S(u) and S(v). In this example, u has four neighbors v,v1,v2,v3, and v has three neighbors u,v3,v4. The matching edges are in blue, the dummy edges are in black (edges between two boxes represent bicliques). Notice the non-edges between I(u,v3) and I(v,v3).

We notice that the configuration of the figure actually implies that uvv3 is a triangle in H, which does not happen in graphs H produced by the previous reduction. However, we will not use that H is triangle-free in the current section, and Figure 5 shows the general behavior between S(u) and S(v). (For triangle-free graphs H, if uvE(H), then there would instead be a biclique between S(u)I(u,v) and S(v)I(v,u), and if uvE(H), I(u,v), I(v,u), and the matching edges in between them would simply not exist.)

5 Mim/Sim-Balancing to Linear Mim-Width/Sim-Width

The next reduction uses two constants a:=45 and b:=6τ(τ+γ)+1. With the announced values of τ=1080 and γ=135, we have b=7873201. We remark that the value of b will not affect the linear mim-width upper bound nor the sim-width lower bound. (The constant b should simply be that large to make our proofs work.)

Let (H,ω) be an instance of Tree Degree Balancing where all edge weights are positive multiples of a and H is triangle-free. We build a graph G, such that if H has a τ-balancing order, then the linear mim-width of G is at most a+1aτ+107; and if H is has no (τ+γ)-balancing tree, then the sim-width of G is at least τ+γ. We construct G from the instance G:=G(H),𝒮:=𝒮(H) of Tree Mim-Balancing from the previous reduction. Remember that 𝒮={S(u):uV(H)}.

The main goal of this reduction is to obtain a graph G whose sim-width and linear mim-width are related to the the sim-balancing and linear mim-balancing of (G,𝒮), respectively. Observe that we cannot simply set G:=G since a layout (T,f) of G can scatter each S(u) so that for each matching edge xy of G, x and y are placed at leaves of T sharing a neighbor in T. Consequently, the only cuts (A,B) induced by the edges of T with a matching edge between A and B are rather trivial (A or B is a singleton). Thus, the sim-width of G could be uncontrollably smaller than the sim-balancing of (G,𝒮).

To prevent this, we design a gadget 𝒢(u) for each uV(H) from b copies of S(u). These gadgets ensure that any tree layout (T,f) of G of sim-value at most τ+γ1 behaves similarly to a tree mapping of (G,𝒮) in the sense that for every S(u), there is an edge e of T such that both sides of the induced cut (Ae,Be) contain a copy of S(u). Using this property, we prove that the sim-width of G is at least the sim-balancing of (G,𝒮).

The final lemma from each of the two last subsections prove Theorem 2 (hence Theorem 1), which we restate here.

Theorem 15.

Let τ,γ,a be natural numbers as previously defined. Given graphs G such that either

  • the linear mim-with of G is at most a+1aτ+107, or

  • the sim-width of G is at least τ+γ+1,

deciding which of the two outcomes holds is 𝖭𝖯-hard.

One can indeed check that with the announced values for τ,γ,a, we have a+1aτ+107=1211 and τ+γ+1=1216.

5.1 Encoding Mim/Sim-Balancing in Mim/Sim-Width

We start with the description of a gadget for each vertex of H.

Construction of 𝓖(𝒖).

For each vertex uV(H), the gadget of u, denoted by 𝒢(u), is a graph spanned by a path Qu of length 2b|S(u)| made by concatenating b copies of a path Pu. The path Pu is built as follows. Recall that in the graph G, the set S(u) partitions into I(u,v1)I(u,vk) where {v1,,vk}=NH(u). Since all weights are multiples of a, |I(u,v)| is a multiple of a for any edge uvE(H). Hence we can write each I(u,v) as a disjoint union I(u,v,1)I(u,v,a) where each I(u,v,i) has size |I(u,v)|a.

We construct the path Li whose vertex set is I(u,v1,i)I(u,v2,i)I(u,vk,i), and whose vertices occur in this order along Li. We define L as the concatenation L1L2La, i.e., the last vertex of Li is made adjacent to the first vertex of Li+1, for every i[a1]. The path Pu is obtained from the 1-subdivision of L by adding a vertex adjacent to the last vertex of La; see Figure 6.

Figure 6: The path Pu for a vertex u with four neighbors v1,v2,v3,v4, and a=3. The sizes of I(u,v1), I(u,v2), I(u,v3), I(u,v4) are 12, 9, 6, 9, respectively; all divisible by a. The labels I(u,v1,) and L refer to the white vertices, while Pu also comprises the subdivision vertices in black.

We obtain the path Qu by concatenating b copies Pu1,Pu2,,Pub of Pu. Note that each vertex x of Pu has b copies x1,,xb in Qu; for each y{x,x1,,xb}, we denote by 𝖢𝗈𝗉𝗂𝖾𝗌(y) the set {x1,,xb}. The gadget 𝒢(u) is obtained from Qu by adding an edge between every pair of vertices x,y in two distinct Pui,Puj except if y is in NQu[𝖢𝗈𝗉𝗂𝖾𝗌(x)]; see Figure 7.

Figure 7: The gadget 𝒢(u) for the path Pu of Figure 6 and b=3. We drew the non-edges between distinct copies of Pu (dashed edges) incident to only three vertices (one subdivision vertex in Pu2, and two regular vertices in Pu2 and Pu3). Each path Pui remains induced in 𝒢(u).

Construction of 𝑮.

Finally, we construct G as follows (based on the vertex set of H, and the edge set of G). For each vertex uV(H), we add a gadget 𝒢(u) to G. For every edge xyE(G), we add the biclique between 𝖢𝗈𝗉𝗂𝖾𝗌(x) and 𝖢𝗈𝗉𝗂𝖾𝗌(y) in G. If xy is a matching edge of G, the added edges are also called matching (see Figure 8). Similarly if xy is a dummy edge, we call the added edges dummy (see Figure 9).

Figure 8: The matching edges between 𝒢(u) and 𝒢(v) (with u and v two adjacent vertices in H).
Figure 9: The dummy edges between 𝒢(u) and 𝒢(v) of Figure 8. An edge between two rounded boxes represents a biclique between the corresponding vertices of I(,,) (which excludes the subdivision vertices). We only represented the bicliques incident to Pu2 (Pu1 and Pu3 have the same adjacencies toward 𝒢(v)).

5.2 Low linear mim-balancing of (𝑮,𝓟) low linear-mim width of 𝑮

To upper bound the linear mim-width of G, we need the next lemma on 𝒢(u). For each vertex u of H, we define the caterpillar layout of 𝒢(u) as the left-aligned caterpillar (i.e, such that every right child is a leaf) layout with |V(𝒢(u))| leaves bijectively labeled by V(𝒢(u)), in the order of Qu from the first vertex of Pu1 to the last vertex of Pub.

Lemma 16.

Let u be a vertex of H, and (C,f) be the caterpillar layout of 𝒢(u). For every cut (A,B) of 𝒢(u) induced by an edge of C, the mim-value of (A,B) is at most 7.

We can now conclude for this direction of the reduction.

Lemma 17.

If (H,ω) admits a τ-balancing order, then the linear mim-width of G is at most a+1aτ+107.

5.3 Low sim-width of 𝑮 low sim-balancing of (𝑮,𝓟)

The main argument works as follows. We will prove that in any tree layout of G of small sim-value, one can associate to each gadget 𝒢(u) an edge e of the layout, such that a copy of Pu can be found on both sides of the cut defined by e. Since 𝒢(u) is “represented” by any of its copies of Pu, we will use e as where the vertices of 𝒢(u) should be moved to. With this in mind, we gradually build a tree mapping of G from a tree layout of G by “relocating” each gadget to the edge it is associated to. We start with two technical lemmas.

Lemma 18.

Let P1,,Pk be k paths with k>tmaxi[k]|V(Pi)| such that for any ij[k] and any [min(|V(Pi)|,|V(Pj)|)1], the -th edge of Pi is mutually induced with the -th edge of Pj. Then for any cut (A,B) of sim-value at most t, there exists at least one path Pi such that V(Pi)A or V(Pi)B.

Lemma 19.

Let P1,,Pk be k paths with k>3t2maxi[k]|V(Pi)| such that for any ij[k] and any [min(|V(Pi)|,|V(Pj)|)1], the -th edge of Pi is mutually induced with the -th edge of Pj. Then for any tripartition (A,B,C) of V(P1)V(Pk) such that the cuts (A,BC), (B,AC) and (C,AB) have sim-value at most t, there exists at least one path Pi such that V(Pi) is included in one set among A, B and C.

A hybrid tree of a partitioned graph (J,𝒫) is pair (T,f) where T is a tree and f:V(J)V(T) is a map such that for any node tT, either f1(t)𝒫 or |f1(t)|1. As for tree mappings each edge eE(T) in a hybrid tree of (J,𝒫) defines a cut (Ae,Be) of J: the sets of vertices mapped to each component of Te. The sim-value of the hybrid tree (T,f) is the maximum sim-value of all possible cuts (Ae,Be) for eE(T).

We recall that 𝒮={V(𝒢(u)):uV(H)}. We observe that in the instances (H,ω) produced by the first reduction, every vertex has weight at most 2τ. Hence maxuV(H)|V(Pu)|4τ. We set α:=b16τ1=τ+γ1, where b is the constant introduced at the beginning of the section.

Lemma 20.

Let (T,f) be a hybrid tree of (G,𝒮) of sim-value at most α and T subcubic. Then, for any vertex u of H, either

  • there exists tV(T) with f1(t)=V(𝒢(u)), or

  • there exists an edge eE(T) such that in the cut (Ae,Be) induced by e in G, one can find a copy of Pu in both Ae and Be.

We now define a grouping operation on triples (T,f,u), where (T,f) is a subcubic hybrid tree of (G,𝒮) of sim-value smaller than 2(b1)3maxuV(H)|V(Pu)| (which is still very large compared to τ+γ by definition of b) and uV(H), and denote it by group(T,f,u). If there exists tV(T) with f1(t)=𝒢(u), then we set group(T,f,u):=(T,f). Otherwise, Section 5.3 ensures that there is an edge eE(T) such that a copy of Pu is in both sides of the cut defined by e. We then define group(T,f,u):=(T,f), where

  • T is obtained from T by subdividing e, which adds a node, say, te, and

  • f satisfies that f(x)=f(x) whenever xV(𝒢(u)), and f(x)=te otherwise.

Given an edge eE(T), the edge corresponding to e in T is e if e is an edge of T, and e if e is incident to te.

We make two observations on the grouping operation.

Observation 21.

For any subcubic hybrid tree (T,f) of (G,𝒮) and any uV(H), group(T,f,u) is a subcubic hybrid tree of (G,𝒮).

Observation 22.

Let (T,f) be a subcubic hybrid tree of (G,𝒮) and uV(H). Let (T,f):=group(T,f,u), eE(T), and eE(T) corresponds to e in T. Then if (Ae,Be) and (Ae,Be) are the cuts of G defined by e and e, respectively, we have

  • AeV(𝒢(u))=AeV(𝒢(u)),

  • BeV(𝒢(u))=BeV(𝒢(u)),

  • V(𝒢(u))Ae implies that Ae contains a copy of Pu, and

  • V(𝒢(u))Be implies that Be contains a copy of Pu.

We can next show that a grouping can only decrease the sim-value.

Lemma 23.

For any subcubic hybrid tree (T,f) of (G,𝒮) and any uV(H), the sim-value of group(T,f,u) is at most that of (T,f).

We are now equipped to turn hybrid trees G into tree mappings of G no greater sim-value.

Lemma 24.

If (G,𝒮) admits tree layout(T,f) of sim-value at most α, then (G,𝒮) admits a tree mapping (T,f) of sim-value at most the sim-value of (T,f).

We can conclude.

Lemma 25.

Let (T,f) be a tree layout witnessing that the sim-width of G is at most τ+γ. Then the tree sim-balancing of (G,𝒮) is at most τ+γ.

References

  • [1] Rémy Belmonte and Martin Vatshelle. Graph classes with structured neighborhoods and algorithmic applications. Theor. Comput. Sci., 511:54–65, 2013. doi:10.1016/j.tcs.2013.01.011.
  • [2] Benjamin Bergougnoux, Édouard Bonnet, and Julien Duron. Mim-width is paraNP-complete. CoRR, abs/2501.05638, 2025. doi:10.48550/arXiv.2501.05638.
  • [3] Benjamin Bergougnoux, Jan Dreier, and Lars Jaffke. A logic-based algorithmic meta-theorem for mim-width. In Nikhil Bansal and Viswanath Nagarajan, editors, Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, pages 3282–3304. SIAM, 2023. doi:10.1137/1.9781611977554.ch125.
  • [4] Benjamin Bergougnoux, Tuukka Korhonen, and Igor Razgon. New width parameters for independent set: One-sided-mim-width and neighbor-depth. In Daniël Paulusma and Bernard Ries, editors, Graph-Theoretic Concepts in Computer Science - 49th International Workshop, WG 2023, Fribourg, Switzerland, June 28-30, 2023, Revised Selected Papers, volume 14093 of Lecture Notes in Computer Science, pages 72–85. Springer, 2023. doi:10.1007/978-3-031-43380-1_6.
  • [5] Benjamin Bergougnoux, Charis Papadopoulos, and Jan Arne Telle. Node multiway cut and subset feedback vertex set on graphs of bounded mim-width. Algorithmica, 84(5):1385–1417, 2022. doi:10.1007/s00453-022-00936-w.
  • [6] Andreas Darmann and Janosch Döcker. On a simple hard variant of Not-All-Equal 3-Sat. Theor. Comput. Sci., 815:147–152, 2020. doi:10.1016/j.tcs.2020.02.010.
  • [7] Eduard Eiben, Robert Ganian, Thekla Hamm, Lars Jaffke, and O-joung Kwon. A unifying framework for characterizing and computing width measures. In Mark Braverman, editor, 13th Innovations in Theoretical Computer Science Conference, ITCS 2022, January 31 - February 3, 2022, Berkeley, CA, USA, volume 215 of LIPIcs, pages 63:1–63:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ITCS.2022.63.
  • [8] Jörg Flum and Martin Grohe. Parameterized Complexity Theory. Texts in Theoretical Computer Science. An EATCS Series. Springer, 2006. doi:10.1007/3-540-29953-X.
  • [9] Martin Charles Golumbic and Udi Rotics. On the clique-width of some perfect graph classes. International Journal of Foundations of Computer Science, 11(3):423–443, 2000. doi:10.1142/S0129054100000260.
  • [10] Carolina Lucía Gonzalez and Felix Mann. On d-stable locally checkable problems parameterized by mim-width. Discret. Appl. Math., 347:1–22, 2024. doi:10.1016/j.dam.2023.12.015.
  • [11] Russell Impagliazzo and Ramamohan Paturi. On the Complexity of k-SAT. J. Comput. Syst. Sci., 62(2):367–375, 2001. doi:10.1006/jcss.2000.1727.
  • [12] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? J. Comput. Syst. Sci., 63(4):512–530, 2001. doi:10.1006/jcss.2001.1774.
  • [13] Lars Jaffke, O-joung Kwon, Torstein J. F. Strømme, and Jan Arne Telle. Mim-width III. graph powers and generalized distance domination problems. Theor. Comput. Sci., 796:216–236, 2019. doi:10.1016/j.tcs.2019.09.012.
  • [14] Lars Jaffke, O-joung Kwon, and Jan Arne Telle. Mim-Width I. Induced path problems. Discret. Appl. Math., 278:153–168, 2020. doi:10.1016/j.dam.2019.06.026.
  • [15] Dong Yeap Kang, O-joung Kwon, Torstein J. F. Strømme, and Jan Arne Telle. A width parameter useful for chordal and co-comparability graphs. Theor. Comput. Sci., 704:1–17, 2017. doi:10.1016/j.tcs.2017.09.006.
  • [16] Yota Otachi, Akira Suzuki, and Yuma Tamura. Finding induced subgraphs from graphs with small mim-width. In Hans L. Bodlaender, editor, 19th Scandinavian Symposium and Workshops on Algorithm Theory, SWAT 2024, June 12-14, 2024, Helsinki, Finland, volume 294 of LIPIcs, pages 38:1–38:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.SWAT.2024.38.
  • [17] Sigve Hortemo Sæther and Martin Vatshelle. Hardness of computing width parameters based on branch decompositions over the vertex set. Electron. Notes Discret. Math., 49:301–308, 2015. doi:10.1016/j.endm.2015.06.041.
  • [18] Sigve Hortemo Sæther and Martin Vatshelle. Hardness of computing width parameters based on branch decompositions over the vertex set. Theor. Comput. Sci., 615:120–125, 2016. doi:10.1016/j.tcs.2015.11.039.
  • [19] Martin Vatshelle. New width parameters of graphs. PhD thesis, The University of Bergen, 2012.
  • [20] Emile Ziedan, Deepak Rajendraprasad, Rogers Mathew, Martin Charles Golumbic, and Jérémie Dusart. The induced separation dimension of a graph. Algorithmica, 80(10):2834–2848, 2018. doi:10.1007/s00453-017-0353-x.