Let H be a fixed digraph. We consider the H-colouring problem, i.e., the problem of deciding which digraphs G admit a homomorphism to H. We are interested in a characterization in terms of the absence in G of certain tree-like obstructions. Specifically, we say that H has tree duality if, for all digraphs G, G is not homomorphic to H if and only if there is an oriented tree which is homomorphic to G but not to H. We prove that if H has tree duality then the H-colouring problem is polynomial. We also generalize tree duality to bounded treewidth duality and prove a similar result. We relate these duality concepts to the notion of the X-property studied by Gutjahr, Welzl, and Woeginger. We then focus on the case when H itself is an oriented tree. In fact, we are particularly interested in those trees that have exactly one vertex of degree three and all other vertices of degree one or two. Such trees are called triads. We have shown in a companion paper that there exist oriented triads H for which the H-colouring problem is NP -complete. We contrast these with several families of oriented triads H which have tree duality, or bounded treewidth duality, and hence polynomial H-colouring problems. If P 6= NP , then no oriented triad H with an NP -complete H-colouring problem can have bounded treewidth duality; however no proof of this is known, for any oriented triad H. We prove that none of the oriented triads H with NP -complete Hcolouring problems given in the companion paper has tree duality.
Read full abstract