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 条
  • [21] Applying Rely-Guarantee Reasoning on Concurrent Memory Management and Mailbox in μC/OS-II: A Case Study
    Sun, Huan
    Mao, Ziyu
    Wang, Jingyi
    Zhao, Ziyan
    Wang, Wenhai
    FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, FMICS 2023, 2023, 14290 : 224 - 241
  • [22] A structural proof of the soundness of rely/guarantee rules
    Coleman, Joey W.
    Jones, Cliff B.
    JOURNAL OF LOGIC AND COMPUTATION, 2007, 17 (04) : 807 - 841
  • [23] CSimpl: A Rely-Guarantee-Based Framework for Verifying Concurrent Programs
    Sanan, David
    Zhao, Yongwang
    Hou, Zhe
    Zhang, Fuyuan
    Tiu, Alwen
    Liu, Yang
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2017, PT I, 2017, 10205 : 481 - 498
  • [24] Investigating the limits of rely/guarantee relations based on a concurrent garbage collector example
    Jones, Cliff B.
    Yatapanage, Nisansala
    FORMAL ASPECTS OF COMPUTING, 2019, 31 (03) : 353 - 374
  • [25] Implementation Methodology of Rely/Guarantee Plug-in for Protege
    Azzam, Said Rabah
    Zhou, Shikun
    2012 INTERNATIONAL CONFERENCE FOR INTERNET TECHNOLOGY AND SECURED TRANSACTIONS, 2012, : 710 - 714
  • [26] A Rely-Guarantee-Based Simulation for Verifying Concurrent Program Transformations
    Liang, Hongjin
    Feng, Xinyu
    Fu, Ming
    POPL 12: PROCEEDINGS OF THE 39TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2012, : 455 - 468
  • [27] A Rely-Guarantee-Based Simulation for Verifying Concurrent Program Transformations
    Liang, Hongjin
    Feng, Xinyu
    Fu, Ming
    ACM SIGPLAN NOTICES, 2012, 47 (01) : 455 - 468
  • [28] Rely-Guarantee-Based Simulation for Compositional Verification of Concurrent Program Transformations
    Liang, Hongjin
    Feng, Xinyu
    Fu, Ming
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2014, 36 (01):
  • [29] Constructing deadlock free event-based applications: A rely/guarantee approach
    Fenkam, P
    Gall, H
    Jazayeri, M
    FME 2003: FORMAL METHODS, PROCEEDINGS, 2003, 2805 : 636 - 657
  • [30] Verified Compilation of Linearizable Data Structures Mechanizing Rely Guarantee for Semantic Refinement
    Zakowski, Yannick
    Cachera, David
    Demange, Delphine
    Pichardie, David
    33RD ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, 2018, : 1881 - 1890