Types for Complexity of Parallel Computation in Pi-calculus

被引:2
作者
Baillot, Patrick [1 ,2 ]
Ghyselen, Alexis [1 ,3 ]
机构
[1] Univ Claude Bernard Lyon 1, Univ Lyon, LIP, ENS Lyon,CNRS, F-69342 Lyon 07, France
[2] Univ Lille, CRIStAL, Bat ESPRIT,Ave Henri Poincare, F-59655 Villeneuve Dascq, France
[3] Univ Bologna, Alma Mater Studiorum, DIAPASoN, Via Zamboni 33, I-40126 Bologna, Italy
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 2022年 / 44卷 / 03期
关键词
Type systems; pi-calculus; process calculi; complexity analysis; implicit computational complexity; sized types; SESSION TYPES; SYSTEM;
D O I
10.1145/3495529
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Type systems as a technique to analyse or control programs have been extensively studied for functional programming languages. In particular, some systems allow one to extract from a typing derivation a complexity bound on the program. We explore how to extend such results to parallel complexity in the setting of pi-calculus, considered as a communication-based model for parallel computation. Two notions of time complexity are given: the total computation time without parallelism (the work) and the computation time under maximal parallelism (the span). We define operational semantics to capture those two notions and present two type systems from which one can extract a complexity bound on a process. The type systems are inspired both by sized types and by input/output types, with additional temporal information about communications.
引用
收藏
页数:50
相关论文
共 39 条
[1]  
Akl S.G., 2011, ENCY PARALLEL COMPUT, P139
[2]   Rely-Guarantee Termination and Cost Analyses of Loops with Concurrent Interleavings [J].
Albert, Elvira ;
Flores-Montoya, Antonio ;
Genaim, Samir ;
Martin-Martin, Enrique .
JOURNAL OF AUTOMATED REASONING, 2017, 59 (01) :47-85
[3]   Parallel Cost Analysis of Distributed Systems [J].
Albert, Elvira ;
Correas, Jesus ;
Johnsen, Einar Broch ;
Roman-Diez, Guillermo .
STATIC ANALYSIS (SAS 2015), 2015, 9291 :275-292
[4]  
[Anonymous], 2003, The -Calculus: a Theory of Mobile Processes
[5]   Automating sized-Type inference for complexity analysis [J].
Avanzini M. ;
Dal Lago U. .
2017, Association for Computing Machinery (01)
[6]   Light types for polynomial time computation in Lambda-calculus [J].
Baillot, P ;
Terui, K .
19TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2004, :266-275
[7]  
Baillot P, 2004, LECT NOTES COMPUT SC, V2987, P27
[8]   Types for Complexity of Parallel Computation in Pi-Calculus [J].
Baillot, Patrick ;
Ghyselen, Alexis .
PROGRAMMING LANGUAGES AND SYSTEMS, ESOP 2021, 2021, 12648 :59-86
[9]   CAMP: Cost-Aware Multiparty Session Protocols [J].
Castro-Perez, David ;
Yoshida, Nobuko .
PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (OOPSLA)
[10]   On session types and polynomial time [J].
Dal Lago, Ugo ;
Di Giamberardino, Paolo .
MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2016, 26 (08) :1433-1458