arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.05334cs.LOcs.DM
收藏

busy-forbidden协议的验证(使用cone和focus框架的扩展)

Verification of the busy-forbidden protocol (using an extension of the cones and foci framework)

P. H. M. van Spaendonck

摘要:

busy-forbidden协议是一种新的读写器锁,在读取器之间没有资源争用,这使得它的性能优于其他锁。对于它的验证,它的实现和它的不太复杂的外部行为的规范是由原作者提供的,但只证明了最多7个线程的等效性。我们提供了一个一般的证明使用锥和焦点证明框架,它重新措辞是否两个规范分支bisimilarily在实现和规范中发生的数据对象之间的关系的证明义务。我们提供了这个框架的扩展,包括数据对象的三个附加属性,当这三个附加属性也成立时,这两个系统是保持分歧的分支双相似的,上述关系的更强版本,也区分活锁。我们证明了这个扩展是健全的,并使用它给一个一般的等价性证明繁忙禁止协议。

英文摘要:

The busy-forbidden protocol is a new readers-writer lock with no resource contention between readers, which allows it to outperform other locks. For its verification, specifications of its implementation and its less complex external behavior are provided by the original authors but are only proven equivalent for up to 7 threads. We provide a general proof using the cones and foci proof framework, which rephrases whether two specifications are branching bisimilar in terms of proof obligations on relations between the data objects occurring in the implementation and specification. We provide an extension of this framework consisting of three additional properties on data objects, When these three additional properties also hold, the two systems are divergence-preserving branching bisimilar, a stronger version of the aforementioned relation that also distinguishes livelock. We prove this extension to be sound and use it to give a general equivalence proof for the busy-forbidden protocol.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑