用逻辑演算构建智能合约的形式化基础,实现自动执行的可信协议。
Logical foundations of Smart Contracts
- 基于情境演算(Situation Calculus)建立智能合约的形式化框架。
- 使用Golog语言在Prolog中实现合约行为建模与动态变化推理。
- 适合区块链、分布式系统中的协议设计与形式验证研究者。
当前,复杂领域如网络物理系统中的智能合约需要精确的形式化描述以支持推理。智能合约通过区块链在去中心化系统中自动执行商业流程,涉及多个参与方。法律合同通常结构复杂,包含诸多例外和子合同,其转化为智能合约需手动处理所有操作、流程及行为后果,过程繁琐。该论文提出以情境演算为基础的统一逻辑框架,用于形式化刻画智能合约。情境演算作为逻辑人工智能的重要方法,具备建模动态复杂系统的能力。本文采用基于情境演算的编程语言Golog(用Prolog实现),对合约行为进行建模,展示世界状态如何随动作动态变化,从而为智能合约的自动化实现与验证提供理论支撑。
原文摘要 · Abstract (English)
Nowadays, sophisticated domains are emerging which require appropriate formalisms to be specified accurately in order to reason about them. One such domain is constituted of smart contracts that have emerged in cyber physical systems as a way of enforcing formal agreements between components of these systems. Smart contracts self-execute to run and share business processes through blockchain, in decentralized systems, with many different participants. Legal contracts are in many cases complex documents, with a number of exceptions, and many subcontracts. The implementation of smart contracts based on legal contracts is a long and laborious task, that needs to include all actions, procedures, and the effects of actions related to the execution of the contract. An ongoing open problem in this area is to formally account for smart contracts using a uniform and somewhat universal formalism. This thesis proposes logical foundations to smart contracts using the Situation Calculus, a logic for reasoning about actions. Situation Calculus is one of the prominent logic-based artificial intelligence approaches that provides enough logical mechanism to specify and implement dynamic and complex systems such as contracts. Situation Calculus is suitable to show how worlds dynamically change. Smart contracts are going to be implement with Golog (written en Prolog), a Situation Calculus-based programming language for modeling complex and dynamic behaviors.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。