We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Strong Logic for Weak Memory: Reasoning About Release-Acquire Consistency in Iris
PeriodicalsMathematics

Strong Logic for Weak Memory: Reasoning About Release-Acquire Consistency in Iris

Checking your access to this record.

Abstract & Overview

The field of concurrent separation logics (CSLs) has recently undergone two exciting developments: (1) the Iris framework for encoding and unifying advanced higher-order CSLs and formalizing them in Coq, and (2) the adaptation of CSLs to account for weak memory models, notably C11's release-acquire (RA) consistency. Unfortunately, these developments are seemingly incompatible, since Iris only applies to languages with an operational interleaving semantics, while C11 is defined by a declarative (axiomatic) semantics. In this paper, we show that, on the contrary, it is not only feasible but useful to marry these developments together. Our first step is to provide a novel operational characterization of RA+NA, the fragment of C11 containing RA accesses and "non-atomic" (normal data) accesses. Instantiating Iris with this semantics, we then derive higher-order variants of two prominent RA+NA logics, GPS and RSL. Finally, we deploy these derived logics in order to perform the first mechanical verifications (in Coq) of several interesting case studies of RA+NA programming. In a nutshell, we provide the first foundationally verified framework for proving programs correct under C11's weak-memory semantics.

Cite this record

Jan-Oliver Kaiser, Hoang-Hai Dang, Derek R. Dreyer, Ori Lahav, Viktor Vafeiadis (2017). Strong Logic for Weak Memory: Reasoning About Release-Acquire Consistency in Iris. Leibniz international proceedings in informatics. https://doi.org/10.4230/lipics.ecoop.2017.17

Copy in another style

Kaiser, J., Dang, H., Dreyer, D. R., Lahav, O., & Vafeiadis, V. (2017). Strong Logic for Weak Memory: Reasoning About Release-Acquire Consistency in Iris. Leibniz international proceedings in informatics. https://doi.org/10.4230/lipics.ecoop.2017.17
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.