301. Sized Types with Usages for Parallel Complexity of Pi-Calculus Processes
- Author
-
Baillot, Patrick, Ghyselen, Alexis, Kobayashi, Naoki, Laboratoire de l'Informatique du Parallélisme (LIP), École normale supérieure - Lyon (ENS Lyon)-Université Claude Bernard Lyon 1 (UCBL), Université de Lyon-Université de Lyon-Institut National de Recherche en Informatique et en Automatique (Inria)-Centre National de la Recherche Scientifique (CNRS), The University of Tokyo (UTokyo), ENS Lyon, CNRS & INRIA, University of Tokyo, École normale supérieure de Lyon (ENS de Lyon)-Université Claude Bernard Lyon 1 (UCBL), ANR-10-LABX-0070,MILYON,Community of mathematics and fundamental computer science in Lyon(2010), Centre National de la Recherche Scientifique (CNRS)-Université de Lyon-Institut National de Recherche en Informatique et en Automatique (Inria)-Université Claude Bernard Lyon 1 (UCBL), and Université de Lyon-École normale supérieure - Lyon (ENS Lyon)
- Subjects
FOS: Computer and information sciences ,[INFO.INFO-CC]Computer Science [cs]/Computational Complexity [cs.CC] ,Type Systems ,Sized Types ,2012 ACM Subject Classification Theory of computation → Type structures ,Computational Complexity (cs.CC) ,Pi-calculus ,Process Calculi ,Computer Science - Computational Complexity ,Computer Science - Distributed, Parallel, and Cluster Computing ,Complexity Analysis ,Theory of computation → Process calculi ,Software and its engineering → Software verification phrases Type Systems ,Software and its engineering → Software verification ,Theory of computation → Type structures ,Distributed, Parallel, and Cluster Computing (cs.DC) ,[INFO.INFO-DC]Computer Science [cs]/Distributed, Parallel, and Cluster Computing [cs.DC] ,Usages - Abstract
We address the problem of analysing the complexity of concurrent programs written in Pi-calculus. We are interested in parallel complexity, or span, understood as the execution time in a model with maximal parallelism. A type system for parallel complexity has been recently proposed by the first two authors but it is too imprecise for non-linear channels and cannot analyse some concurrent processes. Aiming for a more precise analysis, we design a type system which builds on the concepts of sized types and usages. The sized types allow us to parametrize the complexity by the size of inputs, and the usages allow us to achieve a kind of rely-guarantee reasoning on the timing each process communicates with its environment. We prove that our new type system soundly estimates the parallel complexity, and show through examples that it is often more precise than the previous type system of the first two authors., LIPIcs, Vol. 203, 32nd International Conference on Concurrency Theory (CONCUR 2021), pages 34:1-34:22
- Published
- 2021