We study a theory of asynchronous session types ensuring that well-typed processes terminate under a suitable fairness assumption. Fair termination entails starvation freedom and orphan message freedom namely that all messages, including those that are produced early taking advantage of asynchrony, are eventually consumed. The theory is based on a novel fair asynchronous subtyping relation for session types that is coarser than the existing ones. The type system is also the first of its kind that is firmly rooted in linear logic: fair asynchronous subtyping is incorporated as a natural generalization of the cut and axiom rules of linear logic and asynchronous communication is modeled through a suitable set of commuting conversions and of deep cut reductions in linear logic proofs.

Padovani, L., Zavattaro, G. (2025). Fair Termination of Asynchronous Binary Sessions. Schloss Dagstuhl - Leibniz-Zentrum für Informatik [10.4230/lipics.ecoop.2025.24].

Fair Termination of Asynchronous Binary Sessions

Luca Padovani
;
Gianluigi Zavattaro
2025

Abstract

We study a theory of asynchronous session types ensuring that well-typed processes terminate under a suitable fairness assumption. Fair termination entails starvation freedom and orphan message freedom namely that all messages, including those that are produced early taking advantage of asynchrony, are eventually consumed. The theory is based on a novel fair asynchronous subtyping relation for session types that is coarser than the existing ones. The type system is also the first of its kind that is firmly rooted in linear logic: fair asynchronous subtyping is incorporated as a natural generalization of the cut and axiom rules of linear logic and asynchronous communication is modeled through a suitable set of commuting conversions and of deep cut reductions in linear logic proofs.
2025
Proceedings of the 39th European Conference on Object-Oriented Programming (ECOOP 2025)
1
29
Padovani, L., Zavattaro, G. (2025). Fair Termination of Asynchronous Binary Sessions. Schloss Dagstuhl - Leibniz-Zentrum für Informatik [10.4230/lipics.ecoop.2025.24].
Padovani, Luca; Zavattaro, Gianluigi
File in questo prodotto:
File Dimensione Formato  
LIPIcs.ECOOP.2025.24.pdf

accesso aperto

Descrizione: paper
Tipo: Versione (PDF) editoriale / Version Of Record
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 974.05 kB
Formato Adobe PDF
974.05 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/11585/1018715
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact