Visible to the public Recency-Bounded Verification of Dynamic Database-Driven Systems

TitleRecency-Bounded Verification of Dynamic Database-Driven Systems
Publication TypeConference Paper
Year of Publication2016
AuthorsAbdulla, Parosh Aziz, Aiswarya, C., Atig, Mohamed Faouzi, Montali, Marco, Rezine, Othmane
Conference NameProceedings of the 35th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4191-2
KeywordsCollaboration, data deletion, data-aware dynamic systems, database driven dynamic systems, formal verification, Human Behavior, model checking, monadic second order logic, nested words, pubcrawl, recency boundedness, relational transition systems, Scalability, under-approximation
Abstract

We propose a formalism to model database-driven systems, called database manipulating systems (DMS). The actions of a (DMS) modify the current instance of a relational database by adding new elements into the database, deleting tuples from the relations and adding tuples to the relations. The elements which are modified by an action are chosen by (full) first-order queries. (DMS) is a highly expressive model and can be thought of as a succinct representation of an infinite state relational transition system, in line with similar models proposed in the literature. We propose monadic second order logic (MSO-FO) to reason about sequences of database instances appearing along a run. Unsurprisingly, the linear-time model checking problem of (DMS) against (MSO-FO) is undecidable. Towards decidability, we propose under-approximate model checking of (DMS), where the under-approximation parameter is the "bound on recency". In a k-recency-bounded run, only the most recent k elements in the current active domain may be modified by an action. More runs can be verified by increasing the bound on recency. Our main result shows that recency-bounded model checking of (DMS) against (MSO-FO) is decidable, by a reduction to the satisfiability problem of MSO over nested words.

URLhttp://doi.acm.org/10.1145/2902251.2902300
DOI10.1145/2902251.2902300
Citation Keyabdulla_recency-bounded_2016