Deductive Verification of Weak Memory Programs with View-based Protocols (extended version)

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Şakar, Ömer, Chakraborty, Soham, Huisman, Marieke, Wijs, Anton
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908987965833216
author Şakar, Ömer
Chakraborty, Soham
Huisman, Marieke
Wijs, Anton
author_facet Şakar, Ömer
Chakraborty, Soham
Huisman, Marieke
Wijs, Anton
contents Concurrent programming under weak memory concurrency faces substantial challenges to ensure correctness due to program behaviors that cannot be explained by thread interleaving, a.k.a. sequential consistency. While several program logics are proposed to reason about weak memory concurrency, their usage has been limited to intricate manual proofs. On the other hand, the VerCors verifier provides a rich toolset for automated deductive verification for sequential consistency. In this paper, we bridge this gap for automated deductive verification of weak memory concurrent programs with the VerCors deductive verification tool. We propose an approach to encode weak memory concurrency in VerCors. We develop VerCors-relaxed, where we extend the VerCors atomics support and bring concepts from several protocol automata to encode permission-based separation logics for weak memory concurrency models. To demonstrate the effectiveness of our approach, we encode the relaxed fragment of the SLR program logic, a recent state-of-the-art permission-based separation logic for weak memory concurrency in VerCors-relaxed, our extension of VerCors. We use the SLR encoding on VerCors-relaxed to automatically verify several examples from the literature within realistic performance.
format Preprint
id arxiv_https___arxiv_org_abs_2604_21084
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Deductive Verification of Weak Memory Programs with View-based Protocols (extended version)
Şakar, Ömer
Chakraborty, Soham
Huisman, Marieke
Wijs, Anton
Logic in Computer Science
Concurrent programming under weak memory concurrency faces substantial challenges to ensure correctness due to program behaviors that cannot be explained by thread interleaving, a.k.a. sequential consistency. While several program logics are proposed to reason about weak memory concurrency, their usage has been limited to intricate manual proofs. On the other hand, the VerCors verifier provides a rich toolset for automated deductive verification for sequential consistency. In this paper, we bridge this gap for automated deductive verification of weak memory concurrent programs with the VerCors deductive verification tool. We propose an approach to encode weak memory concurrency in VerCors. We develop VerCors-relaxed, where we extend the VerCors atomics support and bring concepts from several protocol automata to encode permission-based separation logics for weak memory concurrency models. To demonstrate the effectiveness of our approach, we encode the relaxed fragment of the SLR program logic, a recent state-of-the-art permission-based separation logic for weak memory concurrency in VerCors-relaxed, our extension of VerCors. We use the SLR encoding on VerCors-relaxed to automatically verify several examples from the literature within realistic performance.
title Deductive Verification of Weak Memory Programs with View-based Protocols (extended version)
topic Logic in Computer Science
url https://arxiv.org/abs/2604.21084