A Theory of Reversibility for Erlang
Programming Languages
2018-06-20 v1 Logic in Computer Science
Abstract
In a reversible language, any forward computation can be undone by a finite sequence of backward steps. Reversible computing has been studied in the context of different programming languages and formalisms, where it has been used for testing and verification, among others. In this paper, we consider a subset of Erlang, a functional and concurrent programming language based on the actor model. We present a formal semantics for reversible computation in this language and prove its main properties, including its causal consistency. We also build on top of it a rollback operator that can be used to undo the actions of a process up to a given checkpoint.
Keywords
Cite
@article{arxiv.1806.07100,
title = {A Theory of Reversibility for Erlang},
author = {Ivan Lanese and Naoki Nishida and Adrián Palacios and Germán Vidal},
journal= {arXiv preprint arXiv:1806.07100},
year = {2018}
}
Comments
To appear in the Journal of Logical and Algebraic Methods in Programming (Elsevier)