Automatic Verification of Multi-threaded Programs by Inference of Rely-Guarantee Specifications
Abstract
Rely-Guarantee is a comprehensive technique that supports compositional reasoning for concurrent programs. However, specifications of the Rely condition - environment interference, and Guarantee condition - local transformation of thread state - are challenging to establish. Thus the construction of these conditions becomes bottleneck in automating the technique. To tackle the above problem, we propose a verification framework that, based on Rely-Guarantee principles, constructs the correctness proof of concurrent program through inferring suitable Rely -Guarantee conditions automatically. Our framework first constructs a Hoare-style sequential proof for each thread and then applies abstraction refinement to elevate these proofs into concurrent ones with appropriate Rely-Guarantee relations. Experiment results demonstrate that our approach is efficient in proving the correctness of concurrent programs.
BibTeX
@inproceedings{le2020automatic,
author = {Xuan-Bach Le and David Sanán and Jun Sun and Shang-Wei Lin},
title = {{Automatic Verification of Multi-threaded Programs by Inference of Rely-Guarantee Specifications}},
booktitle = {ICECCS},
year = {2020},
url = {https://openreview.net/forum?id=bcqxoUQk0u},
}Ask Althea to put this paper to the test.
Loading related content...