Print Email Facebook Twitter Actris: Session-type based reasoning in separation logic Title Actris: Session-type based reasoning in separation logic Author Hinrichsen, J.K. (IT University of Copenhagen) Bengtson, Jesper (IT University of Copenhagen) Krebbers, R.J. (TU Delft Programming Languages) Date 2020 Abstract Message passing is a useful abstraction to implement concurrent programs. For real-world systems, however, it is often combined with other programming and concurrency paradigms, such as higher-order functions, mutable state, shared-memory concurrency, and locks. We present Actris: a logic for proving functional correctness of programs that use a combination of the aforementioned features. Actris combines the power of modern concurrent separation logics with a first-class protocol mechanism - based on session types - for reasoning about message passing in the presence of other concurrency paradigms. We show that Actris provides a suitable level of abstraction by proving functional correctness of a variety of examples, including a distributed merge sort, a distributed load-balancing mapper, and a variant of the map-reduce model, using relatively simple specifications. Soundness of Actris is proved using a model of its protocol mechanism in the Iris framework. We mechanised the theory of Actris, together with tactics for symbolic execution of programs, as well as all examples in the paper, in the Coq proof assistant. Subject Actor modelConcurrencyIrisMessage passingSession types To reference this document use: http://resolver.tudelft.nl/uuid:ebe8120e-f3e6-47e3-a687-33d28df80780 DOI https://doi.org/10.1145/3371074 ISSN 2475-1421 Source Proceedings of the ACM on Programming Languages, 4 (POPL), 1-30 Part of collection Institutional Repository Document type journal article Rights © 2020 J.K. Hinrichsen, Jesper Bengtson, R.J. Krebbers Files PDF 3371074.pdf 564.48 KB Close viewer /islandora/object/uuid:ebe8120e-f3e6-47e3-a687-33d28df80780/datastream/OBJ/view