Math 2.0

Computer science Definition

Process calculus

Builds on Operational semanticsEquivalence relation

Definition

A process calculus is given by the following data.

  1. A set of actions, usually names a,b,…a, b, \dots, their co-names a‾,b‾,…\overline{a}, \overline{b}, \dots, and an internal action τ\tau.
  2. A grammar of process terms built from the inactive process 00 by operators. Typical operators are action prefix α.P\alpha.P, choice P+QP + Q, parallel composition P∣QP \mid Q, restriction (νa)P(\nu a)P, and recursion or replication.
  3. An operational semantics: a labelled transition relation P→αP′P \xrightarrow{\alpha} P' on process terms, defined by inference rules for each operator. In it, a parallel composition can perform τ\tau when one component does aa and the other does a‾\overline{a}.
  4. A behavioural equivalence, an equivalence relation on process terms, such as strong or weak bisimilarity, used to say when two processes behave the same.

The standard example is Milner's calculus of communicating systems (CCS). Its transition rules are the following, together with the symmetric rules for ++ and ∣\mid. Prefix: α.P→αP\alpha.P \xrightarrow{\alpha} P. Choice and parallel: if P→αP′P \xrightarrow{\alpha} P', then P+Q→αP′P + Q \xrightarrow{\alpha} P' and P∣Q→αP′∣QP \mid Q \xrightarrow{\alpha} P' \mid Q. Communication: if P→aP′P \xrightarrow{a} P' and Q→a‾Q′Q \xrightarrow{\overline{a}} Q', then P∣Q→τP′∣Q′P \mid Q \xrightarrow{\tau} P' \mid Q'. Restriction: if P→αP′P \xrightarrow{\alpha} P' and α∉{a,a‾}\alpha \notin \set{a, \overline{a}}, then (νa)P→α(νa)P′(\nu a)P \xrightarrow{\alpha} (\nu a)P'.

Remarks

Example: in CCS, (νa)(a.P∣a‾.Q)→τ(νa)(P∣Q)(\nu a)(a.P \mid \overline{a}.Q) \xrightarrow{\tau} (\nu a)(P \mid Q). The prefix rule gives a.P→aPa.P \xrightarrow{a} P and a‾.Q→a‾Q\overline{a}.Q \xrightarrow{\overline{a}} Q, the communication rule gives the τ\tau step of the parallel composition, and the restriction rule passes τ\tau through since τ∉{a,a‾}\tau \notin \set{a, \overline{a}}. The restriction makes aa private, so neither process can talk on aa to the outside.

Non-example: the same process has no transition labelled aa, since restriction blocks the action aa.

The processes a.(b.0+c.0)a.(b.0 + c.0) and a.b.0+a.c.0a.b.0 + a.c.0 have the same complete traces, aba b and aca c, but they are not bisimilar: after aa, the second has already chosen between bb and cc. This shows that process calculi distinguish more than sequences of actions.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Binary relation concept
  2. Equivalence relation concept
  3. Operational semantics concept
  4. Process calculus definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Process_calculus
About this page
TagR07JTVHPVF
URIm2://R07JTVHPVF
Kinddefinition
WritingW0 stub
MSC68Q85, 68Q55
DefinesProcess calculus
UsesOperational semantics, Equivalence relation
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.