14.08.2013 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.3. STRONG BISIMILARITY 59<br />

B 2 0<br />

<br />

in<br />

<br />

B2 1<br />

in<br />

<br />

B2 <br />

2<br />

out<br />

out<br />

<br />

B 1 1 | B1 0<br />

in<br />

<br />

in<br />

out<br />

out<br />

<br />

B1 0 | B1 <br />

0<br />

<br />

B 1 1 | B1 1<br />

Figure 3.2: A bisimulation showing B 2 0 ∼ B1 0 | B1 0<br />

<br />

in<br />

in<br />

out<br />

<br />

B1 0 | B1 <br />

1<br />

certainly met when n = 2 because, as you can readily check, the relation depicted<br />

in Figure 3.2 is a bisimulation showing that<br />

B 2 0 ∼ B 1 0 | B 1 0 .<br />

That this holds regardless of the size of the buffer to be implemented is the import<br />

of the following result.<br />

Proposition 3.2 For each natural number n ≥ 1,<br />

B n 0 ∼ B 1 0 | B 1 0 | · · · | B 1 0<br />

<br />

n times<br />

Proof: Construct the following binary relation, where i1, i2, . . . , in ∈ {0, 1}:<br />

R = { B n i , B1 i1 | B1 i2 | · · · | B1 in<br />

|<br />

.<br />

out<br />

n<br />

ij = i} .<br />

Intuitively, the above relation relates a buffer of capacity n holding i items with a<br />

parallel composition of n buffers of capacity one, provided that exactly i of them<br />

are full.<br />

It is not hard to s<strong>ee</strong> that<br />

• Bn 0 , B1 0 | B1 0 | · · · | B1 <br />

0 ∈ R, <strong>and</strong><br />

• R is a strong bisimulation.<br />

It follows that<br />

B n 0 ∼ B1 0 | B1 0 | · · · | B1 0 ,<br />

<br />

n times<br />

which was to be shown. We encourage you to fill in the details in this proof. ✷<br />

j=1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!