Descriptive Complexity Theory for Constraint Databases

We consider the data complexity of various logics on two important classes of constraint databases: dense order and linear constraint databases. For dense order databases, we present a general result allowing us to lift results on logics capturing complexity classes from the class of finite ordered databases to dense order constraint databases. Considering linear constraints, we show that there is a significant gap between the data complexity of first-order queries on linear constraint databases over the real and the natural numbers. This is done by proving that for arbitrary high levels of the Presburger arithmetic there are complete first-order queries on databases over (N, <, +). The proof of the theorem demonstrates a simple argument for translating complexity results for prefix classes in logical theories to results on the complexity of query evaluation in constraint databases.

[1]  Erich Grädel Subclasses of Presburger Arithmetic and the Polynomial-Time Hierarchy , 1988, Theor. Comput. Sci..

[2]  David Harel,et al.  Towards a theory of Recursive Structures , 1998, Computer Science Today.

[3]  Klaus Meer,et al.  Descriptive complexity theory over the real numbers , 1995, STOC '95.

[4]  Wilfrid Hodges,et al.  Model Theory: The existential case , 1993 .

[5]  Yuri Gurevichz Metaanite Model Theory , 1997 .

[6]  Yuri Gurevich,et al.  Metafinite Model Theory , 1994, Inf. Comput..

[7]  Jianwen Su,et al.  Linear Constraint Query Languages: Expressive Power and Complexity , 1994, LCC.

[8]  Neil Immerman,et al.  Descriptive Complexity , 1999, Graduate Texts in Computer Science.

[9]  Jianwen Su,et al.  Finitely Representable Databases , 1997, J. Comput. Syst. Sci..

[10]  Jianwen Su,et al.  Queries with Arithmetical Constraints , 1997, Theor. Comput. Sci..

[11]  Jörg Flum,et al.  Finite model theory , 1995, Perspectives in Mathematical Logic.

[12]  Dina Q. Goldin,et al.  Constraint Programming and Database Query Languages , 1994, TACS.

[13]  Gabriel M. Kuper,et al.  Constraint Query Languages , 1995, J. Comput. Syst. Sci..

[14]  Uwe Schöning Complexity of Presburger Arithmetic with Fixed Quantifier Dimension , 1997, Theory Comput. Syst..

[15]  Peter Z. Revesz,et al.  A Closed-Form Evaluation for Datalog Queries with Integer (Gap)-Order Constraints , 1993, Theor. Comput. Sci..

[16]  Chen C. Chang,et al.  Model Theory: Third Edition (Dover Books On Mathematics) By C.C. Chang;H. Jerome Keisler;Mathematics , 1966 .