Trillium: Higher-Order Concurrent and Distributed Separation Logic for Intensional Refinement

被引:2
|
作者
Timany, Amin [1 ]
Gregersen, Simon Oddershede [1 ]
Stefanesco, Leo [2 ]
Hinrichsen, Jonas Kastberg [1 ]
Gondelman, Leon [1 ]
Nieto, Abel [1 ]
Birkedal, Lars [1 ]
机构
[1] Aarhus Univ, Aarhus, Denmark
[2] MPI SWS, Saarbrucken, Germany
基金
欧洲研究理事会;
关键词
Distributed systems; separation logic; refinement; higher-order logic; concurrency; formal verification;
D O I
10.1145/3632851
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Expressive state-of-the-art separation logics rely on step-indexing to model semantically complex features and to support modular reasoning about imperative higher-order concurrent and distributed programs. Step-indexing comes, however, with an inherent cost: it restricts the adequacy theorem of program logics to a fairly simple class of safety properties. In this paper, we explore if and how intensional refinement is a viable methodology for strengthening higher-order concurrent (and distributed) separation logic to prove non-trivial safety and liveness properties. Specifically, we introduce Trillium, a language-agnostic separation logic framework for showing intensional refinement relations between traces of a program and a model. We instantiate Trillium with a concurrent language and develop Fairis, a concurrent separation logic, that we use to show liveness properties of concurrent programs under fair scheduling assumptions through a fair liveness-preserving refinement of a model. We also instantiate Trillium with a distributed language and obtain an extension of Aneris, a distributed separation logic, which we use to show refinement relations between distributed systems and TLA(+) models.
引用
收藏
页数:32
相关论文
共 50 条
  • [11] Distributed Causal Memory: Modular Specification and Verification in Higher-Order Distributed Separation Logic
    Gondelman, Leon
    Gregersen, Simon Oddershede
    Nieto, Abel
    Timany, Amin
    Birkedal, Lars
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2021, 5
  • [12] Automating Emendations of the Ontological Argument in Intensional Higher-Order Modal Logic
    Fuenmayor, David
    Benzmueller, Christoph
    KI 2017: ADVANCES IN ARTIFICIAL INTELLIGENCE, 2017, 10505 : 114 - 127
  • [13] Intensional computation with higher-order functions
    Jay, Barry
    THEORETICAL COMPUTER SCIENCE, 2019, 768 : 76 - 90
  • [14] Higher-order intensional type analysis
    Weirich, S
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2002, 2305 : 98 - 114
  • [15] Iris from the ground up A modular foundation for higher-order concurrent separation logic
    Jung, Ralf
    Krebbers, Robbert
    Jourdan, Jacques-Henri
    Bizjak, Ales
    Birkedal, Lars
    Dreyer, Derek
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2018, 28
  • [16] Higher-Order Representation Predicates in Separation Logic
    Chargueraud, Arthur
    PROCEEDINGS OF THE 5TH ACM SIGPLAN CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS (CPP'16), 2016, : 3 - 14
  • [17] Higher-Order Separation Logic in Isabelle/HOLCF
    Varming, Carsten
    Birkedal, Lars
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 218 (0C) : 371 - 389
  • [18] BI hyperdoctrines and higher-order separation logic
    Biering, B
    Birkedal, L
    Torp-Smith, N
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3444 : 233 - 247
  • [19] MECHANICAL VERIFICATION OF DISTRIBUTED ALGORITHMS IN HIGHER-ORDER LOGIC
    CHOU, CT
    COMPUTER JOURNAL, 1995, 38 (02): : 152 - 161
  • [20] Mechanical verification of distributed algorithms in higher-order logic
    Chou, Ching-Tsun, 1600, Oxford Univ Press, Oxford, United Kingdom (38):