Papers1 provider Β· 2 records
January 1, 2025Β· DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
article
Open access

Program Logics for Ledgers

Authors:Orestis MelkonianWouter SwierstraJames ChapmanSub Software TechnologyDiego MarmsolerMeng Xu

Abstract

Distributed ledgers nowadays manage substantial monetary funds in the form of cryptocurrencies such as Bitcoin, Ethereum, and Cardano. For such ledgers to be safe, operations that add new entries must be cryptographically sound - but it is less clear how to reason effectively about such ever-growing linear data structures. This paper demonstrates how distributed ledgers may be viewed as computer programs, that, when executed, transfer funds between various parties. As a result, familiar program logics, such as Hoare logic, are applied in a novel setting. Borrowing ideas from concurrent separation logic, this enables modular reasoning principles over arbitrary fragments of any ledger. All of our results have been mechanised in the Agda proof assistant.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.