mdp
module M1
P3_could_be0 : bool init true;
P3_could_be1 : bool init true;
P3_could_be2 : bool init true;
P3_could_be3 : bool init true;
P3_could_be4 : bool init true;
P3_could_be5 : bool init true;
P3_could_be6 : bool init true;
P3_could_be7 : bool init true;
P3_could_be8 : bool init true;
P3_could_be9 : bool init true;
P3_guessed : bool init false;
PIN_Digit3 : [0..10] init 10;
Digit_Count : [1..5] init 3;
[] !P3_guessed & Digit_Count=3 & P3_could_be0&
P3_could_be1&
P3_could_be2&
P3_could_be3&
P3_could_be4&
P3_could_be5&
P3_could_be6&
P3_could_be7&
P3_could_be8&
P3_could_be9
->
2/10: (Digit_Count'=4)&(P3_could_be0'=false) &
(P3_could_be1'=false) &
(P3_could_be2'=false) &
(P3_could_be3'=false) &
(P3_could_be4'=false) &
(P3_could_be5'=false) &
(P3_could_be6'=false) &
(P3_could_be7'=false)
+
8/10: (Digit_Count'=3)&(P3_could_be8'=false) &
(P3_could_be9'=false)
;
[] !P3_guessed & Digit_Count=3 & P3_could_be0&
P3_could_be1&
P3_could_be2&
P3_could_be3&
P3_could_be4&
P3_could_be5&
P3_could_be6&
P3_could_be7&
P3_could_be8&
P3_could_be9
->
6/10: (Digit_Count'=3)&(P3_could_be0'=false) &
(P3_could_be1'=false)
& (P3_could_be8'=false) &
(P3_could_be9'=false)
+
4/10: (Digit_Count'=3)&(P3_could_be2'=false) &
(P3_could_be3'=false) &
(P3_could_be4'=false) &
(P3_could_be5'=false) &
(P3_could_be6'=false) &
(P3_could_be7'=false)
;
[] !P3_guessed & Digit_Count=3 & P3_could_be0&
P3_could_be1&
P3_could_be2&
P3_could_be3&
P3_could_be4&
P3_could_be5&
P3_could_be6&
P3_could_be7&
P3_could_be8&
P3_could_be9
->
6/10: (Digit_Count'=3)&(P3_could_be2'=false) &
(P3_could_be3'=false)
& (P3_could_be8'=false) &
(P3_could_be9'=false)
+
4/10: (Digit_Count'=3)&(P3_could_be0'=false) &
(P3_could_be1'=false)
& (P3_could_be4'=false) &
(P3_could_be5'=false) &
(P3_could_be6'=false) &
(P3_could_be7'=false)
;
endmodule
rewards
[] true : 1;
endrewards