Abstract State Machines and Computationally Complete Query Languages

Abstract state machines (ASMs) form a relatively new computation model holding the promise that they can simulate any computational system in lockstep. In particular, an instance of the ASM model has recently been introduced for computing queries to relational databases. This model, to which we refer as the BGS model, provides a powerful query language in which all computable queries can be expressed. In this paper, we show that when one is only interested in polynomial-time computations, BGS is strictly more powerful than both QL and whilenew, two well-known computationally complete query languages. We then show that when a language such as whilenew is extended with a duplicate elimination mechanism, polynomial-time simulations between the language and BGS become possible.

[1]  Jan Van den Bussche,et al.  The Expressive Power of Complex Values in Object-Based Data Models , 1995, Inf. Comput..

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

[3]  Patrick Suppes,et al.  Naive Set Theory , 1961 .

[4]  S. Shelah,et al.  Annals of Pure and Applied Logic , 1991 .

[5]  Jan Van den Bussche,et al.  On the completeness of object-creating database transformation languages , 1997, JACM.

[6]  Yuri Gurevich,et al.  Evolving Algebras: an Attempt to Discover Semantics , 1993, Current Trends in Theoretical Computer Science.

[7]  Victor Vianu,et al.  Procedural Languages for Database Queries and Updates , 1990, J. Comput. Syst. Sci..

[8]  Phokion G. Kolaitis,et al.  Infinitary Logics and 0-1 Laws , 1992, Inf. Comput..

[9]  Saharon Shelah,et al.  Choiceless Polynomial Time , 1997, Ann. Pure Appl. Log..

[10]  Dan Suciu,et al.  Catching the boat with Strudel: experiences with a Web-site management system , 1998, SIGMOD '98.

[11]  Jörg Flum,et al.  Mathematical logic , 1985, Undergraduate texts in mathematics.

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

[13]  Yuri Gurevich,et al.  Evolving algebras 1993: Lipari guide , 1995, Specification and validation methods.

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

[15]  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.

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

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