skip to main content
10.1145/3610612.3610615acmotherconferencesArticle/Chapter ViewAbstractPublication PagesppdpConference Proceedingsconference-collections
research-article
Open access

Termination in Concurrency, Revisited

Published: 22 October 2023 Publication History

Abstract

Termination is a central property in sequential programming models: a term is terminating if all its reduction sequences are finite. Termination is also important in concurrency in general, and for message-passing programs in particular. A variety of type systems that enforce termination by typing have been developed. In this paper, we rigorously compare several type systems for π -calculus processes from the unifying perspective of termination. Adopting session types as reference framework, we consider two different type systems: one follows Deng and Sangiorgi’s weight-based approach; the other is Caires and Pfenning’s Curry-Howard correspondence between linear logic and session types. Our technical results precisely connect these very different type systems, and shed light on the classes of client/server interactions they admit as correct.

References

[1]
Luís Caires and Frank Pfenning. 2010. Session Types as Intuitionistic Linear Propositions. In CONCUR 2010(LNCS, Vol. 6269). Springer, 222–236. https://doi.org/10.1007/978-3-642-15375-4_16
[2]
Ornela Dardha, Elena Giachino, and Davide Sangiorgi. 2012. Session types revisited. In PPDP’12. ACM, 139–150. https://doi.org/10.1145/2370776.2370794
[3]
Ornela Dardha and Jorge A. Pérez. 2015. Comparing Deadlock-Free Session Typed Processes. In Combined 22th International Workshop on Expressiveness in Concurrency and 12th Workshop on Structural Operational Semantics, and 12th Workshop on Structural Operational Semantics, EXPRESS/SOS(EPTCS, Vol. 190). 1–15. https://doi.org/10.4204/EPTCS.190.1
[4]
Ornela Dardha and Jorge A. Pérez. 2022. Comparing type systems for deadlock freedom. J. Log. Algebraic Methods Program. 124 (2022), 100717. https://doi.org/10.1016/j.jlamp.2021.100717
[5]
Romain Demangeon, Daniel Hirschkoff, and Davide Sangiorgi. 2010. Termination in Impure Concurrent Languages. In CONCUR 2010 - Concurrency Theory, 21th International Conference, CONCUR 2010, Paris, France, August 31-September 3, 2010. Proceedings(Lecture Notes in Computer Science, Vol. 6269), Paul Gastin and François Laroussinie (Eds.). Springer, 328–342. https://doi.org/10.1007/978-3-642-15375-4_23
[6]
Yuxin Deng and Davide Sangiorgi. 2004. Ensuring Termination by Typability. In Exploring New Frontiers of Theoretical Informatics, IFIP 18th World Computer Congress, TC1 3rd International Conference on Theoretical Computer Science (TCS2004), 22-27 August 2004, Toulouse, France(IFIP, Vol. 155), Jean-Jacques Lévy, Ernst W. Mayr, and John C. Mitchell (Eds.). Kluwer/Springer, 619–632. https://doi.org/10.1007/1-4020-8141-3_47
[7]
Yuxin Deng and Davide Sangiorgi. 2006. Ensuring termination by typability. Information and Computation 204, 7 (2006), 1045–1082.
[8]
Kohei Honda, Vasco Thudichum Vasconcelos, and Makoto Kubo. 1998. Language Primitives and Type Discipline for Structured Communication-Based Programming. In ESOP’98(LNCS, Vol. 1381). Springer, 122–138. https://doi.org/10.1007/BFb0053567
[9]
Naoki Kobayashi and Davide Sangiorgi. 2010. A hybrid type system for lock-freedom of mobile processes. ACM Trans. Program. Lang. Syst. 32, 5 (2010), 16:1–16:49. https://doi.org/10.1145/1745312.1745313
[10]
Ugo Dal Lago, Marc de Visme, Damiano Mazza, and Akira Yoshimizu. 2019. Intersection types and runtime errors in the pi-calculus. Proc. ACM Program. Lang. 3, POPL (2019), 7:1–7:29. https://doi.org/10.1145/3290320
[11]
Joseph W. N. Paulus, Jorge A. Pérez, and Daniele Nantes-Sobrinho. 2023. Termination in Concurrency, Revisited. (2023). arxiv:2308.01165https://doi.org/10.48550/arXiv.2308.01165
[12]
Jorge A. Pérez, Luís Caires, Frank Pfenning, and Bernardo Toninho. 2014. Linear logical relations and observational equivalences for session-based concurrency. Inf. Comput. 239 (2014), 254–302. https://doi.org/10.1016/j.ic.2014.08.001
[13]
Mauro Piccolo. 2012. Strong Normalization in the π -calculus with Intersection and Union Types. Fundam. Informaticae 121, 1-4 (2012), 227–252. https://doi.org/10.3233/FI-2012-777
[14]
Davide Sangiorgi. 2006. Termination of processes. Math. Struct. Comput. Sci. 16, 1 (2006), 1–39. https://doi.org/10.1017/S0960129505004810
[15]
Bernardo Toninho, Luís Caires, and Frank Pfenning. 2014. Corecursion and Non-divergence in Session-Typed Processes. In Trustworthy Global Computing - 9th International Symposium, TGC 2014, Rome, Italy, September 5-6, 2014. Revised Selected Papers(Lecture Notes in Computer Science, Vol. 8902), Matteo Maffei and Emilio Tuosto (Eds.). Springer, 159–175. https://doi.org/10.1007/978-3-662-45917-1_11
[16]
Vasco T. Vasconcelos. 2012. Fundamentals of session types. Inf. Comput. 217 (2012), 52–70. https://doi.org/10.1016/j.ic.2012.05.002
[17]
Nobuko Yoshida, Martin Berger, and Kohei Honda. 2001. Strong Normalisation in the pi-Calculus. In 16th Annual IEEE Symposium on Logic in Computer Science, Boston, Massachusetts, USA, June 16-19, 2001, Proceedings. IEEE Computer Society, 311–322. https://doi.org/10.1109/LICS.2001.932507

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
PPDP '23: Proceedings of the 25th International Symposium on Principles and Practice of Declarative Programming
October 2023
173 pages
ISBN:9798400708121
DOI:10.1145/3610612
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 October 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Concurrency
  2. Expressiveness
  3. Process Calculi
  4. Session Types

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

Conference

PPDP 2023

Acceptance Rates

Overall Acceptance Rate 230 of 486 submissions, 47%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)173
  • Downloads (Last 6 weeks)13
Reflects downloads up to 04 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media