Foundations of Session Types

被引:48
|
作者
Castagna, Giuseppe [1 ]
Dezani-Ciancaglini, Mariangiola
Giachino, Elena [1 ]
Padovani, Luca
机构
[1] Univ Paris 07, PPS CNRS, Paris, France
来源
PPDP'09: PROCEEDINGS OF THE 11TH INTERNATIONAL ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING | 2009年
关键词
Concurrency; Communication Centered Programming; Sessions Types; Testing Equivalencies; Semantic Subtyping; PI-CALCULUS; LANGUAGES; PROGRESS;
D O I
10.1145/1599410.1599437
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a streamlined theory of session types based on a simple yet general and expressive formalism whose main features are semantically characterized and where each design choice is semantically justified. We formally define the semantics of session types and use it to devise the subsessioning relation. We give a coinductive characterization of subsessioning and describe algorithms to decide all the key relations defined in the article. We demonstrate the generality and expressive power of our framework by providing a session-based type system for a pi-calculus variant that does not rely on any specialized construct for session-based communication. The type system is shown to guarantee absence of communication errors and global progress.
引用
收藏
页码:219 / 230
页数:12
相关论文
共 50 条
  • [41] ON THE PRECISENESS OF SUBTYPING IN SESSION TYPES
    Chen, Tzu-Chun
    Dezani-Ciancaglini, Mariangiola
    Scalas, Alceste
    Yoshida, Nobuko
    LOGICAL METHODS IN COMPUTER SCIENCE, 2017, 13 (02)
  • [42] Bounded polymorphism in session types
    Gay, Simon J.
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2008, 18 (05) : 895 - 930
  • [43] Polymorphic Typestate for Session Types
    Saffrich, Hannes
    Thiemann, Peter
    PROCEEDINGS OF THE 25TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2023, 2023,
  • [44] Structuring communication with session types
    Honda, Kohei
    Hu, Raymond
    Neykova, Rumyana
    Chen, Tzu-Chun
    Demangeon, Romain
    Deníelou, Pierre-Malo
    Deníelou, Pierre-Malo
    Yoshida, Nobuko
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8665 : 105 - 127
  • [45] A Decade of Dependent Session Types
    Toninho, Bernardo
    Caires, Luis
    Pfenning, Frank
    PROCEEDINGS OF THE 23RD INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2021, 2021,
  • [46] Dynamic Multirole Session Types
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    ACM SIGPLAN NOTICES, 2011, 46 (01) : 435 - 446
  • [47] Multiparty Asynchronous Session Types
    Honda, Kohei
    Yoshida, Nobuko
    Carbone, Marco
    JOURNAL OF THE ACM, 2016, 63 (01)
  • [48] Polarized Substructural Session Types
    Pfenning, Frank
    Griffith, Dennis
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2015), 2015, 9034 : 3 - 22
  • [49] The pairing of contracts and session types
    Laneve, Cosimo
    Padovani, Luca
    CONCURRENCY, GRAPHS AND MODELS: ESSAYS DEDICATED TO UGO MONTANARI ON THE OCCASION OF HIS 65TH BIRTHDAY, 2008, 5065 : 681 - +
  • [50] PARAMETERISED MULTIPARTY SESSION TYPES
    Denielou, Pierre-Malo
    Yoshida, Nobuko
    Bejleri, Andi
    Hu, Raymond
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (04)