Cargando…

EMTST: Engineering the Meta-theory of Session Types

Session types provide a principled programming discipline for structured interactions. They represent a wide spectrum of type-systems for concurrency. Their type safety is thus extremely important. EMTST is a tool to aid in representing and validating theorems about session types in the Coq proof as...

Descripción completa

Detalles Bibliográficos
Autores principales: Castro, David, Ferreira, Francisco, Yoshida, Nobuko
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7480684/
http://dx.doi.org/10.1007/978-3-030-45237-7_17
_version_ 1783580458688184320
author Castro, David
Ferreira, Francisco
Yoshida, Nobuko
author_facet Castro, David
Ferreira, Francisco
Yoshida, Nobuko
author_sort Castro, David
collection PubMed
description Session types provide a principled programming discipline for structured interactions. They represent a wide spectrum of type-systems for concurrency. Their type safety is thus extremely important. EMTST is a tool to aid in representing and validating theorems about session types in the Coq proof assistant. On paper, these proofs are often tricky, and error prone. In proof assistants, they are typically long and difficult to prove. In this work, we propose a library that helps validate the theory of session types calculi in proof assistants. As a case study, we study two of the most used binary session types systems: we show the impossibility of representing the first system in [Formula: see text]-equivalent representations, and we prove type preservation for the revisited system. We develop our tool in the Coq proof assistant, using locally nameless for binders and small scale reflection to simplify the handling of linear typing environments.
format Online
Article
Text
id pubmed-7480684
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-74806842020-09-10 EMTST: Engineering the Meta-theory of Session Types Castro, David Ferreira, Francisco Yoshida, Nobuko Tools and Algorithms for the Construction and Analysis of Systems Article Session types provide a principled programming discipline for structured interactions. They represent a wide spectrum of type-systems for concurrency. Their type safety is thus extremely important. EMTST is a tool to aid in representing and validating theorems about session types in the Coq proof assistant. On paper, these proofs are often tricky, and error prone. In proof assistants, they are typically long and difficult to prove. In this work, we propose a library that helps validate the theory of session types calculi in proof assistants. As a case study, we study two of the most used binary session types systems: we show the impossibility of representing the first system in [Formula: see text]-equivalent representations, and we prove type preservation for the revisited system. We develop our tool in the Coq proof assistant, using locally nameless for binders and small scale reflection to simplify the handling of linear typing environments. 2020-03-13 /pmc/articles/PMC7480684/ http://dx.doi.org/10.1007/978-3-030-45237-7_17 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Castro, David
Ferreira, Francisco
Yoshida, Nobuko
EMTST: Engineering the Meta-theory of Session Types
title EMTST: Engineering the Meta-theory of Session Types
title_full EMTST: Engineering the Meta-theory of Session Types
title_fullStr EMTST: Engineering the Meta-theory of Session Types
title_full_unstemmed EMTST: Engineering the Meta-theory of Session Types
title_short EMTST: Engineering the Meta-theory of Session Types
title_sort emtst: engineering the meta-theory of session types
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7480684/
http://dx.doi.org/10.1007/978-3-030-45237-7_17
work_keys_str_mv AT castrodavid emtstengineeringthemetatheoryofsessiontypes
AT ferreirafrancisco emtstengineeringthemetatheoryofsessiontypes
AT yoshidanobuko emtstengineeringthemetatheoryofsessiontypes