Document Open Access Logo

On the Complexity Dichotomy for the Satisfiability of Systems of Term Equations over Finite Algebras

Author Peter Mayr

Thumbnail PDF


  • Filesize: 0.64 MB
  • 12 pages

Document Identifiers

Author Details

Peter Mayr
  • Department of Mathematics, University of Colorado Boulder, CO, USA
  • Institute for Algebra, Johannes Kepler Universitรคt Linz, Austria


I want to thank E. Aichinger for discussions on this problem and the referees for their diligent reading and comments.

Cite AsGet BibTex

Peter Mayr. On the Complexity Dichotomy for the Satisfiability of Systems of Term Equations over Finite Algebras. In 48th International Symposium on Mathematical Foundations of Computer Science (MFCS 2023). Leibniz International Proceedings in Informatics (LIPIcs), Volume 272, pp. 66:1-66:12, Schloss Dagstuhl - Leibniz-Zentrum fรผr Informatik (2023)


For a fixed finite algebra ๐€, we consider the decision problem SysTerm(๐€): does a given system of term equations have a solution in ๐€? This is equivalent to a constraint satisfaction problem (CSP) for a relational structure whose relations are the graphs of the basic operations of ๐€. From the complexity dichotomy for CSP over fixed finite templates due to Bulatov [Bulatov, 2017] and Zhuk [Zhuk, 2017], it follows that SysTerm(๐€) for a finite algebra ๐€ is in P if ๐€ has a not necessarily idempotent Taylor polymorphism and is NP-complete otherwise. More explicitly, we show that for a finite algebra ๐€ in a congruence modular variety (e.g. for a quasigroup), SysTerm(๐€) is in P if the core of ๐€ is abelian and is NP-complete otherwise. Given ๐€ by the graphs of its basic operations, we show that this condition for tractability can be decided in quasi-polynomial time.

Subject Classification

ACM Subject Classification
  • Theory of computation โ†’ Problems, reductions and completeness
  • systems of equations
  • general algebras
  • constraint satisfaction


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. L. Barto, A. Krokhin, and R. Willard. Polymorphisms, and how to use them. In Andrei A. Krokhin and Stanislav Zivnรฝ, editors, The Constraint Satisfaction Problem: Complexity and Approximability, volume 7 of Dagstuhl Follow-Ups, pages 1-44. Schloss Dagstuhl - Leibniz-Zentrum fรผr Informatik, 2017. URL:
  2. C. Bergman. Universal algebra, volume 301 of Pure and Applied Mathematics (Boca Raton). CRC Press, Boca Raton, FL, 2012. Fundamentals and selected topics. Google Scholar
  3. P. Broniek. Computational complexity of solving equation systems. SpringerBriefs in Philosophy. Springer, Cham, 2015. URL:
  4. A. Bulatov. A dichotomy theorem for nonuniform CSPs. In Chris Umans, editor, 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, pages 319-330. IEEE Computer Society, 2017. URL:
  5. S. Burris and H. P. Sankappanavar. A course in universal algebra. Springer New York Heidelberg Berlin, 1981. Google Scholar
  6. H. Chen and B. Larose. Asking the metaquestions in constraint tractability. ACM Trans. Comput. Theory, 9(3):Art. 11, 27, 2017. URL:
  7. W. DeMeo, R. Freese, and M. Valeriote. Polynomial-time tests for difference terms in idempotent varieties. Internat. J. Algebra Comput., 29(6):927-949, 2019. URL:
  8. T. Feder and M. 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 (electronic), 1999. URL:
  9. R. Freese and R. N. McKenzie. Commutator Theory for Congruence Modular Varieties, volume 125 of London Math. Soc. Lecture Note Ser. Cambridge University Press, 1987. Available from ฤ›rb+ ralph/Commutator/comm.pdf+. Google Scholar
  10. R. Freese and M. A. Valeriote. On the complexity of some Maltsev conditions. Internat. J. Algebra Comput., 19(1):41-77, 2009. URL:
  11. M. Goldmann and A. Russell. The complexity of solving equations over finite groups. Inf. Comput., 178(1):253-262, 2002. URL:
  12. D. Hobby and R. McKenzie. The structure of finite algebras, volume 76 of Contemporary mathematics. American Mathematical Society, 1988. Google Scholar
  13. K. Kearnes, P. Markoviฤ‡, and R. McKenzie. Optimal strong Mal'cev conditions for omitting type 1 in locally finite varieties. Algebra Universalis, 72(1):91-100, 2014. URL:
  14. O. Klรญma, P. Tesson, and D. Thรฉrien. Dichotomies in the complexity of solving systems of equations over finite semigroups. Theory Comput. Syst., 40(3):263-297, 2007. URL:
  15. B. Larose and L. Zรกdori. Taylor terms, constraint satisfaction and the complexity of polynomial equations over finite algebras. Internat. J. Algebra Comput., 16(3):563-581, 2006. URL:
  16. R. N. McKenzie, G. F. McNulty, and W. F. Taylor. Algebras, lattices, varieties, Volume I. Wadsworth & Brooks/Cole Advanced Books & Software, Monterey, California, 1987. Google Scholar
  17. M. Siggers. A strong Mal'cev condition for locally finite varieties omitting the unary type. Algebra Universalis, 64(1-2):15-20, 2010. URL:
  18. D. Zhuk. A proof of CSP dichotomy conjecture. In Chris Umans, editor, 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, Berkeley, CA, USA, October 15-17, 2017, pages 331-342. IEEE Computer Society, 2017. URL:
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail