Inference Systems with Corules for Combined Safety and Liveness Properties of Binary Session Types

08/03/2021
by   Luca Ciccone, et al.
0

Many properties of communication protocols combine safety and liveness aspects. Characterizing such combined properties by means of a single inference system is difficult because of the fundamentally different techniques (coinduction and induction, respectively) usually involved in defining and proving them. In this paper we show that Generalized Inference Systems allow for simple and insightful characterizations of (at least some of) these combined inductive/coinductive properties of binary session types. In particular, we illustrate the role of corules in characterizing fair termination (the property of protocols that can always eventually terminate), fair compliance (the property of interactions that can always be extended to reach client satisfaction) and fair subtyping, a liveness-preserving refinement relation for session types.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/08/2023

Concerto Grosso for Sessions: Fair Termination of Sessions

Sessions are a fundamental notion in message-passing systems. A session ...
research
01/20/2021

Fair Refinement for Asynchronous Session Types (extended version)

Session types are widely used as abstractions of asynchronous message pa...
research
04/16/2022

Fault-Tolerant Multiparty Session Types (Technical Report)

Multiparty session types are designed to abstractly capture the structur...
research
05/18/2022

Fair Termination of Multiparty Sessions

There exists a broad family of multiparty sessions in which the progress...
research
08/31/2020

Substructural Observed Communication Semantics

Session-types specify communication protocols for communicating processe...
research
12/11/2022

On the Fair Termination of Client-Server Sessions

Client-server sessions are based on a variation of the traditional inter...

Please sign up or login with your details

Forgot password? Click here to reset