arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1910.10848cs.LO
收藏

支持快速松散推理的Lax逻辑框架LLFP在Coq中的一种实现

A Definitional Implementation of the Lax Logical Framework LLFP in Coq, for Supporting Fast and Loose Reasoning

Fabio Alessi, Alberto Ciaffaglione, Pietro Di Gianantonio, Furio Honsell, Marina Lenisa

摘要:

Lax逻辑框架(Lax Logical Framework,LLFP)是由包括最后两位作者在内的一个团队引入的,为整合不同的证明开发工具提供了一个概念框架,从而允许外部证据以及推迟,委派或分解副作用。特别地,LLFP允许减少执行证明不相关检查的次数。在本文中,我们给出了一个肤浅的,实际上是定义的,在Coq中的LLFP的实现,即我们使用Coq作为主机框架和Oracle的LLFP。这阐明了支持锁类型机制的原理,并建议如何使用LLFP的特性扩展Coq。然后,派生的证明编辑器被用于在逻辑和实现层面上对新兴范式进行案例研究,我们称之为Danielsson等人的快速和松散推理[6]。这种范式在效率和正确性之间进行权衡,相当于推迟或并行运行繁琐或计算要求高的检查,直到我们真正确定可以实现预期的目标。典型的例子是CPU中的分支预测和乐观并发控制。

英文摘要:

The Lax Logical Framework, LLFP, was introduced, by a team including the last two authors, to provide a conceptual framework for integrating different proof development tools, thus allowing for external evidence and for postponing, delegating, or factoring-out side conditions. In particular, LLFP allows for reducing the number of times a proof-irrelevant check is performed. In this paper we give a shallow, actually definitional, implementation of LLFP in Coq, i.e. we use Coq both as host framework and oracle for LLFP. This illuminates the principles underpinning the mechanism of Lock-types and also suggests how to possibly extend Coq with the features of LLFP. The derived proof editor is then put to use for developing case-studies on an emerging paradigm, both at logical and implementation level, which we call fast and loose reasoning following Danielsson et alii [6]. This paradigm trades off efficiency for correctness and amounts to postponing, or running in parallel, tedious or computationally demanding checks, until we are really sure that the intended goal can be achieved. Typical examples are branch-prediction in CPUs and optimistic concurrency control.

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

↑