scholarly journals Using Session Types for Reasoning About Boundedness in the Pi-Calculus

2017 ◽  
Vol 255 ◽  
pp. 67-82
Author(s):  
Hans Hüttel
Keyword(s):  
Author(s):  
Eva Fajstrup Graversen ◽  
Jacob Buchreitz Harbo ◽  
Hans Hüttel ◽  
Mathias Ormstrup Bjerregaard ◽  
Niels Sonnich Poulsen ◽  
...  

2014 ◽  
Vol 26 (2) ◽  
pp. 206-237 ◽  
Author(s):  
MARCO GIUNTI ◽  
VASCO THUDICHUM VASCONCELOS

We present a type system based on session types that works on a conventional pi calculus. Types are equipped with a constructor that describes the two ends of a single communication channel, this being the only type available for describing the behaviour of channels. Session types, in turn, describe the behaviour of each individual channel end, as usual. A novel notion of typing context split allows for typing processes not typable with extant type systems. We show that our system guarantees that typed processes do not engage in races for linear resources. We assess the expressiveness of the type system by providing three distinct encodings – from the pi calculus with polarized variables, from the pi calculus with accept and request primitives, and from the linear pi calculus – into our system. For each language we present operational and typing correspondences, showing that our system effectively subsumes foregoing works on linear and session types. In the case of the linear pi calculus we also provide a completeness result.


2019 ◽  
Vol 57 (6) ◽  
pp. 801-827
Author(s):  
Hans Hüttel
Keyword(s):  

2008 ◽  
Vol 18 (5) ◽  
pp. 895-930 ◽  
Author(s):  
SIMON J. GAY

Session types allow high-level specifications of structured patterns of communication, such as client-server protocols, to be expressed as types and verified by static typechecking. In collaboration with Malcolm Hole, we previously introduced a notion of subtyping for session types, which was formulated for an extended pi calculus. Subtyping allows one part of a system, for example, a server, to be refined without invalidating type-correctness of other parts, for example, clients. In this paper we introduce bounded polymorphism, which is based on the same notion of subtyping, in order to support more precise and flexible specifications of protocols; in particular, a choice of type in one message may affect the types of future messages. We formalise the syntax, operational semantics and typing rules of an extended pi calculus, and prove that typechecking guarantees the absence of run-time communication errors. We study algorithms for checking instances of the subtype relation in two versions of our system, which we call KernelS≤and FullS≤, and establish that subtyping in KernelS≤is decidable, and that subtyping in FullS≤is undecidable.


2018 ◽  
Vol 276 ◽  
pp. 3-18
Author(s):  
Jens Aagaard ◽  
Hans Hüttel ◽  
Mathias Jakobsen ◽  
Mikkel Kettunen

2005 ◽  
Vol 42 (2-3) ◽  
pp. 191-225 ◽  
Author(s):  
Simon Gay ◽  
Malcolm Hole
Keyword(s):  

Author(s):  
Matthew Hennessy
Keyword(s):  

2014 ◽  
Vol 36 (6) ◽  
pp. 1261-1266
Author(s):  
Xiang-Ning LI ◽  
Ke-Gang HAO ◽  
Xiao-Qun GUO
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document