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 条
  • [31] The parametric pump mechanism in separation of components in heterogeneous systems. I. Macroscopic distributed systems
    Tverdislov, VA
    Yakovenko, LV
    Salov, DV
    Tverdislova, IL
    Hianik, T
    GENERAL PHYSIOLOGY AND BIOPHYSICS, 1999, 18 (01) : 73 - 85
  • [32] SEPARATION OF THE SOS-DEPENDENT AND SOS-INDEPENDENT COMPONENTS OF ALKYLATING-AGENT MUTAGENESIS
    COUTO, LB
    CHAUDHURI, I
    DONAHUE, BA
    DEMPLE, B
    ESSIGMANN, JM
    JOURNAL OF BACTERIOLOGY, 1989, 171 (08) : 4170 - 4177
  • [33] SEPARATION AND IDENTIFICATION OF 2 COMPONENTS OF AN ESTROGEN-RESPONSIVE, CALCIUM-DEPENDENT ARGININE ESTEROPEPTIDASE
    HENRIKSON, KP
    JAZIN, EE
    DICKERMAN, HW
    JOURNAL OF STEROID BIOCHEMISTRY AND MOLECULAR BIOLOGY, 1987, 26 (02): : 189 - 196
  • [34] SPTNet: Sparse Convolution and Transformer Network for Woody and Foliage Components Separation From Point Clouds
    Zhang, Shuai
    Chen, Yiping
    Wang, Biao
    Pan, Dong
    Zhang, Wuming
    Li, Aiguang
    IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2024, 62 (1-18): : 1 - 18
  • [35] Network technologies for reliable undersea sensor systems - Advanced protocols, optical components and architectures improve the reliability of undersea sensor networks
    Walrod, J
    SEA TECHNOLOGY, 2006, 47 (05) : 10 - +
  • [36] Deadlock-Free Separation Logic: Linearity Yields Progress for Dependent Higher-Order Message Passing
    Jacobs, Jules
    Hinrichsen, Jonas Kastberg
    Krebbers, Robbert
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (POPL):
  • [37] THERMODYNAMIC COMPATIBILITY OF THE COMPONENTS AND THE BEGINNING OF THE PHASE-SEPARATION IN THE FORMING SEMI-INTERPENETRATING POLYMER NETWORK
    LIPATOV, IS
    NESTEROV, AE
    IGNATOVA, TD
    KUZMINA, GI
    DOKLADY AKADEMII NAUK SSSR, 1988, 301 (01): : 139 - 142
  • [38] A Hybrid Fuzzy Logic-Neural Network Approach For Multi-path Separation Of Underwater Acoustic Signals
    Lee-Leon, Abigail
    Yuen, Chau
    Herremans, Dorien
    2019 IEEE 89TH VEHICULAR TECHNOLOGY CONFERENCE (VTC2019-SPRING), 2019,
  • [39] Speech separation based on reliable binaural cues with two-stage neural network in noisy-reverberant environments
    Li, Ruwei
    Li, Tao
    Sun, Xiaoyue
    Sun, Xingwu
    Zhao, Fengnian
    APPLIED ACOUSTICS, 2020, 168
  • [40] Blind source separation using spatially distributed microphones based on microphone-location dependent source activities
    Kinoshita, Keisuke
    Souden, Mehrez
    Nakatani, Tomohiro
    14TH ANNUAL CONFERENCE OF THE INTERNATIONAL SPEECH COMMUNICATION ASSOCIATION (INTERSPEECH 2013), VOLS 1-5, 2013, : 822 - 826