• DocumentCode
    304876
  • Title

    Reasoning about local variables with operationally-based logical relations

  • Author

    Pitts, Andrew M.

  • Author_Institution
    Comput. Lab., Cambridge Univ., UK
  • fYear
    1996
  • fDate
    27-30 Jul 1996
  • Firstpage
    152
  • Lastpage
    163
  • Abstract
    A parametric logical relation between the phrases of an Algol-like language is presented. Its definition involves the structural operational semantics of the language, but was inspired by recent denotationally-based work of O´Hearn and Reynolds on translating Algol into a predicatively polymorphic linear lambda calculus. The logical relation yields an applicative characterisation of contextual equivalence for the language and provides a useful (and complete) method for proving equivalences. Its utility is illustrated by giving simple and direct proofs of some contextual equivalences, including an interesting equivalence due to O´Hearn which hinges upon the undefinability of `snapback´ operations (and which goes beyond the standard suite of `Meyer-Sieber´ examples). Whilst some of the mathematical intricacies of denotational semantics are avoided, the hard work in this operational approach lies in establishing the `fundamental property´ for the logical relation-the proof of which makes use of a compactness property of fixpoint recursion with respect to evaluation of phrases. But once this property has been established, the logical relation provides a verification method with an attractively low mathematical overhead
  • Keywords
    ALGOL; lambda calculus; programming theory; Algol-like language; contextual equivalences; denotational semantics; fixpoint recursion; local variables; operationally-based logical relations; parametric logical relation; predicatively polymorphic linear lambda calculus; snapback operations; structural operational semantics; undefinability; verification method; Calculus; Concrete; Context modeling; Fasteners; Laboratories; Mathematical model;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Logic in Computer Science, 1996. LICS '96. Proceedings., Eleventh Annual IEEE Symposium on
  • Conference_Location
    New Brunswick, NJ
  • ISSN
    1043-6871
  • Print_ISBN
    0-8186-7463-6
  • Type

    conf

  • DOI
    10.1109/LICS.1996.561314
  • Filename
    561314