Model gulwani2¶
Cited in: [Gulwani09] fig. 2a p. 4.
Tags: complexity, nonlinear.
Figure¶
Source code¶
model gulwani_cav09_04a {
var x, y, m, n, i;
states q;
transition t2 := {
from := q;
to := q;
guard := x < n && y >= m;
action := y' = 0, x' = x + 1, i' = i + 1;
};
transition t1 := {
from := q;
to := q;
guard := x < n && y < m;
action := y' = y + 1, i' = i + 1;
};
}
strategy gulwani_cav09_04a_s {
Region init := {state = q && x = 0 && y = 0 && m >= 0 && n >= 0 && i = 0};
}