mdp
module M
s : [0..3];
[go] s=0 -> (s'=1);
[safe] s=1 -> 0.7:(s'=0) + 0.3:(s'=2);
[risk] s=1 -> 0.5:(s'=2) + 0.5:(s'=3);
[finish] s=2 -> (s'=2);
[stop] s=3 -> (s'=3);
[reset] s=3 -> (s'=0);
endmodule
module A_ltl
q : [0..1] init 0;
[go] q=0 -> (q'=1);
[safe] q=0 -> (q'=0);
[risk] q=0 -> (q'=0);
[finish] q=0 -> (q'=0);
[stop] q=0 -> (q'=0);
[reset] q=0 -> (q'=0);
[go] q=1 -> (q'=1);
[safe] q=1 -> (q'=0);
[risk] q=1 -> (q'=0);
[finish] q=1 -> (q'=0);
[stop] q=1 -> (q'=0);
[reset] q=1 -> (q'=0);
endmodule
label "L1" = q=0;
label "K1" = q=1;