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 条
  • [1] The Boolean Algebra Logic: The Soundness and Completeness Theorem
    Chen Bo
    Zhang Xingyou
    Zhang Pengfei
    Cao Cong
    Liu Wenxue
    Zhao Kang
    2017 13TH INTERNATIONAL CONFERENCE ON SEMANTICS, KNOWLEDGE AND GRIDS (SKG 2017), 2017, : 15 - 18
  • [2] INDEPENDENCE AND CONCURRENT SEPARATION LOGIC
    Hayman, Jonathan
    Winskel, Glynn
    LOGICAL METHODS IN COMPUTER SCIENCE, 2008, 4 (01)
  • [3] Concurrent Incorrectness Separation Logic
    Raad, Azalea
    Berdine, Josh
    Dreyer, Derek
    O'Hearn, Peter W.
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6
  • [4] Granularity and Concurrent Separation Logic
    Hayman, Jonathan
    CONCUR 2011: CONCURRENCY THEORY, 2011, 6901 : 219 - 234
  • [5] A semantics for concurrent separation logic
    Brookes, S
    CONCUR 2004 - CONCURRENCY THEORY, PROCEEDINGS, 2004, 3170 : 16 - 34
  • [6] A semantics for concurrent separation logic
    Brookes, Stephen
    THEORETICAL COMPUTER SCIENCE, 2007, 375 (1-3) : 227 - 270
  • [7] Revisiting concurrent separation logic
    Soares, Pedro
    Ravara, Antonio
    de Sousa, Simao Melo
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 89 : 41 - 66
  • [8] Barriers in Concurrent Separation Logic
    Hobor, Aquinas
    Cherghina, Cristian
    PROGRAMMING LANGUAGES AND SYSTEMS, 2011, 6602 : 276 - 296
  • [9] Concurrent incorrectness separation logic
    Raad, Azalea
    Berdine, Josh
    Dreyer, Derek
    O'Hearn, Peter W.
    Proceedings of the ACM on Programming Languages, 2022, 6 (POPL)
  • [10] Independence and concurrent separation logic
    Hayman, Jonathan
    Winskel, Glynn
    21ST ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2006, : 147 - +