arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1104.2936cs.LO
收藏

异步副作用过程的共归纳演算

A Coinductive Calculus for Asynchronous Side-effecting Processes

Sergey Goncharov, Lutz Schröder

摘要:

我们提出了一个抽象的并发进程的框架,其中原子步骤具有通用的副作用,处理效果的一元封装的原则。在这个框架中的过程是潜在的无限的选择,使用一元基上的最终余代数建模。作为这样的过程的演算,我们引入了并发扩展的莫吉的一元语言的影响。我们建立健全性和完整性的一个自然的方程式公理化的这种演算。此外,我们确定了一个corecursion计划,是明确定义的基础语言,并提供了灵活的表达手段的定义新的运营商的进程,如并行组合。作为一个工作的例子,我们证明了一个通用的互斥方案使用的验证逻辑建立在上面的方程演算的安全性。

英文摘要:

We present an abstract framework for concurrent processes in which atomic steps have generic side effects, handled according to the principle of monadic encapsulation of effects. Processes in this framework are potentially infinite resumptions, modelled using final coalgebras over the monadic base. As a calculus for such processes, we introduce a concurrent extension of Moggi's monadic metalanguage of effects. We establish soundness and completeness of a natural equational axiomatisation of this calculus. Moreover, we identify a corecursion scheme that is explicitly definable over the base language and provides flexible expressive means for the definition of new operators on processes, such as parallel composition. As a worked example, we prove the safety of a generic mutual exclusion scheme using a verification logic built on top of the equational calculus.

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

↑