English

Logical foundations of Smart Contracts

Logic in Computer Science 2025-02-14 v1 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2502.09232,
  title  = {Logical foundations of Smart Contracts},
  author = {Kalonji Kalala},
  journal= {arXiv preprint arXiv:2502.09232},
  year   = {2025}
}

Comments

In Proceedings ICLP 2024, arXiv:2502.08453

R2 v1 2026-06-28T21:42:59.346Z