• DocumentCode
    3637675
  • Title

    A Generic Operational Metatheory for Algebraic Effects

  • Author

    Patricia Johann;Alex Simpson;Janis Voigtländer

  • Author_Institution
    Dept. of Comput. &
  • fYear
    2010
  • Firstpage
    209
  • Lastpage
    218
  • 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.
  • Keywords
    "Semantics","Context","Syntactics","Machinery","Pediatrics","Manganese","Equations"
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science (LICS), 2010 25th Annual IEEE Symposium on
  • ISSN
    1043-6871
  • Print_ISBN
    978-1-4244-7588-9
  • Type

    conf

  • DOI
    10.1109/LICS.2010.29
  • Filename
    5571705