Emergent Mind

An Asynchronous soundness theorem for concurrent separation logic

(1807.08117)
Published Jul 21, 2018 in cs.PL and cs.LO

Abstract

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 $\pi$ of a judgment $\Gamma\vdash{P}C{Q}$ defines a winning and asynchronous strategy $[\pi]{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 $\mathcal{L}:[C]S\to[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.

We're not able to analyze this paper right now due to high demand.

Please check back later (sorry!).

Generate a summary of this paper on our Pro plan:

We ran into a problem analyzing this paper.

Newsletter

Get summaries of trending comp sci papers delivered straight to your inbox:

Unsubscribe anytime.