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

重构一种并发精化代数

Restructuring a concurrent refinement algebra

Ian J. Hayes, Larissa A. Meinicke, Naso Evangelou-Oost

AI总结:

本文重构支持 rely/guarantee 推理的并发精化代数,统一其 quantale/biquantale 结构并强化交换与分配性质,且在 Isabelle/HOL 中实现。

摘要:

并发精化代数的开发旨在支持对并发程序进行 rely/guarantee 推理。该代数支持原子命令,并像 Milner 的 SCCS 一样,将并行组合定义为一种同步操作。为了允许规约被组合,该代数还提供了弱合取操作;它同样是一种同步操作,并与并行组合共享许多性质。三个主要操作——顺序组合、并行组合和弱合取——都在命令格上遵循一种(弱)quantale 结构。进一步的结构涉及这些操作的成对组合:顺序/并行、顺序/弱合取以及并行/弱合取;每一对都满足类似于 Concurrent Kleene Algebra 的弱交换律。这些操作对中的每一对都满足一种共同的 biquantale 结构。论文还通过相容的命令集合加入了额外结构,包括测试、原子命令和伪原子命令。这些结构允许更强的(等式)交换律和分配律。本文描述了为更好地利用这些共性而对该代数进行重构的结果。该代数已在 Isabelle/HOL 中实现。

英文摘要:

The concurrent refinement algebra has been developed to support rely/guarantee reasoning about concurrent programs. The algebra supports atomic commands and defines parallel composition as a synchronous operation, as in Milner's SCCS. In order to allow specifications to be combined, the algebra also provides a weak conjunction operation, which is also a synchronous operation that shares many properties with parallel composition. The three main operations, sequential composition, parallel composition and weak conjunction, all respect a (weak) quantale structure over a lattice of commands. Further structure involves combinations of pairs of these operations: sequential/parallel, sequential/weak conjunction and parallel/weak conjunction, each pair satisfying a weak interchange law similar to Concurrent Kleene Algebra. Each of these pairs satisfies a common biquantale structure. Additional structure is added via compatible sets of commands, including tests, atomic commands and pseudo-atomic commands. These allow stronger (equality) interchange and distributive laws. This paper describes the result of restructuring the algebra to better exploit these commonalities. The algebra is implemented in Isabelle/HOL.

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

↑