General algebraic systems Clones and operations Theorem
CSP dichotomy theorem
Builds on Relational structureHomomorphismPolymorphism of a relationTaylor term
Statement
Let be a finite relational structure with finitely many relations. The problem takes as input a finite structure of the same signature and asks whether there is a homomorphism from to . A finite structure is a core if each of its endomorphisms is an automorphism. Let be the core of , that is, a core that admits homomorphisms and ; it is unique up to isomorphism. A Taylor polymorphism of is a polymorphism of of some arity that is a Taylor operation. That is, for all . Also, for each position , satisfies an identity with each , and . Then exactly one of the following holds.
- has a Taylor polymorphism, and is solvable in polynomial time.
- has no Taylor polymorphism, and is NP-complete.
In particular, each such constraint satisfaction problem is either in P or NP-complete.
Remarks
The two algebraic cases exclude each other. The two complexity outcomes are different only if . The hardness half was proved earlier in the algebraic approach to constraint satisfaction. Without a Taylor polymorphism, the polymorphism clone of the core allows a reduction from an NP-complete problem such as 3-colouring. The tractability half was proved independently by Andrei Bulatov and by Dmitriy Zhuk, with two different polynomial-time algorithms. This settled the Feder–Vardi dichotomy conjecture. By a theorem of Siggers, a finite core has a Taylor polymorphism exactly when it has an idempotent 6-ary polymorphism of a special form. This satisfies for all ; see Siggers term.
Example: let be the complete graph on vertices. Then is the -colouring problem. For , the majority operation on the two vertices is a polymorphism and a Taylor operation. So -colouring is in P. For the graph is a core with no Taylor polymorphism, and -colouring is NP-complete. More generally, let be a finite undirected graph. Then is in P if is bipartite or has a loop, and NP-complete otherwise (Hell and Nešetřil).
Passing to the core matters, because a Taylor polymorphism must be idempotent. For example, the disjoint union of and a single vertex with a loop has no Taylor polymorphism. Its core is the looped vertex, which has one, and indeed its CSP is trivial: every input maps to the loop.
Going deeper
For a student
The polymorphisms of form a clone, and the complexity of depends only on the identities that this clone satisfies. The Taylor condition is the weakest nontrivial such identity, and by the cyclic term and Siggers term theorems it can be tested by a single identity. Earlier special cases include Schaefer's theorem for Boolean structures and the Hell–Nešetřil theorem for undirected graphs. For infinite templates, and for counting or optimisation versions, separate classification programs exist.
Reading path
To understand this page from the ground up, read these 5 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Homomorphism concept
- Polymorphism of a relation concept
- Relational structure concept
- Taylor term concept
- CSP dichotomy theorem statement
Further reading
About this page
| Tag | ZA4YXJ9T1P |
|---|---|
| URI | m2://ZA4YXJ9T1P |
| Kind | statement, theorem |
| Writing | W0 stub |
| MSC | 08A70, 68Q25, 08A40 |
| Status | This copy of the site has no build data. Run m2 status ZA4YXJ9T1P. |
| About | Algebraic approach to constraint satisfaction |
| Uses | Relational structure, Homomorphism, Polymorphism of a relation, Taylor term |
| Changed | 2 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.