arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.10565cs.DBcs.LOcs.PL
收藏

使用常规数据库进行经认证的图形视图维护

Certified Graph View Maintenance with Regular Datalog

Angela Bonifati, Stefania Dumbrava, Emilio Jesus Gallego Arias

摘要:

我们采用Coq证明助手开发一个机械认证的框架,用于评估图查询和增量维护物化图实例,也称为视图。我们用来定义查询和视图的语言是Regular Datastrophy(RD)--非递归Datastrophy的一个著名片段,它可以表达复杂的导航查询,并将传递闭包作为本机操作符。我们首先设计和编码的RD理论,然后机械化的RD特定的评估算法能够细粒度,增量图视图计算,我们证明声音相对于声明性RD语义。通过使用Coq提取机制,我们在一组初步基准上测试了Ocaml版本的验证引擎。我们的开发特别侧重于利用现有的验证和标记技术:a)定义逻辑学家和数据库研究人员可以轻松理解的机械化属性,b)以有限的努力实现形式化验证。我们的工作是迈向一个统一的,机器验证的,正式的框架,动态图查询语言及其评估引擎的第一步。本文件正在考虑被TPLP接受。

英文摘要:

We 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. This paper is under consideration for acceptance in TPLP.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑