Bunched polymorphism

  • Authors:
  • Matthew Collinson;David Pym;Edmund Robinson

  • Affiliations:
  • Hewlett-packard laboratories, bristol, bs34 8qz, united kingdom email: david.pym@hp.com;Hewlett-packard laboratories, bristol, bs34 8qz, united kingdom email: david.pym@hp.com;Queen mary, university of london, e1 4ns, united kingdom

  • Venue:
  • Mathematical Structures in Computer Science
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe a polymorphic, typed lambda calculus with substructural features. This calculus extends the first-order substructural lambda calculus αλ associated with bunched logic. A particular novelty of our new calculus is the substructural treatment of second-order variables. This is accomplished through the use of bunches of type variables in typing contexts. Both additive and multiplicative forms of polymorphic abstraction are then supported. The calculus has sensible proof-theoretic properties and a straightforward categorical semantics using indexed categories. We produce a model for additive polymorphism with first-order bunching based on partial equivalence relations. We consider additive and multiplicative existential quantifiers separately from the universal quantifiers.