Visible to the public Behavioral Polymorphism and Parametricity in Session-Based CommunicationConflict Detection Enabled

TitleBehavioral Polymorphism and Parametricity in Session-Based Communication
Publication TypeConference Proceedings
Year of Publication2013
AuthorsLuis Caires, Jorge Perez, Frank Pfenning, Bernardo Toninho
Conference NameEuropean Symposium on Programming 2013
Volume7792
Pagination330-349
Date Published2013
PublisherSpringer-Verlag Berlin Heidelberg 2013
Conference LocationRome, Italy
KeywordsCMU
Abstract

We investigate a notion of behavioral genericity in the context of session type disciplines. To this end, we develop a logically motivated theory of parametric polymorphism, reminiscent of the Girard-Reynolds polymorphic l-calculus, but casted in the setting of concurrent processes. In our theory, polymorphism accounts for the exchange of abstract communication protocols and dynamic instantiation of heterogeneous interfaces, as opposed to the exchange of data types and dynamic instantiation of individual message types. Our polymorphic session-typed process language satisfies strong forms of type preservation and global progress, is strongly normalizing, and enjoys a relational parametricity principle. Combined, our results confer strong correctness guarantees for communicating systems. In particular, parametricity is key to derive non-trivial results about internal protocol independence, a concurrent analogous of representation independence, and non-interference properties of modular, distributed systems.

DOI10.1007/978-3-642-37036-6_19
Citation Keynode-30070

Other available formats:

Caires_Behavioral_Polymorphism_FP.pdf
AttachmentTaxonomyKindSize
Caires_Behavioral_Polymorphism_FP.pdfPDF document401.36 KBDownloadPreview
AttachmentSize
bytes