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

可逆计算的一个公理化理论

An Axiomatic Theory for Reversible Computation

Ivan Lanese, Iain Phillips, Irek Ulidowski

AI总结:

本文提出一套公理,用于统一可逆计算的各种性质,并引入因果活性与因果安全性两个新性质,简化了可逆系统的验证。

摘要:

撤销并发系统的计算在许多情况下是有益的,例如在多线程程序的可逆调试中,以及在并行离散事件模拟中由于乐观执行导致的错误恢复中。已经提出了多种方法来逆转并发计算的正式模型,包括诸如CCS之类的进程演算、诸如Erlang之类的语言,以及诸如素数事件结构和发生网之类的抽象模型。然而,可逆系统应具备哪些性质,以及所提出的各种性质(如抛物线引理和因果一致性)之间的关系,尚未得到解决。我们通过使用一个配备有捕获转换是否独立的关系的通用标记转换系统,来探索各种可逆性质之间的蕴含关系,从而为这些问题提供解决方案。特别地,我们展示了我们考虑的所有性质如何从一组公理中推导出来。我们的意图是,在建立某个形式体系的性质时,验证公理将比直接证明诸如抛物线引理之类的性质更容易。我们还引入了两个与因果一致可逆性相关的新性质,即因果活性和因果安全性,分别表明:一个动作可以被撤销,当且仅当(因果活性)它与所有后续动作独立(因果安全性)。这些性质有三种形式:基于独立转换、独立事件或通过事件上的排序来定义。因果活性和因果安全性都可以从我们的公理中推导出来。

英文摘要:

Undoing computations of a concurrent system is beneficial in many situations, e.g., in reversible debugging of multi-threaded programs and in recovery from errors due to optimistic execution in parallel discrete event simulation. A number of approaches have been proposed for how to reverse formal models of concurrent computation including process calculi such as CCS, languages like Erlang, and abstract models such as prime event structures and occurrence nets. However it has not been settled what properties a reversible system should enjoy, nor how the various properties that have been suggested, such as the parabolic lemma and the causal-consistency property, are related. We contribute to a solution to these issues by using a generic labelled transition system equipped with a relation capturing whether transitions are independent to explore the implications between various reversibility properties. In particular, we show how all properties we consider are derivable from a set of axioms. Our intention is that when establishing properties of some formalism it will be easier to verify the axioms rather than proving properties such as the parabolic lemma directly. We also introduce two new properties related to causal consistent reversibility, namely causal liveness and causal safety, stating, respectively, that an action can be undone if (causal liveness) and only if (causal safety) it is independent from all the following actions. These properties come in three flavours: defined in terms of independent transitions, independent events, or via an ordering on events. Both causal liveness and causal safety are derivable from our axioms.

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

↑