Samenvatting
Compositional methods are central to the development and verification of software systems. They allow breaking down large systems into smaller components, while enabling reasoning about the behaviour of the composed system. For concurrent and communicating systems, compositional techniques based on behavioural type systems have received much attention. By abstracting communication protocols as types, these type systems can statically check that programs interact with channels according to a certain protocol, whether the intended messages are exchanged in a certain order. In this paper, we put on our coalgebraic spectacles to investigate session types, a widely studied class of behavioural type systems. We provide a syntax-free description of session-based concurrency as states of coalgebras. As a result, we rediscover type equivalence, duality, and subtyping relations in terms of canonical coinductive presentations. In turn, this coinductive presentation makes it possible to elegantly derive a decidable type system with subtyping for 휋-calculus processes, in which the states of a coalgebra will serve as channel protocols. Going full circle, we exhibit a coalgebra structure on an existing session type system, and show that the relations and type system resulting from our coalgebraic perspective agree with the existing ones.
Originele taal-2 | English |
---|---|
Titel | Programming Languages and Systems |
Subtitel | 30th European Symposium on Programming, ESOP 2021, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2021, Luxembourg City, Luxembourg, March 27 – April 1, 2021, Proceedings |
Redacteuren | Nobuko Yoshida |
Plaats van productie | Cham |
Uitgeverij | Springer |
Pagina's | 375-403 |
Aantal pagina's | 29 |
ISBN van elektronische versie | 978-3-030-72019-3 |
ISBN van geprinte versie | 978-3-030-72018-6 |
DOI's | |
Status | Published - 2021 |
Evenement | European Symposium on Programming - Duur: 27-mrt.-2021 → 1-apr.-2021 Congresnummer: 30 |
Publicatie series
Naam | Lecture Notes in Computer Science |
---|---|
Uitgeverij | Springer, Cham |
Volume | 12648 |
ISSN van geprinte versie | 0302-9743 |
ISSN van elektronische versie | 1611-3349 |
Conference
Conference | European Symposium on Programming |
---|---|
Verkorte titel | ESOP 2021 |
Periode | 27/03/2021 → 01/04/2021 |