We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Logical Step-Indexed Logical Relations
PeriodicalsMathematics

Logical Step-Indexed Logical Relations

Checking your access to this record.

Abstract & Overview

Appel and McAllester's "step-indexed" logical relations have proven to be a simple and effective technique for reasoning about programs in languages with semantically interesting types, such as general recursive types and general reference types. However, proofs using step-indexed models typically involve tedious, error-prone, and proof-obscuring step-index arithmetic, so it is important to develop clean, high-level, equational proof principles that avoid mention of step indices. In this paper, we show how to reason about binary step-indexed logical relations in an abstract and elegant way. Specifically, we define a logic LSLR, which is inspired by Plotkin and Abadi's logic for parametricity, but also supports recursively defined relations by means of the modal "later" operator from Appel, Melli\`es, Richards, and Vouillon's "very modal model" paper. We encode in LSLR a logical relation for reasoning relationally about programs in call-by-value System F extended with general recursive types. Using this logical relation, we derive a set of useful rules with which we can prove contextual equivalence and approximation results without counting steps.

Cite this record

Derek R. Dreyer, Amal J. Ahmed, Lars Birkedal (2011). Logical Step-Indexed Logical Relations. Logical Methods in Computer Science, Volume 7, Issue 2. https://doi.org/10.2168/lmcs-7(2:16)2011

Copy in another style

Dreyer, D. R., Ahmed, A. J., & Birkedal, L. (2011). Logical Step-Indexed Logical Relations. Logical Methods in Computer Science, Volume 7, Issue 2. https://doi.org/10.2168/lmcs-7(2:16)2011
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.