首页> 外文会议>Interactive theorem proving >A Coq Formalisation of SQL's Execution Engines
【24h】

A Coq Formalisation of SQL's Execution Engines

机译:SQL执行引擎的Coq形式化

获取原文
获取原文并翻译 | 示例

摘要

In this article, we use the Coq proof assistant to specify and verify the low level layer of SQL's execution engines. To reach our goals, we first design a high-level Coq specification for data-centric operators intended to capture their essence. We, then, provide two Coq implementations of our specification. The first one, the physical algebra, consists in the low level operators found in systems such as Postgresql or Oracle. The second, SQL algebra, is an extended relational algebra that provides a semantics for SQL. Last, we formally relate physical algebra and SQL algebra. By proving that the physical algebra implements SQL algebra, we give high level assurances that physical algebraic and SQL algebra expressions enjoy the same semantics. All this yields the first, to our best knowledge, formalisation and verification of the low level layer of an RDBMS as well as SQL's compilation's physical optimisation: fundamental steps towards mechanising SQL's compilation chain.
机译:在本文中,我们使用Coq证明助手来指定和验证SQL执行引擎的低层。为了实现我们的目标,我们首先为以数据为中心的运算符设计了一个高级Coq规范,旨在抓住其本质。然后,我们提供规范的两个Coq实现。第一个是物理代数,它包含在诸如Postgresql或Oracle的系统中的低级运算符。第二个是SQL代数,它是一个扩展的关系代数,为SQL提供了语义。最后,我们正式关联物理代数和SQL代数。通过证明物理代数实现了SQL代数,我们可以高度保证物理代数和SQL代数表达式具有相同的语义。就我们所知,所有这些都首先产生了RDBMS底层层的形式化和验证,以及SQL编译的物理优化:机械化SQL编译链的基本步骤。

著录项

  • 来源
    《Interactive theorem proving》|2018年|88-107|共20页
  • 会议地点 Oxford(GB)
  • 作者单位

    Universite Paris Sud, LRI, Orsay, France;

    CNRS, Universite Paris Sud, LRI, Orsay, France;

    Universite Paris Sud, LRI, Orsay, France;

    Universite Paris Sud, LRI, Orsay, France;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号