|COOKIES: By using this website you agree that we can place Google Analytics Cookies on your device for performance monitoring.|
An algebraic theory of type-and-effect systems
If you have a question about this talk, please contact Jonathan Hayman.
We present a theory of Gifford-style type-and-effect annotations, where effect annotations are sets of effects, such as memory accesses or exceptions. Our theory accounts for effect-dependent program transformations for functional-imperative languages, as used in optimising compilers. 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. The key observation is that annotation effects denote algebraic operations.
After presenting our general type-and-effect system and its semantics, we validate and generalise existing optimisations and add new ones. Our theory also suggests a classification of these optimisations into three classes, structural, local, and global: structural optimisations always hold; local ones depend on the effect theory at hand; and global ones depend on the global nature of that theory, such as idempotency or absorption laws. We also give modularly-checkable necessary and sufficient conditions for validating the optimisations.
Joint work with Gordon Plotkin.
This talk is part of the Logic and Semantics Seminar (Computer Laboratory) series.
This talk is included in these lists:
Note that ex-directory lists are not shown.
Other listsComputer Laboratory Wednesday Seminars Milcho Manchevski in Cambridge Wolfson Research Event
Other talksDetecting Dark Energy with Atom Interferometry Rumour Has It: Rumour Adoption in Conflict-Affected Areas The Portuguese Carnation Revolution and the female body in protest Why fracking works and why not well enough The quest for electron-hole superfluidity Adam Zagajewski: An Evening of Poetry