English

A Formally Verified Lightning Network

Cryptography and Security 2025-03-11 v1 Logic in Computer Science

Abstract

In this work we use formal verification to prove that the Lightning Network (LN), the most prominent scaling technique for Bitcoin, always safeguards the funds of honest users. We provide a custom implementation of (a simplification of) LN, express the desired security goals and, for the first time, we provide a machine checkable proof that they are upheld under every scenario, all in an integrated fashion. We build our system using the Why3 platform.

Keywords

Cite

@article{arxiv.2503.07200,
  title  = {A Formally Verified Lightning Network},
  author = {Grzegorz Fabiański and Rafał Stefański and Orfeas Stefanos Thyfronitis Litos},
  journal= {arXiv preprint arXiv:2503.07200},
  year   = {2025}
}
R2 v1 2026-06-28T22:13:50.375Z