Unified Fairness for Weak Memory Verification

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Abdulla, Parosh Aziz, Atig, Mohamed Faouzi, Godbole, Adwait, Krishna, Shankaranarayanan, Vahanwala, Mihir
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917770957946880
author Abdulla, Parosh Aziz
Atig, Mohamed Faouzi
Godbole, Adwait
Krishna, Shankaranarayanan
Vahanwala, Mihir
author_facet Abdulla, Parosh Aziz
Atig, Mohamed Faouzi
Godbole, Adwait
Krishna, Shankaranarayanan
Vahanwala, Mihir
contents We consider the verification of omega-regular linear temporal properties of concurrent programs running under weak memory semantics. We observe that in particular, these properties may enforce liveness clauses, whose verification in this context is seldom studied. The challenge lies in precluding demonic nondeterminism arising due to scheduling, as well as due to multiple possible causes of weak memory consistency. We systematically account for the latter with a generic operational model of programs running under weak memory semantics, which can be instantiated to a host of memory models. This generic model serves as the formal basis for our definitions of fairness to preclude demonic nondeterminism: we provide both language-theoretic and probabilistic versions, and prove them equivalent in the context of the verification of omega-regular linear temporal properties. As a corollary of this proof, we obtain that under our fairness assumptions, both qualitative and quantitative verification Turing-reduce to close variants of control state reachability: a safety-verification problem. A preliminary version of this article titled "Overcoming Memory Weakness with Unified Fairness" appeared in the proceedings of CAV 2023.
format Preprint
id arxiv_https___arxiv_org_abs_2305_17605
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Unified Fairness for Weak Memory Verification
Abdulla, Parosh Aziz
Atig, Mohamed Faouzi
Godbole, Adwait
Krishna, Shankaranarayanan
Vahanwala, Mihir
Programming Languages
Logic in Computer Science
F.3.1; F.3.2; D.3.1
We consider the verification of omega-regular linear temporal properties of concurrent programs running under weak memory semantics. We observe that in particular, these properties may enforce liveness clauses, whose verification in this context is seldom studied. The challenge lies in precluding demonic nondeterminism arising due to scheduling, as well as due to multiple possible causes of weak memory consistency. We systematically account for the latter with a generic operational model of programs running under weak memory semantics, which can be instantiated to a host of memory models. This generic model serves as the formal basis for our definitions of fairness to preclude demonic nondeterminism: we provide both language-theoretic and probabilistic versions, and prove them equivalent in the context of the verification of omega-regular linear temporal properties. As a corollary of this proof, we obtain that under our fairness assumptions, both qualitative and quantitative verification Turing-reduce to close variants of control state reachability: a safety-verification problem. A preliminary version of this article titled "Overcoming Memory Weakness with Unified Fairness" appeared in the proceedings of CAV 2023.
title Unified Fairness for Weak Memory Verification
topic Programming Languages
Logic in Computer Science
F.3.1; F.3.2; D.3.1
url https://arxiv.org/abs/2305.17605