You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
350 B

// Bug fixed in trunk rev 3520 : GCD computation when max clock constraint is 0
pta
module M
s : [0..3];
x : clock;
invariant
(s=0 => x=0)
//& (s=3 => x>=1)
endinvariant
[] s=0 -> (s'=1);
[] s=1 & x<=0 -> (s'=3);
[] s=3 -> (s'=3);
endmodule
label "target" = s=3;
rewards "time"
true : 1;
endrewards