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.

174 CHAPTER 7. MODELLING MUTUAL EXCLUSION ALGORITHMS<br />

Hence, as previously claimed, either a.0 fails the test T or b.0 does. Since<br />

both a.0 <strong>and</strong> b.0 satisfy the formula [a]ff ∨ [b]ff, this contradicts our assumption<br />

that T tests for it.<br />

The proof is now complete. ✷<br />

The collection of formulae in safety HML is the set of formulae in HML with<br />

recursion that do not contain occurrences of ∨, 〈α〉 <strong>and</strong> variables defined using<br />

least fixed point recursion equations. For instance, the formula 〈a〉X is not a legal<br />

formula in safety HML if X is defined thus:<br />

X min<br />

= 〈b〉tt ∨ 〈a〉X .<br />

Exercise 7.15 (Strongly recommended) Can you build a test (denoted by a process<br />

in the regular fragment of CCS) for each formula in safety HML without<br />

recursion? Hint: Use induction on the structure of formulae. <br />

It turns out that, with the addition of recursive formulae defined using largest fixed<br />

points, the collection of testable formulae in HML with recursion is precisely the<br />

one you built tests for in the previous exercise! This is the import of the following<br />

result from (Aceto <strong>and</strong> Ingolfsdottir, 1999).<br />

Theorem 7.1 The collection of formulae in safety HML is testable. Moreover,<br />

every testable property in HML with recursion can be expressed in safety HML.<br />

Thus we can construct tests for safety properties expressible in HML with recursion.<br />

We refer the interested readers to (Aceto <strong>and</strong> Ingolfsdottir, 1999) for more<br />

details, further developments <strong>and</strong> references to the literature.

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

Saved successfully!

Ooh no, something went wrong!