Abstract:Type systems as a technique to analyse or control programs have been extensively studied for functional programming languages. In particular some systems allow 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 the 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 … Show more
“…This paper is an extended version of the conference paper [5]. With respect to this previous article, we give two additional results, one result towards type inference for the work type system (Sect.…”
Section: Introductionmentioning
confidence: 90%
“…• A bitonic sequence is either a sequence composed of an increasing sequence followed by a decreasing sequence (e.g. [2,7,23,19,8,5]), or a cyclic rotation of such a sequence (e.g. [8,5,2,7,23,19]).…”
Section: −Imentioning
confidence: 99%
“…[2,7,23,19,8,5]), or a cyclic rotation of such a sequence (e.g. [8,5,2,7,23,19]). recursively sorts the irst sequence in increasing order, and the second sequence in decreasing order.…”
Type systems as a technique to analyse or control programs have been extensively studied for functional programming languages. In particular some systems allow 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 the 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.
“…This paper is an extended version of the conference paper [5]. With respect to this previous article, we give two additional results, one result towards type inference for the work type system (Sect.…”
Section: Introductionmentioning
confidence: 90%
“…• A bitonic sequence is either a sequence composed of an increasing sequence followed by a decreasing sequence (e.g. [2,7,23,19,8,5]), or a cyclic rotation of such a sequence (e.g. [8,5,2,7,23,19]).…”
Section: −Imentioning
confidence: 99%
“…[2,7,23,19,8,5]), or a cyclic rotation of such a sequence (e.g. [8,5,2,7,23,19]). recursively sorts the irst sequence in increasing order, and the second sequence in decreasing order.…”
Type systems as a technique to analyse or control programs have been extensively studied for functional programming languages. In particular some systems allow 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 the 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.
“…Recently, there have been studies on type systems for estimating the (time) complexity of processes for the π-calculus [1,2] and related session calculi [9,8]. Since the existence of a finite upper-bound implies termination, those analyses can, in principle, be used also for reasoning about termination, but the resulting termination analysis would be too conservative.…”
We propose an automated method for proving termination of π-calculus processes, based on a reduction to termination of sequential programs: we translate a π-calculus process to a sequential program, so that the termination of the latter implies that of the former. We can then use an off-the-shelf termination verification tool to check termination of the sequential program. Our approach has been partially inspired by Deng and Sangiorgi's termination analysis for the π-calculus, and checks that there is no infinite chain of communications on replicated input channels, by converting such a chain of communications to a chain of recursive function calls in the target sequential program. We have implemented an automated tool based on the proposed method and confirmed its effectiveness.
“…Automated inference of complexity bounds for parallel computation has seen a surge of attention in recent years [12,13,32,5,31,18]. While techniques and tools for a variety of computational models have been introduced, so far there does not seem to be any paper in this area for complexity of term rewriting with parallel evaluation strategies.…”
We revisit parallel-innermost term rewriting as a model of parallel computation on inductive data structures and provide a corresponding notion of runtime complexity parametric in the size of the start term. We propose automatic techniques to derive both upper and lower bounds on parallel complexity of rewriting that enable a direct reuse of existing techniques for sequential complexity. The applicability and the precision of the method are demonstrated by the relatively light effort in extending the program analysis tool AProVE and by experiments on numerous benchmarks from the literature.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.