Leaf:用于分离逻辑中临时共享的模块化(扩展版本)
Leaf: Modularity for Temporary Sharing in Separation Logic (Extended Version)
AI总结:
针对并发验证中临时共享状态的处理难题,提出Iris分离逻辑库Leaf,通过引入guarding算子实现模块化抽象,支持用户验证新共享策略,并以读写锁和哈希表案例验证了其有效性。
摘要:
在并发验证中,分离逻辑为处理独占资源和永久(即永远)共享资源提供了强有力的理论支持。然而,对于临时共享状态,情况更为复杂,状态可能被共享,随后又恢复为独占。我们认为,用于临时共享状态的框架应达到现有技术未能充分实现的两个关键目标。其一,它应允许并鼓励用户验证新的共享策略。其二,它应提供一种抽象,使用户能够以与共享方式无关的方式操纵共享状态。我们提出了Leaf,这是Iris分离逻辑中的一个库,通过引入一种新颖的算子(我们称之为guarding)实现了这两个目标,该算子允许一个命题表示另一个命题的共享版本。我们通过模块化案例研究证明Leaf达到了这两个目标:我们验证了支持共享状态的读写锁,以及在其之上构建的、使用共享状态的哈希表。
英文摘要:
In concurrent verification, separation logic provides a strong story for handling both resources that are owned exclusively and resources that are shared persistently (i.e., forever). However, the situation is more complicated for temporarily shared state, where state might be shared and then later reclaimed as exclusive. We believe that a framework for temporarily-shared state should meet two key goals not adequately met by existing techniques. One, it should allow and encourage users to verify new sharing strategies. Two, it should provide an abstraction where users manipulate shared state in a way agnostic to the means with which it is shared. We present Leaf, a library in the Iris separation logic which accomplishes both of these goals by introducing a novel operator, which we call guarding, that allows one proposition to represent a shared version of another. We demonstrate that Leaf meets these two goals through a modular case study: we verify a reader-writer lock that supports shared state, and a hash table built on top of it that uses shared state.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。