当前位置: X-MOL 学术arXiv.cs.PL › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
WhylSon: Proving your Michelson Smart Contracts in Why3
arXiv - CS - Programming Languages Pub Date : 2020-05-29 , DOI: arxiv-2005.14650
Lu\'is Pedro Arrojado da Horta and Jo\~ao Santos Reis and M\'ario Pereira and Sim\~ao Melo de Sousa

This paper introduces WhylSon, a deductive verification tool for smart contracts written in Michelson, which is the low-level language of the Tezos blockchain. WhylSon accepts a formally specified Michelson contract and automatically translates it to an equivalent program written in WhyML, the programming and specification language of the Why3 framework. Smart contract instructions are mapped into a corresponding WhyML shallow-embedding of the their axiomatic semantics, which we also developed in the context of this work. One major advantage of this approach is that it allows an out-of-the-box integration with the Why3 framework, namely its VCGen and the backend support for several automated theorem provers. We also discuss the use of WhylSon to automatically prove the correctness of diverse annotated smart contracts.

中文翻译:

WhylSon:在Why3 中证明您的迈克尔逊智能合约

本文介绍了用 Michelson 编写的智能合约演绎验证工具 WhylSon,这是 Tezos 区块链的低级语言。WhylSon 接受正式指定的迈克尔逊合同,并自动将其转换为用WhyML(Why3 框架的编程和规范语言)编写的等效程序。智能合约指令被映射到其公理语义的相应 WhyML 浅嵌入,我们也在这项工作的上下文中开发了它。这种方法的一个主要优点是它允许与 Why3 框架的开箱即用集成,即它的 VCGen 和对几个自动化定理证明器的后端支持。我们还讨论了使用 WhylSon 来自动证明各种带注释的智能合约的正确性。
更新日期:2020-06-01
down
wechat
bug