Skip to main content Accessibility help
×
Hostname: page-component-5b777bbd6c-j65dx Total loading time: 0 Render date: 2025-06-19T01:07:08.231Z Has data issue: false hasContentIssue false

5 - Subcalculi

Published online by Cambridge University Press:  29 May 2025

Davide Sangiorgi
Affiliation:
Institut National de Recherche en Informatique et en Automatique (INRIA), Rocquencourt
David Walker
Affiliation:
University of Oxford
Get access

Summary

5.1 The Asynchronous π-calculus

The π-calculus takes over from CCS a kind of synchronized communication, in which an interaction involves the joint participation of two processes. The prefix operator expresses temporal precedence: the sole capability of xy. P is to send via x, and that of x(z). Q to receive via x, and in each case it is only after the relevant capability has been exercised that the behaviour expressed by the term underneath the prefix can unfold. The combination of prefixing and synchronized communication is versatile and tractable.

On the other hand, some concurrent systems, especially distributed systems, use forms of asynchronous communication, in which the act of sending a datum and the act of receiving it are separate. Often, such communication involves an explicit medium of some kind, and sending and receiving data involve putting them into and taking them out of the medium. Media exhibit a variety of characteristics. For instance, they may have bounded or unbounded capacity, and they may or may not preserve some ordering among the data they contain. There may be an arbitrary delay between a datum being sent and it being received. If the communication medium has unbounded capacity, no process need wait to send a datum.

This section and the following four are about a subcalculus of the π-calculus in which communication can be understood as asynchronous. The key step in achieving this is the decree that, in the subcalculus, the only term that can appear underneath an output prefix is 0. Thus, the only output-prefixed terms are of the shape xy. 0, or, in abbreviated form, xy. In a term of the subcalculus, an unguarded occurrence of a particle xy can be thought of as a datum y in an implicit communication medium, tagged with x to indicate that it is available to any unguarded subterm of the form x(z).P. Thus, in the evolution of a term, the datum y can be considered to be sent when xy becomes unguarded, and to be received when xy disappears via an intraaction of the form

This reduction has two effects: the particle xy is consumed and removed from the communication medium; and the unguarded output particles in P{y/z} are liberated and put into the medium.

Type
Chapter
Information
The Pi-Calculus
A Theory of Mobile Processes
, pp. 189 - 226
Publisher: Cambridge University Press
Print publication year: 2001

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Book purchase

Temporarily unavailable

Save book to Kindle

To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Subcalculi
  • Davide Sangiorgi, Institut National de Recherche en Informatique et en Automatique (INRIA), Rocquencourt, David Walker, University of Oxford
  • Book: The Pi-Calculus
  • Online publication: 29 May 2025
  • Chapter DOI: https://doi.org/10.1017/9781316134924.011
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Subcalculi
  • Davide Sangiorgi, Institut National de Recherche en Informatique et en Automatique (INRIA), Rocquencourt, David Walker, University of Oxford
  • Book: The Pi-Calculus
  • Online publication: 29 May 2025
  • Chapter DOI: https://doi.org/10.1017/9781316134924.011
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Subcalculi
  • Davide Sangiorgi, Institut National de Recherche en Informatique et en Automatique (INRIA), Rocquencourt, David Walker, University of Oxford
  • Book: The Pi-Calculus
  • Online publication: 29 May 2025
  • Chapter DOI: https://doi.org/10.1017/9781316134924.011
Available formats
×