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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
3.4. WEAK BISIMILARITY 65<br />
Our order of business will now be to use the new transition relations presented<br />
above to define a notion of bisimulation that can be used to equate processes that<br />
offer the same observable behaviour despite possibly having very different amounts<br />
of internal computations. The idea underlying the definition of the new notion of<br />
bisimulation is that a transition of a process can now be matched by a sequence of<br />
transitions from the other that has the same ‘observational content’ <strong>and</strong> leads to a<br />
state that is bisimilar to that reached by the first process.<br />
Definition 3.4 [Weak bisimulation <strong>and</strong> observational equivalence] A binary relation<br />
R over the set of states of an LTS is a weak bisimulation iff whenever s1 R s2<br />
<strong>and</strong> α is an action (including τ):<br />
- if s1 α → s ′ 1 , then there is a transition s2 α ⇒ s ′ 2 such that s′ 1 R s′ 2 ;<br />
- if s2 α → s ′ 2 , then there is a transition s1 α ⇒ s ′ 1 such that s′ 1 R s′ 2 .<br />
Two states s <strong>and</strong> s ′ are observationally equivalent (or weakly bisimilar), written<br />
s ≈ s ′ , iff there is a weak bisimulation that relates them. Henceforth the relation<br />
≈ will be referred to as observational equivalence or weak bisimilarity. <br />
Example 3.4 Let us consider the following labelled transition system.<br />
s<br />
τ <br />
s1<br />
a <br />
s2 t<br />
Obviously s ∼ t. On the other h<strong>and</strong> s ≈ t because the relation<br />
R = {(s, t), (s1, t), (s2, t1)}<br />
a <br />
t1<br />
is a weak bisimulation such that (s, t) ∈ R. It remains to verify that R is ind<strong>ee</strong>d a<br />
weak bisimulation.<br />
• Let us examine all possible transitions from the components of the pair (s, t).<br />
If s τ τ<br />
a<br />
→ s1 then t ⇒ t <strong>and</strong> (s1, t) ∈ R. If t → t1 then s a ⇒ s2 <strong>and</strong><br />
(s2, t1) ∈ R.<br />
• Let us examine all possible transitions from (s1, t). If s1 a → s2 then t a ⇒ t1<br />
<strong>and</strong> (s2, t1) ∈ R. Similarly if t a → t1 then s1 a ⇒ s2 <strong>and</strong> again (s2, t1) ∈ R.<br />
• Consider now the pair (s2, t1). Since neither s2 nor t1 can perform any<br />
transition, it is safe to have this pair in R.<br />
Hence we have shown that each pair from R satisfies the conditions given in Definition<br />
3.4, which means that R is a weak bisimulation, as claimed.