Relational semantics for effect-based program transformations: Higher-order store

Nick Benton, Andrew Kennedy, Lennart Beringer, Martin Hofmann

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

33 Scopus citations

Abstract

We give a denotational semantics to a type and effect system tracking reading and writing to global variables holding values that may include higher-order effectful functions. Refined types are modelled as partial equivalence relations over a recursively-defined domain interpreting the untyped language, with effect information interpreted in terms of the preservation of certain sets of binary relations on the store. The semantics validates a number of effect-dependent program equivalences and can thus serve as a foundation for effect-based compiler transformations. The definition of the semantics requires the solution of a mixed-variance equation which is not accessible to the hitherto known methods. We illustrate the difficulties with a number of small example equations one of which is still not known to have a solution.

Original languageEnglish (US)
Title of host publicationPPDP'09 - Proceedings of the 11th International ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming
Pages301-311
Number of pages11
DOIs
StatePublished - 2009
Externally publishedYes
Event11th International ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming, PPDP'09 - Coimbra, Portugal
Duration: Sep 7 2009Sep 9 2009

Publication series

NamePPDP'09 - Proceedings of the 11th International ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming

Other

Other11th International ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming, PPDP'09
Country/TerritoryPortugal
CityCoimbra
Period9/7/099/9/09

All Science Journal Classification (ASJC) codes

  • Computational Theory and Mathematics
  • Software

Keywords

  • Domain theory
  • Logical relations
  • Program transformation
  • Type and effect systems

Fingerprint

Dive into the research topics of 'Relational semantics for effect-based program transformations: Higher-order store'. Together they form a unique fingerprint.

Cite this