Probabilistic rely-guarantee calculus

被引:2
作者
McIver, Annabelle [1 ]
Rabehaja, Tahiry [1 ]
Struth, Georg [2 ]
机构
[1] Macquarie Univ, Dept Comp, N Ryde, NSW, Australia
[2] Univ Sheffield, Dept Comp Sci, Sheffield, S Yorkshire, England
基金
英国工程与自然科学研究理事会;
关键词
Probabilistic programs; Concurrency; Rely-guarantee; Program verification; Program semantics; Kleene algebra; Event structures; LANGUAGE; PROGRAMS; PROOF;
D O I
10.1016/j.tcs.2016.01.016
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Jones' rely-guarantee calculus for shared variable concurrency is extended to include probabilistic behaviours. We use an algebraic approach that is based on a combination of probabilistic Kleene algebra with concurrent Kleene algebra. Soundness of the algebra is shown relative to a general probabilistic event structure semantics. The main contribution of this paper is a collection of rely-guarantee rules built on top of that semantics. In particular, we show how to obtain bounds on probabilities of correctness by deriving quantitative extensions of rely-guarantee rules. The use of these rules is illustrated by a detailed verification of a simple probabilistic concurrent program: a faulty Eratosthenes sieve. (C) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:120 / 134
页数:15
相关论文
共 31 条
  • [1] On Rely-Guarantee Reasoning
    van Staden, Stephan
    MATHEMATICS OF PROGRAM CONSTRUCTION, MPC 2015, 2015, 9129 : 30 - 49
  • [2] Generalised rely-guarantee concurrency: an algebraic foundation
    Hayes, Ian J.
    FORMAL ASPECTS OF COMPUTING, 2016, 28 (06) : 1057 - 1078
  • [3] Local Rely-Guarantee Reasoning
    Feng, Xinyu
    ACM SIGPLAN NOTICES, 2009, 44 (01) : 315 - 327
  • [4] Inter-process buffers in separation logic with rely-guarantee
    Bornat, Richard
    Amjad, Hasan
    FORMAL ASPECTS OF COMPUTING, 2010, 22 (06) : 735 - 772
  • [5] Verifying a Concurrent Garbage Collector with a Rely-Guarantee Methodology
    Yannick Zakowski
    David Cachera
    Delphine Demange
    Gustavo Petri
    David Pichardie
    Suresh Jagannathan
    Jan Vitek
    Journal of Automated Reasoning, 2019, 63 : 489 - 515
  • [6] Verifying a Concurrent Garbage Collector with a Rely-Guarantee Methodology
    Zakowski, Yannick
    Cachera, David
    Demange, Delphine
    Petri, Gustavo
    Pichardie, David
    Jagannathan, Suresh
    Vitek, Jan
    JOURNAL OF AUTOMATED REASONING, 2019, 63 (02) : 489 - 515
  • [7] Explicit Stabilisation for Modular Rely-Guarantee Reasoning
    Wickerson, John
    Dodds, Mike
    Parkinson, Matthew
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2010, 6012 : 610 - 629
  • [8] Rely-Guarantee Termination and Cost Analyses of Loops with Concurrent Interleavings
    Elvira Albert
    Antonio Flores-Montoya
    Samir Genaim
    Enrique Martin-Martin
    Journal of Automated Reasoning, 2017, 59 : 47 - 85
  • [9] Automatic Verification of Multi-threaded Programs by Inference of Rely-Guarantee Specifications
    Le, Xuan-Bach
    Sanan, David
    Jun, Sun
    Lin, Shang-Wei
    2020 25TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS 2020), 2020, : 43 - 52
  • [10] Rely-Guarantee Termination and Cost Analyses of Loops with Concurrent Interleavings
    Albert, Elvira
    Flores-Montoya, Antonio
    Genaim, Samir
    Martin-Martin, Enrique
    JOURNAL OF AUTOMATED REASONING, 2017, 59 (01) : 47 - 85