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

revTPL:可逆时序进程语言

revTPL: The Reversible Temporal Process Language

Laura Bocchi, Ivan Lanese, Claudio Antares Mezzina, Shoji Yuen

AI总结:

本文提出 revTPL,将因果一致可逆性引入带离散时间和超时算子的时序进程语言 TPL,证明其满足因果一致可逆演算性质,并说明其可视为带时间的可逆 CCS 扩展。

摘要:

可逆调试器通过从观察到异常行为的点开始反向执行程序,并查找导致该异常的错误,帮助程序员更快地找到并发程序中异常行为的原因。可逆调试器可以建立在研究较为成熟的因果一致可逆性理论之上,该理论只允许撤销一个动作,前提是其后果(如果有的话)已事先被撤销。因果一致可逆性通过减少反向查找时需要探索的状态数量,实现了更高效的调试。迄今为止,因果一致可逆性从未考虑过时间,而时间在现实世界应用中是一个关键方面。在此,我们通过进程代数研究并发系统中可逆性与时间之间的相互作用。Hennessy 和 Regan 提出的时序进程语言(TPL)是对具有离散时间和超时算子的 CCS 的一种被充分理解的扩展。我们定义了 revTPL,即 TPL 的可逆扩展,并证明它满足因果一致可逆演算所期望的性质。我们还表明,revTPL 也可以被解释为带时间的可逆 CCS 的扩展。

英文摘要:

Reversible debuggers help programmers to find the causes of misbehaviours in concurrent programs more quickly, by executing a program backwards from the point where a misbehaviour was observed, and looking for the bug(s) that caused it. Reversible debuggers can be founded on the well-studied theory of causal-consistent reversibility, which only allows one to undo an action provided that its consequences, if any, are undone beforehand. Causal-consistent reversibility yields more efficient debugging by reducing the number of states to be explored when looking backwards. Till now, causal-consistent reversibility has never considered time, which is a key aspect in real-world applications. Here, we study the interplay between reversibility and time in concurrent systems via a process algebra. The Temporal Process Language (TPL) by Hennessy and Regan is a well-understood extension of CCS with discrete-time and a timeout operator. We define revTPL, a reversible extension of TPL, and we show that it satisfies the properties expected from a causal-consistent reversible calculus. We show that, alternatively, revTPL can be interpreted as an extension of reversible CCS with time.

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

↑