论文标题

关于并发分离逻辑的代数抽象

On Algebraic Abstractions for Concurrent Separation Logics

论文作者

Farka, František, Nanevski, Aleksandar, Banerjee, Anindya, Delbianco, Germán Andrés, Fábregas, Ignacio

论文摘要

并发的分离逻辑是通过在平行组成和框架时转移国有所有权的区分。支撑所有权转让的代数结构是部分交换单体(PCM)。现有的研究主要从逻辑角度考虑所有权转移,而对代数考虑的关注相对较少。本文通过在PCMS之间具有结构性的部分功能(即形态)和相关的分离关系概念来提供同时分离逻辑中所有权转移的代数形式化。结构的形态是代数和类别理论中的标准概念,但以前从未见过无处不在的使用。分离关系的是二进制关系,它概括了偏见并表征了形态保留结构的输入。这两个抽象通过启用简洁的编写规范方式,通过提供在所有权传输下保存的线程状态的抽象视图,并通过启用用户级构建新的PCMS中的新PCMS来促进验证。

Concurrent separation logic is distinguished by transfer of state ownership upon parallel composition and framing. The algebraic structure that underpins ownership transfer is that of partial commutative monoids (PCMs). Extant research considers ownership transfer primarily from the logical perspective while comparatively less attention is drawn to the algebraic considerations. This paper provides an algebraic formalization of ownership transfer in concurrent separation logic by means of structure-preserving partial functions (i.e., morphisms) between PCMs, and an associated notion of separating relations. Morphisms of structures are a standard concept in algebra and category theory, but haven't seen ubiquitous use in separation logic before. Separating relations are binary relations that generalize disjointness and characterize the inputs on which morphisms preserve structure. The two abstractions facilitate verification by enabling concise ways of writing specs, by providing abstract views of threads' states that are preserved under ownership transfer, and by enabling user-level construction of new PCMs out of existing ones.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源