Spatial and behavioral types in the pi-calculus

We present a framework that combines ideas from spatial logics and behavioral type systems. Type systems for the pi-calculus are proposed where newly declared (restricted) names are annotated with spatial process properties, predicating on those names, that are expected to hold in the scope of the declaration. Types are akin to ccs terms and account for the process abstract behavior and ''shallow'' spatial structure. Type checking relies on spatial model checking, but properties are checked against types rather than against processes. Type soundness theorems ensure that, for a certain class of spatial properties, well-typed programs are also well annotated, in the sense that processes in the scope of any restriction do satisfy the corresponding annotation at run-time. The considered class of properties is rather general. Differently from previous proposals, it includes both safety and liveness ones, and is not limited to invariants. We also elaborate a distinction between locally and globally checkable properties.

[1]  Naoki Kobayashi Type-based information flow analysis for the π-calculus , 2005, Acta Informatica.

[2]  Lucia Acciai,et al.  Deciding Safety Properties in Infinite-State Pi-Calculus via Behavioural Types , 2009, ICALP.

[3]  Naoki Kobayashi,et al.  Resource Usage Analysis for the p-Calculus , 2006, Log. Methods Comput. Sci..

[4]  Robin Milner,et al.  A Calculus of Communicating Systems , 1980, Lecture Notes in Computer Science.

[5]  Maurizio Gabbrielli,et al.  Comparing Recursion, Replication, and Iteration in Process Calculi , 2004, ICALP.

[6]  Lucia Acciai,et al.  Spatial and Behavioral Types in the Pi-Calculus , 2008, CONCUR.

[7]  Atsushi Igarashi,et al.  A generic type system for the Pi-calculus , 2004, Theor. Comput. Sci..

[8]  Naoki Kobayashi,et al.  Resource Usage Analysis for the Pi-Calculus , 2006, VMCAI.

[9]  Naoki Kobayashi,et al.  Undecidability of 2-Label BPP Equivalences and Behavioral Type Systems for the pi -Calculus , 2007, ICALP.

[10]  Davide Sangiorgi,et al.  A Hybrid Type System for Lock-Freedom of Mobile Processes , 2008, CAV.

[11]  Luca Cardelli,et al.  A spatial logic for concurrency (part I) , 2003, Inf. Comput..

[12]  Robin Milner,et al.  Communication and concurrency , 1989, PHI Series in computer science.

[13]  Luca Cardelli,et al.  Anytime, Anywhere Modal Logics for Mobile Ambients (Extended Abstract) , 2000 .

[14]  Luís Caires Behavioral and Spatial Observations in a Logic for the pi-Calculus , 2004, FoSSaCS.

[15]  Luís Caires,et al.  Logical Semantics of Types for Concurrency , 2007, CALCO.

[16]  Sagar Chaki,et al.  Types as models: model checking message-passing programs , 2002, POPL '02.

[17]  Davide Sangiorgi,et al.  A hybrid type system for lock-freedom of mobile processes , 2008, TOPL.

[18]  Davide Sangiorgi The Name Discipline of Uniform Receptiveness , 1999, Theor. Comput. Sci..

[19]  Maurizio Gabbrielli,et al.  On the expressive power of recursion, replication and iteration in process calculi , 2009, Mathematical Structures in Computer Science.

[20]  Lucia Acciai,et al.  A Type System for Client Progress in a Service-Oriented Calculus , 2008, Concurrency, Graphs and Models.

[21]  Philippe Schnoebelen,et al.  Well-structured transition systems everywhere! , 2001, Theor. Comput. Sci..

[22]  Lucia Acciai,et al.  Type abstractions of name-passing processes , 2007, FSEN'07.

[23]  Joost Engelfriet,et al.  Structural inclusion in the pi-calculus with replication , 2001, Theor. Comput. Sci..

[24]  Nobuko Yoshida,et al.  Graph Types for Monadic Mobile Processes , 1996, FSTTCS.

[25]  Robin Milner,et al.  The Polyadic π-Calculus: a Tutorial , 1993 .

[26]  Luís Caires Spatial-Behavioral Types, Distributed Services, and Resources , 2006, TGC.

[27]  Lucia Acciai,et al.  Responsiveness in process calculi , 2008, Theor. Comput. Sci..