The smallest hard trees

被引:0
作者
Bodirsky, Manuel [1 ]
Bulin, Jakub [2 ]
Starke, Florian [1 ]
Wernthaler, Michael [1 ]
机构
[1] Tech Univ Dresden, Inst Algebra, Dresden, Germany
[2] Charles Univ Prague, Fac Math Phys, Dept Theoret Comp Sci & Math Log, Prague, Czech Republic
基金
欧盟地平线“2020”; 欧洲研究理事会;
关键词
Graph homomorphism; Constraint satisfaction problem; Polymorphism; Tree; Computational complexity; Arc consistency; Bounded pathwidth duality; Datalog; Linear datalog; Symmetric linear datalog; CONSTRAINT SATISFACTION PROBLEMS; CSP DICHOTOMY; COMPLEXITY; DIGRAPHS; DATALOG;
D O I
10.1007/s10601-023-09341-8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We find an orientation of a tree with 20 vertices such that the corresponding fixed-template constraint satisfaction problem (CSP) is NP-complete, and prove that for every orientation of a tree with fewer vertices the corresponding CSP can be solved in polynomial time. We also compute the smallest tree that is NL-hard (assuming L not equal NL), the smallest tree that cannot be solved by arc consistency, and the smallest tree that cannot be solved by Datalog. Our experimental results also support a conjecture of Bulin concerning a question of Hell, Nesetril and Zhu, namely that 'easy trees lack the ability to count'. Most proofs are computer-based and make use of the most recent universal-algebraic theory about the complexity of finite-domain CSPs. However, further ideas are required because of the huge number of orientations of trees. In particular, we use the well-known fact that it suffices to study orientations of trees that are cores and show how to efficiently decide whether a given orientation of a tree is a core using the arc-consistency procedure. Moreover, we present a method to generate orientations of trees that are cores that works well in practice. In this way we found interesting examples for the open research problem to classify finite-domain CSPs in NL.
引用
收藏
页码:105 / 137
页数:33
相关论文
共 70 条
  • [1] Afrati F., 1989, Proceedings of the Twenty First Annual ACM Symposium on Theory of Computing, P113, DOI 10.1145/73007.73018
  • [2] [Anonymous], 1998, Descriptive Complexity
  • [3] The wonderland of reflections
    Barto, Libor
    Oprsal, Jakub
    Pinsker, Michael
    [J]. ISRAEL JOURNAL OF MATHEMATICS, 2018, 223 (01) : 363 - 398
  • [4] Constraint Satisfaction Problems Solvable by Local Consistency Methods
    Barto, Libor
    Kozik, Marcin
    [J]. JOURNAL OF THE ACM, 2014, 61 (01)
  • [5] CSP DICHOTOMY FOR SPECIAL POLYADS
    Barto, Libor
    Bulin, Jakub
    [J]. INTERNATIONAL JOURNAL OF ALGEBRA AND COMPUTATION, 2013, 23 (05) : 1151 - 1174
  • [6] Finitely Related Algebras in Congruence Distributive Varieties Have Near Unanimity Terms
    Barto, Libor
    [J]. CANADIAN JOURNAL OF MATHEMATICS-JOURNAL CANADIEN DE MATHEMATIQUES, 2013, 65 (01): : 3 - 21
  • [7] Near Unanimity Constraints Have Bounded Pathwidth Duality
    Barto, Libor
    Kozik, Marcin
    Willard, Ross
    [J]. 2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2012, : 125 - 134
  • [8] ABSORBING SUBALGEBRAS, CYCLIC TERMS, AND THE CONSTRAINT SATISFACTION PROBLEM
    Barto, Libor
    Kozik, Marcin
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (01)
  • [9] The Dichotomy for Conservative Constraint Satisfaction Problems Revisited
    Barto, Libor
    [J]. 26TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2011), 2011, : 301 - 310
  • [10] Constraint Satisfaction Problems of Bounded Width
    Barto, Libor
    Kozik, Marcin
    [J]. 2009 50TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE: FOCS 2009, PROCEEDINGS, 2009, : 595 - 603