compositional reasoning
Recently Published Documents


TOTAL DOCUMENTS

80
(FIVE YEARS 6)

H-INDEX

13
(FIVE YEARS 1)

2021 ◽  
Vol 43 (4) ◽  
pp. 1-134
Author(s):  
Emanuele D’Osualdo ◽  
Julian Sutherland ◽  
Azadeh Farzan ◽  
Philippa Gardner

We present TaDA Live, a concurrent separation logic for reasoning compositionally about the termination of blocking fine-grained concurrent programs. The crucial challenge is how to deal with abstract atomic blocking : that is, abstract atomic operations that have blocking behaviour arising from busy-waiting patterns as found in, for example, fine-grained spin locks. Our fundamental innovation is with the design of abstract specifications that capture this blocking behaviour as liveness assumptions on the environment. We design a logic that can reason about the termination of clients that use such operations without breaking their abstraction boundaries, and the correctness of the implementations of the operations with respect to their abstract specifications. We introduce a novel semantic model using layered subjective obligations to express liveness invariants and a proof system that is sound with respect to the model. The subtlety of our specifications and reasoning is illustrated using several case studies.


2021 ◽  
Vol 5 (ICFP) ◽  
pp. 1-30
Author(s):  
Yannick Zakowski ◽  
Calvin Beck ◽  
Irene Yoon ◽  
Ilia Zaichuk ◽  
Vadim Zaliva ◽  
...  

This paper presents a novel formal semantics, mechanized in Coq, for a large, sequential subset of the LLVM IR. In contrast to previous approaches, which use relationally-specified operational semantics, this new semantics is based on monadic interpretation of interaction trees, a structure that provides a more compositional approach to defining language semantics while retaining the ability to extract an executable interpreter. Our semantics handles many of the LLVM IR's non-trivial language features and is constructed modularly in terms of event handlers, including those that deal with nondeterminism in the specification. We show how this semantics admits compositional reasoning principles derived from the interaction trees equational theory of weak bisimulation, which we extend here to better deal with nondeterminism, and we use them to prove that the extracted reference interpreter faithfully refines the semantic model. We validate the correctness of the semantics by evaluating it on unit tests and LLVM IR programs generated by HELIX.


2018 ◽  
Vol 2 (POPL) ◽  
pp. 1-34 ◽  
Author(s):  
Gowtham Kaki ◽  
Kartik Nagar ◽  
Mahsa Najafzadeh ◽  
Suresh Jagannathan

2018 ◽  
pp. 345-383 ◽  
Author(s):  
Dimitra Giannakopoulou ◽  
Kedar S. Namjoshi ◽  
Corina S. Păsăreanu

Author(s):  
Fuyuan Zhang ◽  
Yongwang Zhao ◽  
David Sanán ◽  
Yang Liu ◽  
Alwen Tiu ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document