Question 21
In this question, we use to denote .
Let be a simple undirected finite graph. A function is called a proper 3-coloring of if no two adjacent vertices in have the same image under . You can imagine coloring the vertices of the graph with colors 1, 2, and 3 (all vertices that have image 1 under are 'colored' 1, and so on); and such a coloring is proper if and only if there are no edges between vertices that have the same color.
In this question, we will explore ideas involving building up a DP-based solution for this problem for graphs of bounded treewidth using nice tree decompositions.
Let be a rooted nice tree decomposition of . For every node , let denote the subtree of rooted at .
For every node and every function , let be defined as follows:
if there exists a function such that
- No two adjacent vertices in have the same image under .
Otherwise, .
The intuition for these definitions is the following. Fix a node . Then describes a 3-coloring of the vertices in the bag , which is not necessarily a proper 3-coloring. The function describes if can be extended to a proper 3-coloring of the vertices in the subtree of rooted at .
Now, let . Let such that is introduced at , and is the child of .
Let be a function such that
In other words, is a three-coloring of which ensures that the color of is different from the color of any of its neighbors in .
Let be defined as follows:
Note that and thus is simply the projection of on .
Let . Let such that is forgotten at , and is the child of .
In other words, .
Let be a function. For every , let be defined as follows:
To explain this, assume that is a given 3-coloring of the parent node . Now we define three colorings that extend in the child node . For a fixed color , we are coloring every vertex in other than in the same way that it was colored in under , and we are coloring with color .
Let such that is a join node, and and are the children of , and let .
Based on the above data, answer the given subquestions.
Yes
No