Approximating Clique-Width and Branch-Width: Well-Linked Sets Certify Clique-WidthResearch Paper
Motivation
Clique-width is a graph parameter introduced by Courcelle and Olariu (Discrete Appl. Math. 101 (2000)) that measures how far a graph is from being built by a few labelled operations. Every problem expressible in monadic second-order logic with quantification over vertices and vertex sets (MSO) can be solved in linear time on graphs given together with a decomposition of bounded clique-width (Courcelle, Makowsky and Rotics, Theory Comput. Syst. 33 (2000)). Bounded clique-width is more general than bounded tree-width: complete graphs have unbounded tree-width but clique-width .
For fixed there was, before this paper, no polynomial-time algorithm that either decides that a graph has clique-width at least or outputs a decomposition of clique-width bounded by a function of ; the best known algorithm, by Johansson (2001), gave width . Oum and Seymour (J. Combin. Theory Ser. B 96 (2006)) closed this gap with approximation , through rank-width and a factor-3 approximation for the branch-width of symmetric submodular functions.
Timeline:
- 1991: Robertson and Seymour introduce branch-width of graphs and hypergraphs (J. Combin. Theory Ser. B 52).
- 2000: Courcelle and Olariu define clique-width; Courcelle, Makowsky and Rotics solve MSO problems on graphs given with a -expression.
- 2001: Johansson gives a approximation.
- 2006: Oum and Seymour define rank-width, prove , and give an algorithm that outputs a -expression or certifies clique-width above .
Setting
All graphs are finite and simple. For a finite set , a function is submodular if and symmetric if .
A branch-decomposition of is a pair where is a tree with at least two vertices and all degrees at most , and is a bijection from onto the leaves of . Removing an edge of splits the leaves in two; the width of is of the set of elements of on one side. The width of is the largest edge width, and the branch-width is the least width of a branch-decomposition, with when .
A set is well-linked with respect to if for every partition of and every with , .
Let be the adjacency matrix of over . For disjoint , is the rank of the submatrix of with rows and columns , and the cut-rank function is . The rank-width is .
A -expression is a term built from constants (a vertex with label ), the operators (; add all edges between labels and ), (relabel into ) and disjoint union . Its value is the labelled graph it produces; has clique-width if some -expression has value isomorphic to .
An interpolation of is a function on disjoint pairs that agrees with on , is monotone, submodular in the sense , and has .
Formalization targets
Goal: Theorem 1.1, certificate form
For a graph with at least one vertex and an integer :
The same explicit condition decides which side of the approximation holds; this is what the paper's algorithm certifies.
Milestones
- Proposition 4.1: properties of an interpolation, including that is a matroid rank function on when .
- Proposition 4.2: is an interpolation.
- Theorem 5.1: a well-linked set of size forces (for ).
- Theorem 5.2: no well-linked set of size implies , when .
- Proposition 6.1: .
- Corollary 6.2: submodularity of and .
- Section 6 claim: is symmetric submodular and interpolates it.
- Proposition 6.3: .
Significance
The dichotomy turns clique-width, for which no exact polynomial algorithm is known even for fixed , into a parameter that can be approximated with an explicit witness in each direction. Downstream, every algorithm for graphs of bounded clique-width that needs a -expression as input becomes applicable to graphs given without one, at the cost of an exponential blow-up of the width.
The result is proved in the literature; this mission formalizes it. To our knowledge none of the objects involved — branch-width of set functions, rank-width, cut-rank, -expressions, clique-width — has been formalized in Mathlib, and the submodularity of submatrix rank (Proposition 6.1) is absent from Mathlib's Matrix.rank API. The formal development would give reusable definitions of branch-decompositions of arbitrary integer set functions, of cut-rank, and of clique-width, and a machine-checked link between the combinatorial and the linear-algebraic width parameters.
Difficulty
The upper bound in Theorem 5.2 is the core. The natural approach, growing a branch-decomposition one leaf split at a time while keeping the width at most , gets stuck at a leaf carrying a set with : a split of into two parts of -value below has to be found, and it must be found from the failure of well-linkedness of a set that is not obviously related to . The paper's device is the interpolation , which attaches a matroid to whose base has exactly elements. Formalizing this requires handling partial branch-decompositions, their extensions, and a maximality argument over trees, none of which exists in Mathlib.
Proposition 6.3's upper bound is a second, independent difficulty: a rank-decomposition must be converted into a -expression by an induction over a rooted binary tree, with a relabelling argument bounding the number of labels by the number of distinct nonzero rows of a matrix of rank . Its lower bound needs the tree structure of a -expression to be read as a branch-decomposition.
Formalization scope
The ground set is a Fintype V with DecidableEq V; subsets are Finset V; set functions are Finset V → ℤ, as in the paper. A branch-decomposition is a tree T : SimpleGraph (Fin n) with , all neighbour sets of size at most , and an injective map from onto the vertices of degree ; the side of an edge is found by reachability from after deleting . Branch-width, rank-width and clique-width are never computed as minima: "" is the predicate " and , or a branch-decomposition of width at most exists", lower bounds say that every branch-decomposition has a wide edge, and "" is " has a -expression". Labels are Fin k. The value of a -expression has as vertex type the occurrences of constants (a nested sum type), and requires . Cut-rank uses Matrix.rank over ZMod 2 of submatrices of SimpleGraph.adjMatrix. An interpolation is a function on all pairs of subsets whose axioms are imposed on disjoint pairs only.
Running time is not formalized. The paper's Theorem 1.1 asserts an algorithm; there is no cost model on the page, and the goal states the certificate the algorithm returns instead. Without the running time, " or " holds for every graph, so that reading is ruled out as a formalization of the goal; so are well-linkedness with respect to anything other than , widths defined by an unguarded infimum (which is on an empty family), -expressions whose value is not the graph up to isomorphism or whose may join equal labels, and Theorem 5.1 stated for .
Correction of Theorem 5.1. As printed, Theorem 5.1 fails for : a singleton is always well-linked, but the edgeless graph on two vertices has cut-rank identically and branch-width . The milestone carries the hypothesis ; the goal uses the theorem only at size .
The graph with no vertex is excluded from the goal and from the upper bound of Proposition 6.3, since it has no -expression for any . Contributions welcome: proofs of the milestones, lemmas on branch-decompositions (suppressing degree-2 vertices, extending partial decompositions), and submatrix-rank submodularity, which is reusable beyond this mission.
Selected references
- S. Oum and P. Seymour, Approximating clique-width and branch-width, J. Combin. Theory Ser. B 96 (2006) 514–528. https://doi.org/10.1016/j.jctb.2005.10.006
- B. Courcelle and S. Olariu, Upper bounds to the clique width of graphs, Discrete Appl. Math. 101 (2000) 77–114. https://doi.org/10.1016/S0166-218X(99)00184-5
- B. Courcelle, J. A. Makowsky and U. Rotics, Linear time solvable optimization problems on graphs of bounded clique-width, Theory Comput. Syst. 33 (2000) 125–150. https://doi.org/10.1007/s002249910009
- N. Robertson and P. D. Seymour, Graph minors. X. Obstructions to tree-decomposition, J. Combin. Theory Ser. B 52 (1991) 153–190. https://doi.org/10.1016/0095-8956(91)90061-N