A Separation Logic for Concurrent Randomized Programs

被引:27
|
作者
Tassarotti, Joseph [1 ]
Harper, Robert [1 ]
机构
[1] Carnegie Mellon Univ, Comp Sci Dept, Pittsburgh, PA 15213 USA
关键词
separation logic; concurrency; probability;
D O I
10.1145/3290377
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present Polaris, a concurrent separation logic with support for probabilistic reasoning. As part of our logic, we extend the idea of coupling, which underlies recent work on probabilistic relational logics, to the setting of programs with both probabilistic and non-deterministic choice. To demonstrate Polaris, we verify a variant of a randomized concurrent counter algorithm and a two-level concurrent skip list. All of our results have been mechanized in Coq.
引用
收藏
页数:30
相关论文
共 50 条
  • [1] Specifying Concurrent Programs in Separation Logic: Morphisms and Simulations
    Nanevski, Aleksandar
    Banerjee, Anindya
    Delbianco, German Andres
    Fabregas, Ignacio
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2019, 3 (OOPSLA):
  • [2] SteelCore: An Extensible Concurrent Separation Logic for Effectful Dependently Typed Programs
    Swamy, Nikhil
    Rastogi, Aseem
    Fromherz, Aymeric
    Merigoux, Denis
    Ahman, Danel
    Martinez, Guido
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (ICFP):
  • [3] THE HOARE LOGIC OF CONCURRENT PROGRAMS
    LAMPORT, L
    ACTA INFORMATICA, 1980, 14 (01) : 21 - 37
  • [4] INDEPENDENCE AND CONCURRENT SEPARATION LOGIC
    Hayman, Jonathan
    Winskel, Glynn
    LOGICAL METHODS IN COMPUTER SCIENCE, 2008, 4 (01)
  • [5] Concurrent Incorrectness Separation Logic
    Raad, Azalea
    Berdine, Josh
    Dreyer, Derek
    O'Hearn, Peter W.
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6
  • [6] Granularity and Concurrent Separation Logic
    Hayman, Jonathan
    CONCUR 2011: CONCURRENCY THEORY, 2011, 6901 : 219 - 234
  • [7] A semantics for concurrent separation logic
    Brookes, S
    CONCUR 2004 - CONCURRENCY THEORY, PROCEEDINGS, 2004, 3170 : 16 - 34
  • [8] A semantics for concurrent separation logic
    Brookes, Stephen
    THEORETICAL COMPUTER SCIENCE, 2007, 375 (1-3) : 227 - 270
  • [9] Revisiting concurrent separation logic
    Soares, Pedro
    Ravara, Antonio
    de Sousa, Simao Melo
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2017, 89 : 41 - 66
  • [10] Barriers in Concurrent Separation Logic
    Hobor, Aquinas
    Cherghina, Cristian
    PROGRAMMING LANGUAGES AND SYSTEMS, 2011, 6602 : 276 - 296