A Formal, Resource Consumption-Preserving Translation of Actors to Haskell

Elvira Albert,Nikolaos Bezirgiannis,Frank de Boer,Enrique Martin-Martin
DOI: https://doi.org/10.48550/arXiv.1608.02896
2016-08-10
Abstract:We present a formal translation of an actor-based language with cooperative scheduling to the functional language Haskell. The translation is proven correct with respect to a formal semantics of the source language and a high-level operational semantics of the target, i.e. a subset of Haskell. The main correctness theorem is expressed in terms of a simulation relation between the operational semantics of actor programs and their translation. This allows us to then prove that the resource consumption is preserved over this translation, as we establish an equivalence of the cost of the original and Haskell-translated execution traces.
Programming Languages,Logic in Computer Science
What problem does this paper attempt to address?