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.
@InProceedings{padovani_et_al:LIPIcs.ECOOP.2025.24, author = {Padovani, Luca and Zavattaro, Gianluigi}, title = {{Fair Termination of Asynchronous Binary Sessions}}, booktitle = {39th European Conference on Object-Oriented Programming (ECOOP 2025)}, pages = {24:1--24:29}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-95977-373-7}, ISSN = {1868-8969}, year = {2025}, volume = {333}, editor = {Aldrich, Jonathan and Silva, Alexandra}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ECOOP.2025.24}, URN = {urn:nbn:de:0030-drops-233169}, doi = {10.4230/LIPIcs.ECOOP.2025.24}, annote = {Keywords: Binary sessions, fair asynchronous subtyping, fair termination, linear logic} }
Feedback for Dagstuhl Publishing