Parallel Complexity Analysis with Temporal Session Types

Ankush Das, Jan Hoffmann, Frank Pfenning
4/17/2018
cs.PL

No confident code implementation found for this paper.

Abstract

We study the problem of parametric parallel complexity analysis of concurrent, message-passing programs. To make the analysis local and compositional, it is based on a conservative extension of binary session types, which structure the type and direction of communication between processes and stand in a Curry-Howard correspondence with intuitionistic linear logic.

Show full abstract

The main innovation is to enrich session types with the temporal modalities next ($\bigcirc A$), always ($\Box A$), and eventually ($\Diamond A$), to additionally prescribe the timing of the exchanged messages in a way that is precise yet flexible. The resulting temporal session types uniformly express properties such as the message rate of a stream, the latency of a pipeline, the response time of a concurrent queue, or the span of a fork/join parallel program. The analysis is parametric in the cost model and the presentation focuses on communication cost as a concrete example. The soundness of the analysis is established by proofs of progress and type preservation using a timed multiset rewriting semantics. Representative examples illustrate the scope and usability of the approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{das2018parallel,
  title  = {Parallel Complexity Analysis with Temporal Session Types},
  author = {Ankush Das and Jan Hoffmann and Frank Pfenning},
  year   = {2018},
  eprint = {1804.06013},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1804.06013}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1804.06013.svg)](https://codeofpaper.com/paper/1804.06013)

Discussion