Transducing Linear Decompositions of Tournaments
Abstract
Bojańczyk, Pilipczuk, and Grohe [LICS ’18] proved that for graphs of bounded linear clique-width, clique-width decompositions of small width can be produced by a CMSO transduction. We show that in the case of tournaments, a first-order transduction suffices. This implies that the logics CMSO and existential MSO are equivalent over bounded linear clique-width tournaments.
Keywords and phrases:
Clique-width, definable decompositions, tournamentsCategory:
Track B: Automata, Logic, Semantics, and Theory of ProgrammingFunding:
Colin Geniet: Supported by the Institute for Basic Science (IBS-R029-C1).Copyright and License:
2012 ACM Subject Classification:
Mathematics of computing Graph theory ; Theory of computation Finite Model TheoryEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Bojańczyk and Pilipczuk proved the following conjecture of Courcelle:
Theorem 1 ([2, 3]).
For any , there is a monadic second-order (MSO) transduction from graphs to tree-decompositions of graphs such that, on every input graph :
-
1.
If is a graph of tree-width at most , then non-deterministically outputs a tree-decomposition of of width at most , and
-
2.
every output of is a tree-decomposition of width at most .
This can be understood as saying that tree-decomposition can be constructed not in a usual algorithmic sense, but through a process described by MSO logic. The motivation for this result is to prove the converse of Courcelle’s theorem: for graphs of tree-width , if is a property that can be tested by a tree automaton running on tree decompositions of width , then is definable by an MSO formula. The proof of Theorem 1 proceeds in two main steps:
-
1.
First, one considers bounded path-width graphs. Path decompositions are seen as words in a semigroup, to which can be applied the Factorisation Forest Theorem of Simon [10]. This reduces the problem to path decomposition with a crucial regularity property – idempotence – which notably ensures the existence of paths without excessive detours.
-
2.
In the general case, one constructs a tree decomposition whose bags have bounded path-width, and are in a sense maximal. Careful connectivity considerations, involving path systems with low congestion, allow to MSO transduce this decomposition, reducing the problem to the previous path-width case.
A natural generalisation of Theorem 1 is to consider dense graphs, replacing tree-width by clique-width. The same authors and Grohe generalised step (1) to this setting, replacing path-width by its dense equivalent linear clique-width, and using the slightly stronger logic CMSO, i.e. MSO with counting modulo 2. Their proof is once again crucially based on Simon’s theorem.
Theorem 2 ([1]).
For any , there is a CMSO transduction from graphs to clique-width decompositions, and such that for any input graph ,
-
1.
If has linear clique-width at most , then non-deterministically outputs a clique-width decomposition of of width at most ,
-
2.
every output of is a clique-width decomposition of width at most .
Pushing this generalisation to graphs of bounded clique-width however remains an open problem: the second step of the proof of Theorem 1 seems strongly tied to the behaviour of paths in tree decompositions, hence much harder to generalise to dense graphs. The proof of Theorem 2 is already quite involved, requiring to define a dense equivalent of connectivity.
We propose considering these questions for a restricted class of graphs, namely tournaments, i.e. directed graphs in which between every pair of vertices , exactly one of the edges or exists. In this setting, we strengthen Theorem 2 in two ways:
-
We only use first-order (FO) logic, which is much weaker than MSO.
That is, we prove the following.
Theorem 3.
For any , one can compute an FO transduction from graphs to linear clique-width decompositions, and , such that on any input graph ,
-
1.
if is a tournament of linear clique-width at most , then non-deterministically outputs a linear clique-width decomposition of of width at most , and
-
2.
every output of is a linear clique-width decomposition of width at most .
The proof of Theorem 3 is also significantly simpler than Theorem 2. The key difference is that we do not refer to any notion of connectivity. Oversimplifying greatly, in the path-width case, the relative ordering of vertices in the path decomposition is determined by queries such as “is there a small separator between and ”. For tournaments, our queries are rather “is an edge” or “is there a vertex with edges ”’. The latter, unlike the former, can be expressed using first-order logic.
In a sense, this is possible because in tournaments, the highly regular substructures provided by Simon’s factorisation are linear orders (also called transitive tournaments); by contrast, in the graph case, these highly regular substructures could be paths or edgeless graphs, for which FO is insufficient to describe a decomposition. Simon’s factorisation theorem remains a key tool in our proof (see Section 2 for the statement).
Theorem 2, together with Courcelle’s Backwards Translation Theorem [6, Theorem 1.40], implies that for bounded linear clique-width graphs, a property is CMSO definable if and only if it is testable by a finite automaton running on linear clique-width decompositions. In the case of tournaments, our FO transduction implies that the same holds with existential MSO (EMSO) instead of CMSO. Therefore, by going back and forth through automata on linear clique-width decompositions, we obtain the following.
Theorem 4.
For any and any CMSO sentence on tournaments, there is an EMSO sentence such that and are equivalent for tournaments of linear clique-width at most .
Let us conclude by discussing potential generalisations of our results to (non-linear) clique-width, and limits to them. Theorem 3 cannot directly generalise to bounded clique-width tournaments: A Ramsey-like argument of Mikołaj Bojańczyk (personal communication) shows that for the class of tournaments obtained by iterated lexicographic products of directed triangles (which has clique-width 3), no FO transduction can produce a clique-width decomposition of bounded width for all tournaments in . On the other hand, it is simple to do so for the class with a transduction in the logic FO with counting modulo 2 (FOC). To our knowledge, it is possible that Theorem 3 generalises to clique-width if we allow FOC transductions.
A major part of our proof focuses on constructing a vertex ordering with low cut-rank, as a first step towards a linear clique-width decomposition. We believe that asking to transduce any total vertex ordering is an interesting intermediate question. For which tournament classes and logics , is there an -transduction that produces a total vertex ordering on any given ? Bojańczyk’s example once again implies that this is not possible for bounded clique-width tournaments and the logic FO, but FOC could be sufficient. Note that from a clique-width decomposition of small width of a tournament (represented with the ancestor–descendent relation of the tree), one can always transduce a linear vertex ordering, corresponding to some left-to-right ordering on the leaves of the decomposition tree.111Let us point out that in the context of e.g. Theorem 2, one needs to consider a generalisation of clique-width decompositions where the decomposition tree may have nodes of unbounded degree. These high degree nodes make it impossible to transduce a total vertex ordering from the decomposition tree. In the case of tournaments however, they cannot exist. Indeed, a high degree node implies that there is a large subset of vertices such that every bipartition of is a cut of bounded rank, which is impossible in a tournament. Thus transducing a total ordering is an easier question than transducing clique-width decompositions of small width.
Structure of the paper
In Section 2, we introduce an infinite monoid corresponding to linear clique-width decompositions of width , and a finite quotient of . This gives us the power to use Simon’s forest factorisation theorem, stated in Section 2, which for any word in yields a factorisation, subject to regularity conditions relative to , and with depth only depending on . In Section 3, we use induction on the factorisation given by Simon’s theorem to prove a weakening of Theorem 3: we construct a transduction which yields not a clique-width decomposition, but simply the associated vertex ordering. Section 4 then shows how to transduce from this ordering to the linear clique-width decomposition, completing the proof of Theorem 3, and finally shows how it implies Theorem 4.
Omitted proofs can be found in the full version of the paper.
Notations
We denote by the interval of integers . A tournament is a directed graph with for each pair of vertices in , exactly one of the two possible directed edges or in . We also write and for the vertex and edge sets of , and denote an oriented edge as to emphasise its orientation. A bipartite tournament is defined similarly restricting to edges between the two vertex sets and : the edge set consists of exactly one of or for each pair of vertices and . In a tournament , two disjoint subsets of vertices are called homogenous if the edges between them are either all oriented from to , i.e. is an edge for all and , or inversely all from to .
There are several graph complexity measures that are equivalent to (linear) clique-width. For our purposes, we will use the monoid structure defined in Section 2.
Our logic terminology is standard, we refer to [6] for instance. We refer also to [6] for definitions of transductions. In our setting, an FO transduction is a composition of the following atomic transductions:
-
interpretation, which consists in adding to the input structure a new relation defined by an FO-formula,
-
colouring, which consists in adding unary relations to the input structure,
-
filtering, which consists in outputting the input only if it satisfies an FO-formula.
-
universe restriction, which consists in restricting the universe of the input to the elements satisfying an FO formula, and binding each relation to the restricted universe.
It is well-known that any FO transduction can be equivalently expressed using only one instance of each operation, in the following order: colouring, filtering, interpretation, and universe restriction222Usually one allows copying first to linearly increase the domain, but we do not use copying in our setting.. If is an FO transduction, we denote by the set of outputs for input . A transduction is an extension transduction if for any input of , any is an extension of .
2 Linear decompositions and semigroup theory
This section presents linear decompositions as constructed from pieces called bags, which can be composed, giving them a monoid structure. In this context, we will describe a linear decomposition as a sequence of small bags. We then introduce Simon’s Factorisation Forest Theorem, which will be used to obtain factorisations of such sequences, subject to some regularity conditions. While all the notions presented here can be defined for directed graphs of small clique-width, we restrict the definitions to tournaments to simplify notions and notations. We refer to [1] for a similar monoid for undirected graphs of small clique-width, which trivially extends to directed graphs.
Linear decompositions as a monoid
A bag is essentially a tournament with some additional information describing how it should be glued with other bags, so as to define a deterministic product operation on bags. For , a bag of order consists of the following:
-
1.
An internal tournament , whose vertices and edges are called internal vertices and internal edges.
-
2.
A boundary bipartite tournament . Here, are called input vertices, and stand for colour classes of vertices to the left of .
-
3.
A colouring of the internal vertices.
-
4.
A recolouring function , which can be seen as a re-colouring of the input vertices.
A visual representation of bags is depicted in Figure 1 below. We do not define linear clique-width and refer to [7] for its definition. The objective is to prove that if a tournament has linear clique-width , then it is a value of a word from a finite alphabet composed of bags. Let us define for that the multiplication operator on bags. Intuitively, when multiplying on the right by the bag , the following happens: edges are added between any and all existing vertices of colour according to the direction of the edge or in . Then, existing vertices have their colours modified by applying , while internal vertices of are given their colour from .
Formally, the product of two bags and of order is defined as follows:
-
1.
The internal vertices are . Internal edges are obtained as follows: Inside and respectively, edges are exactly as in and . Between them, for with colour and , there is an edge (resp. ) if and only if (resp. ) is a boundary edge in .
-
2.
For an input vertex and , there is a boundary edge (resp. ) in if and only if there is the edge (resp. ) in . When , the edge between and is simply the same as in .
-
3.
The colouring of internal vertices coincides with inside , and simply with inside .
-
4.
Finally, the recolouring function is .
In this product, we think of as being to the left of, or earlier than . See Figure 1 for an example. Note that we only define the product of two bags of the same order, although it would be simple to lift this restriction by extending the set of colours of one bag. It is easy to check that the product is associative, and the empty bag with identity recolouring is the neutral element. Thus, the set of bags of order has a monoid structure. We often write instead of when it is clear from the context.
A bag is called atomic if it has at most one internal vertex. We denote by the submonoid generated by atomic bags of order . The following essentially says that we can concentrate on when dealing with tournaments of linear clique-width at most .
Lemma 5.
If a tournament has linear clique-width at most , then is isomorphic to the internal tournament of some . Conversely, if is isomorphic to the internal tournament of some , then has linear clique-width at most .
Thanks to Lemma 5, we call by extension any word of atomic bags a linear decomposition.
Types and abstraction
We next define some finite abstraction of bags. The first step is to define types of vertices inside a bag. Consider a bag and an internal vertex . The type of describes its interactions with bags which may be multiplied to the left or right of . Specifically, consists of the following information:
-
1.
the colour , and
-
2.
the direction of edges or for each input vertex .
We use to denote vertex types. When the order of the bag is fixed, there are only distinct vertex types.
Next, we define the abstraction of a bag. If is a bag and is a vertex type, we denote by the set of vertices with type in . The type is inhabited in if is non-empty. The abstraction of , denoted by , now consists of the following information:
-
1.
the recolouring function ,
-
2.
the set of inhabited vertex types in , and
-
3.
for each pair of inhabited types , whether and are homogeneous or not in the internal tournament of , and when they are, the direction of edges or .
We use to denote abstractions of bags. For fixed order , the number of bag abstractions is some constant .
One checks that the map from bags to abstractions is a monoid homomorphism. We denote by this monoid of abstractions of bags of order . We summarise all these properties in the following.
Lemma 6.
For any , the set of abstractions has size bounded by , and there is an associative operation such that
Simon’s Factorisation Forest Theorem
Given a linear decomposition , Simon’s theorem gives a factorisation forest, which is a more structured way to construct from , subject to some restrictions relative to a finite semigroup of our choice – in our case the monoid of abstractions.
The general setting of Simon’s theorem is the following. Consider a (usually infinite) semigroup and a generating set , a finite semigroup , and a homomorphism . In our case, are the bags, the atomic bags, the abstractions, and . Simon’s theorem deals with two kinds of factorisations of elements :
- binary factorisation:
-
for with no further restriction.
- idempotent factorisation:
-
, where the number of factors is unrestricted, but the factors must all map to the same in , which furthermore must be idempotent, meaning .
Simon’s theorem states that any can be reduced down to generators in by applying the previous two operations nested only up to a depth bounded by a linear function of . This process is described as a factorisation forest for .
Let us introduce some terminology allowing to count binary and idempotent factorisations separately. A factorisation forest has depth if the nesting depth of idempotent operations is at most , and that of binary operations is at most . Formally:
-
Generators have a factorisation forest of depth .
-
If have factorisation forests of depth and respectively, then has a factorisation forest of depth
-
If satisfy for some idempotent and all , and there are such that each has a factorisation forest of depth , then has a factorisation forest of depth .
Since this definition depends on the choice of semigroup and morphism , we will call it a factorisation forest over to disambiguate.
Theorem 7 (Simon’s Factorisation Forest Theorem, [10, 9]).
Consider a semigroup generated by , and a homomorphism to a finite semigroup. Then all have factorisation forests over of depth at most .
In the case of bags, we will apply Theorem 7 to the monoid with atomic bags as generators, and the abstraction homomorphism . Since we will only consider factorisation forests over the abstraction homomorphism, we will omit the “over ” qualifier in the rest of this work.
Abstractions and vertex deletion
The proof of our main result proceeds by induction over the depth of a given factorisation forest. At some point during this induction, we may need to restrict the bag considered to a subset of vertices. In general, this does not preserve the factorisation depth. Indeed, deleting vertices in a bag may change its abstraction, and what was an idempotent factorisation may thus stop being one. This section describes a sufficient condition to control the depth of factorisation forests when deleting vertices.
Given a bag and a subset of internal vertices, we denote by the bag obtained by deleting any internal vertex of outside , and restricting the edges and colouring map of to . If is a set of vertex types, then we denote by the set of vertices with type in , and we say that is a union of types. When deleting vertices from bags, we will only delete unions of types, which is sufficient to control the factorisation depth.
Lemma 8.
Let be a positive integer and let be a bag in . If has a factorisation forest of depth and is some union of types, then has a factorisation forest of depth .
3 Transducing an ordering
In this section, we show that orderings of bounded cut-rank can be FO transduced. Throughout the section, we work with (non-deterministic) extension transductions with signature , where are binary relational symbols. Explicitly, such a transduction takes as input a (directed) graph , and non-deterministically outputs structures , i.e. the same graph plus some binary relation expected to be a linear ordering.
Theorem 9.
For any , one can compute an extension FO transduction with signature , and such that
-
1.
for any graph , every structure in is for some linear ordering of with cut-rank at most , and
-
2.
if is a tournament with linear clique-width at most , then contains at least one such structure.
The adjacency matrix of a tournament is the boolean matrix whose rows and columns are indexed by , where the entry at row and column is only if . In a tournament , consider a bi-partition of the vertices. The rank of this bi-partition, denoted by , is the rank (over the binary field ) of the adjacency matrix of versus , i.e. the adjacency matrix restricted to rows indexed by vertices in and columns indexed by vertices in . If is a linear ordering of , the cut-rank of is defined as
The proof will follow the same line as in [2, 1] and will be by induction on the height of the Simon’s Factorisation Forest of the words generating bags in . It is not hard to check, by a first-order formula depending only on , that an ordering on has cut-rank at most . Indeed, this amounts to saying that, for every , there exist vertices with and such that for every , there is a subset satisfying, for all ,
We can therefore concentrate in proving the second condition of Theorem 9. Let us explain the main induction before proceeding to the proof of the main technical lemma.
Main induction
By Lemma 5, any tournament with linear clique-width is also the internal tournament of some bag in . Furthermore, by Theorem 7, this bag has factorisation depth at most , where is the monoid of abstractions of arity , whose size is a function of only. Thus, Theorem 9 follows from the next statement and the arguments given above for checking that an ordering has small cut-rank.
Lemma 10.
For any , one can compute and an extension FO transduction such that if is the internal tournament of a bag of factorisation depth at most , then there is some ordering of with cut-rank at most such that .
We once again insist that the output needs to contain some linear ordering of with the required cut-rank, but may also contain other structures where is interpreted arbitrarily (possibly not even as a linear ordering). Thus we will show that if non-deterministic steps follow the “right” choices, then the transduction produces the desired ordering, while ignoring anything resulting from a “wrong” choice.
Let us begin the proof of Lemma 10, by induction on the pair ordered lexicographically. Choose the bound to satisfy:
| if , and | ||||
| if . | ||||
Consider a bag whose internal tournament is , and with factorisation depth .
In the base case , the bag is atomic, and the result is trivial. Assume now that or , so that the Simon’s factorisation of has either a binary or an idempotent operation at the root. The transduction starts by guessing which of these two cases occurs (this can be simulated using a colouring step), and will continue with a different transduction for each.
Binary case
Assume where have factorisations of depth at most . We use a non-deterministic colouring to guess the bipartition . Then, by restricting the quantifiers to , one can simulate applying the transduction obtained by induction to each . Thus, we obtain linear orderings of cut-rank at most for and respectively.
Define on by , where coincides with inside . One can transduce from and the bipartition . Since we are dealing with bags of arity , we have . Since has cut-rank at most in for , this implies that has cut-rank at most .
Idempotent case
Assume now we are given an idempotent factorisation, that is where for all , with idempotent, and each has factorisation depth at most .
Consider the quasi-ordering of defined by , and call the equivalence relation whose classes are . Suppose in a first time that we are given (transducing it will be the core of this proof). The Parallel Application Lemma [1, Lemma 5.6] allows to apply to each simultaneously, yielding a relation which inside each is interpreted as a linear ordering of cut-rank at most .
Define to be the linear ordering which coincides with inside each bag , and with between the bags. Clearly can be transduced from and , and it is not hard to check that its cut-rank depends only on the cut-rank of and of .
We are thus only left with the core problem of transducing the quasi-ordering . Unfortunately, it is not always possible to transduce exactly . For instance might have two strongly connected components , each intersecting all . Then, we might be able to transduce inside each , but it will be impossible to transduce between and . Indeed, as and are distinct strongly connected components, we infer that the edges are all oriented from one of them to the other one. For all integers , to transduce , we should have that the elements of come before the elements of , and the elements of come after the elements of . However, the adjacency between and is homogenous and can be therefore transduced from an independent set (or a clique), which is not possible to order in CMSO. In this case, we need to reorganise the decomposition of by first separating and , and then decomposing each of them. The precise statement we prove is thus the following.
Lemma 11.
Given , one can compute an extension FO transduction with signature satisfying the following. If is the internal tournament of a bag with factorisation depth at most , then there is a quasi-ordering of with equivalence classes such that
-
1.
for each , is the internal tournament of a bag in having factorisation depth at most ,
-
2.
for each ,
-
3.
and .
Assuming Lemma 11, we conclude as follows. From the quasi-ordering , it is simple to transduce the equivalence relation with equivalence classes . Recall that we do induction on ordered lexicographically, hence we can assume the transduction is already defined. Using the Parallel Application Lemma [1, Lemma 5.6], this transduction can be again applied to each in parallel. This yields a relation which inside each is a linear ordering with cut-rank at most . Define to coincide with inside each and with between the different , which is easily transduced from . Using Condition 2 of Lemma 11, it is not hard to prove that has cut-rank at most
This concludes the idempotent case, and thus the proof of Lemma 10.
We are now going to prove Lemma 11. From now on, we fix some , and consider a factorisation , where all have the same idempotent abstraction , and have factorisation depth at most . We also call the internal tournament of .
Recall that Lemma 11 asks for a transduction depending only on . As the very first step of this transduction, one may use non-deterministic colouring to guess the abstraction (for which there are only finitely many possibilities for a fixed , by Lemma 6). We may thus instead allow the transductions constructed in this section to depend on both and (but not , the factorisation, or ).
For a vertex , we call the index of . Our goal is to answer (with an FO transduction) the question: given , is ? To be formal, for a subset of , we say that a transduction orders according to if is an extension FO transduction, and there is some such that and coincide on .
Using the non-determinism of transductions, one may show that it suffices to consider vertices whose indices differ by at least some constant. That is, say that approximately orders according to if is an extension FO transduction, and there is such that coincide for any pair that satisfies . When hits all bags of the factorisation, if we can approximately order , then we can also order it:
Lemma 12.
Let be a subset of vertices containing at least one vertex for each possible index. For any FO transduction , there is a second transduction such that if approximately orders according to , then orders according to .
Let us call the recolouring function of the bags . It is the same for all bags since it is part of the abstraction , and it is idempotent (). Consider any vertex of , say . In the bag , is given some colour , which we call its initial colour . Then, as we multiply by , the colour of changes to . Continuing with will again recolour by applying , but since is idempotent, this does nothing. Thus, for any , the colour of in is . We call this its final colour and denote it by .
Recall that to define the abstraction of the bags , we first defined the vertex type of inside the bag , which indicates its colour , i.e. the initial colour, and the direction of edges between and input vertices in . In what follows, the type of a vertex will always be understood relative to the bag containing it, and we shorten it to . Using a non-deterministic colouring, we can guess the types of all vertices in , and we assume this colouring to be given in all subsequent lemmas. With this in hand, we can already order the vertices of a given type . Denote by the set of vertices of type . Note that if is non-empty, then it intersects all bags . Indeed whether or not contains a vertex of type is indicated by the abstraction .
Lemma 13.
For any type , there is an FO transduction depending only on that orders according to .
Thus we can order the vertices of each type independently, and the issue is now to combine these orderings. Denote by the set of inhabited vertex types in . Recall that subsets of vertices are called homogeneous if either all edges are oriented from to , or all from to . We define the synchronisation graph with vertices , in which are adjacent if and only if and are not homogeneous.
We show that when is connected, one can transduce the quasi-ordering corresponding to the original decomposition :
Lemma 14.
Let be a connected component of the synchronisation graph , and denote . Then can be ordered according to by an FO transduction depending only on .
When is connected, Lemma 14 concludes the proof of Lemma 11. Note in that case that the given factorisation is not modified, i.e. the partition in the conclusion of Lemma 11 is exactly , and conditions (1) and (2) of the statement are trivial. We now handle the case where is disconnected by slightly modifying this decomposition.
Assume that has several connected components that we enumerate as . We then reorganise the decomposition of . For and , call the set of internal vertices of with types in . By Lemma 14, for each , the set can be ordered according to with a transduction. Let be the quasi-ordering on the partition obtained by ordering first according to the index of the connected component of the type, and then by the index of the bag , i.e.
One can prove that this quasi-ordering has small cut-rank. We can therefore complete the proof of Lemma 11, by checking the three conditions of the statement.
-
1.
Firstly, each is the internal tournament of a bag in of factorisation depth at most . Indeed, this follows from Lemma 8 since is the restriction of to some union of types, and is a bag in and has factorisation depth at most by assumption.
-
2.
We can prove that the quasi-ordering has cut-rank at most .
-
3.
Finally, there is an extension FO transduction depending only on such that for the internal tournament of , we have . Indeed, from Lemma 14, we can obtain the restriction of to any by a transduction depending only on . By first guessing the type of each vertex, ordering by types between the different sets , and by the previous transductions inside each , we obtain the desired quasi-ordering .
This transduction depends on , the abstraction of bags, and the synchronisation graph . Since there are only finitely many possible choices for and for when is fixed, thus the transduction may first guess and , and then proceed as above.
4 Definable decompositions and definable properties
Theorem 9 proved that in tournaments of bounded linear clique-width, one can FO-transduce orderings of bounded cut-rank. We now show that, from this ordering, one can also transduce a linear clique-width decomposition, proving our main result, Theorem 3. Then, we combine this with some of the central ideas from Courcelle’s work [6] to obtain that the logics MSO and EMSO are equivalent over bounded linear clique-width tournaments (Theorem 4).
Let us first explain how we represent a linear decomposition as a relational structure. We choose a representation based on the monoid from Section 2, but it would be simple to obtain the same results with a representation based on the operations defining linear clique-width.
We use the following standard encoding of words as relational structures. For a finite alphabet , a word in is represented by the ordered structure with vertex set , one binary relation for the natural ordering on , and for each letter , a unary relation such that holds if and only if . We call this the unary representation of the word .
Now for any , let denote the set of atomic bags of order (up to isomorphism). Recall that by definition generates the monoid , and that linear clique-width decompositions are equivalent, in the sense of Lemma 5 to words with each . We then represent the linear decomposition as a word over the alphabet , in unary representation. Firstly, from a linear decomposition, one can reconstruct the corresponding graph with a transduction.
Lemma 15.
For any , one can compute an FO transduction which, given a linear decomposition with , outputs the underlying graph of .
Lemma 15 is usually considered for MSO transductions, where it is a very easy result. With FO transductions instead, we need the following definition and result.
Consider a finite semigroup , and a word with letters in . The binary representation of is the relational structure with again vertices and the natural ordering as a binary relation, and additionally, for each a binary relation such that holds if and only if and . The following is a variant of a result of Colcombet [5, Lemma 3], which is obtained thanks to Simon’s factorization.
Lemma 16.
For any finite semigroup , one can compute an FO transduction that, for any word in , given the unary representation of , outputs its binary representation.
Lemma 16 allows to convert the unary representation of the linear decomposition given in Lemma 15 into a binary representation. It is then simple to complete the proof of Lemma 15 by reconstructing the graph from this binary representation.
From Theorems 9 and 15, we obtain the following: Now given a tournament with small linear clique-width, one can (1) apply the transduction of Theorem 9 to obtain an ordering with small cut-rank, which is also the ordering of a linear decomposition of small width, then (2) guess (using non-deterministic colouring) the atomic bag in corresponding to each vertex in this linear decomposition, and finally (3) apply Lemma 15 to check that the linear decomposition consisting of the ordering from step (1) and the labels from step (2) indeed corresponds to . This proves our main result:
Theorem 17.
For any , one can compute an FO transduction and such that
-
1.
for any graph , any is a linear clique-width decomposition of of width at most , and
-
2.
when is a tournament with linear clique-width at most , contains at least one such decomposition.
Applications of transductions between graphs and tree- or clique-decompositions in Courcelle’s work typically involve the Backwards Translation Theorem [6, Theorem 1.40], which states that for any MSO transduction with signature , and any MSO formula on , there is an MSO formula such that
We will use a similar statement to prove Theorem 4 from Theorem 3.
Backwards translation is easily adapted to CMSO formulas and transductions, as well as FO formulas and deterministic FO transductions. On the other hand, FO formulas are not sufficiently expressive to handle the non-deterministic colouring operation. To this end, one should instead use existential MSO (EMSO) formulas, i.e., formulas of the form
where the variables range over subsets of vertices, and is an FO formula that may use the predicates . The proof of the following remains essentially the same as in the MSO case.
Lemma 18 (Backwards Translation for FO Transductions).
For any FO transduction with signature , and any EMSO formula on , there is an EMSO formula such that
The last tool we need to prove Theorem 4 is the following folklore variant of Büchi–Elgot–Trakhtenbrot theorem.
Theorem 19 (Büchi–Elgot–Trakhtenbrot [4, 8, 11]).
For any finite alphabet and language , the following are equivalent:
-
1.
is a regular language,
-
2.
is defined by an MSO sentence,
-
3.
is defined by an CMSO sentence,
-
4.
is defined by an EMSO sentence.
We are now ready to prove Theorem 4.
Theorem 4. [Restated, see original statement.]
For any and any CMSO sentence on tournaments, there is an EMSO sentence such that and are equivalent for tournaments of linear clique-width at most .
Proof.
Take the transduction and given by Theorem 17. Applying backwards translation for CMSO to the transduction from linear decompositions to graphs given by Lemma 15, we obtain a CMSO formula on linear decompositions of width at most , such that for any linear decomposition with width at most of a tournament , we have if and only if . Since linear decompositions are words, Theorem 19 gives that is equivalent to some EMSO formula .
Now apply backwards translation for FO (Lemma 18) to and the transduction given by Theorem 17. This yields an EMSO formula such that if and only if holds for some .
Consider a tournament with linear clique-width at most . Assume that , and consider a linear decomposition of with width at most , guaranteed by Theorem 17. Then the choice of , , and directly gives
Conversely, assume that , hence there is some such that . Then Theorem 17 guarantees that is a linear decomposition of with width at most , and we once again have the equivalence between , , and finally . Therefore is equivalent to the EMSO sentence for any tournament with linear clique-width at most .
References
- [1] Mikolaj Bojanczyk, Martin Grohe, and Michal Pilipczuk. Definable decompositions for graphs of bounded linear cliquewidth. Log. Methods Comput. Sci., 17(1), 2021. URL: https://lmcs.episciences.org/7125.
- [2] Mikołaj Bojańczyk and Michał Pilipczuk. Definability equals recognizability for graphs of bounded treewidth. In Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’16, pages 407–416, New York, NY, USA, 2016. Association for Computing Machinery. doi:10.1145/2933575.2934508.
- [3] Mikolaj Bojanczyk and Michal Pilipczuk. Optimizing tree decompositions in MSO. In Heribert Vollmer and Brigitte Vallée, editors, 34th Symposium on Theoretical Aspects of Computer Science, STACS 2017, March 8-11, 2017, Hannover, Germany, volume 66 of LIPIcs, pages 15:1–15:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.STACS.2017.15.
- [4] J. Richard Büchi. Weak second-order arithmetic and finite automata. Mathematical Logic Quarterly, 6(1-6):66–92, 1960. doi:10.1002/malq.19600060105.
- [5] Thomas Colcombet. A combinatorial theorem for trees. In Lars Arge, Christian Cachin, Tomasz Jurdziński, and Andrzej Tarlecki, editors, Automata, Languages and Programming, pages 901–912, Berlin, Heidelberg, 2007. Springer Berlin Heidelberg. doi:10.1007/978-3-540-73420-8_77.
- [6] Bruno Courcelle and Joost Engelfriet. Graph Structure and Monadic Second-Order Logic - A Language-Theoretic Approach, volume 138 of Encyclopedia of mathematics and its applications. Cambridge University Press, 2012. URL: http://www.cambridge.org/fr/knowledge/isbn/item5758776/?site_locale=fr_FR.
- [7] Bruno Courcelle and Stephan Olariu. Upper bounds to the clique width of graphs. Discret. Appl. Math., 101(1-3):77–114, 2000. doi:10.1016/S0166-218X(99)00184-5.
- [8] Calvin C. Elgot. Decision problems of finite automata design and related arithmetics. Transactions of the American Mathematical Society, 98(1):21–51, 1961. URL: http://www.jstor.org/stable/1993511.
- [9] Manfred Kufleitner. The height of factorization forests. In Edward Ochmański and Jerzy Tyszkiewicz, editors, Mathematical Foundations of Computer Science 2008, pages 443–454, Berlin, Heidelberg, 2008. Springer Berlin Heidelberg. doi:10.1007/978-3-540-85238-4_36.
- [10] Imre Simon. Factorization forests of finite height. Theoretical Computer Science, 72(1):65–94, 1990. doi:10.1016/0304-3975(90)90047-L.
- [11] J. W. Thatcher and J. B. Wright. Generalized finite automata theory with an application to a decision problem of second-order logic. Math. Systems Theory, 2:57–81, 1968. doi:10.1007/BF01691346.
