RMIT University
Browse

The Benefits of Duality in Verifying Concurrent Programs under TSO

conference contribution
posted on 2024-11-03, 14:55 authored by Parosh Abdulla, Mohamed Atig, Ahmed Bouajjani, Phong NgoPhong Ngo
We address the problem of verifying safety properties of concurrent programs running over the TSO memory model. Known decision procedures for this model are based on complex encodings of store buffers as lossy channels. These procedures assume that the number of processes is fixed. However, it is important in general to prove correctness of a system/algorithm in a parametric way with an arbitrarily large number of processes. In this paper, we introduce an alternative (yet equivalent) semantics to the classical one for the TSO model that is more amenable for efficient algorithmic verification and for extension to parametric verification. For that, we adopt a dual view where load buffers are used instead of store buffers. The flow of information is now from the memory to load buffers. We show that this new semantics allows (1) to simplify drastically the safety analysis under TSO, (2) to obtain a spectacular gain in efficiency and scalability compared to existing procedures, and (3) to extend easily the decision procedure to the parametric case, which allows to obtain a new decidability result, and more importantly, a verification algorithm that is more general and more efficient in practice than the one for bounded instances.

History

Related Materials

  1. 1.
    DOI - Is published in 10.4230/LIPIcs.CONCUR.2016.5
  2. 2.
    ISBN - Is published in 9783959770170 (urn:isbn:9783959770170)

Start page

1

End page

15

Total pages

15

Outlet

Proceedings of the 27th International Conference on Concurrency Theory

Editors

Josée Desharnais and Radha Jagadeesan

Name of conference

CONCUR 2016

Publisher

Dagstuhl Publishing

Place published

Germany

Start date

2016-08-23

End date

2016-08-26

Language

English

Copyright

© Parosh Aziz Abdulla, Mohamed Faouzi Atig, Ahmed Bouajjani, and Tuan Phong Ngo; licensed under Creative Commons License CC-BY

Former Identifier

2006119700

Esploro creation date

2023-01-30

Usage metrics

    Scholarly Works

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC