,
Arthur Oliveira Vale
,
Zhongye Wang
,
Yueyang Feng
,
Zhong Shao
Creative Commons Attribution 4.0 International license
We present Linearizability Hoare Logic (LHL), the first mechanized, sound, and complete program logic for atomic, set, and interval linearizability. We achieve this by showing soundness and completeness of LHL w.r.t. a more general criterion, compositional linearizability, which subsumes all three criteria. We showcase the expressivity of LHL by verifying an exchanger with a set linearizable specification, the elimination-backoff stack built above the exchanger, a lock with an atomic linearized specification, and a write-snapshot object with an interval linearizable specification. Together with LHL we formalize a modular verification framework for concurrent components based on the theory of compositional linearizability. This allows us to specify components at a high level of abstraction and granularity, and then assemble them into large systems that are correct by construction. As a showcase, we verify the elimination-backoff stack modularly by verifying each of its sub-components against their linearized specifications and then linking them together.
@InProceedings{hatti_et_al:LIPIcs.ECOOP.2026.11,
author = {Hatti, Eashan and Oliveira Vale, Arthur and Wang, Zhongye and Feng, Yueyang and Shao, Zhong},
title = {{A Complete Program Logic for Compositional Linearizability}},
booktitle = {40th European Conference on Object-Oriented Programming (ECOOP 2026)},
pages = {11:1--11:28},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-423-9},
ISSN = {1868-8969},
year = {2026},
volume = {372},
editor = {Krebbers, Robbert and Silva, Alexandra},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2026.11},
URN = {urn:nbn:de:0030-drops-261075},
doi = {10.4230/LIPIcs.ECOOP.2026.11},
annote = {Keywords: Program Logic, Rely-Guarantee, Linearizability, Compositional Verification, Concurrency}
}
archived version
archived version