First-order queries on finite structures over the reals

We investigate properties of finite relational structures over the reals expressed by first-order sentences whose predicates are the relations of the structure plus arbitrary polynomial inequalities, and whose quantifiers can range over the whole set of reals. In constraint programming terminology, this corresponds to Boolean real polynomial constraint queries on finite structures. The fact that quantifiers range over all reals seems crucial; however, we observe that each sentence in the first-order theory of the reals can be evaluated by letting each quantifier range over only a finite set of real numbers without changing its truth value. Inspired by this observation, we then show that when all polynomials used are linear, each query can be expressed uniformly on all finite structures by a sentence of which the quantifiers range only over the finite domain of the structure. In other words, linear constraint programming on finite structures can be reduced to ordinary query evaluation as usual in finite model theory and databases. Moreover, if only "generic" queries are taken into consideration, we show that this can be reduced even further by proving that such queries can be expressed by sentences using as polynomial inequalities only those of the simple form z

[1]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[2]  Herbert B. Enderton,et al.  A mathematical introduction to logic , 1972 .

[3]  Alfred V. Aho,et al.  Universality of data retrieval languages , 1979, POPL.

[4]  David Harel,et al.  Computable Queries for Relational Data Bases , 1980, J. Comput. Syst. Sci..

[5]  George E. Collins,et al.  Cylindrical Algebraic Decomposition I: The Basic Algorithm , 1984, SIAM J. Comput..

[6]  W. Böge,et al.  Quantifier Elimination for Real Closed Fields , 1985, AAECC.

[7]  Editors , 1986, Brain Research Bulletin.

[8]  M-F Roy,et al.  Géométrie algébrique réelle , 1987 .

[9]  Dennis S. Arnon,et al.  Geometric Reasoning with Logic and Algebra , 1988, Artif. Intell..

[10]  Lou van den Dries,et al.  Alfred Tarski's Elimination Theory for Real Closed Fields , 1988, J. Symb. Log..

[11]  Gabriel M. Kuper On The Expressive Power of the Relational Calculus with Arithmetic Constraints , 1990, ICDT.

[12]  Alain Colmerauer,et al.  Constraint logic programming: selected research , 1993 .

[13]  Serge Abiteboul,et al.  Foundations of Databases , 1994 .

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

[15]  Jan Paredaens,et al.  Towards a theory of spatial database queries (extended abstract) , 1994, PODS.

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

[17]  下山 武司 Cylindrical Algebraic Decomposition と実代数制約(数式処理における理論とその応用の研究) , 1995 .

[18]  Limsoon Wong,et al.  Relational expressive power of constraint query languages , 1996, PODS.

[19]  Michael A. Taitslin,et al.  On Order-Generic Queries , 1996 .

[20]  Alexei P. Stolboushkin,et al.  Linear vs. Order Contstrained Queries Over Rational Databases. , 1996, ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Database Systems.

[21]  Jan Van den Bussche,et al.  First-Order Queries on Databases Embedded in an Infinite Structure , 1996, Inf. Process. Lett..

[22]  Michael Benedikt,et al.  On the structure of queries in constraint query languages , 1996, Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.

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