Relational interpretations of recursive types an operational setting

被引:22
|
作者
Birkedal, L [1 ]
Harper, R
机构
[1] Carnegie Mellon Univ, Sch Comp Sci, Pittsburgh, PA 15213 USA
[2] Univ Cambridge, Isaac Newton Inst Math Sci, Cambridge CB2 1TN, England
基金
美国国家科学基金会;
关键词
D O I
10.1006/inco.1999.2828
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Relational interpretations of type systems are useful for establishing properties of programming languages. For languages with recursive types it is difficult to establish the existence of a relational interpretation. The usual approach is to pass to a domain-theoretic model of the language and, exploiting the structure of the model, to derive relational properties of it, We investigate the construction of relational interpretations of recursive types in a purely operational setting, drawing on recent ideas from domain theory and operational semantics as a guide. We prove syntactic minimal invariance for an extension of PCF with a recursive type, a syn tactic analogue of the minimal invariance property used by Freyd and Pitts to characterize the domain interpretation of a recursive type. As Pitts has shown in the setting of domains, syntactic minimal invariance suffices to establish the existence of relational interpretations. We give two applications of this construction. First, we derive a notion of logical equivalence for expressions of the language that we show coincides with experimental equivalence and which, by virtue of its construction, validates useful induction and coinduction principles for reasoning about the recursive type. Second, we give a relational proof of correctness of the continuation-passing transformation, which is used in some compilers for functional languages. (C) 1999 Academic Press.
引用
收藏
页码:3 / 63
页数:61
相关论文
共 50 条
  • [1] Relational reasoning for recursive types and references
    Bohr, Nina
    Birkedal, Lars
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2006, 4279 : 79 - +
  • [3] Recursive polymorphic types and parametricity in an operational framework
    Melliès, PA
    Vouillon, J
    LICS 2005: 20TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE - PROCEEDINGS, 2005, : 82 - 91
  • [4] An Operational Domain-theoretic Treatment of Recursive Types
    Ho, Weng Kin
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 158 : 237 - 259
  • [5] An operational domain-theoretic treatment of recursive types
    Ho, Weng Kin
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2014, 24 (01)
  • [6] Relational interpretations
    Crits-Christoph, P
    Gibbons, MBC
    PSYCHOTHERAPY, 2001, 38 (04) : 423 - 428
  • [7] Operational interpretations of linear logic
    Turner, DN
    Wadler, P
    THEORETICAL COMPUTER SCIENCE, 1999, 227 (1-2) : 231 - 248
  • [8] Operational interpretations of quantum discord
    Cavalcanti, D.
    Aolita, L.
    Boixo, S.
    Modi, K.
    Piani, M.
    Winter, A.
    PHYSICAL REVIEW A, 2011, 83 (03):
  • [9] COMPUTING WITH RECURSIVE TYPES
    COSMADAKIS, SS
    FOURTH ANNUAL SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, 1989, : 24 - 38
  • [10] SUBTYPING RECURSIVE TYPES
    AMADIO, RM
    CARDELLI, L
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1993, 15 (04): : 575 - 631