NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Formalizing Extended UTxO and BitML Calculus in Agda

Orestis MelkonianUtrecht 2019

Abstract

Smart contracts – programs that run on a blockchain – allow for sophisticated transactional\nschemes, but their concurrent execution makes it difficult to reason about their behaviour and\nbugs in smart contracts have lead to significant monetary losses (e.g. DAO attack). For that reason,\nincreasingly more attention is given to formal methods, that guarantee that such fatal scenarios\nare not possible.\n We attempt to advance the state-of-the-art for a language-oriented, type-driven account of smart\ncontracts by formalizing two well-established models in Agda and mechanizing the corresponding\nmeta-theory.\n The first concerns an abstract model for UTxO-based ledgers, such as Bitcoin, which we further\nextend to cover features of the Cardano blockchain, namely more expressive scripts and built-in\nsupport for user-issued cryptocurrencies.\n The second object of study is BitML, a process calculus specifically targeting Bitcoin smart con-\ntracts. We present a mechanized semantics of BitML contracts and its small-step semantics, as well\nas a mechanized account of BitML’s symbolic model over participant strategies.\n Finally, we sketch the way towards a certified compiler from BitML contracts to UTxO transac-\ntions, where all behaviours manifesting on BitML’s symbolic model can safely be transported to\nthe UTxO level.
BibTeX
@inproceedings{melkonian2019formalizing,
  author = {Orestis Melkonian},
  title = {{Formalizing Extended UTxO and BitML Calculus in Agda}},
  booktitle = {Utrecht},
  year = {2019},
}

Loading related content...

Figure