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.
 
 
 
 
 
 

11 lines
286 B

// Test case for https://github.com/prismmodelchecker/prism/issues/34
// Expression simplification for 0-x does not preserve type
// Error during model building (explicit), simulation
dtmc
module M1
s : [0..1] init 0;
[] true -> 1/2:(s'=0) + 1/2:(s'=max(1,0-s));
endmodule