A family of syntactic logical relations for the semantics of Haskell-like languages (2009)
| Venue: | INFORMATION AND COMPUTATION |
| Citations: | 5 - 3 self |
BibTeX
@ARTICLE{Johann09afamily,
author = {Patricia Johann and Janis Voigtländer},
title = {A family of syntactic logical relations for the semantics of Haskell-like languages},
journal = {INFORMATION AND COMPUTATION},
year = {2009}
}
OpenURL
Abstract
Logical relations are a fundamental and powerful tool for reasoning about programs in languages with parametric polymorphism. Logical relations suitable for reasoning about observational behavior in polymorphic calculi supporting various programming language features have been introduced in recent years. Unfortunately, the calculi studied are typically idealized, and the results obtained for them offer only partial insight into the impact of such features on observational behavior in implemented languages. In this paper we show how to bring reasoning via logical relations closer to bear on real languages by deriving results that are more pertinent to an intermediate language for the (mostly) lazy functional language Haskell like GHC Core. To provide a more fine-grained analysis of program behavior than is possible by reasoning about program equivalence alone, we work with an abstract notion of relating observational behavior of computations which has among its specializations both observational equivalence and observational approximation. We take selective strictness into account, and we consider the impact of different kinds of







