some image logo

HOME

SEARCH

CURRENT ISSUE

REGULAR ISSUES

   Volume 1 (2005)

   Volume 2 (2006)

   Volume 3 (2007)

   Volume 4 (2008)

   Volume 5 (2009)

      Issue 1

      Issue 2

      Issue 3

      Issue 4

   Volume 6 (2010)

SPECIAL ISSUES

SURVEY ARTICLES

AUTHORS

ABOUT

SERVICE

LOGIN

FAQ

CONTACT

VOLUME 5, ISSUE 1, PAPER 4


The Complexity of Datalog on Linear Orders

©Martin Grohe, Humboldt-Universitaet zu Berlin, Berlin, Germany
©Goetz Schwandtner, Johannes Gutenberg-Universitaet, Mainz, Germany

Abstract
We study the program complexity of datalog on both finite and infinite linear orders. Our main result states that on all linear orders with at least two elements, the nonemptiness problem for datalog is EXPTIME-complete. While containment of the nonemptiness problem in EXPTIME is known for finite linear orders and actually for arbitrary finite structures, it is not obvious for infinite linear orders. It sharply contrasts the situation on other infinite structures; for example, the datalog nonemptiness problem on an infinite successor structure is undecidable. We extend our upper bound results to infinite linear orders with constants. As an application, we show that the datalog nonemptiness problem on Allen's interval algebra is EXPTIME-complete.

Publication date: February 27, 2009

Full Text: PDF | PostScript
DOI: 10.2168/LMCS-5(1:4)2009

Hit Counts: 1833

Creative Commons