The source code and dockerfile for the GSW2024 AI Lab.
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

13 lines
261 B

2 months ago
  1. mdp
  2. const int N;
  3. const double p1 = 0.5;
  4. const double p2 = 0.5;
  5. module main
  6. x : [0..N];
  7. y : [0..2];
  8. [try1] x<N & y=0 -> p1 : (y'=1) & (x'=N) + (1-p1) : (x'=x+1);
  9. [try2] x<N & y=0 -> p2 : (y'=2) & (x'=N) + (1-p1) : (x'=x+1);
  10. endmodule
  11. label "fail" = x=N;