Verdi: a framework for implementing and formally verifying distributed systems
Open accessThe DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
Distributed systems are difficult to implement correctly because they must handle both concurrency and failures: machines may crash at arbitrary points and networks may reorder, drop, or duplicate packets. Further, their behavior is often too complex to permit exhaustive testing. Bugs in these systems have led to the loss of critical data and unacceptable service outages. We present Verdi, a framework for implementing and formally verifying distributed systems in Coq. Verdi formalizes various network semantics with different faults, and the developer chooses the most appropriate fault model when verifying their implementation. Furthermore, Verdi eases the verification burden by enabling the developer to first verify their system under an idealized fault model, then transfer the resulting correctness guarantees to a more realistic fault model without any additional proof burden. To demonstrate Verdi's utility, we present the first mechanically checked proof of linearizability of the Raft state machine replication algorithm, as well as verified implementations of a primary-backup replication system and a key-value store. These verified systems provide similar performance to unverified equivalents.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
(1992) · Lecture Notes in Computer Science · doi:10.1007/bfb0022433 · Cited by 3,955
In search of an understandable consensus algorithm
Ongaro, D., & Ousterhout, J. K. (2014) · USENIX Annual Technical Conference · Cited by 3,398
Linearizability: a correctness condition for concurrent objects
Herlihy, M. P., & Wing, J. M. (1990) · ACM Transactions on Programming Languages and Systems · doi:10.1145/78969.78972 · Cited by 3,176
seL4: formal verification of an OS kernel
Klein, G., Elphinstone, K., Heiser, G., Andronick, J., Cock, D., Derrin, P., Elkaduwe, D., Engelhardt, K., Kolanski, R., Norrish, M., et al. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629596 · Cited by 2,303
Software abstractions: logic, language and analysis
(2007) · Choice Reviews Online · doi:10.5860/choice.44-2746 · Cited by 1,523
Implementing Mathematics with The Nuprl Proof Development System
Constable, R. L., Allen, S. F., Bromley, H. M., Cleaveland, W. R., Cremer, J. F., Harper, R. W., Howe, D. J., Knoblock, T. B., Mendler, N. P., Panangaden, P., et al. (1986) · Cited by 1,279
Formal verification of a realistic compiler
Leroy, X. (2009) · Communications of the ACM · doi:10.1145/1538788.1538814 · Cited by 1,187
Peterson, J. L. (1977) · ACM Computing Surveys · doi:10.1145/356698.356702 · Cited by 1,179
Specifying Systems: The TLA+ Language and Tools for Hardware and Software Engineers
Lamport, L. (2002) · CERN Document Server (European Organization for Nuclear Research) · Cited by 941
Finding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1993498.1993532 · Cited by 825 · cited 2×
“Previous work has shown that formal verification can help produce extremely reliable systems, including compilers [41] and operating systems [18, 39].”
BackgroundMethodPaxos made live: an engineering perspective
Chandra, T. D., Griesemer, R., & Redstone, J. (2007) · Proceedings of the twenty-sixth annual ACM symposium on Principles of distributed computing · doi:10.1145/1281100.1281103 · Cited by 619
Finding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · ACM SIGPLAN Notices · doi:10.1145/1993316.1993532 · Cited by 586
Compiler validation via equivalence modulo inputs
Le, V., Afshari, M., & Su, Z. (2014) · Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2594291.2594334 · Cited by 388 · cited 1×
“The CompCert C compiler [22] was verified in Coq and repeatedly shown to be more reliable than traditionally developed compilers [21, 41].”
MethodLynch, N. (1996) · Cited by 354
Morgan Kaufmann Publishers, Inc.
(1986) · IEEE Software · doi:10.1109/ms.1986.233092 · Cited by 311
Mace: language support for building distributed systems
Killian, C. E., Anderson, J. W., Braud, R., Jhala, R., & Vahdat, A. M. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250755 · Cited by 199
D 3 S: debugging deployed distributed systems
Liu, X., Guo, Z., Wang, X., Chen, F., Lian, X., Tang, J., Wu, M., Kaashoek, M. F., & Zhang, Z. (2008) · Networked Systems Design and Implementation · Cited by 156
Self-citationNanevski, A., Morrisett, G., Shinnar, A., Govereau, P., & Birkedal, L. (2008) · ACM SIGPLAN Notices · doi:10.1145/1411203.1411237 · Cited by 148
Nanevski, A., Morrisett, G., Shinnar, A., Govereau, P., & Birkedal, L. (2008) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1411204.1411237 · Cited by 147
Yuan, D., Luo, Y., Zhuang, X., Rodrigues, G. R., Zhao, X., Zhang, Y., Jain, P. U., & Stumm, M. (2014) · Operating Systems Design and Implementation · doi:10.5555/2685048.2685068 · Cited by 135
Safe to the last instruction: automated verification of a type-safe operating system
Yang, J., & Hawblitzel, C. (2010) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1806596.1806610 · Cited by 134
Mostly-automated verification of low-level programs in computational separation logic
Chlipala, A. J. (2011) · ACM SIGPLAN Notices · doi:10.1145/1993316.1993526 · Cited by 133
Using lightweight modeling to understand chord
Zave, P. (2012) · ACM SIGCOMM Computer Communication Review · doi:10.1145/2185376.2185383 · Cited by 112
Machine-verified network controllers
Guha, A., Reitblatt, M., & Foster, N. (2013) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2491956.2462178 · Cited by 112
Mostly-automated verification of low-level programs in computational separation logic
Chlipala, A. J. (2011) · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1993498.1993526 · Cited by 105
Developing Correctly Replicated Databases Using Formal Tools
Schiper, N., Rahli, V., van Renesse, R., et al. (2014) · IEEE/IFIP International Conference on Dependable Systems and Networks (DSN) · doi:10.1109/dsn.2014.45 · Cited by 31
Automating formal proofs for reactive systems
Ricketts, D., Robert, V., Jang, D., Tatlock, Z., & Lerner, S. (2014) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2594291.2594338 · Cited by 13
Self-citation
Cited by
IronFleet: proving practical distributed systems correct
Hawblitzel, C., Howell, J., Kapritsos, M., Lorch, J. R., Parno, B., Roberts, M. L., Setty, S., & Zill, B. (2015) · Proceedings of the 25th Symposium on Operating Systems Principles · doi:10.1145/2815400.2815428 · Cited by 320
Using Crash Hoare logic for certifying the FSCQ file system
Chen, H., Ziegler, D., Chajed, T., Chlipala, A., Kaashoek, M. F., & Zeldovich, N. (2015) · Proceedings of the 25th Symposium on Operating Systems Principles · doi:10.1145/2815400.2815402 · Cited by 211
CertiKOS: an extensible architecture for building certified concurrent OS kernels
Gu, R., Shao, Z., Chen, H., Wu, X., Kim, J., Sjöberg, V., & Costanzo, D. (2016) · Operating Systems Design and Implementation · doi:10.5555/3026877.3026928 · Cited by 160
SoK: Computer-Aided Cryptography
Barbosa, M., Barthe, G., Bhargavan, K., Blanchet, B., Cremers, C., Liao, K., & Parno, B. (2021) · 2021 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp40001.2021.00008 · Cited by 143
“For example, there has been significant work in verifying operating systems code [121]–[127], distributed systems [128]– [130], and even entire software stacks [131].”
BackgroundPutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competition
Tsoukalas, G., Lee, J., Jennings, J., Xin, J., Ding, M., Jennings, M., Thakur, A., & Chaudhuri, S. (2024) · Advances in Neural Information Processing Systems 37 · doi:10.52202/079017-0368 · Cited by 13
Metadata
- Authors
- Wilcox, J. R., Woos, D., Panchekha, P., Tatlock, Z., Wang, X., Ernst, M. D., & Anderson, T.
- Venue
- Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2015-06-03
- Pages
- 357-368
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2167814583
- Cited by
- 270
- References
- 28
- FWCI
- 24.22
- Type
- conference paper
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.