TS-Reconfiguration of Dominating Sets in circle and circular-arc graphs ††thanks: This work was supported by ANR project GrR (ANR-18-CE40-0032).
Abstract
We study the dominating set reconfiguration problem with the token sliding rule. It consists, given a graph and two dominating sets and of , in determining if there exists a sequence of dominating sets of such that for any two consecutive dominating sets and with , , where .
In a recent paper, Bonamy et al. [3] studied this problem and raised the following questions: what is the complexity of this problem on circular arc graphs? On circle graphs? In this paper, we answer both questions by proving that the problem is polynomial on circular-arc graphs and PSPACE-complete on circle graphs.
Keywords: reconfiguration, dominating sets, token sliding, circle graphs, circular arc graphs.
1 Introduction
Reconfiguration problems consist, given an instance of a problem, in determining if (and in how many steps) we can transform one of its solutions into another one via a sequence of elementary operations keeping a solution along this sequence. The sequence is called a reconfiguration sequence.
Let be a problem and be an instance of . Another way to describe a reconfiguration problem is to define the reconfiguration graph , whose vertices are the solutions of the instance of , and in which two solutions are adjacent if and only if we can transform the first solution into the second in one elementary step. In this paper, we focus on the so-called Reachability problem which, given an instance of a problem and two solutions of , returns true if and only if there exists a reconfiguration sequence from to keeping a solution all along. Other works have focused on slightly different problems such as the connectivity of the reconfiguration graph or its diameter, see e.g. [4, 7, 8]. Reconfiguration problems arise in various fields such as combinatorial games, motion of robots, random sampling, or enumeration. Reconfiguration has been intensively studied for various rules and problems such as satisfiability constraints [7], graph coloring [1, 6], vertex covers and independent sets [10, 11, 13] or matchings [2]. The reader is referred to the surveys [14, 16] for a more complete overview on reconfiguration problems. In this work, we focus on dominating set reconfiguration. Throughout the paper, all the graphs are finite and simple.
Let be a graph. A dominating set of is a subset of vertices such that, for every , either or has a neighbor in . A dominating set can be seen as a subset of tokens placed on vertices which dominates the graph. Three types of elementary operations, called reconfiguration rules, have been studied for the reconfiguration of dominating sets.
-
•
The token addition-removal rule (TAR) where each operation consists in either removing a token from a vertex, or adding a token on any vertex (keeping a dominating set).
-
•
The token jumping rule (TJ) where an operation consists in moving a token from a vertex to any vertex of the graph (keeping a dominating set).
-
•
The token sliding rule (TS) where an operation consists in sliding a token from a vertex to an adjacent vertex.
In this paper, we focus on the reconfiguration of dominating sets with the token sliding rule. Note that we authorize (as well as in the other papers on the topic, see [3]) the dominating sets to be multisets. In other words, several tokens can be put on the same vertex. Bonamy et al. observed in [3] that this choice can modify the reconfiguration graph and the set of dominating sets that can be reached from the initial one. More formally, we consider the following problem:
Dominating Set Reconfiguration under Token Sliding (DSR )
Input: A graph , two dominating sets and of .
Output: Does there exist a dominating set reconfiguration sequence from to under the token sliding rule ?
Dominating Set Reconfiguration under Token Sliding.
The dominating set reconfiguration problem has been widely studied with the token addition-removal rule. Most of the earlier works focused on the conditions that ensure that the reconfiguration graph is connected in function of several graph parameters, see e.g. [5, 8, 15]. From a complexity point of view, Haddadan et al. [9], proved that the reachability problem is PSPACE-complete under the addition-removal rule, even when restricted to split graphs and bipartite graphs. They also provide linear time algorithms in trees and interval graphs.
More recently, Bonamy et al. [3] studied the dominating set reconfiguration problem under token sliding. They proved that DSR is PSPACE-complete, even restricted to split, bipartite or bounded tree-width graphs. On the other hand, they provide polynomial time algorithms for cographs and dually chordal graphs (which contain interval graphs). In their paper, they raise the following question: is it possible to generalize the polynomial time algorithm for interval graphs to circular arc-graphs ?
They also ask if there exists a class of graphs for which the maximum dominating set problem is NP-complete but its TS-reconfiguration counterpart is polynomial. They propose the class of circle graphs as a candidate.
Our contribution.
In this paper, we answer the questions raised in [3]. First, we prove the following:
Theorem 1.
DSR is polynomial in circular arc graphs.
The very high level idea of the proof is as follows. If we fix a vertex of the dominating set then we can unfold the rest of the graph to get an interval graph. We can then use as a black-box the algorithm of Bonamy et al. on interval graphs to determine if we can slide the fixed vertex of the dominating set to some more desirable position.
Our second main result is the following:
Theorem 2.
DSR is PSPACE-complete in circle graphs.
This is answering a second question of [3]. The proof is inspired from the proof that Dominating Set in circle graphs is NP-complete [12] but has to be adapted for the reconfiguration framework.
Both our results and the previously known results about the complexity of DSR in graph classes are summarized in Figure 1.
We left open the following question also raised by Bonamy et al. [3]: does there exist a graph class for which Maximum Dominating Set is NP-complete but TS-Reachability is polynomial? In the reconfiguration world, such results are not frequent but exist. For instance the existence of a reconfiguration sequence between two -colorings can be decided in polynomial time [6] while finding a -coloring is NP-complete.
We also raise the following question: what is the complexity of the DSR problem for outerplanar graphs? Outerplanar graphs form a natural subclass of circle graphs, of bounded treewidth graph, and of planar graphs on which the complexity of the problem is PSPACE-complete.
2 Preliminaries
Let be a graph. Given a vertex , denotes the open neighborhood of , i.e. the set .
A multiset is defined as a set with multiplicities. In other words, in a multiset an element can appear several times. The number of times an element appears is the multiplicity of this element. The multiplicity of an element that does not appear in the multiset is . Let and be multisets. The union of and , denoted by , is the multiset containing only elements of or , and in which the multiplicity of each element is the sum of their multiplicities in and . The difference denotes the multiset containing only elements of , and in which the multiplicity of each element is the difference between its multiplicity in and its multiplicity in (if the result is negative then the element is not in ). By abuse of language, all along this paper, we may refer to multisets as sets.
A dominating set of is a multiset of elements of , such that for any , or there exists such that .
Under the token sliding rule, a move , from a set to a set , denotes the token sliding operation along the edge from to , i.e. . We say that a set is before a set in a reconfiguration sequence if contains a subsequence starting with and ending with .
3 A polynomial time algorithm for circular arc-graphs
An interval graph is an intersection graph of intervals of the real line. In other words, the set of vertices is a set of real intervals and two vertices are adjacent if their corresponding intervals intersect. A circular arc graph is an intersection graph of intervals of a circle. In other words, every vertex is associated an arc of the circle and there is an edge between two vertices if their two corresponding arcs intersect. By abuse of notation, we refer to the vertices by their image arc. Circular arc graphs strictly contain interval graphs (since long induced cycles are circular arc graphs and not interval graphs). Bonamy et al. proved the following result in [3] that we will use as a black-box:
Theorem 3.
[Bonamy et al. [1]] Let be a connected interval graph, and be two dominating sets of of the same size. There always exist a TS-reconfiguration sequence from to .
One can naturally wonder if Theorem 3 can be extended to circular arc graphs. The answer is negative since, for every , the cycle of length is a circular arc graph and there are only three dominating sets of size exactly (the ones containing vertices mod for ) which are pairwise non adjacent for the TS-rule.
However, we prove that we can decide in polynomial time if we can transform one dominating set into another.The remaining of this section is devoted to prove Theorem 1.
Let be a circular arc graph and be two dominating sets of of the same size .
Assume first that there exists an arc that contains the whole circle. So is a dominating set of and then for any two dominating sets and of , we can move a token from to , then move every other other token of to a vertex of (in at most two steps passing through ), and finally move the token on to the last vertex of . Since a token is on all along the transformation, all the intermediate steps are indeed dominating sets. So if such an arc exists, there exists a reconfiguration sequence from to .
From now on we assume that no arc contains the whole circle (and that no vertex is dominating the graph). For any arc , the left extremity of , denoted by , is the first extremity of we meet when we follow the circle clockwise, starting from a point outside of . The other extremity of is called the right extremity and is denoted by .We now construct from . First remove the vertex . Note that after this deletion, no arc intersects the open interval so the resulting graph is an interval graph. We can unfold it in such a way the first vertex starts at position and the last vertex ends at position (see Figure 2). We add two new vertices, and , that correspond to each extremity of . One has interval and the other has interval . Since no arc but (resp. ) intersects (resp. ), we can create new vertices only adjacent to (resp. ). These vertices are called the leaves of .
Let us first prove the following straightforward lemma.
Lemma 1.
Let be a graph, and and be two vertices of such that . If is a dominating set reconfiguration sequence in , and is obtained from by replacing every occurrence of by in the dominating sets of , then also is a dominating set reconfiguration sequence in .
Proof.
Every neighbor of also is a neighbor of . Thus, replacing by in a dominating set keeps the domination of . Moreover, any move that involves can be applied if we replace it by , which gives the result. ∎
In the proof of Theorem 1, we will need the following auxiliary graph (see Figure 2 for an illustration of the construction). Let be a vertex of that is maximal by inclusion (no arc strictly contains it). The circular graph is the graph such that, for every which is not contained in , we create an arc which is the closure of 111In other words, the arc of is the part of the arc of that is not included in the arc of . Also note that the fact that is the closure of that arc ensures that that and intersect.. Since is maximal by inclusion, is an arc. We finally add in the arc of . Note that the set of edges in might be smaller than the one of but any dominating set of containing is a dominating set of . We now construct from . First remove the vertex . Note that after this deletion, no arc intersects the open interval so the resulting graph is an interval graph. We can unfold it in such a way the first vertex starts at position and the last vertex ends at position (see Figure 2). We add two new vertices, and , that correspond to each extremity of . One has interval and the other has interval . Since no arc but (resp. ) intersects (resp. ), we can create new vertices only adjacent to (resp. ). These vertices are called the leaves of .
Let us first prove a couple of simple facts about dominating sets of .
Lemma 2.
Let be a dominating set of such that , and let be the set . The set is a dominating set of .
Proof.
Every vertex of in the original graph is either not in , or is dominated by or . The neighborhood of all the other vertices have not been modified. Moreover, all the new vertices are dominated since they are all adjacent to or . ∎
Note that has size .
Lemma 3.
The following holds:
-
(i)
All the dominating sets of of size contain and .
-
(ii)
For every dominating set of of size , is a dominating set of of size at most .
-
(iii)
Every reconfiguration sequence in between two dominating sets of of size at most that does not contain any leaf can be adapted into a reconfiguration sequence in between and .
Proof.
Proof of (i). The point (i) holds since there are leaves attached to each of and and that .
Proof of (ii). The vertices and only dominate vertices of dominated by in and and are in any dominating set of size at most of by (i). Moreover no edge between two vertices was created in . Thus is a dominating set of since the only vertices of that are not in are vertices whose arcs are strictly included in and then are dominated by .
Proof of (iii). By Lemma 1, we can assume that there is no token on or at any point. We show that we can adapt the transformation. If the move satisfies that then the same edge exists in and by (ii), the resulting set is dominating. So we can assume that or are or . We simply have to slide from or to since and minus the leaves is equal to . Since there is never a token on the leaves, the conclusion follows. ∎
Corollary 1.
Let be a circular interval graph, , and be an integer. All the -dominating sets of containing are in the same connected component of the reconfiguration graph.
We now have all the ingredients to prove Theorem 1.
Proof of Theorem 1.
Let be a circular arc graph, and let and be two dominating sets of . Free to slide tokens, we can assume that all the intervals of and are maximal by inclusion. Moreover, by Lemma 1, we can assume that all the vertices of all the dominating sets we will consider are maximal by inclusion. By abuse of notation, we say that in , an arc is the first arc on the left (resp. on the right) of another arc if the first left extremity of an inclusion-wise maximal arc (of , or of the stated dominating set) we encounter when browsing the circle counter clockwise (resp. clockwise) from the left extremity of is the one of . In interval graphs, we say that an interval is at the left (resp. at the right) of an interval if the left extremity of is smaller (resp. larger) than the one of . Note that since the intervals of the dominating sets are maximal by inclusion, the left and right ordering of these vertices are the same. So we can assume that we have a total ordering of the vertices of the dominating sets we are considering.
Let be a vertex of . Let be the first vertex at the right of in . We perform the following algorithm, called the Right Sliding Algorithm. By Lemma 3, all the dominating sets of size in contain and . Let be a dominating set of the interval graph of size , such that the first vertex at the right of has the smallest left extremity (we can indeed find such a dominating set in polynomial time). By Theorem 3, there exists a transformation from to in . And thus by Lemma 3, there exists a transformation from to in . We apply this transformation. Informally speaking, this transformation has permitted to move the token at the left of closest from that will hopefully permit to push the token on to the right.
Now, we fix all the vertices of but , and we try to slide the token on to its right. If we can push it on a vertex at the right of , we can in particular push it on (since is maximal by inclusion) and keep a dominating set. So we set if we can reach or the rightmost possible vertex maximal by inclusion we can reach otherwise. We now repeat these operations with instead of , i.e. we apply a reconfiguration sequence towards a dominating set of in which the first vertex on the left of is the closest to , then try to slide to the right, onto . We repeat these operations until (i.e. we cannot move to the right anymore) or until . Let be the resulting sequence of vertices. Note that this algorithm is indeed polynomial since after at most steps we have reached or reached a fixed point.
We can similarly define the Left Sliding Algorithm by replacing the leftmost dominating set of by the rightmost, and then slide to the left for any . We stop when we cannot slide to the left anymore, or when , where is the first vertex at the left of in . Let be the last vertex of the sequence of vertices given by the Left Sliding Algorithm.
To conclude the proof we simply have to show the following claim:
Claim 1.
There exists a transformation from to if and only if or .
Proof. Firstly, if , then Corollary 1 ensures that there exists a transformation from to and thus from to , and similarly if .
Let us now prove the converse direction. If and , assume for contradiction that there exists a transformation sequence from to . By Lemma 1 we can assume that all the vertices in any dominating set of are maximal by inclusion.
Let us consider the first dominating set of where the token initially on is at the right of in , or at the left of in . Such a dominating set exists no token of is between and . Let us denote by the dominating before in the sequence and the move from to . By symmetry, we can assume that is at the right of . Note that is at the left of . Note that is a dominating set of since and are dominating sets and is between and .
So is a dominating set of and then for it was possible to move the token on to the right, a contradiction with the fact that was a fixed point. ∎
4 PSPACE-hardness for Circle Graphs
A circle graph is an intersection graph of chords of a circle (i.e. segments between two points of a circle). Let be a circle. Equivalently, we can associate to each vertex of a circle graph two points of . And there is an edge between two vertices if the chords between their pair of points intersect. Again equivalently, a circle graph can be represented on the real line. We associate to each vertex an interval of the real line; and there is an edge between two vertices if their intervals intersect but do not overlap. In this section, we will use the last representation of circle graphs. For every interval , will denote the left extremity of , and the right extremity of .
The goal of this section is to show that DSR is PSPACE-complete in circle graphs. We provide a polynomial time reduction from SATR to DSR. This reduction is inspired from one used in [12] to show that the minimum dominating set problem is NP-complete on circle graphs but has to be adapted in the reconfiguration framework. The SATR problem is defined as follows:
Satisfiability Reconfiguration (SATR )
Input: A Boolean formula in conjunctive normal form (conjunction of clauses), two variable assignments and that satisfy .
Output: Does there exist a reconfiguration sequence from to that keeps satisfied, where the operation consists in a variable flip, i.e. the change of the assignment of exactly one variable from to , or conversely ?
Let be an instance of the SATR problem. Let be the variables of the boolean formula . Since is in conjunctive normal form, it is a conjunction of clauses which are disjunctions of literals. A literal is a variable or the negation of a variable, and we denote by (resp. ) the fact that (resp. the negation of ) is a literal of . Since duplicating clauses does not modify the satisfiability of a formula, we can assume without loss of generality that is a multiple of . We can also assume that for every and , and that, for every , or are not in (since otherwise the clause is satisfied for any possible assignment and can be removed from the boolean formula).
4.1 The reduction.
Let us construct an instance of the DSR problem from . We start by constructing the circle graph from . All along this construction, we repeatedly refer to real number as points. We say that a point is at the left of a point (or is at the right of ) if . We say that is just at the left of , (or is just at the right of ) if is at the left of , and no interval defined so far has an extremity in . Finally, we say that an interval frames a set of points if is just at the left of the minimum of and is just at the right of the maximum of .
One can easily check that by adding an interval that frames one extremity of the interval of a vertex of a graph , we add one vertex to which is only connected to . So:
Remark 1.
If is a circle graph and is a vertex of , then the graph plus a new vertex only connected to is circle graph.
We construct step by step. The construction of is quite technical and will be performed step by step. The construction is inspired from [12]. In [12], the authors have decided to give the coordinates of the endpoints of all the intervals. For the sake of readability, we think that it is easier to only give the relative positions of the intervals between them.
Each step consists in creating new intervals, and in giving their relative positions regarding to the previously constructed intervals. We also outline some of the edges and non edges in that have an impact on the upcoming proofs222Some adjacencies between intervals that will be anyway dominated for some reasons that will become clear later on will not be discussed.. Figures 3, 4 and 5 will illustrate the positions of the intervals of .
For each variable , we create base intervals where . The base intervals are pairwise disjoint for any and , and are ordered by increasing , then increasing for a same .
For each variable , we then create intervals called the positive bridge intervals of , and intervals called the negative bridge intervals of , where . A bridge interval is a positive or a negative bridge interval. Let us give the positions of these intervals. They are illustrated in Figure 3.
Let be such that . For every and every , the interval starts just at the right of and ends just at the right of , and starts just at the right of and ends just at the right of . The interval starts just at the left of and ends just at the left of . For every , the interval starts just at the left of and ends just at the left of , and starts just at the left of and ends just at the left of . Finally, starts just at the left of and ends just at the left of .
Let us outline some of the edges induced by these intervals. Base intervals are pairwise non adjacent. Moreover, every positive (resp. negative) bridge interval is incident to exactly two base intervals; And all the positive (resp. negative) bridge intervals of are incident to pairwise distinct base intervals. In particular, the positive (resp. negative) bridge intervals dominate the base intervals; And every base interval is adjacent to exactly one positive and one negative bridge interval. All the positive (resp. negative) bridge intervals but and have exactly one other positive (resp. negative) bridge interval neighbor. Finally, for every , every negative bridge interval has exactly two positive bridge interval neighbors which are and except for which does not have any for any . Note that a bridge interval of is not adjacent to a bridge interval or a base interval of for .
Now for any clause , we create two identical clause intervals and . In this paper, we consider that two identical intervals do overlap, so that and are not adjacent. The clause intervals are pairwise disjoint and ordered by increasing , and we have . Thus, they are not adjacent to any interval constructed so far.
For every such that is in the clause , we create four intervals , , and , called the positive path intervals of ; and for every such that is in the clause , we create four intervals , , and , called the negative path intervals of . These intervals are represented in Figure 4. In order to give a better representation of the relative position of the extremities, a zoom on that part of the graph is proposed in Figure 5. The interval frames the right extremity of and the extremity of the positive bridge interval that belongs to . The interval frames the left extremity of and the extremity of the negative bridge interval that belongs to . The interval starts just at the left of , the interval starts just at the right of , and they both end between the right of the last base interval of the variable and the left of the next base or clause interval. We moreover construct the intervals (resp. ) in such a way (resp. ) is increasing when is increasing. In other words, the (resp. ) are pairwise adjacent. The interval (resp. ) frames the right extremity of (resp. ). And the interval (resp. ) starts just at the left of (resp. ) and ends in an arbitrary point of . Moreover, for any , (resp. ) and (resp. ) end on the same point of . This ensures that they overlap and are therefore not adjacent.
A path interval is a positive or a negative path interval. The intervals of are the base, bridge and path intervals of . The intervals of refers to the intervals for any . The , , , , , and intervals of are defined similarly.
Let us outline some neighbors of the path intervals. The neighborhood of every clause interval is the set of intervals with and intervals with . Since spans the left extremity of and the right extremity of and since no interval starts or ends between these two points, the interval is only adjacent to and . Similarly is only adjacent to and . Moreover, is only adjacent to , and one positive bridge interval (the same one that is adjacent to ), and is only adjacent to , and one negative bridge interval (the same one that is adjacent to ). Moreover, since and are not adjacent, , , , , and induce a path, and since and are not adjacent, , , , , and induce a path. Finally, for any two variables and such that , the only path intervals of respectively and that can be adjacent are the and intervals adjacent to different clause intervals.
Now, for every bridge interval and every , , and interval, we create a dead-end interval, that is only adjacent to it. Remark 1 ensures that it can be done while keeping a circle graph. Then, for any dead-end interval, we create pending intervals that are each only adjacent to it. Again, Remark 1 ensures that the resulting graph is a circle graph. Informally speaking, since the dead-end intervals have a lot of pending intervals, they will be forced to be in any dominating set of size at most . Thus, in any dominating set, we will know that bridge, , , and intervals (as well as dead-end an pending vertices) are already dominated. So the other vertices in the dominating set will only be there to dominate the other vertices of the graph, which are called the important vertices.
Finally, we create a junction interval , that frames and . By construction, it is adjacent to every or interval, and to no other interval. This completes the construction of the graph .
4.2 Basic properties of
Let us first give a couple of properties satisfied by . The following lemma will be used to guarantee that any token can be moved to any vertex of the graph as long as the rest of the tokens form a dominating set.
Lemma 4.
The graph is connected.
Proof.
Let be a variable. Let us first prove that the intervals of are in the same connected component of . (Recall that they are the base, bridge and path intervals of ). Firstly, for any such that (resp. ), (resp. ) is a path of . Since every base interval of is adjacent to a positive and a negative bridge interval of , it is enough to show that all the bridge intervals of are in the same connected component. Since for every , is adjacent to and , we know that is a path of . Moreover, is adjacent to . So all the intervals of are in the same connected component of ..
Now, since the junction interval is adjacent to every and interval (and that each variable appears in at least one clause), is in the connected component of all the path variables, so the intervals of and are in the same connected component for every . Since each clause contains at least one variable, is adjacent to at least one interval or . Finally, each dead-end interval is adjacent to a bridge interval or a , , or interval, and each pendant interval is adjacent to a dead-end interval. Therefore, is connected. ∎
For any variable assignment of , let be the set of intervals of defined as follows. The junction interval belongs to and all the dead-end intervals belong to . For any variable such that in , the positive bridge, and intervals of belong to . Finally, for any variable such that in , the negative bridge, and intervals of belong to . The multiplicity of each of these intervals in is one. Thus, we have where for any variable , is the number of clauses that contain or .
Lemma 5.
If satisfies , then is a dominating set of .
Proof.
Since every dead-end interval belongs to , every pending and dead-end interval is dominated, as well as every bridge, , , and interval. Since for each variable , the positive (resp. negative) bridge intervals of dominate the base intervals of , the base intervals are dominated. Moreover, the positive (resp. negative) bridge intervals of and the (resp. ) intervals of both dominate the (resp. ) intervals of . Thus, the and intervals are all dominated. Moreover, for any variable , the and (resp. and ) intervals of both dominate the (resp. ) intervals of . Thus, the and intervals are all dominated. Finally, since satisfies , each clause has at least one of its literal in . Thus, each and has at least one adjacent interval or in and are therefore dominated by it, as well as the junction interval. ∎
Before continuing further, let us prove a few results that are of importance in our proof. Let . Since the number of leaves attached on each dead-end interval is strictly more than (as ), the following holds.
Remark 2.
Any dominating set of size at most contains all the dead-end intervals.
Any dominating set of size contains all the dead-end vertices. And then all the pending, dead-end, bridge, , , and intervals are dominated. So we will simply have to focus on the domination of base, , , , and junction intervals (i.e. the so-called important intervals).
Lemma 6.
If is a dominating set of , then for any variable , contains at least intervals that dominate the and intervals of , and at least intervals that dominate the base intervals of . Moreover, these two sets of intervals are disjoint, and they are intervals of .
Proof.
For any variable , each interval (resp. ) can only be dominated by , or (resp. , or ). Indeed spans the left extremity of and the right extremity of and since no interval starts or ends between these two points, the interval is only adjacent to and . And similarly is only adjacent to and . Thus, at least intervals dominate the and intervals of , and they are intervals of . Moreover, only the base, bridge, and intervals of are adjacent to the base intervals. Since each bridge interval is adjacent to two base intervals, and each and interval of is adjacent to one base interval of , must contain at least of such intervals to dominate the base intervals. ∎
Remark 2 and Lemma 6 imply that any dominating set of size contains dead-end intervals, as well as intervals of for any variable . Since , this leaves only one remaining token in . Thus, for any variable but at most one, there are exactly intervals of in . If there exists a variable such that there are more intervals of in , then there are exactly intervals of in , and we call this variable the moving variable of , denoted by .
For any variable , we denote by the set of positive bridge variables of and by the set of negative bridge variables of . Similarly, we denote by the set of variables of and by the set of variables of . Let us now give some precision about the intervals of that belong to .
Lemma 7.
If is a dominating set of size , then for any variable , either and , or and .
Proof.
Since , there are exactly variables of in . Thus, by Lemma 6, exactly intervals of in dominate the bridge intervals of . Only the bridge, and intervals of are adjacent to the base intervals. Moreover, bridge intervals are adjacent to two base intervals and or intervals are adjacent to only one. Since there are base intervals of , each interval of must dominate a pair of base intervals (or none of them). So these intervals of should be some bridge intervals of .
Note that, by cardinality, each pair of bridge intervals of must dominate pairwise disjoint base intervals. Let us now show by induction that these bridge intervals are either all the positive bridge intervals, or all the negative bridge intervals. We study two cases: either , or .
Assume that . In , dominates and . Thus, since dominates and dominates , none of are in (since their neighborhood in the set of base intervals is not disjoint with ). But (resp ) is only adjacent to and (resp. and ). Thus both are in . Suppose now that for a given such that is even and , we have . Then, since a base interval dominated by (resp. ) also is dominated by (resp. ), the intervals are not in . But there is a base interval adjacent only to and (resp. and if , or and if ). Therefore, if we have , and . By induction, if then each of the positive bridge intervals belong to and thus none of the negative bridge intervals do.
Assume now that . Then, to dominate and , we must have . Let us show that if for a given odd such that we have , then . Since (resp. ) dominates base intervals also dominated by (resp. ), we have . But there exists a base interval only adjacent to and (resp. and ). Thus, . By induction, if then each of the negative bridge intervals belong to . Thus, none of the positive bridge intervals belong to . ∎
Lemma 8.
If is a dominating set of size , then for any variable , if then , otherwise .
Proof.
By Lemma 7, either contains or contains .
If , Lemma 7 ensures that . So the intervals have to be dominated by other intervals.
By Lemma 6, intervals must dominate the and intervals of . Since no interval dominates two of them, each has to be dominated by an interval that is also dominating a or interval. The only interval that dominates both and a or interval is . So all the intervals are in and (since the only or interval dominated by a interval is a interval, which is already dominated).
Similarly if , Lemma 7 ensures that . So the intervals have to be dominated by other intervals. And one can prove similarly that these intervals should be the intervals and then the intervals are not in .
∎
4.3 Safeness of the reduction.
Let be an instance of SATR, and let and . By Lemma 5, is an instance of DSR. We can now show the first direction of our reduction.
Lemma 9.
If is a yes-instance of SATR, then is a yes-instance of DSR.
Proof.
Let be a yes-instance of SATR, and let be the reconfiguration sequence from to . We construct a reconfiguration sequence from to by replacing any flip of variable of from to by the following sequence of token slides from to 333A consists in applying the converse of this sequence..
- •
-
•
For any such that , we first move the token from to then from to . Let us show that this keeps dominated. The important intervals that can be dominated by are , , and . The vertex is dominated anyway during the sequence since it is also dominated by and . Moreover, since keeps satisfied, each clause containing has a literal different from that also satisfies the clause. Thus, for each such that , there exists an interval or , with , that belongs to , and then dominates both and during these two moves.
-
•
For from to , we apply the move . This move is possible since and are neighbors in . Let us show that this move keeps a dominating set. For , the important intervals that are dominated by are , , and . Since is in the current dominating set (by the second point), is dominated. Moreover is dominated by , and is a neighbor of . Thus, maintains a dominating set. For , the important intervals that are dominated by are , and where if is even and otherwise. Again is dominated by the intervals. Moreover is dominated by (on which there is a token since we perform this sequence for increasing ), and is also dominated by .
-
•
For any such that , we move the token from to and then from to . The important intervals dominated by are the intervals , . But is dominated by a negative bridge interval, and stays dominated by then .
- •
∎
We now prove the other direction of the reduction. Let us prove the following lemma.
Lemma 10.
If there exists a reconfiguration sequence from to , then there exists a reconfiguration sequence from to such that for any two adjacent dominating sets and of , if both and have a moving variable, then it is the same one.
Proof.
Assume that, in , there exist two adjacent dominating sets and such that both and have a moving variable, and . Let us modify slightly the sequence in order to avoid this move.
Since and are adjacent in , we have , where is an edge of . Since , is an interval of , and an interval of . By construction, the only edges of between intervals of different variables are between their intervals. Thus, both and are or intervals and, in particular they are adjacent to the junction interval . Moreover, the only important intervals that are adjacent to (resp. ) are the or intervals of the same variable as , or intervals, clause intervals, or the junction interval . Since and are adjacent, and since they are both or intervals, they cannot be adjacent to the same clause interval. But the only intervals that are potentially not dominated by should be dominated both by in and by in . So these intervals are included in the set of or intervals and the junction interval, which are all dominated by . Thus, is a dominating set of . Therefore, we can add in the dominating set between and . This intermediate dominating set has no moving variable. By repeating this procedure while there are adjacent dominating sets in with different moving variables, we obtain the desired reconfiguration sequence . ∎
Lemma 11.
If is a yes-instance of DSR, then is a yes-instance of SATR.
Proof.
Let be a yes-instance of DSR. There exists a reconfiguration sequence from to . Moreover, by Lemma 10, we can assume that for any two adjacent dominating sets and of , if both and have a moving variable, then it is the same one.
Let us construct a reconfiguration sequence from to . To any dominating set of , we associate a variable assignment of defined as follows. For any variable , either or by Lemma 7. If then we set . Otherwise, we set . Let be such that if it exists. If there exists a clause interval such that , and if for any with , we have , and for any with , we have , then we set . Otherwise .
Let be the sequence of assignments obtained by replacing in any dominating set by the assignment . In order to conclude, we must show that the assignments associated to and are precisely and . Moreover, for every dominating set , the assignment associated to has to satisfy . Finally, for every move in , we must be able to associate a (possibly empty) variable flip. Let us first show a useful claim, then proceed with the end of the proof.
Claim 2.
For any consecutive dominating sets and and any variable that is not the moving variable of nor , the value of is identical in and .
Proof. Lemma 7 ensures that for any such that and , either and or and , and the same holds in . Since the number of positive and negative bridge intervals is at least (since by assumption is a multiple of ), and is reachable from in a single step, either both and contain , or both contain . Thus, by definition of , for any variable such that and , has the same value in and .
Claim 3.
We have and .
Proof. By definition, and thus contains the junction interval, which means that it does not have any moving variable. Moreover, contains for any variable such that in and for any variable such that in . Therefore, for any variable , in if and only if in . Similarly, .
Claim 4.
For any dominating set of , satisfies .
Proof. Since the clause intervals are only adjacent to and intervals, they are dominated by them, or by themselves in . But only one clause interval can belong to . Thus, for any clause interval , if , then must be dominated by a or a interval, that also dominates . So in any case, is dominated by a or a interval. We study four possible cases and show that in each case, is satisfied by .
If is dominated in by an interval , where , then by Lemmas 7 and 8, and by definition of , . Since exists, it means that , thus is satisfied by .
Similarly, if is dominated in by an interval , where , then by Lemmas 7 and 8, . So . Since exists, , and therefore is satisfied by .
If is only dominated by in , where . Then, if there exists with and (resp. and ), then (resp. ) and is satisfied by . So we can assume that, for any with we have . By Lemma 7, . And for any such that we have , and thus . So, by definition of , we have . Since (since exists), is satisfied by .
Finally, assume that is only dominated by in , where . If there exists such that and (resp. and ), then (respectively ) so is satisfied by . Thus, by Lemma 7, we can assume that for any such that (resp. ), we have (resp. ). Let us show that there is no clause interval dominated by a interval of in and that satisfies, for any , if then , and if then . This will imply by construction and then the fact that is satisfied.
Since has no moving variable, there exists a dominating set before in with no moving variable. Let be the the latest in amongst such dominating sets. By assumption, for any set that comes earlier than but later than . Thus, by Claim 2, for any variable , has the same value in and .
Now, by assumption, for any with (resp. ) we have (resp. ). Thus, since has the same value in and , if (resp. ) then (resp. ) and then, by Lemma 8, (resp. ). Therefore, is only dominated by in . But since has no moving variable, by Lemma 7 and Lemma 8. Thus, by Lemma 8, for any , . So for any such that , is dominated by at least one interval or in , where . Lemma 8 ensures that if is dominated by (resp. ) in then (resp. ), and since has the same value in and , it gives (resp. ). Therefore, by Lemma 7, if a clause interval is dominated by a interval of in , then either there exists such that and , or there exists such that and . By definition of , this implies that in . Since exists, thus is satisfied by .
Therefore, every clause of is satisfied by , which concludes the proof.
Claim 5.
For any two dominating sets and of , either , or is reachable from with a variable flip move.
Proof. By Claim 2, for any variable such that and , has the same value in and . Moreover, by definition of , if both and have a moving variable then . Therefore, at most one variable change its value between and , which concludes the proof.
∎
We now have all the ingredients to prove our main result:
References
- [1] M. Bonamy, N. Bousquet, C. Feghali, and M. Johnson. On a conjecture of mohar concerning kempe equivalence of regular graphs. Journal of Combinatorial Theory, Series B, 135:179–199, 2019.
- [2] M. Bonamy, N. Bousquet, M. Heinrich, T. Ito, Y. Kobayashi, A. Mary, M. Mühlenthaler, and K. Wasa. The perfect matching reconfiguration problem. In 44th International Symposium on Mathematical Foundations of Computer Science, MFCS 2019, pages 80:1–80:14, 2019.
- [3] M. Bonamy, P. Dorbec, and P. Ouvrard. Dominating sets reconfiguration under token sliding. arXiv preprint arXiv:1912.03127, 2019.
- [4] N. Bousquet and M. Heinrich. A polynomial version of cereceda’s conjecture. arXiv preprint arXiv:1903.05619, 2019.
- [5] N. Bousquet, A. Joffard, and P. Ouvrard. Linear transformations between dominating sets in the tar-model. In 31st International Symposium on Algorithms and Computation (ISAAC 2020). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2020.
- [6] L. Cereceda, J. van den Heuvel, and M. Johnson. Finding paths between 3-colorings. Journal of Graph Theory, 67(1):69–82, 2011.
- [7] P. Gopalan, P. G. Kolaitis, E. Maneva, and C. H. Papadimitriou. The connectivity of boolean satisfiability: computational and structural dichotomies. SIAM Journal on Computing, 38(6):2330–2355, 2009.
- [8] R. Haas and K. Seyffarth. The k-dominating graph. Graphs and Combinatorics, 30(3):609–617, 2014.
- [9] A. Haddadan, T. Ito, A. E. Mouawad, N. Nishimura, H. Ono, A. Suzuki, and Y. Tebbal. The complexity of dominating set reconfiguration. Theoretical Computer Science, 651:37–49, 2016.
- [10] R. A. Hearn and E. Demaine. PSPACE-completeness of sliding-block puzzles and other problems through the nondeterministic constraint logic model of computation. Theor. Comput. Sci., 343(1-2), Oct. 2005.
- [11] T. Ito, E. D. Demaine, N. J. Harvey, C. H. Papadimitriou, M. Sideri, R. Uehara, and Y. Uno. On the complexity of reconfiguration problems. Theoretical Computer Science, 412(12-14):1054–1065, 2011.
- [12] J. M. Keil. The complexity of domination problems in circle graphs. Discrete Applied Mathematics, 42(1):51–63, 1993.
- [13] D. Lokshtanov and A. E. Mouawad. The complexity of independent set reconfiguration on bipartite graphs. ACM Transactions on Algorithms (TALG), 15(1):1–19, 2018.
- [14] N. Nishimura. Introduction to reconfiguration. preprint, 2017.
- [15] A. Suzuki, A. Mouawad, and N. Nishimura. Reconfiguration of Dominating Sets. CoRR, 1401.5714, 2014.
- [16] J. van den Heuvel. The complexity of change. Surveys in combinatorics, 409(2013):127–160, 2013.