Seminaire des équipes de recheche
A Logical Relation for Monadic Encapsulation of State: Proving contextual equivalences in the presence of runST
- Date : 7/12/2017
- Lieu : INRIA - Paris -2 rue Simone Iff - Salle Lions 2, bâtiment C
- Intervenants : Amin Timany, KU Leuven
We present a logical relations model of a higher-order functional programming language with impredicative polymorphism, recursive types, and a Haskell-style ST monad type with runST. We use our logical relations model to show that runST provides proper encapsulation of state, by showing that effectful computations encapsulated by runST are heap independent. Furthermore, we show that contextual refinements and equivalences that are expected to hold for pure computations do indeed hold in the presence of runST. This is the first time such relational results have been proven for a language with monadic encapsulation of state. We have formalized all the technical development and results in Coq.
Lieu : INRIA - Paris-2 rue Simone Iff- Salle Lions 2, bâtiment C
En savoir plus