Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Semantic subtyping for the pi-calculus

Published: 20 May 2008 Publication History

Abstract

Subtyping relations for the @p-calculus are usually defined 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 of types are interpreted as the corresponding set-theoretic operations. Subtyping is defined as inclusion of the interpretations. We prove 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.

References

[1]
Acciai, L. and Boreale, M., XPi: A typed process calculus for XML messaging. In: LNCS, vol. 3535. Springer. pp. 47-66.
[2]
Benzaken, V., Castagna, G. and Frisch, A., CDuce: an XML-friendly general purpose language. In: ICFP¿03, 8th ACM International Conference on Functional Programming, ACM Press. pp. 51-63.
[3]
G. Boudol, Asynchrony and the ¿-calculus, Research Report 1702, INRIA, http://www.inria.fr/rrrt/rr-1702.html. Also available from http://www-sop.inria.fr/mimosa/personnel/Gerard.Boudol.html, 1992
[4]
Castagna, G., Semantic subtyping: Challenges, perspectives, and open problems. In: Lecture Notes in Computer Science, vol. 3701. Springer. pp. 1-20.
[5]
Castagna, G., De Nicola, R. and Varacca, D., Semantic subtyping for the ¿-calculus. In: LICS¿05, 20th Annual IEEE Symposium on Logic in Computer Science, IEEE Computer Society Press.
[6]
Castagna, G., Dezani Ciancaglini, M. and Varacca, D., Encoding CDuce into the C¿-calculus. In: LNCS, vol. 4137. Springer. pp. 310-326.
[7]
Castagna, G. and Frisch, A., A gentle introduction to semantic subtyping. In: Proc. of PPDP ¿05, the 7th ACM SIGPLAN Int. Symp. on Principles and Practice of Declarative Programming (full version) and ICALP¿05, 32nd Int. Colloquium on Automata, Languages and Programming, in: LNCS, vol. 3580, Springer (summary), ACM Press.
[8]
S. Carpineti, C. Laneve, L. Padovani, Piduce¿a project for experimenting web services technologies, Unpublished manuscript. Available at http://www.cs.unibo.it/PiDuce/#pt, 2006
[9]
Frisch, A., Castagna, G. and Benzaken, V., Semantic Subtyping. In: LICS ¿02, 17th Annual IEEE Symposium on Logic in Computer Science, IEEE Computer Society Press. pp. 137-146.
[10]
A. Frisch, Theorie, conception et realisation d'un langage de programmation fonctionnel adapte à XML, Ph.D. Thesis, Universite Paris 7, December 2004
[11]
Hosoya, H., Frisch, A. and Castagna, G., Parametric polymorphism for XML. In: POPL'05, 32nd ACM Symposium on Principles of Programming Languages, ACM Press.
[12]
Hennessy, M. and Riely, J., Resource access control in systems of mobile agents. Information and Computation. v173. 82-120.
[13]
Honda, K. and Tokoro, M., An object calculus for asynchronous communication. In: LNCS, vol. 512. Springer. pp. 133-147.
[14]
M. Merro, Locality in the pi-calculus and applications to distributed objects, Ph.D. thesis, Ecole des Mines de Paris, Nice, France, 2000
[15]
De Nicola, Rocco, Luigi Ferrari, Gian, Pugliese, Rosario and Venneri, Betti, Types for access control. Theoretical Computer Science. v240 i1. 215-254.
[16]
Pierce, B. and Sangiorgi, D., Typing and subtyping for mobile processes. Mathematical Structures in Computer Science. v6 i5.
[17]
Sewell, P., Global/local subtyping and capability inference for a distributed ¿-calculus. In: LNCS, vol. 1443. pp. 695-706.
[18]
Sangiorgi, D. and Walker, D., The ¿-Calculus. 2002. Cambridge University Press.
[19]
Yoshida, N. and Hennessy, M., Subtyping and locality in distributed higher order processes. In: LNCS, vol. 1664. pp. 557-572.

Cited By

View all
  • (2023)Precise Subtyping for Asynchronous Multiparty SessionsACM Transactions on Computational Logic10.1145/356842224:2(1-73)Online publication date: 6-Nov-2023
  • (2022)Precise Subtyping for Asynchronous Multiparty SessionsACM Transactions on Computational Logic10.1145/356502624:2(1-73)Online publication date: 16-Dec-2022
  • (2021)Precise subtyping for asynchronous multiparty sessionsProceedings of the ACM on Programming Languages10.1145/34342975:POPL(1-28)Online publication date: 4-Jan-2021
  • Show More Cited By

Index Terms

  1. Semantic subtyping for the pi-calculus

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image Theoretical Computer Science
      Theoretical Computer Science  Volume 398, Issue 1-3
      May, 2008
      265 pages

      Publisher

      Elsevier Science Publishers Ltd.

      United Kingdom

      Publication History

      Published: 20 May 2008

      Author Tags

      1. Boolean type combinators
      2. Channels
      3. Concurrency
      4. Pi-calculus
      5. Subtyping
      6. Types

      Qualifiers

      • Article

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)0
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 26 Jan 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2023)Precise Subtyping for Asynchronous Multiparty SessionsACM Transactions on Computational Logic10.1145/356842224:2(1-73)Online publication date: 6-Nov-2023
      • (2022)Precise Subtyping for Asynchronous Multiparty SessionsACM Transactions on Computational Logic10.1145/356502624:2(1-73)Online publication date: 16-Dec-2022
      • (2021)Precise subtyping for asynchronous multiparty sessionsProceedings of the ACM on Programming Languages10.1145/34342975:POPL(1-28)Online publication date: 4-Jan-2021
      • (2020)SFJ: An Implementation of Semantic Featherweight JavaCoordination Models and Languages10.1007/978-3-030-50029-0_10(153-168)Online publication date: 15-Jun-2020
      • (2016)Semantic subtyping for imperative object-oriented languagesACM SIGPLAN Notices10.1145/3022671.298399251:10(568-587)Online publication date: 19-Oct-2016
      • (2016)Semantic subtyping for imperative object-oriented languagesProceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications10.1145/2983990.2983992(568-587)Online publication date: 19-Oct-2016
      • (2016)Name-passing calculiInformation and Computation10.1016/j.ic.2016.10.003251:C(335-360)Online publication date: 1-Dec-2016
      • (2016)Denotational and Operational Preciseness of SubtypingEssays Dedicated to Frank de Boer on Theory and Practice of Formal Methods - Volume 966010.1007/978-3-319-30734-3_12(155-172)Online publication date: 1-Jan-2016
      • (2016)Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and ApplicationsundefinedOnline publication date: 19-Oct-2016
      • (2014)On the Preciseness of Subtyping in Session TypesProceedings of the 16th International Symposium on Principles and Practice of Declarative Programming10.1145/2643135.2643138(135-146)Online publication date: 8-Sep-2014
      • Show More Cited By

      View Options

      View options

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media