Dependent session types via intuitionistic linear type theory

  • Authors:
  • Bernardo Toninho;Luís Caires;Frank Pfenning

  • Affiliations:
  • Carnegie Mellon University & Faculdade de Ciencias e Tecnologia, Pittsburgh, PA, USA;Universidade Nova de Lisboa, Lisbon, Portugal;Carnegie Mellon University, Pittsburgh, PA, USA

  • Venue:
  • Proceedings of the 13th international ACM SIGPLAN symposium on Principles and practices of declarative programming
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

We develop an interpretation of linear type theory as dependent session types for a term passing extension of the pi-calculus. The type system allows us to express rich constraints on sessions, such as interface contracts and proof-carrying certification, which go beyond existing session type systems, and are here justified on purely logical grounds. We can further refine our interpretation using proof irrelevance to eliminate communication overhead for proofs between trusted parties. Our technical results include type preservation and global progress, which in our setting naturally imply compliance to all properties declared in interface contracts expressed by dependent types.