Spring til hovednavigation Spring til søgning Spring til hovedindhold

Machine-Checked Semantic Session Typing

  • Jonas Kastberg Hinrichsen
  • , Daniël Louwrink
  • , Robbert Krebbers
  • , Jesper Bengtson
  • Delft University of Technology
  • Radboud University Nijmegen
  • University of Amsterdam

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelKonferencebidrag i proceedingsForskningpeer review

Abstract

Session types—a family of type systems for message-passing concurrency—have been subject to many extensions, where each extension comes with a separate proof of type safety. These extensions cannot be readily combined, and their proofs of type safety are generally not machine checked, making their correctness less trustworthy. We overcome these shortcomings with a semantic approach to binary asynchronous affine session types, by developing a logical relations model in Coq using the Iris program logic. We demonstrate the power of our approach by combining various forms of polymorphism and recursion, asynchronous subtyping, references, and locks/mutexes. As an additional benefit of the semantic approach, we demonstrate how to manually prove typing judgements of racy, but safe, programs that cannot be type checked using only the rules of the type system.
OriginalsprogEngelsk
TitelCPP 2021: Proceedings of the 10th ACM SIGPLAN International Conference on Certified Programs and Proofs
ForlagAssociation for Computing Machinery
Publikationsdato2021
Sider178–198
DOI
StatusUdgivet - 2021
BegivenhedInternational Conference on Certified Programs and Proofs - VIRTUAL
Varighed: 17 jan. 202119 jan. 2021
Konferencens nummer: 10

Konference

KonferenceInternational Conference on Certified Programs and Proofs
Nummer10
ByVIRTUAL
Periode17/01/202119/01/2021

Emneord

  • Message passing
  • Session types
  • Separation logic
  • Semantic typing
  • Iris
  • Coq

Fingeraftryk

Dyk ned i forskningsemnerne om 'Machine-Checked Semantic Session Typing'. Sammen danner de et unikt fingeraftryk.

Citationsformater