Automatic generation of simplified weakest preconditions for integrity constraint verification
A. Ai T -Bouziad (LIAFA), Irene Guessarian (LIAFA), L. Vieille (NCM)

TL;DR
This paper introduces an automated method for generating simplified weakest preconditions to verify database integrity constraints after updates, applicable to relational and deductive databases, enhancing efficiency and correctness.
Contribution
It presents a novel confluent rewriting system for automatically deriving simplified weakest preconditions for database updates, extending to deductive databases with a formal proof.
Findings
Automated derivation of simplified weakest preconditions for relational databases.
Extension of the method to deductive databases with formal proof.
Ensures post-update constraints are maintained when preconditions are satisfied.
Abstract
Given a constraint assumed to hold on a database and an update to be performed on , we address the following question: will still hold after is performed? When is a relational database, we define a confluent terminating rewriting system which, starting from and , automatically derives a simplified weakest precondition such that, whenever satisfies , then the updated database will satisfy , and moreover is simplified in the sense that its computation depends only upon the instances of that may be modified by the update. We then extend the definition of a simplified to the case of deductive databases; we prove it using fixpoint induction.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Semantic Web and Ontologies
