A complete logic for Database Abstract State Machines1

In database theory, the term $\textit{database transformation}$ was used to refer to a unifying treatment for computable queries and updates. Recently, it was shown that non-deterministic database transformations can be captured exactly by a variant of ASMs, the so-called Database Abstract State Machines (DB-ASMs). In this article we present a logic for DB-ASMs, extending the logic of Nanchen and St\"ark for ASMs. In particular, we develop a rigorous proof system for the logic for DB-ASMs, which is proven to be sound and complete. The most difficult challenge to be handled by the extension is a proper formalisation capturing non-determinism of database transformations and all its related features such as consistency, update sets or multisets associated with DB-ASM rules. As the database part of a state of database transformations is a finite structure and DB-ASMs are restricted by allowing quantifiers only over the database part of a state, we resolve this problem by taking update sets explicitly into the logic, i.e. by using an additional modal operator $[X]$, where $X$ is interpreted as an update set $\Delta$ generated by a DB-ASM rule. The DB-ASM logic provides a powerful verification tool to study properties of database transformations.

[1]  Klaus-Dieter Schewe,et al.  A Customised ASM Thesis for Database Transformations , 2010, Acta Cybern..

[2]  Martin Otto,et al.  Bounded Variable Logics and Counting , 1997 .

[3]  Wei Ren,et al.  Expressing Properties in Second and Third Order Logic: Hypercube Graphs and SATQBF , 2014, Log. J. IGPL.

[4]  Max J. Cresswell,et al.  A New Introduction to Modal Logic , 1998 .

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

[6]  Arno Schonegge,et al.  Extending Dynamic Logic for Reasoning about Evolving Algebras , 1995 .

[7]  Martin Otto,et al.  Inductive Definability with Counting on Finite Structures , 1992, CSL.

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

[9]  Roel Wieringa,et al.  Aziomatization, Declarative Semantics and Operational Semantics of Passive and Active Updates in Logic Databases , 1995, J. Log. Comput..

[10]  Stanislas Nanchen Verifying abstract state machines , 2007 .

[11]  Martin Otto,et al.  Bounded Variable Logics and Counting: A Study in Finite Models , 1997, Lecture Notes in Logic.

[12]  G. R. D. Lavalette A Logic of Modification and Creation , 2001 .

[13]  Jan Gilbert Van Den Bussche Formal aspects of object identity in database manipulation , 1993 .

[14]  Gerard R. Renardel de Lavalette,et al.  Reasoning About Dynamic Features in Specification Languages - A Modal View on Creation and Modification , 1993, Semantics of Specification Languages.

[15]  Michael Kifer,et al.  The State of Change: A Survey , 1996, Transactions and Change in Logic Databases.

[16]  Qing Wang,et al.  Logical Foundations of Database Transformations for Complex-Value Databases , 2010 .

[17]  Lauri Hella,et al.  Logics with aggregate operators , 1999, Proceedings. 14th Symposium on Logic in Computer Science (Cat. No. PR00158).

[18]  Klaus-Dieter Schewe,et al.  A new thesis concerning synchronised parallel computing - simplified parallel ASM thesis , 2015, Theor. Comput. Sci..

[19]  Serge Abiteboul,et al.  A translation language complete for database update and specification , 1987, PODS '87.

[20]  José Maria Turull Torres Relational Databases and Homogeneity in Logics with Counting , 2002, Acta Cybern..

[21]  Dieter Fensel,et al.  A Survey of Languages for Specifying Dynamics: A Knowledge Engineering Perspective , 2001, IEEE Trans. Knowl. Data Eng..

[22]  Bernhard Thalheim,et al.  Identification as a Primitive of Database Models , 1998, FMLDO.

[23]  Dieter Fensel,et al.  MLPM: Defining a Semantics and Axiomatization for Specifying the Reasoning Process of Knowleged-based Systems , 1996, ECAI.

[24]  Robert F. Stärk,et al.  A Logic for Abstract State Machines , 2001, J. Univers. Comput. Sci..

[25]  Jan Van den Bussche,et al.  Non-Deterministic Aspects of Object-Creating Database Transformations , 1992, FMLDO.

[26]  José Maria Turull Torres On the expressibility and the computability of untyped queries , 2001, Ann. Pure Appl. Log..

[27]  Saharon Shelah,et al.  On polynomial time computation over unordered structures , 2001, Journal of Symbolic Logic.

[28]  Roel Wieringa,et al.  Regular database update logics , 2001, Theor. Comput. Sci..

[29]  Neil Immerman,et al.  Expressibility as a complexity measure: results and directions , 1987, SCT.

[30]  Yuri Gurevich,et al.  Sequential abstract-state machines capture sequential algorithms , 2000, TOCL.

[31]  Gerard Renardel de Lavalette,et al.  A formalization of evolving algebras , 1995 .

[32]  Martin Otto,et al.  The expressive power of fixed-point logic with counting , 1996, Journal of Symbolic Logic.

[33]  Egon Börger,et al.  Abstract State Machines. A Method for High-Level System Design and Analysis , 2003 .

[34]  Daniel Leivant,et al.  Higher order logic , 1994, Handbook of Logic in Artificial Intelligence and Logic Programming.

[35]  Serge Abiteboul,et al.  Updates, A New Frontier , 1988, ICDT.

[36]  Bernhard Thalheim,et al.  Fundamental Concepts of Object Oriented Databases , 1993, Acta Cybern..

[37]  Yuri Gurevich Abstract State Machines: An Overview of the Project , 2004, FoIKS.

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

[39]  Yuri Gurevich,et al.  Metafinite Model Theory , 1994, LCC.

[40]  Jan Van den Bussche,et al.  A Semideterministic Approach to Object Creation and Nondeterminism in Database Queries , 1997, J. Comput. Syst. Sci..

[41]  Roel Wieringa,et al.  Dynamic Database Logic: the First-order Case , 1992, FMLDO.

[42]  Diane Boyer,et al.  ABSTRACT STATE MACHINES..A METHOD FOR HIGH-LEVEL SYSTEM DESIGN AND ANALYSIS , 2019 .

[43]  Serge Abiteboul,et al.  Datalog Extensions for Database Queries and Updates , 1991, J. Comput. Syst. Sci..

[44]  Andreas Blass,et al.  Abstract state machines capture parallel algorithms , 2003, TOCL.

[45]  Leon Henkin,et al.  Completeness in the theory of types , 1950, Journal of Symbolic Logic.

[46]  Andreas Blass,et al.  Abstract state machines capture parallel algorithms: Correction and extension , 2006, TOCL.

[47]  Andreas Blass,et al.  Persistent queries in the behavioral theory of algorithms , 2011, TOCL.