Semantic Subtyping for the p-Calculus

  • Authors:
  • Giuseppe Castagna;Daniele Varacca

  • Affiliations:
  • École Normale Supérieure;Imperial College

  • Venue:
  • LICS '05 Proceedings of the 20th Annual IEEE Symposium on Logic in Computer Science
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Subtyping relations for the p-calculus are usually de- fined in a syntactic way, by means of structural rules. We propose a semantic characterisation of channel types and use it to derive a subtyping relation. The type system we consider includes read-only and write-only channel types, as well as boolean combinations of types. A set-theoretic interpretation of types is provided, in which boolean combinations are interpreted as the corresponding set-theoretic operations. Subtyping is defined as inclusion of the interpretations. We prove the decidability of the subtyping relation and sketch the subtyping algorithm. In order to fully exploit the type system, we define a variant of the p-calculus where communication is subjected to pattern matching that performs dynamic typecase.