A Sound and Complete Logic for Algebraic Effects
Cristina Matache ( University of Oxford )
- 14:00 20th March 2019 ( Hilary Term 2019 )LTB
This work investigates three notions of program equivalence for a higher-order functional language with recursion and general algebraic effects, in which programs are written in continuation-passing style. Our main contribution is the following: we define a logic whose formulas express program properties and show that, under certain conditions which we identify, the induced program equivalence coincides with a contextual equivalence. Moreover, we show that this logical equivalence also coincides with an applicative bisimilarity. We exemplify our general results with the nondeterminism, probabilistic choice, global store and I/O effects.
This is a joint paper with Sam Staton, to be presented at FoSSaCS 2019.