用块和过程实现并行程序的反转
Reversing Parallel Programs with Blocks and Procedures
摘要:
我们展示了如何逆转一个而语言扩展块,局部变量,程序和交错并行组合。注释与一组能够存储必要的反转信息的操作语义一起定义,并且引入标识符来捕获执行的交织顺序。反转是用一组操作语义定义的,这些操作语义使用保存的信息来撤消执行。我们证明,注释不会改变原程序的行为,反转正确地恢复初始程序状态。
英文摘要:
We show how to reverse a while language extended with blocks, local variables, procedures and the interleaving parallel composition. Annotation is defined along with a set of operational semantics capable of storing necessary reversal information, and identifiers are introduced to capture the interleaving order of an execution. Inversion is defined with a set of operational semantics that use saved information to undo an execution. We prove that annotation does not alter the behaviour of the original program, and that inversion correctly restores the initial program state.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。