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

用于智能合约验证的形式化流程虚拟机

Formal Process Virtual Machine for Smart Contracts Verification

Zheng Yang, Hang Lei

摘要:

本文报告了一种新的正式符号过程虚拟机(FSPVM)的开发和验证,用于完全在Coq证明助手中验证以太坊智能合约的可靠性和安全性,表示为FSPVM-E。它采用Curry-Howard同构(CHI)的扩展--执行-验证同构(EVI)作为其基本理论框架。当前版本的FSPVM-E构建在通用的、可扩展的和可重用的形式存储器(GERM)框架、可扩展的和通用的形式中间程序设计语言Lolisa(其是使用广义代数数据库的Solidity程序设计语言的大子集)以及Lolisa的相应的形式验证解释器(表示为FEther)上。它支持ERC 20标准,可以自动同时象征性地执行以太坊的智能合约程序,并使用Coq中的霍尔逻辑验证其可靠性和安全性。此外,本文的工作有助于解决高阶逻辑定理证明的自动化、不一致性和可重用性问题。

英文摘要:

This paper reports on the development and verification of a novel formal symbolic process virtual machine (FSPVM) for verifying the reliability and security of Ethereum smart contracts, denoted as FSPVM-E, completely in Coq proof assistant. It adopts execution-verification isomorphism (EVI), an extension of Curry-Howard isomorphism (CHI), as its fundamental theoretical framework. The current version of FSPVM-E is constructed on a general, extensible, and reusable formal memory (GERM) framework, an extensible and universal formal intermediate programming language Lolisa, which is a large subset of the Solidity programming language using generalized algebraic datatypes, and the corresponding formally verified interpreter of Lolisa, denoted as FEther. It supports the ERC20 standard and can automatically simultaneously symbolically execute the smart contract programs of Ethereum and verify their reliability and security properties using Hoare logic in Coq. In addition, this work, contributes to solving the problems of automation, inconsistency and reusability in higher-order logic theorem proving.

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

↑