summaryrefslogblamecommitdiff
path: root/tests/kind2-examples/a_two_counters.scade
blob: 687c54a7113291d4286efd5ffd31aad61e405155 (plain) (tree)
























                                                                               
node top
  (x: bool)
returns
  (OK: bool)

var
  V13_b: bool;
  V14_d: bool;
  V40_a: bool;
  V41_b: bool;
  V51_time: int;

let

  V51_time = (0 -> (if ((pre V51_time) = 3) then 0 else ((pre V51_time) + 1)));
  V41_b = (false -> (pre V40_a));
  V40_a = (false -> (not (pre V41_b)));
  V14_d = (V51_time = 2);
  V13_b = (V40_a and V41_b);
  OK = (V13_b = V14_d);

  guarantee PROPERTY: OK;

tel