Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

From Hilbert space to Dilbert space: context semantics as a language for games and flow analysis

Published: 25 August 2003 Publication History

Abstract

We give a tutorial and first-principles description of the context semantics of Gonthier, Abadi, and Lévy [5, 4], a computer-science analogue of Girard's geometry of interaction [3]. In the spirit of the invited presentation of Tom Knight (see this Proceedings [7]), the semantics is reversible, and supports pseudo-quantum computation via a superposed sharing of terms and evaluation contexts [2].Context semantics provides a mechanism for modelling ?-calculus, and more generally multiplicative-exponential linear logic (MELL); we explain the the call-by-name (CBN) coding of the ?-calculus, and sketch a proof of the correctness of readback, where the normal form of a ?-term is recovered from its semantics. This analysis yields the algorithmic correctness of Lamping's optimal reduction algorithm [8]. We relate the context semantics to linear logic types and to ideas from game semantics, used to prove full abstraction theorems for PCF and other ?-calculus variants [1, 6, 10]. Readback is essentially a game played by an environment (the Opponent) who wants to discover the Böhm tree (normal form) of a term known by a Player. A type plays the role---using the games jargon---of an arena of possible moves, and a term of that type provides a winning strategy for the Player, permitting the Player to respond correctly to moves made by the Opponent. The interaction between Opponent and Player describes a perfect flow analysis which answers questions like, "can call site a ever call procedure p?" The context semantics provides a low-level coding mechanism for describing such flows, the positions of subexpressions and head variables in Böhm trees, as well as moves in the above described two-player games.

References

[1]
S. Abramsky, R. Jagadeesan, and P. Malacaria. Full abstraction for PCF. Information and Computation 163(2) (2000), pp. 409--470.
[2]
A. Asperti and H. G. Mairson. Optimal ?-reduction is not elementary recursive. Information and Computation 170(1) (2001), pp. 49--80.
[3]
J.-Y. Girard. On geometry of interaction. in Proof and Computation (ed. H. Schwichtenberg), Springer, 1995, pp. 145--191.
[4]
G. Gonthier, M. Abadi, and J.-J. Lévy. The geometry of optimal lambda reduction. In Proc. 19th Annual ACM Symposium on Principles of Programming Languages, January 1992, pp. 15--26.
[5]
G. Gonthier, M. Abadi, and J.-J. Lévy. Linear logic without boxes. In Proceedings 7th Annual IEEE Symposium on Logic in Computer Science, June 1992, pp. 223--234.
[6]
J. M. E. Hyland and C.-H. Luke Ong. On full abstraction for PCF: I, II, and III. Information and Computation 163(2) (2000), pp. 285--408.
[7]
T. Knight. Conservation of information: applications in functional, reversible, and quantum computing. In Proceedings, 2003 ACM International Conference on Functional Programming.
[8]
J. Lamping. An algorithm for optimal lambda calculus reduction. In Proc. 17th Annual ACM Symposium on Principles of Programming Languages, January 1990, pp. 16--30.
[9]
H. G. Mairson. From Hilbert space to Dilbert space: context semantics made simple. In Proceedings of the 22nd Conference on Foundations of Software Technology and Theoretical Computer Science, December 2002, LNCS 2556, pp. 2--17.
[10]
H. Nickau. Hereditarily sequential functionals. In Proceedings, Symposium on Logical Foundations of Computer Science, July 1994, LNCS 813, pp. 253--264.

Index Terms

  1. From Hilbert space to Dilbert space: context semantics as a language for games and flow analysis
      Index terms have been assigned to the content through auto-classification.

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM SIGPLAN Notices
      ACM SIGPLAN Notices  Volume 38, Issue 9
      September 2003
      289 pages
      ISSN:0362-1340
      EISSN:1558-1160
      DOI:10.1145/944746
      Issue’s Table of Contents
      • cover image ACM Conferences
        ICFP '03: Proceedings of the eighth ACM SIGPLAN international conference on Functional programming
        August 2003
        310 pages
        ISBN:1581137567
        DOI:10.1145/944705
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 25 August 2003
      Published in SIGPLAN Volume 38, Issue 9

      Check for updates

      Qualifiers

      • Article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)3
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 30 Aug 2024

      Other Metrics

      Citations

      View Options

      Get Access

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media