25.12.2014 Views

On improving efficiency of model checking through systematically ...

On improving efficiency of model checking through systematically ...

On improving efficiency of model checking through systematically ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

fixed point can be reached without further analysis on every values <strong>of</strong> x>1.<br />

<strong>On</strong> the contrary, Uppaal does not employ such abstraction. Integer values<br />

are handled exactly as they are and thus the fixed point equation can be<br />

infinite. A detailed explanation <strong>of</strong> fixed point theory and its application in<br />

<strong>model</strong> <strong>checking</strong> is presented in the research report[16].<br />

The original <strong>model</strong>s <strong>of</strong> the four systems described in this chapter are<br />

not the same source; They were initially specified in Nbac, PMC/Uppaal, and<br />

Lustre [2] input language. All <strong>of</strong> them are however eventually transformed<br />

into Nbac input language. Therefore, it is possible that the original <strong>model</strong><br />

is simple but the Nbac output <strong>model</strong> is complicated due to transformation<br />

and abstraction steps. We categorize these systems based on output <strong>model</strong>s<br />

from Nbac which are inputs for verification done by PMC or Uppaal.<br />

Practical <strong>model</strong>s <strong>of</strong> the case studies in text format can be found in the<br />

Appendix section.<br />

4.1 The tiny example<br />

The tiny example is taken from Nbac tutorial[21]. This simple system has<br />

two counters x, y which are alternatively incremented. It is represented by<br />

the automaton shown in Figure 4.1.<br />

init<br />

init := false<br />

ok := true<br />

x := 0<br />

y := 0<br />

¯b0 ¯b1<br />

x ≥ yx := x +1<br />

b 0 ¯b1<br />

x

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

Saved successfully!

Ooh no, something went wrong!