Many properties of communication protocols stem from the combination of safety and liveness properties. Characterizing such combined properties by means of a single inference system is difficult because of the fundamentally different techniques (coinduction and induction, respectively) usually involved in defining and proving them. In this paper we show that Generalized Inference Systems allow for simple and insightful characterizations of (at least some of) these combined inductive/coinductive properties for dependent session types. In particular, we illustrate the role of corules in characterizing weak termination (the property of protocols that can always eventually terminate), fair compliance (the property of interactions that can always be extended to reach client satisfaction) and also fair subtyping, a liveness-preserving refinement relation for session types.

Inference Systems with Corules for Fair Subtyping and Liveness Properties of Binary Session Types

Luca Ciccone
Co-first
;
Luca Padovani
Co-first
2021-01-01

Abstract

Many properties of communication protocols stem from the combination of safety and liveness properties. Characterizing such combined properties by means of a single inference system is difficult because of the fundamentally different techniques (coinduction and induction, respectively) usually involved in defining and proving them. In this paper we show that Generalized Inference Systems allow for simple and insightful characterizations of (at least some of) these combined inductive/coinductive properties for dependent session types. In particular, we illustrate the role of corules in characterizing weak termination (the property of protocols that can always eventually terminate), fair compliance (the property of interactions that can always be extended to reach client satisfaction) and also fair subtyping, a liveness-preserving refinement relation for session types.
2021
48th International Colloquium on Automata, Languages, and Programming (ICALP’21)
Glasgow
12th-16th July 2021
Proceedings of the 48th International Colloquium on Automata, Languages, and Programming (ICALP’21)
Schloss Dagstuhl-Leibniz-Zentrum für Informatik
198
1
16
https://drops.dagstuhl.de/opus/volltexte/2021/14194/pdf/LIPIcs-ICALP-2021-125.pdf
Inference systems, session types, safety, liveness, induction, coinduction
Luca Ciccone; Luca Padovani
File in questo prodotto:
File Dimensione Formato  
LIPIcs-ICALP-2021-125.pdf

Accesso aperto

Tipo di file: PDF EDITORIALE
Dimensione 725.97 kB
Formato Adobe PDF
725.97 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1794774
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 5
  • ???jsp.display-item.citation.isi??? ND
social impact