An Asynchronous soundness theorem for concurrent separation logic

07/21/2018
by   Paul-André Melliès, et al.
0

Concurrent separation logic (CSL) is a specification logic for concurrent imperative programs with shared memory and locks. In this paper, we develop a concurrent and interactive account of the logic inspired by asynchronous game semantics. To every program C, we associate a pair of asynchronous transition systems [C]_S and [C]_L which describe the operational behavior of the Code when confronted to its Environment or Frame --- both at the level of machine states (S) and of machine instructions and locks (L). We then establish that every derivation tree π of a judgment Γ{P}C{Q} defines a winning and asynchronous strategy [π]_Sep with respect to both asynchronous semantics [C]_S and [C]_L. From this, we deduce an asynchronous soundness theorem for CSL, which states that the canonical map L:[C]_S→[C]_L from the stateful semantics [C]_S to the stateless semantics [C]_L satisfies a basic fibrational property. We advocate that this provides a clean and conceptual explanation for the usual soundness theorem of CSL, including the absence of data races.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/06/2017

A Game Semantics of Concurrent Separation Logic

In this paper, we develop a game-theoretic account of concurrent separat...
research
05/09/2020

Concurrent Separation Logic Meets Template Games

An old dream of concurrency theory and programming language semantics ha...
research
12/05/2017

Revisiting concurrent separation logic

We present a new soundness proof of Concurrent Separation Logic (CSL) ba...
research
11/30/2017

On Asynchrony and Choreographies

Choreographic Programming is a paradigm for the development of concurren...
research
06/05/2020

Online Test Vector Insertion: A Concurrent Built-In Self-Testing (CBIST) Approach for Asynchronous Logic

Complementing concurrent checking with online testing is crucial for pre...
research
12/15/2021

Probabilistic Logic Gate in Asynchronous Game of Life with Critical Property

Metaheuristic and self-organizing criticality (SOC) could contribute to ...
research
08/01/2019

Quantum Temporal Logic: from Birkhoff and von Neumann to Pnueli

In this paper, we introduce a model of quantum concurrent program, which...

Please sign up or login with your details

Forgot password? Click here to reset