Calculus of communicating systems

Revision as of 17:41, 15 October 2024 by 136.26.83.31 (talk)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Refimprove The calculus of communicating systems (CCS) is a process calculus introduced by Robin Milner around 1980 and the title of a book describing the calculus. Its actions model indivisible communications between exactly two participants. The formal language includes primitives for describing parallel composition, summation between actions and scope restriction. CCS is useful for evaluating the qualitative correctness of properties of a system such as deadlock or livelock.<ref>Template:Cite book</ref>

According to Milner, "There is nothing canonical about the choice of the basic combinators, even though they were chosen with great attention to economy. What characterises our calculus is not the exact choice of combinators, but rather the choice of interpretation and of mathematical framework".

The expressions of the language are interpreted as a labelled transition system. Between these models, bisimilarity is used as a semantic equivalence.

SyntaxEdit

Given a set of action names, the set of CCS processes is defined by the following BNF grammar:

<math>P ::= 0\,\,\, | \,\,\,a.P_1\,\,\, | \,\,\,A\,\,\, | \,\,\,P_1+P_2\,\,\, | \,\,\,P_1|P_2\,\,\, | \,\,\,P_1[b/a]\,\,\, | \,\,\,P_1{\backslash}a\,\,\,</math>

The parts of the syntax are, in the order given above

inactive process
the inactive process <math>0</math> is a valid CCS process
action
the process <math>a.P_1</math> can perform an action <math>a</math> and continue as the process <math>P_1</math>
process identifier
write <math>A \overset{\underset{\mathrm{def}}{}}{=} P_1</math> to use the identifier <math>A</math> to refer to the process <math>P_1</math> (which may contain the identifier <math>A</math> itself, i.e., recursive definitions are allowed)
summation
the process <math>P_1+P_2</math> can proceed either as the process <math>P_1</math> or the process <math>P_2</math>
parallel composition
<math>P_1|P_2</math> tells that processes <math>P_1</math> and <math>P_2</math> exist simultaneously
renaming
<math>P_1[b/a]</math> is the process <math>P_1</math> with all actions named <math>a</math> renamed as <math>b</math>
restriction
<math>P_1{\backslash}a</math> is the process <math>P_1</math> without action <math>a</math>

Related calculi, models, and languagesEdit

Some other languages based on CCS:

A Philippou, M Toro, M Antonaki. Simulation and Verification in a Process Calculus for Spatially-Explicit Ecological Models. Scientific Annals of Computer Science 23 (1). 2014</ref>

Models that have been used in the study of CCS-like systems:

ReferencesEdit

  • Robin Milner: A Calculus of Communicating Systems, Springer Verlag, Template:ISBN. 1980.
  • Robin Milner, Communication and Concurrency, Prentice Hall, International Series in Computer Science, Template:ISBN. 1989

Template:Reflist


Template:Concurrent computing