kmclib: Automated Inference and Verification of Session Types

Keigo Imai, Julien Lange, Rumyana Neykova
11/23/2021
cs.PL

Official code: keigoi/kmclib (13 stars, OCaml, MIT, last commit 2022-02-28).

Abstract

Theories and tools based on multiparty session types offer correctness guarantees for concurrent programs that communicate using message-passing. These guarantees usually come at the cost of an intrinsically top-down approach, which requires the communication behaviour of the entire program to be specified as a global type.

Show full abstract

This paper introduces kmclib: an OCaml library that supports the development of correct message-passing programs without having to write any types. The library utilises the meta-programming facilities of OCaml to automatically infer the session types of concurrent programs and verify their compatibility (k-MC). Well-typed programs, written with kmclib, do not lead to communication errors and cannot get stuck.

View on arXivView PDF

Code Implementations(1)

keigoi/kmclibOfficial100%
MIT
130OCamlSep 24, 20214 years agoMIT

Similar Papers

Cite this paper

@article{imai2021kmclib,
  title  = {kmclib: Automated Inference and Verification of Session Types},
  author = {Keigo Imai and Julien Lange and Rumyana Neykova},
  year   = {2021},
  eprint = {2111.12147},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.12147}
}

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/2111.12147.svg)](https://codeofpaper.com/paper/2111.12147)

Discussion