10.5281/zenodo.4066608
https://zenodo.org/records/4066608
oai:zenodo.org:4066608
Léon Gondelman
Léon Gondelman
Aarhus University
Simon Oddershede Gregersen
Simon Oddershede Gregersen
Aarhus University
Abel Nieto
Abel Nieto
Aarhus University
Amin Timany
Amin Timany
Aarhus University
Lars Birkedal
Lars Birkedal
Aarhus University
Distributed Causal Memory: Modular Specification and Verification in Higher-Order Distributed Separation Logic - Coq Formalization
Zenodo
2020
distributed systems
separation logic
higher-order logic
concurrency
formal verification
2020-10-05
10.5281/zenodo.4066607
Creative Commons Attribution 4.0 International
We present the first specification and verification of an implementation of a causally-consistent distributed database that supports modular verification of full functional correctness properties of clients and servers. We specify and reason about the causally-consistent distributed database in Aneris, a higher-order distributed separation logic for an ML-like programming language with network primitives for programming distributed systems. We demonstrate that our specifications are useful, by proving the correctness of small, but tricky, synthetic examples involving causal dependency and by verifying a session manager library implemented on top of the distributed database. We use Aneris's facilities for modular specification and verification to obtain a highly modular development, where each component is verified in isolation, relying only on the specifications (not the implementations) of other components. We have used the Coq formalization of the Aneris logic to formalize all the results presented in the paper in the Coq proof assistant.