arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.10674cs.PLcs.LO
收藏

ConCert:Coq中的智能合约认证框架

ConCert: A Smart Contract Certification Framework in Coq

Danil Annenkov, Jakob Botsch Nielsen, Bas Spitters

摘要:

提出了一种利用元编程将函数式语言嵌入Coq证明助手的新方法。这使我们能够使用深度嵌入来开发语言的元理论,并为使用浅嵌入来推理具体程序提供了一种方便的方法。我们通过一个可靠性定理将深嵌入和浅嵌入联系起来。作为我们方法的一个例子,我们开发了一个核心智能合约语言嵌入到Coq中,并基于区块链中智能合约执行的先前形式化验证了众筹合约的几个重要属性。

英文摘要:

We present a new way of embedding functional languages into the Coq proof assistant by using meta-programming. This allows us to develop the meta-theory of the language using the deep embedding and provides a convenient way for reasoning about concrete programs using the shallow embedding. We connect the deep and the shallow embeddings by a soundness theorem. As an instance of our approach, we develop an embedding of a core smart contract language into Coq and verify several important properties of a crowdfunding contract based on a previous formalisation of smart contract execution in blockchains.

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

↑