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

在并发细化代数中推理分配律

Reasoning about distributive laws in a concurrent refinement algebra

Larissa A. Meinicke, Ian J. Hayes

AI总结:

本文聚焦并发细化代数,通过支持有限与无限行为实现完全正确性,提出并证明了作为等式的强分配律,用于分配 rely/guarantee 命令并处理并发程序的数据细化。

摘要:

分配律对于算术和逻辑中的代数推理很重要。它们对于并发程序的代数推理同样重要。在诸如 Concurrent Kleene Algebra 等现有理论中,仅处理部分正确性,且其许多分配律是弱的,即它们仅是单方向的细化,而非等式。本文的重点是加强我们的理论以支持作为等式的强分配律的证明,并由此得出相当一般的定律。我们的并发细化代数通过允许有限和无限行为来支持完全正确性。它通过将 rely 和 guarantee 条件编码为 rely 和 guarantee 命令来支持 Jones 的 rely/guarantee 方法。随后,强分配律可用于将 rely 和 guarantee 命令分配到顺序组合以及迭代中(和迭代外)。对于处理并发程序的数据细化,强分配律是必不可少的。

英文摘要:

Distributive laws are important for algebraic reasoning in arithmetic and logic. They are equally important for algebraic reasoning about concurrent programs. In existing theories such as Concurrent Kleene Algebra, only partial correctness is handled, and many of its distributive laws are weak, in the sense that they are only refinements in one direction, rather than equalities. The focus of this paper is on strengthening our theory to support the proof of strong distributive laws that are equalities, and in doing so come up with laws that are quite general. Our concurrent refinement algebra supports total correctness by allowing both finite and infinite behaviours. It supports the rely/guarantee approach of Jones by encoding rely and guarantee conditions as rely and guarantee commands. The strong distributive laws may then be used to distribute rely and guarantee commands over sequential compositions and into (and out of) iterations. For handling data refinement of concurrent programs, strong distributive laws are essential.

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

↑