A General Approach to Derive Uncontrolled Reversible Semantics (TR) - Archive ouverte HAL Access content directly
Reports (Research Report) Year : 2020

A General Approach to Derive Uncontrolled Reversible Semantics (TR)


Reversible computing is a paradigm where programs can execute backward as well as in the usual forward direction. Reversible computing is attracting interest due to its applications in areas as different as biochemical modelling, simulation, robotics and debugging, among others. In concurrent systems the main notion of reversible computing is called causal-consistent reversibility, and it allows one to undo an action if and only if its consequences, if any, have already been undone. This paper presents a general and automatic technique to define a causal-consistent reversible extension for given forward models. We support models defined using a reduction semantics in a specific format and consider a causality relation based on resources consumed and produced. The considered format is general enough to fit many formalisms studied in the literature on causal-consistent reversibility, notably Higher-Order π-calculus and Core Erlang, an intermediate language in the Erlang compilation. Reversible extensions of these models in the literature are ad hoc, while we build them using the same general technique. This also allows us to show in a uniform way that a number of relevant properties, causal-consistency in particular, hold in the reversible extensions we build. Our technique also allows us to go beyond the reversible models in the literature: we cover a larger fragment of Core Erlang, including remote error handling based on links, which has never been considered in the reversibility literature.
Fichier principal
Vignette du fichier
main.pdf (700.99 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-02902204 , version 1 (18-07-2020)


  • HAL Id : hal-02902204 , version 1


Ivan Lanese, Doriana Medić. A General Approach to Derive Uncontrolled Reversible Semantics (TR). [Research Report] INRIA Sophia Antipolis - Méditerranée; Universita di Bologna. 2020. ⟨hal-02902204⟩
60 View
88 Download


Gmail Facebook X LinkedIn More