English

Relational Parametricity for Computational Effects

Programming Languages 2019-03-14 v2 Logic in Computer Science

Abstract

According to Strachey, a polymorphic program is parametric if it applies a uniform algorithm independently of the type instantiations at which it is applied. The notion of relational parametricity, introduced by Reynolds, is one possible mathematical formulation of this idea. Relational parametricity provides a powerful tool for establishing data abstraction properties, proving equivalences of datatypes, and establishing equalities of programs. Such properties have been well studied in a pure functional setting. Many programs, however, exhibit computational effects, and are not accounted for by the standard theory of relational parametricity. In this paper, we develop a foundational framework for extending the notion of relational parametricity to programming languages with effects.

Keywords

Cite

@article{arxiv.0906.5488,
  title  = {Relational Parametricity for Computational Effects},
  author = {Rasmus Ejlers Møgelberg and Alex Simpson},
  journal= {arXiv preprint arXiv:0906.5488},
  year   = {2019}
}

Comments

31 pages, appears in Logical Methods in Computer Science

R2 v1 2026-06-21T13:19:25.522Z