A generic operational metatheory for algebraic effects

Patricia Johann, Alex Simpson, Janis Voigtlaender

Research output: Chapter in Book/Report/Conference proceedingConference contribution book

24 Citations (Scopus)
57 Downloads (Pure)

Abstract

We provide a syntactic analysis of contextual preorder and equivalence for a polymorphic programming language with effects. Our approach applies uniformly across a range of algebraic effects, and incorporates, as instances: errors, input/output, global state, nondeterminism, probabilistic choice, and combinations thereof. Our approach is to extend Plotkin and Power’s structural operational semantics for algebraic effects (FoSSaCS 2001) with a primitive “basic preorder” on ground type computation trees. The basic preorder is used to derive notions of contextual preorder and equivalence on program terms. Under mild assumptions on this relation, we prove fundamental properties of contextual
preorder (hence equivalence) including extensionality properties and a characterisation via applicative contexts, and we provide machinery for reasoning about polymorphism using relational parametricity.
Original languageEnglish
Title of host publicationProceedings of 25th Annual IEEE Symposium on Logic in Computer Science
Pages209-218
Number of pages10
DOIs
Publication statusPublished - 2010

Keywords

  • algebra
  • operational metatheory
  • logic models

Fingerprint Dive into the research topics of 'A generic operational metatheory for algebraic effects'. Together they form a unique fingerprint.

  • Cite this

    Johann, P., Simpson, A., & Voigtlaender, J. (2010). A generic operational metatheory for algebraic effects. In Proceedings of 25th Annual IEEE Symposium on Logic in Computer Science (pp. 209-218) https://doi.org/10.1109/LICS.2010.29