IMDEA Software

IMDEA initiative

Home > Events > Invited Talks > 2014 > Using higher-order contracts to model session types

Giovanni Bernardi

Tuesday, January 14, 2014

11:00am Meeting room 302 (Mountain View), level 3

Giovanni Bernardi, Research Fellow, Trinity College, Dublin, Ireland

Using higher-order contracts to model session types

Abstract:

Session types are used to describe and structure interactions between independent processes in distributed systems. Higher-order types are needed to properly structure delegation of responsibility between processes.

In this talk we show that a sublanguage of higher-order web-service contracts provides a fully-abstract model of recursive higher-order session types. The model is set-theoretic, in that the meaning of a contract is the set of contracts with which it complies. The proof of full-abstraction depends on the novel notion of complement of a contract. We show that the new notion lets us type more well-formed programs than the commonly used type duality does, thereby improving existing type systems.