An Asynchronous Soundness Theorem for Concurrent Separation Logic

被引:2
|
作者
Mellies, Paul-Andre [1 ,2 ]
Stefanesco, Leo [3 ,4 ]
机构
[1] CNRS, IRIF, Paris, France
[2] Univ Paris Diderot, Paris, France
[3] Univ Paris Diderot, IRIF, Paris, France
[4] CNRS, Paris, France
关键词
concurrent separation logic; asynchronous machine models; asynchronous game semantics; data races; stateful-to-stateless;
D O I
10.1145/3209108.3209116
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Concurrent separation logic (CSL) is a specification logic for concurrent imperative programs with shared memory and locks. In this paper, we develop a concurrent and interactive account of the logic inspired by asynchronous game semantics. To every program C, we associate a pair of asynchronous transition systems [C](S) and [C](L) which describe the operational behavior of the Code when confronted to its Environment or Frame - both at the level of machine states (S) and of machine instructions and locks (L). We then establish that every derivation tree pi of a judgment Gamma proves {P}C{Q} defines a winning and asynchronous strategy [pi](Sep) with respect to both asynchronous semantics [C](S) and [C](L). From this, we deduce an asynchronous soundness theorem for CSL, which states that the canonical map L : [C](S) -> [C](L) from the stateful semantics [C](S) to the stateless semantics [C](L) satisfies a basic fibrational property. We advocate that this provides a clean and conceptual explanation for the usual soundness theorem of CSL, including the absence of data races.
引用
收藏
页码:699 / 708
页数:10
相关论文
共 50 条
  • [21] Cosmo: A Concurrent Separation Logic for Multicore OCaml
    Mevel, Glen
    Jourdan, Jacques-Henri
    Pottier, Francois
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (ICFP):
  • [22] Concurrent Separation Logic Meets Template Games
    Mellies, Paul-Andre
    Stefanesco, Leo
    PROCEEDINGS OF THE 35TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2020), 2020, : 742 - 755
  • [23] Syntactic Control of Interference and Concurrent Separation Logic
    Brookes, Stephen
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2012, 286 : 87 - 102
  • [24] Precision and the Conjunction Rule in Concurrent Separation Logic
    Gotsman, Alexey
    Berdine, Josh
    Cook, Byron
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2011, 276 : 171 - 190
  • [25] Revisiting Concurrent Separation Logic and Operational Semantics
    Soares, Pedro
    Ravara, Antonio
    de Sousa, Simao Melo
    23RD EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP 2015), 2015, : 484 - 491
  • [26] Parameterized Memory Models and Concurrent Separation Logic
    Ferreira, Rodrigo
    Feng, Xinyu
    Shao, Zhong
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2010, 6012 : 267 - +
  • [27] Soundness checking of asynchronous communication systems
    Wang, Shuai
    Dai, Fei
    Huang, Bi
    Mo, Qi
    Fu, Xiaodong
    Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2024, 30 (08): : 2936 - 2946
  • [28] Soundness and completeness of UNITY logic
    Knapp, E
    FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE, 1994, 880 : 378 - 389
  • [29] The Essence of Higher-Order Concurrent Separation Logic
    Krebbers, Robbert
    Jung, Ralf
    Bizjak, Ales
    Jourdan, Jacques-Henri
    Dreyer, Derek
    Birkedal, Lars
    PROGRAMMING LANGUAGES AND SYSTEMS (ESOP 2017): 26TH EUROPEAN SYMPOSIUM ON PROGRAMMING, 2017, 10201 : 696 - 723
  • [30] BARRIERS IN CONCURRENT SEPARATION LOGIC: NOW WITH TOOL SUPPORT!
    Hobor, Aquinas
    Gherghina, Cristian
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (02)