ArticleslgStudy

mathematics

Calculus of communicating systems

Calculus of communicating systems is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Calculus of communicating systems rather than just read about it. In short: 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.

Key takeaways

  • Calculus of communicating systems belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Calculus of communicating systems to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Calculus of communicating systems from memory before moving on to harder problems.

Reference excerpt

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. 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.

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

P::=0|a.P1|ref A|P1+P2|P1|P2|P1[b/a]|P1∖a The parts of the syntax are, in the order given above

inactive process the inactive process 0 is a valid CCS process action the process a.P1 can perform an action a and continue as the process P1 process identifier define A=defP1, and then use the identifier A to refer to the process P1 (which may contain the identifier A itself, i.e., recursive definitions are allowed) summation the process P1+P2 can proceed either as the process P1 or the process P2 parallel composition P1|P2 tells that processes P1 and P2 exist simultaneously renaming P1[b/a] is the process P1 with all actions named a renamed as b restriction P1∖a is the process P1 without action a

Related calculi, models, and languages Communicating sequential processes (CSP), developed by Tony Hoare, is a formal language that arose at a similar time to CCS. The Algebra of Communicating Processes (ACP) was developed by Jan Bergstra and Jan Willem Klop in 1982, and uses an axiomatic approach (in the style of Universal algebra) to reason about a similar class of processes as CCS. The pi-calculus, developed by Robin Milner, Joachim Parrow, and David Walker in the late 80's extends CCS with mobility of communication links, by allowing processes to communicate the names of communication channels themselves. PEPA, developed by Jane Hillston introduces activity timing in terms of exponentially distributed rates and probabilistic choice, allowing performance metrics to be evaluated. Reversible Communicating Concurrent Systems (RCCS) introduced by Vincent Danos, Jean Krivine, and others, introduces (partial) reversibility in the execution of CCS processes. Some other languages based on CCS:

Calculus of broadcasting systems Language Of Temporal Ordering Specification (LOTOS) Process Calculus for Spatially-Explicit Ecological Models (PALPS) is an extension of CCS with probabilistic choice, locations and attributes for locations Java Orchestration Language Interpreter Engine (Jolie) Models that have been used in the study of CCS-like systems:

History monoid Actor model

References Robin Milner: A Calculus of Communicating Systems, Springer Verlag, ISBN 0-387-10235-3. 1980. Robin Milner, Communication and Concurrency, Prentice Hall, International Series in Computer Science, ISBN 0-13-115007-3. 1989

Worked examples

Example 1 — a first encounter with Calculus of communicating systems

Start with the simplest possible case. Write down what Calculus of communicating systems claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Calculus of communicating systems before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Calculus of communicating systems ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Calculus of communicating systems

In research
Calculus of communicating systems appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Calculus of communicating systems in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Calculus of communicating systems is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1980 in computing, Process calculi, so understanding it makes those chapters shorter.
In everyday life
Look for Calculus of communicating systems outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Calculus of communicating systems” →

How to study Calculus of communicating systems in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Calculus of communicating systems means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Calculus of communicating systems out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Calculus of communicating systems in simple terms?

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.

Why does Calculus of communicating systems matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Calculus of communicating systems?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Calculus of communicating systems.

Tags

  • 1980 in computing
  • Process calculi

Keep exploring