Sciweavers

POPL
2012
ACM

Algebraic foundations for effect-dependent optimisations

12 years 7 months ago
Algebraic foundations for effect-dependent optimisations
We present a general theory of Gifford-style type and effect annotations, where effect annotations are sets of effects. Generality is achieved by recourse to the theory of algebraic effects, a development of Moggi’s monadic theory of computational effects that emphasises the operations causing the effects at hand and their equational theory. The key observation is that annotation effects can be identified with operation symbols. We develop an annotated version of Levy’s Call-by-Push-Value language with a kind of computations for every effect set; it can be thought of as a sequential, annotated intermediate language. We develop a range of validated optimisations (i.e., equivalences), generalising many existing ones and adding new ones. We classify timisations as structural, algebraic, or abstract: structural optimisations always hold; algebraic ones depend on the effect t hand; and abstract ones depend on the global nature of that theory (we give modularly-checkable sufficient co...
Ohad Kammar, Gordon D. Plotkin
Added 25 Apr 2012
Updated 25 Apr 2012
Type Journal
Year 2012
Where POPL
Authors Ohad Kammar, Gordon D. Plotkin
Comments (0)