A Kripke logical relation for effect-based program transformations

作者:Birkedal Lars*; Jaber Guilhem; Sieczkowski Filip; Tham**org Jacob
来源:Information and Computation, 2016, 249: 160-189.
DOI:10.1016/j.ic.2016.04.003

摘要

We present a Kripke logical relation for showing the correctness of program transformations based on a region-polymorphic type-and-effect system for an ML-like programming language with higher-order store and dynamic allocation. We also show how to use our model to verify a number of interesting program transformations that rely on effect annotations. In building the model, we extend earlier work by Benton et al. that treated, respectively dynamically allocated first-order references, and higher-order store for global variables. We utilize ideas from region-based memory management, and on Kripke logical relations for higher-order store. One of the key challenges that we overcome in the construction of the model is treatment of masking of regions (conceptually similar to deallocation). Our approach bears similarities to the one used in Ahmed's unary model of a region calculus in her Ph.D. thesis.

  • 出版日期2016-8
  • 单位INRIA

全文