On improving efficiency of model checking through systematically ...
On improving efficiency of model checking through systematically ...
On improving efficiency of model checking through systematically ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Appendix B<br />
Nbac output systems<br />
B.1 Tiny example<br />
state<br />
ok, init, b1, b0 : bool;<br />
y, x : int;<br />
input<br />
p2, p1 : bool;<br />
transition<br />
y’ = if (init) and true<br />
then 0<br />
else if (not init) and true<br />
and ((not b1 and not b0) or (b1 and b0))<br />
then y<br />
else if (not init) and true<br />
and ((b1 and not b0) or (not b1 and b0))<br />
then y+1<br />
else 0;<br />
x’ = if (init) and true<br />
then 0<br />
else if (not init) and true<br />
and ((not b1 and not b0) or (b1 and b0))<br />
then x+1<br />
else if (not init) and true<br />
and ((b1 and not b0) or (not b1 and b0))<br />
then x<br />
else 0;<br />
b1’ = (not init and b0) and true;<br />
b0’ = (not init and not b1) and true;<br />
74