Datalog and constraint satisfaction with infinite templates

  • Authors:
  • Manuel Bodirsky;VíCtor Dalmau

  • Affiliations:
  • CNRS/LIX, ícole Polytechnique, France;Universitat Pompeu Fabra, Spain

  • Venue:
  • Journal of Computer and System Sciences
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

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 @C is @w-categorical, we present various equivalent characterizations of those @C such that the constraint satisfaction problem (CSP) for @C can be solved by a Datalog program. We also show that CSP(@C) can be solved in polynomial time for arbitrary @w-categorical structures @C if the input is restricted to instances of bounded treewidth. Finally, we characterize those @w-categorical templates whose CSP has Datalog width 1, and those whose CSP has strict Datalog width k.