A logical analysis of aliasing in imperative higher-order functions

  • Authors:
  • MARTIN BERGER;KOHEI HONDA;NOBUKO YOSHIDA

  • Affiliations:
  • Department of Computing, Imperial College London, London, England;Department of Computer Science, Queen Mary, University of London, London, England;Department of Computing, Imperial College London, London, England

  • Venue:
  • Journal of Functional Programming
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a compositional programme logic for call-by-value imperative higher-order functions with general forms of aliasing, which can arise from the use of reference names as function parameters, return values, content of references and parts of data structures. The programme logic extends our earlier logic for alias-free imperative higher-order functions with new operators which serve as building blocks for clean structural reasoning about programms and data structures in the presence of aliasing. This has been an open issue since the pioneering work by Cartwright–Oppen and Morris twenty-five years ago. We illustrate usage of the logic for description and reasoning through concrete examples including a higher-order polymorphic Quicksort. The logical status of the new operators is clarified by translating them into (in)equalities of reference names.