Verifying Reliable Network Components in a Distributed Separation Logic with Dependent Separation Protocols

被引:2
|
作者
Gondelman, Leon [1 ]
Hinrichsen, Jonas Kastberg [1 ]
Pereira, Mario [2 ]
Timany, Amin [1 ]
Birkedal, Lars [1 ]
机构
[1] Aarhus Univ, Aarhus, Denmark
[2] NOVA Sch Sci & Technol, NOVA LINCS, Lisbon, Portugal
关键词
Distributed systems; separation logic; refinement; higher-order logic; concurrency; formal verification;
D O I
10.1145/3607859
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a foundationally verified implementation of a reliable communication library for asynchronous client-server communication, and a stack of formally verified components on top thereof. Our library is implemented in an OCaml-like language on top of UDP and features characteristic traits of existing protocols, such as a simple handshaking protocol, bidirectional channels, and retransmission/acknowledgement mechanisms. We verify the library in the Aneris distributed separation logic using a novel proof pattern-dubbed the session escrow pattern-based on the existing escrow proof pattern and the so-called dependent separation protocols, which hitherto have only been used in a non-distributed concurrent setting. We demonstrate how our specification of the reliable communication library simplifies formal reasoning about applications, such as a remote procedure call library, which we in turn use to verify a lazily replicated key-value store with leader-followers and clients thereof. Our development is highly modular-each component is verified relative to specifications of the components it uses (not the implementation). All our results are formalized in the Coq proof assistant.
引用
收藏
页码:847 / 877
页数:31
相关论文
共 50 条
  • [21] Network Mobility Support in Distributed ID/Locator Separation Architectures
    Kim, Younghyun
    Ko, Haneul
    Pack, Sangheon
    2014 IEEE 11TH CONSUMER COMMUNICATIONS AND NETWORKING CONFERENCE (CCNC), 2014,
  • [22] Trillium: Higher-Order Concurrent and Distributed Separation Logic for Intensional Refinement
    Timany, Amin
    Gregersen, Simon Oddershede
    Stefanesco, Leo
    Hinrichsen, Jonas Kastberg
    Gondelman, Leon
    Nieto, Abel
    Birkedal, Lars
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (POPL):
  • [23] Igloo: Soundly Linking Compositional Refinement and Separation Logic for Distributed System Verification
    Sprenger, Christoph
    Klenze, Tobias
    Eilers, Marco
    Wolf, Felix A.
    Muller, Peter
    Clochard, Martin
    Basin, David
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (OOPSLA):
  • [24] A minimax entropy method for blind separation of dependent components in astrophysical images
    Caiafa, Cesar F.
    Kuruoglu, Ercan E.
    Proto, Araceli N.
    BAYESIAN INFERENCE AND MAXIMUM ENTROPY METHODS IN SCIENCE AND ENGINEERING, 2006, 872 : 81 - +
  • [25] A new convolutive source separation approach for independent/dependent source components
    Mamouni, N.
    Keziou, A.
    Fenniri, H.
    Ghazdali, A.
    Hakim, A.
    DIGITAL SIGNAL PROCESSING, 2020, 100
  • [26] Use of multidimensional separation protocols for the purification of trace components in complex biological samples for proteomics analysis
    Nice, E. C.
    Rothacker, J.
    Weinstock, J.
    Lim, L.
    Catimel, B.
    JOURNAL OF CHROMATOGRAPHY A, 2007, 1168 (1-2) : 190 - 210
  • [27] EVIDENCE FOR THE SEPARATION OF PINOCYTOSIS INTO FREE-ENERGY DEPENDENT AND METABOLIC ENERGY-DEPENDENT COMPONENTS
    STURM, RJ
    SCHWARTZ, SL
    JOURNAL OF SUPRAMOLECULAR STRUCTURE, 1979, : 118 - 118
  • [28] Distribution Network Island Separation With Distributed Generation (DG) Based on Dynamic Planning
    He Chunguang
    Zhu Jiaming
    Dong Xin
    Wang Lei
    Zhai Guangxin
    Xie Xiaolin
    Liu Peng
    Liu Yong
    2017 IEEE 2ND ADVANCED INFORMATION TECHNOLOGY, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (IAEAC), 2017, : 1767 - 1771
  • [29] Distributed Microphones Speech Separation by Learning Spatial Information With Recurrent Neural Network
    Xiang, Xiaoxiao
    Zhang, Xiaojuan
    Xie, Wupeng
    IEEE SIGNAL PROCESSING LETTERS, 2022, 29 : 1541 - 1545
  • [30] RELIABLE, REUSABLE ADA COMPONENTS FOR CONSTRUCTING LARGE, DISTRIBUTED MULTITASK NETWORKS - NETWORK ARCHITECTURE SERVICES (NAS)
    ROYCE, W
    TRI-ADA 89 : INDUSTRY, ACADEMIA, GOVERNMENT: ADA TECHNOLOGY IN CONTEXT : APPLICATION, DEVELOPMENT, AND DEPLOYMENT, 1989, : 500 - 516