A monadic formalization of ML5

5Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

ML5 is a programming language for spatially distributed computing, based on a Curry-Howard correspondence with the modal logic S5. However, the ML5 programming language differs from the logic in several ways. In this paper, we give a semantic embedding of ML5 into the dependently typed programming language Agda, which both explains these discrepancies between ML5 and S5 and suggests some simplifications and generalizations of the language. Our embedding translates ML5 into a slightly different logic: intuitionistic S5 extended with a lax modality that encapsulates effectful computations in a monad. Rather than formalizing lax S5 as a proof theory, we embed it as a universe within the the dependently typed host language, with the universe elimination given by implementing the modal logic's Kripke semantics.

Cite

CITATION STYLE

APA

Licata, D. R., & Harper, R. (2010). A monadic formalization of ML5. In Electronic Proceedings in Theoretical Computer Science, EPTCS (Vol. 34, pp. 69–83). Open Publishing Association. https://doi.org/10.4204/EPTCS.34.7

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free