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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

144 CHAPTER 6. HML WITH RECURSION<br />

Furthermore, if p a → p ′ then p ′ ∈ Der(a, p). Therefore p has the property<br />

<br />

[a]<br />

<br />

Xp ′<br />

<br />

,<br />

p ′ .p a → p ′<br />

for each action a. The above property states that, by performing action a, process p<br />

(<strong>and</strong> any other process that is bisimilar to it) must become a process satisfying the<br />

characteristic property of a state in Der(a, p). (Note that if p a , then Der(a, p)<br />

is empty. In that case, since an empty disjunction is just the formula ff, the above<br />

formula becomes simply [a]ff—which is what we would expect.)<br />

Since action a is arbitrary, we have that<br />

p |= <br />

<br />

<br />

[a] Xp ′<br />

<br />

.<br />

a<br />

p ′ .p a → p ′<br />

If we summarize the above requirements, we have that<br />

p |= <br />

〈a〉Xp ′<br />

<br />

<br />

∧ [a]<br />

<br />

a,p ′ .p a → p ′<br />

a<br />

p ′ .p a → p ′<br />

As this property is apparently a complete description of the behaviour of process<br />

p, this is our c<strong>and</strong>idate for its characteristic property. Xp is therefore defined as<br />

a solution to the equational system obtained by giving the following equation for<br />

each q ∈ Proc:<br />

Xq =<br />

<br />

<br />

<br />

<br />

〈a〉Xq ′ ∧ [a] Xq ′<br />

<br />

. (6.14)<br />

a,q ′ .q a → q ′<br />

a<br />

q ′ .q a → q ′<br />

The solution can either be the least or the largest one (or, in fact, any other fixed<br />

point for what we know at this stage).<br />

The following example shows that the least solution to (6.14) in general does<br />

not yield the characteristic property for a process.<br />

Example 6.10 Let p be the process given in Figure 6.5. In this case, assuming for<br />

the sake of simplicity that a is the only action, the equational system obtained by<br />

using (6.14) will have the form<br />

Xp = 〈a〉Xp ∧ [a]Xp .<br />

Since 〈·a·〉∅ = ∅, you should be able to convince yourselves that [Xp ] = ∅ is<br />

the least solution to this equation. This corresponds to taking Xp = ff as the<br />

characteristic formula for p. However, p does not have the property ff, which<br />

therefore cannot be the characteristic property for p. <br />

Xp ′<br />

<br />

.

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

Saved successfully!

Ooh no, something went wrong!