Abstract
AbstractWe employ the Coq proof assistant to develop a mechanically-certified framework for evaluating graph queries and incrementally maintaining materialized graph instances, also called views. The language we use for defining queries and views is Regular Datalog (RD) – a notable fragment of non-recursive Datalog that can express complex navigational queries, with transitive closure as native operator. We first design and encode the theory of RD and then mechanize a RD-specific evaluation algorithm capable of fine-grained, incremental graph view computation, which we prove sound with respect to the declarative RD semantics. By using the Coq extraction mechanism, we test an OCaml version of the verified engine on a set of preliminary benchmarks. Our development is particularly focused on leveraging existing verification and notational techniques to: a) define mechanized properties that can be easily understood by logicians and database researchers and b) attain formal verification with limited effort. Our work is the first step towards a unified, machine-verified, formal framework for dynamic graph query languages and their evaluation engines.
Publisher
Cambridge University Press (CUP)
Subject
Artificial Intelligence,Computational Theory and Mathematics,Hardware and Architecture,Theoretical Computer Science,Software
Reference38 articles.
1. Oracle PGX. http://www.oracle.com/technetwork/oracle-labs/parallel-graph- analytix (visited: 2018-02).
2. FlockDB. https://github.com/twitter-archive/flockdb (visited: 2018-02).
3. G-Core. https://github.com/ldbc/ldbc_gcore_parser (visited: 2018-02).
4. GraphQL. http://graphql.org/ (visited: 2018-02).
5. A Machine-Checked Proof of the Odd Order Theorem
Cited by
8 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. DBSP: Automatic Incremental View Maintenance for Rich Query Languages;Proceedings of the VLDB Endowment;2023-03
2. Towards Elastic Incrementalization for Datalog;23rd International Symposium on Principles and Practice of Declarative Programming;2021-09-06
3. The future is big graphs;Communications of the ACM;2021-09
4. PG-Keys: Keys for Property Graphs;Proceedings of the 2021 International Conference on Management of Data;2021-06-09
5. A mechanized formalization of GraphQL;Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs;2020-01-20