The expressiveness of a family of finite set languages

We precisely characterise the complexity of a set based database language called SRL, which presents a unified framework for queries and updates. By imposing simple syntactic restrictions on this language, we are able to capture exactly the classes, PTIME and LOGSPACE. We determine which additional operators would keep us in PTIME and show the surprising fact that the addition of Lists or a New operator increases the complexity of the language all the way to PRIMITIVE RECURSIVE. We also discuss the role of ordering in database query languages and show that the hom operator of the Machiavelli language in [OBB] does not capture all the order-independent polynomial-time properties.

[1]  Catriel Beeri,et al.  On the power of languages for manipulation of complex objects , 1987, VLDB 1987.

[2]  Paris C. Kanellakis,et al.  Elements of Relational Database Theory , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[3]  S. Abiteboul,et al.  Fixpoint extensions of first-order logic and datalog-like languages , 1989, [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science.

[4]  Foto N. Afrati,et al.  Expressiveness of restricted recursive queries , 1989, STOC '89.

[5]  Yehoshua Bar-Hillel,et al.  The Intrinsic Computational Difficulty of Functions , 1969 .

[6]  E. Lander,et al.  Describing Graphs: A First-Order Approach to Graph Canonization , 1990 .

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

[8]  Neil Immerman,et al.  Relational queries computable in polynomial time (Extended Abstract) , 1982, STOC '82.

[9]  Serge Abiteboul,et al.  Database theory column , 1989, SIGA.

[10]  Jianwen Su,et al.  On the expressive power of database queries with intermediate types , 1988, PODS '88.

[11]  Yuri Gurevich,et al.  Algebras of feasible functions , 1983, 24th Annual Symposium on Foundations of Computer Science (sfcs 1983).

[12]  David Harel,et al.  Horn clauses and the fixpoint query hierarchy , 1982, PODS.

[13]  Neil Immerman Nondeterministic Space is Closed Under Complementation , 1988, SIAM J. Comput..

[14]  David Eppstein,et al.  Sparsification-a technique for speeding up dynamic graph algorithms , 1992, Proceedings., 33rd Annual Symposium on Foundations of Computer Science.

[15]  Jianwen Su,et al.  On bulk data type constructors and manipulation primitives: a framework for analyzing expressive power and complexity , 1989 .

[16]  N. Immerman,et al.  On uniformity within NC 1 . , 1988 .

[17]  Paris C. Kanellakis,et al.  Database Theory Column: Query Languages for Complex Object Databases. , 1990 .

[18]  Neil Immerman,et al.  Relational Queries Computable in Polynomial Time , 1986, Inf. Control..

[19]  David Harel,et al.  Structure and complexity of relational queries , 1980, 21st Annual Symposium on Foundations of Computer Science (sfcs 1980).

[20]  Stavros S. Cosmadakis,et al.  Parallel evaluation of recursive rule queries , 1985, PODS '86.

[21]  Serge Abiteboul,et al.  Generic Computation and its complexity , 1991, STOC '91.

[22]  Neil Immerman,et al.  An optimal lower bound on the number of variables for graph identification , 1989, 30th Annual Symposium on Foundations of Computer Science.

[23]  Serge Abiteboul,et al.  Object identity as a query language primitive , 1989, SIGMOD '89.

[24]  Neil Immerman Upper and lower bounds for first order expressibility , 1980, 21st Annual Symposium on Foundations of Computer Science (sfcs 1980).

[25]  Uzi Vishkin,et al.  Constant Depth Reducibility , 1984, SIAM J. Comput..

[26]  David W. Stemple,et al.  Automatic verification of database transaction safety , 1989, ACM Trans. Database Syst..

[27]  Neil Immerman,et al.  On Uniformity within NC¹ , 1990, J. Comput. Syst. Sci..

[28]  Stephen A. Cook,et al.  A Taxonomy of Problems with Fast Parallel Algorithms , 1985, Inf. Control..

[29]  Elaine J. Weyuker,et al.  Computability, complexity, and languages - fundamentals of theoretical computer science , 2014, Computer science and applied mathematics.

[30]  Moshe Y. Vardi The complexity of relational query languages (Extended Abstract) , 1982, STOC '82.

[31]  Elaine J. Weyuker,et al.  Computability, complexity, and languages , 1983 .

[32]  Stephen A. Cook,et al.  Problems Complete for Deterministic Logarithmic Space , 1987, J. Algorithms.

[33]  Jianwen Su,et al.  Untyped sets, invention, and computable queries , 1989, PODS '89.

[34]  P ? ? ? ? ? ? ? % ? ? ? ? , 1991 .

[35]  Serge Abiteboul,et al.  Procedural and declarative database update languages , 1988, PODS '88.

[36]  Robert S. Boyer,et al.  Computational Logic , 1990, ESPRIT Basic Research Series.

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

[38]  Jeffrey Scott Vitter,et al.  Optimal disk I/O with parallel block transfer , 1990, STOC '90.

[39]  Neil Immerman,et al.  Languages that Capture Complexity Classes , 1987, SIAM J. Comput..

[40]  Neil Immerman,et al.  Nondeterministic space is closed under complementation , 1988, [1988] Proceedings. Structure in Complexity Theory Third Annual Conference.

[41]  Peter Buneman,et al.  Database programming in Machiavelli—a polymorphic language with static type inference , 1989, SIGMOD '89.

[42]  Ashok K. Chandra Programming primitives for database languages , 1981, POPL '81.