一种形式化的、资源消耗保持的Actors到Haskell的翻译
A Formal, Resource Consumption-Preserving Translation of Actors to Haskell
摘要:
我们提出了一个正式的翻译的演员为基础的语言与合作调度的功能语言Haskell。翻译被证明是正确的,相对于源语言的形式语义和目标的高级操作语义,即Haskell的子集。主要的正确性定理表示在演员程序的操作语义和他们的翻译之间的模拟关系。这使我们能够证明资源消耗在这种转换中得到了保留,因为我们建立了原始和Haskell转换的执行跟踪的成本等价。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。