Formalizing Soundness of Contextual Effects

作者: Polyvios Pratikakis , Jeffrey S. Foster , Michael Hicks , Iulian Neamtiu

DOI: 10.1007/978-3-540-71067-7_22

关键词:

摘要: A contextual effectsystem generalizes standard type and effect systems: where a system computes the of an expression e, additionally priorand futureeffect which characterize behavior computation prior to following, respectively, evaluation e. This paper describes formalization proof soundness effects, we mechanized using Coq assistant. Contextual is unusual property because future term edepends not on eitself (or its evaluation), but rather context in eappears. Therefore, state prove must "match up" subterm original typing derivation with possibly-many evaluations that during program, way robust under substitution. We do this novel typed operational semantics. conjecture our approach could useful for reasoning about other properties derivations rely appears.

参考文章(12)
Flemming Nielson, Chris Hankin, Hanne R. Nielson, Principles of program analysis ,(1999)
Joannes M. Lucassen, Types and Effects Towards the Integration of Functional and Imperative Programming. Massachusetts Institute of Technology. ,(1987)
Brian Aydemir, Arthur Charguéraud, Benjamin C. Pierce, Randy Pollack, Stephanie Weirich, Engineering formal metatheory Proceedings of the 35th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '08. ,vol. 43, pp. 3- 15 ,(2008) , 10.1145/1328438.1328443
Atsushi Igarashi, Naoki Kobayashi, Resource usage analysis Proceedings of the 29th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '02. ,vol. 37, pp. 331- 342 ,(2002) , 10.1145/503272.503303
Karl Crary, David Walker, Greg Morrisett, Typed memory management in a calculus of capabilities Proceedings of the 26th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '99. pp. 262- 275 ,(1999) , 10.1145/292540.292564
David Walker, Karl Crary, Greg Morrisett, Typed memory management via static capabilities ACM Transactions on Programming Languages and Systems. ,vol. 22, pp. 701- 771 ,(2000) , 10.1145/363911.363923
Polyvios Pratikakis, Michael Hicks, Jeffrey S. Foster, Lock Inference for Atomic Sections ,(2006)
Iulian Neamtiu, Michael Hicks, Jeffrey S. Foster, Polyvios Pratikakis, Contextual effects for version-consistent dynamic software updatingalland safe concurrent programming Proceedings of the 35th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '08. ,vol. 43, pp. 37- 49 ,(2008) , 10.1145/1328438.1328447
J.P. Talpin, P. Jouvelot, The type and effect discipline Information & Computation. ,vol. 111, pp. 245- 296 ,(1994) , 10.1006/INCO.1994.1046
CHRISTIAN SKALKA, SCOTT SMITH, DAVID VAN HORN, Types and trace effects of higher order programs Journal of Functional Programming. ,vol. 18, pp. 179- 249 ,(2008) , 10.1017/S0956796807006466