【24h】

Views: Compositional Reasoning for Concurrent Programs

机译:视图:并行程序的组成推理

获取原文

摘要

Compositional abstractions underly many reasoning principles for concurrent programs: the concurrent environment is abstracted in order to reason about a thread in isolation; and these abstractions are composed to reason about a program consisting of many threads. For instance, separation logic uses formulae that describe part of the state, abstracting the rest; when two threads use disjoint state, their specifications can be composed with the separating conjunction. Type systems abstract the state to the types of variables; threads may be composed when they agree on the types of shared variables. In this paper, we present the 'Concurrent Views Framework', a metatheory of concurrent reasoning principles. The theory is pa-rameterised by an abstraction of state with a notion of composition, which we call views. The metatheory is remarkably simple, but highly applicable: the rely-guarantee method, concurrent separation logic, concurrent abstract predicates, type systems for recursive references and for unique pointers, and even an adaptation of the Owicki-Gries method can all be seen as instances of the Concurrent Views Framework. Moreover, our metatheory proves each of these systems is sound without requiring induction on the operational semantics.
机译:组合抽象在并发程序的许多推理原理中没有:并发环境是抽象的,目的是为了隔离一个线程。这些抽象是为了推理一个由许多线程组成的程序。例如,分离逻辑使用描述状态一部分的公式来抽象其余状态;当两个线程使用不相交状态时,它们的规格可以用分隔符组成。类型系统将状态抽象为变量的类型。当它们在共享变量的类型上达成共识时,就可以组成线程。在本文中,我们提出了“并发视图框架”,即并发推理原理的元理论。该理论由状态抽象和构成概念(我们称为视图)来参数化。元理论非常简单,但具有很高的适用性:依赖保证方法,并发分离逻辑,并发抽象谓词,递归引用和唯一指针的类型系统,甚至是Owicki-Gries方法的改编都可以看作实例。并发视图框架。而且,我们的元理论证明了这些系统中的每一个都是健全的,而无需对操作语义进行归纳。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号