@inbook {14698,
title = {Formalizing Soundness of Contextual Effects},
booktitle = {Theorem Proving in Higher Order LogicsTheorem Proving in Higher Order Logics},
series = {Lecture Notes in Computer Science},
volume = {5170},
year = {2008},
month = {2008///},
pages = {262 - 277},
publisher = {Springer Berlin / Heidelberg},
organization = {Springer Berlin / Heidelberg},
abstract = {A contextual effect system generalizes standard type and effect systems: where a standard effect system computes the effect of an expression e , a contextual effect system additionally computes the prior and future effect of e , which characterize the behavior of computation prior to and following, respectively, the evaluation of e . This paper describes the formalization and proof of soundness of contextual effects, which we mechanized using the Coq proof assistant. Contextual effect soundness is an unusual property because the prior and future effect of a term e depends not on e itself (or its evaluation), but rather on the evaluation of the context in which e appears. Therefore, to state and prove soundness we must {\textquotedblleft}match up{\textquotedblright} a subterm in the original typing derivation with the possibly-many evaluations of that subterm during the evaluation of the program, in a way that is robust under substitution. We do this using a novel typed operational semantics. We conjecture that our approach could prove useful for reasoning about other properties of derivations that rely on the context in which that derivation appears.},
isbn = {978-3-540-71065-3},
url = {http://dx.doi.org/10.1007/978-3-540-71067-7_22},
author = {Pratikakis,Polyvios and Foster, Jeffrey S. and Hicks, Michael W. and Neamtiu,Iulian},
editor = {Mohamed,Otmane and Mu{\~n}oz,C{\'e}sar and Tahar,Sofi{\`e}ne}
}