Skip to main content Accessibility help
×
Hostname: page-component-5b777bbd6c-w9n4q Total loading time: 0 Render date: 2025-06-19T00:02:26.980Z Has data issue: false hasContentIssue false

3 - Polyadicity and Recursion

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

3.1 Polyadicity

In the monadic π-calculus, an interaction involves the transmission of a single name from one process to another. A natural and convenient extension is to admit processes that pass tuples of names. The enriched language, the polvadic π-calculus, is examined in this section.

Definition 3.1.1 (Polyadic π-calculus) The processes of the polyadic tt- calculus are defined in the same way as the processes of the monadic calculus, except that the prefixes are given by

where no name occurs more than once in the tuple z in an input prefix.

The intended interpretations of the new polyadic prefixes are that. P can send the tuple via x and continue as P, and that. Q can receive a tuple via x and continue as.

The natural way to extend the reduction relation to polyadic terms is to change the first axiom, R-inter, of reduction to:

Thus, in an interaction, sender and receiver must agree on the length of the tuple to be passed. (We write | x | for the length of the tuple x.) Simply defining reduction using Pr-inter is not the end of the story, however.

To see why, consider a polyadic term in which sender and receiver disagree on the length of tuple to be transmitted via some name, for instance,

A term such as this is somewhat analogous to an ill-tvped application term in a typed λ-calculus. It may not be manifest whether a disagreement of the kind illustrated in (3.1) can arise from a given polvadic process. For instance,

can evolve in two reductions to the term in (3.1); and one can easily imagine more complicated examples.

How can such ill-formed polvadic processes be separated out? Taking a cue from λ-calculus and programming languages, we may seek to achieve the separation via a suitable type discipline. Part III and Part IV are devoted to types, and consider in particular typing of polvadic processes. Passing of tuples is so useful, however, that we wish to anticipate a little and develop a suitable treatment here. The treatment will use a by-name typing discipline, based on sorts. The typing is by name in that different sorts are considered to be different types. From Part III on, we study typing by structure, where types are equal if they have the same structure.

Type
Chapter
Information
The Pi-Calculus
A Theory of Mobile Processes
, pp. 127 - 153
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.

  • Polyadicity and Recursion
  • 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.009
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.

  • Polyadicity and Recursion
  • 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.009
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.

  • Polyadicity and Recursion
  • 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.009
Available formats
×