Datalog and constraint satisfaction with infinite templates

作者:

Highlights:

摘要

On finite structures, there is a well-known connection between the expressive power of Datalog, finite variable logics, the existential pebble game, and bounded hypertree duality. We study this connection for infinite structures. This has applications for constraint satisfaction with infinite templates. If the template Γ is ω-categorical, we present various equivalent characterizations of those Γ such that the constraint satisfaction problem (CSP) for Γ can be solved by a Datalog program. We also show that CSP(Γ) can be solved in polynomial time for arbitrary ω-categorical structures Γ if the input is restricted to instances of bounded treewidth. Finally, we characterize those ω-categorical templates whose CSP has Datalog width 1, and those whose CSP has strict Datalog width k.

论文关键词:Logic in computer science,Computational complexity,Constraint satisfaction,Datalog,Countably categorical structures

论文评审过程:Received 19 December 2008, Revised 26 April 2012, Accepted 25 May 2012, Available online 7 June 2012.

论文官网地址:https://doi.org/10.1016/j.jcss.2012.05.012