Linear type theory for asynchronous session types
Open accessThe DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Abstract
Session types support a type-theoretic formulation of structured patterns of communication, so that the communication behaviour of agents in a distributed system can be verified by static typechecking. Applications include network protocols, business processes and operating system services. In this paper we define a multithreaded functional language with session types, which unifies, simplifies and extends previous work. There are four main contributions. First is an operational semantics with buffered channels, instead of the synchronous communication of previous work. Second, we prove that the session type of a channel gives an upper bound on the necessary size of the buffer. Third, session types are manipulated by means of the standard structures of a linear type theory, rather than by means of new forms of typing judgement. Fourth, a notion of subtyping, including the standard subtyping relation for session types (imported into the functional setting), and a novel form of subtyping between standard and linear function types, which allows the typechecker to handle linear types conveniently. Our new approach significantly simplifies session types in the functional setting, clarifies their essential features and provides a secure foundation for language developments such as polymorphism and object-orientation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Granule supports session types [Yoshida and Vasconcelos 2007] in the style of the GV calculus [Gay and Vasconcelos 2010], leveraging linear types to embed session type primitives.”
From Quantitative program reasoning with graded modal types (2019) · cites this paper as Gay and Vasconcelos 2010
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Types and Programming Languages
Pierce, B. C. (2002) · Cited by 2,226
Imperative functional programming
Peyton Jones, S. L., & Wadler, P. (1993) · Proceedings of the 20th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '93 · doi:10.1145/158511.158524 · Cited by 1,234
A Syntactic Approach to Type Soundness
Wright, A. K., & Felleisen, M. (1994) · Information and Computation · doi:10.1006/inco.1994.1093 · Cited by 1,136 · cited 3×
“The structure of the proof of type preservation follows the approach of Wright and Felleisen (1994). We omit the proofs of most lemmas, which either are easy structural inductions or follow directly from definitions.”
MethodInfluentialLanguage primitives and type discipline for structured communication-based programming
Honda, K., VASCONCELOS, V. T., & Kubo, M. (1998) · Lecture notes in computer science · doi:10.1007/bfb0053567 · Cited by 1,031 · cited 1×
“The current paper concerns one approach to static analysis of the communication behaviour of agents in a distributed system: session types (Honda 1993; Takeuchi et al. 1994; Honda et al. 1998; Yoshida & Vasconcelos 2007).”
BackgroundSelf-citationMultiparty asynchronous session types
Honda, K., Yoshida, N., & Carbone, M. (2008) · Proceedings of the 35th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1328438.1328472 · Cited by 646
Enforcing high-level protocols in low-level software
DeLine, R. A., & Fähndrich, M. A. (2001) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/378795.378811 · Cited by 553
Region-based memory management in cyclone
Grossman, D., Morrisett, G., Jim, T., Hicks, M., Wang, Y., & Cheney, J. (2002) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/512529.512563 · Cited by 475 · cited 2×
“Cyclone (Grossman et al. 2002) adds many benefits to C, but its support for protocols is limited to enforcing locking of resources.”
BackgroundAn interaction-based language and its typing system
Takeuchi, K., Honda, K., & Kubo, M. (1994) · Lecture notes in computer science · doi:10.1007/3-540-58184-7_118 · Cited by 411 · cited 2×
“The current paper concerns one approach to static analysis of the communication behaviour of agents in a distributed system: session types (Honda 1993; Takeuchi et al. 1994; Honda et al. 1998; Yoshida & Vasconcelos 2007).”
BackgroundHonda, K. (1993) · Lecture Notes in Computer Science · doi:10.1007/3-540-57208-2_35 · Cited by 396 · cited 2×
“The current paper concerns one approach to static analysis of the communication behaviour of agents in a distributed system: session types (Honda 1993; Takeuchi et al. 1994; Honda et al. 1998; Yoshida & Vasconcelos 2007).”
BackgroundSubtyping for session types in the pi calculus
Gay, S., & Hole, M. (2005) · Acta Informatica · doi:10.1007/s00236-005-0177-z · Cited by 373 · cited 15×
“Like Gay and Hole (2005), they referred to the endpoints of channel c as c + and c − .”
BackgroundMethodInfluentialSelf-citation
Cited by
Multiparty Asynchronous Session Types
Honda, K., Yoshida, N., & Carbone, M. (2016) · Journal of the ACM · doi:10.1145/2827695 · Cited by 283
Foundations of Session Types and Behavioural Contracts
Hüttel, H., Lanese, I., Vasconcelos, V. T., Caires, L., Carbone, M., Deniélou, P.-M., Mostrous, D., Padovani, L., Ravara, A., Tuosto, E., et al. (2017) · ACM Computing Surveys · doi:10.1145/2873052 · Cited by 207
Self-citationWadler, P. L. (2014) · Journal of Functional Programming · doi:10.1017/s095679681400001x · Cited by 193
VASCONCELOS, V. T. (2012) · Information and Computation · doi:10.1016/j.ic.2012.05.002 · Cited by 173
Self-citationWadler, P. (2012) · Proceedings of the 17th ACM SIGPLAN international conference on Functional programming · doi:10.1145/2364527.2364568 · Cited by 162
Metadata
- Authors
- GAY, S. J., & VASCONCELOS, V. T.
- Venue
- Journal of Functional Programming
- Publisher
- Cambridge University Press (CUP)
- Published
- 2009-12-08
- Volume
- 20
- Issue
- 1
- Pages
- 19-50
- ISSN
- 0956-7968 (ISSN-L)
- 1469-7653
- OpenAlex
- W2124126159
- Cited by
- 203
- References
- 37
- FWCI
- 9.04
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.