Published online by Cambridge University Press: 29 May 2025
12.1 Simply-typed HOπ
We extend Base-π and move to higher order by allowing values built out of processes. We use Higher-Order π-calculus, briefly HOπ, as a general name for a higher-order extension of Base-π.
Passing a process is like passing a parameterless procedure. The recipient of a process can do nothing with it but execute it, possibly several times. Procedures gain great utility if they can be parametrized so that, when invoked, some arguments may be supplied. In the same way a higher-order process calculus gains power if the processes that are communicated may be parametrized (see also the discussion at the end of Section 13.1.1). A parametrized process, an abstraction, is an expression of the form (x).P. We have already met abstractions in previous Parts of the book - Definition 2.4.38, Section 7.4.1; in this Part and the next, they play a central role. We may also regard abstractions as components of input-prefixed processes, viewing a(x).P as an abstraction located at a. Indeed, the part (x).P of a(x).P behaves exactly like an abstraction. In (x).P as in a(x).P, the displayed occurrence of x is binding with scope P.
When an abstraction (x).P is applied to an argument w it yields the process P{w/x}. Application is the destructor for abstractions. The application of an abstraction v to a value v’ is written, where T is the type of v'. (The type annotation is to ensure that the typing derivation of a process is unique, which will facilitate the encoding of HOπ into π-calculus. An alternative is to annotate the binding occurrences of names in abstractions, as is common in λ-calculi. Our choice keeps the syntax of abstraction closer to that of input.) At the level of types, adding parametrization means adding function types; thus in the value v has type T → ⋄, where ⋄ is the behaviour type (the type of processes, Section 6.1).
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.
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.
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.