Algebraic approach to constraint satisfaction
- main theorem
- If there is a natural transformation $\operatorname{pol}(A) \to \operatorname{pol}(B)$ then $\operatorname{CSP}(B)$ reduces to $\operatorname{CSP}(A)$ in logspace.
I recommend these two papers as an entry point into the theory. The first is recommended to anyone who knows what a functor is, and provides a categorical treatment of the above theorem. The second is more tradional. It was written for combinatorists, and provides a good overview of the state-of-the-art of the field just before the resolution of the dichotomy conjecture.
- Jakl, T., Hadek, M., Opršal, J. (2026). A categorical perspective on constraint satisfaction: The wonderland of adjunctions. 41st Annual Symposium on Logic in Computer Science, LICS 2026, (pp. 54:1-54:27). Schloss Dagstuhl – Leibniz-Zentrum für Informatik. arXiv:2503.10353. doi:10.4230/LIPIcs.LICS.2026.54
- Barto, L., Krokhin, A., Willard, R. (2017). Polymorphisms, and How to Use Them. In The Constraint Satisfaction Problem: Complexity and Approximability. Dagstuhl Follow-Ups, Volume 7 (pp. 1–44). Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/DFU.Vol7.15301.1
exercises
Prove that $\operatorname{pol}(\operatorname{HornSAT})$ is naturally equivalent to the powerset functor on $\operatorname{Fin}$.
Given $M \colon \operatorname{Fin} \to \operatorname{Fin}$, describe $\operatorname{pol}(\operatorname{Id}, M)$.
Show that $B^* \circ \operatorname{Lan}_A$ is computable in logspace (where $B^*(M) = M \circ B$).
Given a natural number $n > 2$, show that solving systems of linear equations mod $n$ is NP-hard if we allow a non-linear (optional) constraint $x \in {0, 1}$.
References
- Taylor, W. (1977). Varieties obeying homotopy laws. Canad. J. Math., 29(3):498–527. doi:10.4153/CJM-1977-054-9
- Schaefer, T. (1978). The complexity of satisfiability problems. STOC 1978. pp. 216–226. doi:10.1145⁄800133.804350
- Pavol Hell and Jaroslav Nešetřil. On the complexity of H-coloring. J. Comb. Theory B, 48(1):92–110, 1990. doi:10.1016⁄0095-8956(90)90132-J
- Peter Jeavons. On the algebraic structure of combinatorial problems. Theoretical Computer Science, 200(1-2):185–204, 1998. doi:10.1016/S0304-3975(97)00230-2
- Tomás Feder and Moshe Y. Vardi. The computational structure of monotone monadic SNP and constraint satisfaction: A study through Datalog and group theory. SIAM J. Comput., 28(1):57–104, 1998. doi:10.1137/S0097539794266766
- Andrei Bulatov, Peter Jeavons, and Andrei Krokhin. Classifying the complexity of constraints using finite algebras. SIAM J. Comput., 34(3):720–742, 2005. doi:10.1137/S0097539700376676
- Omer Reingold. Undirected connectivity in log-space. J. ACM, 55(4):17:1–17:24, 2008. doi:10.1145⁄1391289.1391291
- Andrei Bulatov and Víctor Dalmau. A Simple Algorithm for Mal’tsev Constraints. SIAM J. on Comput., 36(1), pp. 16–27, 2006. doi:10.1137⁄050628957
- Benoit Larose, Lászlo Zádori. Bounded width problems and algebras, Algebra univers., 56, 439–466, 2007. doi:10.1007/s00012-007-2012-6
- Maróti, M. and McKenzie, R. (2008). Existence theorems for weakly symmetric operations. Algebra Universalis, 59(3-4):463–489. doi:10.1007/s00012-008-2122-9
- Mark H. Siggers. A new proof of the H-coloring dichotomy. SIAM J. Discret. Math., 23(4):2204–2210, 2010. doi:10.1137⁄080736697
- Libor Barto, Marcin Kozik. Absorbing Subalgebras, Cyclic Terms, and the Constraint Satisfaction Problem. Logical Methods in Computer Science, 8(1), 2012. doi:10.2168/LMCS-8(1:7)2012
- Libor Barto and Marcin Kozik. 2014. Constraint Satisfaction Problems Solvable by Local Consistency Methods. J. ACM 61(1), 2014. doi:10.1145⁄2556646
- Andrei A. Bulatov. 2017. A Dichotomy Theorem for Nonuniform CSPs. FOCS 2017. Berkeley, CA, USA, 319–330. doi:10.1109/FOCS.2017.37
- Dmitriy Zhuk. A Proof of the CSP Dichotomy Conjecture. J. ACM (67)5, 30:1–30:78, 2020. doi:10.1145⁄3402029
- Libor Barto, Jakub Bulín, Andrei Krokhin, and Jakub Opršal. Algebraic approach to promise constraint satisfaction. J. ACM, 68(4):28:1–66, 2021. doi:10.1145⁄3457606