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

FEther:一个可扩展的Coq智能合约验证解释器

FEther: An Extensible Definitional Interpreter for Smart-contract Verifications in Coq

Zheng Yang, Hang Lei

摘要:

区块链技术使用加密链接将记录添加到列表中。因此,区块链智能合约的安全性是当代最热门的研究课题之一。为了改进该领域的定理证明技术,我们正在开发一个可扩展的混合验证工具链,表示为FSPVM-E,用于以太坊智能合约验证。这个混合系统扩展了Coq中的证明助手,Coq是一个正式的证明管理系统。结合符号执行与高阶定理证明,它解决了一致性,自动化和可重用性问题的标准定理证明方法。本文通过对FSPVM-E证明引擎的开发,完成了FSPVM-E的实现。FSPVM-E是在我们前期工作FEther的基础上,完全在Coq证明助手上开发的一个可扩展的定义解释器。它支持Solidity编程语言的几乎所有语义,并同时执行多种类型的符号。FEther还包含一组自动化策略,以高自动化水平执行和验证Coq中的智能合约。在Coq中验证了FEther的功能正确性。在标准教程中,FEther的执行效率远远超过Coq中开发的解释器。

英文摘要:

Blockchain technology adds records to a list using cryptographic links. Therefore, the security of blockchain smart contracts is among the most popular contemporary research topics. To improve the theorem-proving technology in this field, we are developing an extensible hybrid verification tool chain, denoted as FSPVM-E, for Ethereum smart contract verification. This hybrid system extends the proof assistants in Coq, a formal proof-management system. Combining symbolic execution with higher-order theorem-proving, it solves consistency, automation, and reusability problems by standard theorem-proving approaches. This article completes the FSPVM-E by developing its proof engine. FSPVM-E is an extensible definitional interpreter based on our previous work FEther, which is totally developed in the Coq proof assistant. It supports almost all semantics of the Solidity programing language, and simultaneously executes multiple types of symbols. FEther also contains a set of automatic strategies that execute and verify the smart contracts in Coq with a high level of automation. The functional correctness of FEther was verified in Coq. In standard tutorials, the execution efficiency of FEther far exceeded that of the interpreters developed in Coq.

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

↑