Resource Interpretations, Bunched Implications and the alpha lambda-Calculus

We introduce the αλ-calculus, a typed calculus that includes a multiplicative function type -* alongside an additive function type →. It arises proof-theoretically as a calculus of proof terms for the logic of bunched implications of O'Hearn and Pym, and semantically from doubly closed categories, where a single category possesses two closed structures. Typing contexts in αλ are bunches, i.e., trees built from two combining operations, one that admits the structural rules of Weakening and Contraction and another that does not. To illuminate the consequences of αλ's approach to the structural rules we define two resource interpretations, extracted from Reynolds's "sharing reading" of affine λ-calculus. Based on this we show how αλ enables syntactic control of interference and Idealized Algol, imperative languages based on affine and simply-typed λ-calculi, to be smoothly combined in one system.

[1]  J. Isbell,et al.  Reports of the Midwest Category Seminar I , 1967 .

[2]  Peter W. O'Hearn A Model for Syntactic Control of Interference , 1993, Math. Struct. Comput. Sci..

[3]  Peter W. O'Hearn,et al.  Objects, interference and the Yoneda embedding , 1995, MFPS.

[4]  Peter W. O'Hearn,et al.  Algol-Like Languages: v. 2 , 1996 .

[5]  John C. Reynolds,et al.  The essence of ALGOL , 1997 .

[6]  R. D. Tennent,et al.  Applications of Categories in Computer Science: Semantics of local variables , 1992 .

[7]  Nick Benton,et al.  Linear Lambda-Calculus and Categorial Models Revisited , 1992, CSL.

[8]  Frank J. Oles,et al.  A category-theoretic approach to the semantics of programming languages , 1982 .

[9]  Peter W. O'Hearn,et al.  Syntactic Control of Interference Revisited , 1999, Theor. Comput. Sci..

[10]  N. Belnap,et al.  Entailment. The Logic of Relevance and Necessity. Volume I , 1978 .

[11]  Nick Benton,et al.  A Mixed Linear and Non-Linear Logic: Proofs, Terms and Models (Extended Abstract) , 1994, CSL.

[12]  B. Day On closed categories of functors , 1970 .

[13]  John C. Reynolds,et al.  Syntactic Control of Inference, Part 2 , 1989, ICALP.

[14]  John C. Reynolds,et al.  Syntactic control of interference , 1978, POPL.

[15]  Andrew Barber,et al.  Dual Intuitionistic Linear Logic , 1996 .

[16]  Patrick Lincoln,et al.  Linear logic , 1992, SIGA.

[17]  Philip Wadler,et al.  A Syntax for Linear Logic , 1993, MFPS.

[18]  R. V. Book Algol-like Languages , 1997, Progress in Theoretical Computer Science.

[19]  Peter W. O'Hearn,et al.  The Logic of Bunched Implications , 1999, Bulletin of Symbolic Logic.

[20]  H. A. Lewis,et al.  ENTAILMENT: The Logic of Relevance and Necessity (Volume I) , 1978 .

[21]  Peter W. O'Hearn,et al.  From Algol to polymorphic linear lambda-calculus , 2000, JACM.

[22]  Jean-Yves Girard,et al.  Towards a geometry of interaction , 1989 .

[23]  B. Day An embedding theorem for closed categories , 1974 .

[24]  Samson Abramsky,et al.  Computational Interpretations of Linear Logic , 1993, Theor. Comput. Sci..

[25]  Peter W. O'Hearn,et al.  Objects, Interference, and the Yoneda Embedding , 1999, Theor. Comput. Sci..