Reactive Systems: Modelling, Specification and Verification - Cs.ioc.ee
Reactive Systems: Modelling, Specification and Verification - Cs.ioc.ee
Reactive Systems: Modelling, Specification and Verification - Cs.ioc.ee
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
22 CHAPTER 2. THE LANGUAGE CCS<br />
a<br />
p<br />
<br />
b<br />
<br />
p1 <br />
d<br />
Figure 2.6: Labelled transition system with initial state p<br />
p<br />
p2<br />
•<br />
tea<br />
<br />
<br />
<br />
coff<strong>ee</strong><br />
<br />
<br />
<br />
• <br />
•<br />
<br />
<br />
<br />
1C= <br />
2C=<br />
<br />
<br />
<br />
<br />
collect<br />
•<br />
Remark 2.1 The definition of a labelled transition system permits situations like<br />
that in Figure 2.6 (where p is the initial state). In that labelled transition system,<br />
the state p2, where the action c can be performed in a loop, is irrelevant for the<br />
behaviour of the process p since, as you can easily check, p2 can never be reached<br />
from p. This motivates us to introduce the notion of reachable states. We say that<br />
a state p ′ in the transition system representing a process p is reachable from p iff<br />
there exists an directed path from p to p ′ . The set of all such states is called the set<br />
of reachable states. In our example this set contains exactly two states, namely p<br />
<strong>and</strong> p1. <br />
Definition 2.1 [Labelled transition system] A labelled transition system (LTS) (at<br />
times also called a transition graph) is a triple (Proc, Act, { α →| α ∈ Act}), where:<br />
• Proc is a set of states (or processes);<br />
• Act is a set of actions (or labels);<br />
• α →⊆ Proc × Proc is a transition relation, for every α ∈ Act. As usual, we<br />
shall use the more suggestive notation s α → s ′ in lieu of (s, s ′ ) ∈ α →, <strong>and</strong><br />
write s α (read ‘s refuses a’) iff s α → s ′ for no state s ′ .<br />
<br />
c