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

简单性:区块链的新语言

Simplicity: A New Language for Blockchains

Russell O'Connor

摘要:

Simplicity是一种类型化的,基于组合符的,没有循环和递归的函数式语言,旨在用于加密货币和区块链应用程序。它旨在改进现有的加密货币语言,如比特币脚本和以太坊的EVM,同时避免它们面临的一些问题。简单性伴随着Coq中定义的正式指称语义,Coq是一种流行的通用软件证明助手。简单性还包括操作语义,这些操作语义是用我们称为位机的抽象机器定义的。比特机被用作一种工具,用于测量评估Simplicity程序所需的计算空间和时间资源。由于它的图灵不完备性,Simplicity适合于静态分析,可以在执行之前用于导出所需计算资源的上限。虽然图灵不完整,但Simplicity可以表达任何有限函数,我们相信这足以为区块链应用程序构建有用的“智能合约”。

英文摘要:

Simplicity is a typed, combinator-based, functional language without loops and recursion, designed to be used for crypto-currencies and blockchain applications. It aims to improve upon existing crypto-currency languages, such as Bitcoin Script and Ethereum's EVM, while avoiding some of the problems they face. Simplicity comes with formal denotational semantics defined in Coq, a popular, general purpose software proof assistant. Simplicity also includes operational semantics that are defined with an abstract machine that we call the Bit Machine. The Bit Machine is used as a tool for measuring the computational space and time resources needed to evaluate Simplicity programs. Owing to its Turing incompleteness, Simplicity is amenable to static analysis that can be used to derive upper bounds on the computational resources needed, prior to execution. While Turing incomplete, Simplicity can express any finitary function, which we believe is enough to build useful "smart contracts" for blockchain applications.

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

↑