Mechanically verified proof obligations for linearizability
Mechanically verified proof obligations for linearizability
复制标题
DOI:
10.1145/1889997.1890001
复制
发表时间:
2011
期刊:
影响因子:
--
通讯作者:
J. Derrick;G. Schellhorn;H. Wehrheim
中科院分区:
文献类型:
--
作者:
J. Derrick;G. Schellhorn;H. Wehrheim
Concurrent objects are inherently complex to verify. In the late 80s and early 90s, Herlihy and Wing proposed linearizability as a correctness condition for concurrent objects, which, once proven, allows us to reason about concurrent objects using pre- and postconditions only. A concurrent object is linearizable if all of its operations appear to take effect instantaneously some time between their invocation and return. In this article we define simulation-based proof conditions for linearizability and apply them to two concurrent implementations, a lock-free stack and a set with lock-coupling. Similar to other approaches, we employ a theorem prover (here, KIV) to mechanize our proofs. Contrary to other approaches, we also use the prover to mechanically check that our proof obligations actually guarantee linearizability. This check employs the original ideas of Herlihy and Wing of verifying linearizability via possibilities.