Skip to content

Commit

Permalink
Update library to v2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanMarinho committed Nov 13, 2023
1 parent 6d90ad1 commit 4f542fb
Show file tree
Hide file tree
Showing 129 changed files with 1,419 additions and 372 deletions.
2 changes: 1 addition & 1 deletion benchmarks/ATM/fig1_DCLXZL18-fixed.imi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var
(************************************************************)
automaton pta
(************************************************************)
synclabs: ;
actions: ;

loc Idle: invariant True
when True do {x := 0 , y := 0 , z := 0} goto Start;
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/BRP/BRPAAPP21/BRPAAPP21_GFSinRC.imi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var
automaton monitor
(************************************************************)

synclabs: S_in, sndD;
actions: S_in, sndD;

loc s0: invariant True
when True sync sndD goto s0;
Expand All @@ -72,7 +72,7 @@ end (* monitor *)
(****************************************************)
automaton sender
(****************************************************)
synclabs: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;
actions: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;

loc idleS: invariant x>=0
when True sync S_in do {b1:=True,x:=0} goto next_frame;
Expand Down Expand Up @@ -100,7 +100,7 @@ end (* sender *)
(****************************************************)
automaton receiver
(****************************************************)
synclabs: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;
actions: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;

loc new_file: invariant True
when True sync rcvD do {z:=0} goto fst_safe;
Expand Down Expand Up @@ -132,7 +132,7 @@ end (* receiver *)
(****************************************************)
automaton channelK
(****************************************************)
synclabs: sndD, rcvD, lostK;
actions: sndD, rcvD, lostK;

loc startK: invariant u>=0
when True sync sndD do {u:=0} goto in_transitK;
Expand All @@ -149,7 +149,7 @@ end (* channelK *)
(****************************************************)
automaton channelL
(****************************************************)
synclabs: sndA, rcvA, lostL;
actions: sndA, rcvA, lostL;

loc startL: invariant v>=0
when True sync sndA do {v:=0} goto in_transitL;
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/BRP/BRPAAPP21/BRPAAPP21_GSinFSdk.imi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ AUTOMATA
automaton monitor
(************************************************************)

synclabs: S_in, S_OK, S_NOK, S_DK, sndD;
actions: S_in, S_OK, S_NOK, S_DK, sndD;

loc s0: invariant True
when True sync sndD goto s0;
Expand All @@ -77,7 +77,7 @@ end (* monitor *)
(****************************************************)
automaton sender
(****************************************************)
synclabs: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;
actions: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;

loc idleS: invariant x>=0
when True sync S_in do {b1:=True,x:=0} goto next_frame;
Expand Down Expand Up @@ -105,7 +105,7 @@ end (* sender *)
(****************************************************)
automaton receiver
(****************************************************)
synclabs: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;
actions: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;

loc new_file: invariant True
when True sync rcvD do {z:=0} goto fst_safe;
Expand Down Expand Up @@ -137,7 +137,7 @@ end (* receiver *)
(****************************************************)
automaton channelK
(****************************************************)
synclabs: sndD, rcvD, lostK;
actions: sndD, rcvD, lostK;

loc startK: invariant u>=0
when True sync sndD do {u:=0} goto in_transitK;
Expand All @@ -154,7 +154,7 @@ end (* channelK *)
(****************************************************)
automaton channelL
(****************************************************)
synclabs: sndA, rcvA, lostL;
actions: sndA, rcvA, lostL;

loc startL: invariant v>=0
when True sync sndA do {v:=0} goto in_transitL;
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/BRP/BRPAAPP21/BRPAAPP21_GSinFSnok.imi
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ AUTOMATA
automaton monitor
(************************************************************)

synclabs: S_in, S_OK, S_NOK, sndD;
actions: S_in, S_OK, S_NOK, sndD;

loc s0: invariant True
when True sync sndD goto s0;
Expand All @@ -77,7 +77,7 @@ end (* monitor *)
(****************************************************)
automaton sender
(****************************************************)
synclabs: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;
actions: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;

loc idleS: invariant x>=0
when True sync S_in do {b1:=True,x:=0} goto next_frame;
Expand Down Expand Up @@ -105,7 +105,7 @@ end (* sender *)
(****************************************************)
automaton receiver
(****************************************************)
synclabs: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;
actions: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;

loc new_file: invariant True
when True sync rcvD do {z:=0} goto fst_safe;
Expand Down Expand Up @@ -137,7 +137,7 @@ end (* receiver *)
(****************************************************)
automaton channelK
(****************************************************)
synclabs: sndD, rcvD, lostK;
actions: sndD, rcvD, lostK;

loc startK: invariant u>=0
when True sync sndD do {u:=0} goto in_transitK;
Expand All @@ -154,7 +154,7 @@ end (* channelK *)
(****************************************************)
automaton channelL
(****************************************************)
synclabs: sndA, rcvA, lostL;
actions: sndA, rcvA, lostL;

loc startL: invariant v>=0
when True sync sndA do {v:=0} goto in_transitL;
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/BRP/BRPAAPP21/BRPAAPP21_RC.imi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ AUTOMATA
(****************************************************)
automaton sender
(****************************************************)
synclabs: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;
actions: S_in, rcvA, sndD, S_DK, S_NOK, S_OK;

loc idleS: invariant x>=0
when True sync S_in do {b1:=True,x:=0} goto next_frame;
Expand Down Expand Up @@ -85,7 +85,7 @@ end (* sender *)
(****************************************************)
automaton receiver
(****************************************************)
synclabs: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;
actions: rcvD, sndA, R_NOK, R_OK, R_FST, R_INC;

loc new_file: invariant True
when True sync rcvD do {z:=0} goto fst_safe;
Expand Down Expand Up @@ -121,7 +121,7 @@ end (* receiver *)
(****************************************************)
automaton channelK
(****************************************************)
synclabs: sndD, rcvD, lostK;
actions: sndD, rcvD, lostK;

loc startK: invariant u>=0
when True sync sndD do {u:=0} goto in_transitK;
Expand All @@ -138,7 +138,7 @@ end (* channelK *)
(****************************************************)
automaton channelL
(****************************************************)
synclabs: sndA, rcvA, lostL;
actions: sndA, rcvA, lostL;

loc startL: invariant v>=0
when True sync sndA do {v:=0} goto in_transitL;
Expand Down
12 changes: 6 additions & 6 deletions benchmarks/BRP/BRPDKRT97/BRPDKRT97.imi
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var
(************************************************************)
automaton sender
(************************************************************)
synclabs: Sin, B, F, Sout_DK, Sout_NOK, Sout_OK;
actions: Sin, B, F, Sout_DK, Sout_NOK, Sout_OK;


loc idleS: invariant x>=0
Expand Down Expand Up @@ -107,7 +107,7 @@ end (*sender*)
(************************************************************)
automaton receiver
(************************************************************)
synclabs: G, A, Rout_NOK, Rout_OK, Rout_FST, Rout_INC;
actions: G, A, Rout_NOK, Rout_OK, Rout_FST, Rout_INC;


loc new_file: invariant z>=0
Expand Down Expand Up @@ -170,7 +170,7 @@ end (*receiver*)
(************************************************************)
automaton channelK
(************************************************************)
synclabs: F,G;
actions: F,G;

loc startK: invariant u>=0

Expand Down Expand Up @@ -217,7 +217,7 @@ end (*channelK*)
(************************************************************)
automaton channelL
(************************************************************)
synclabs: A,B;
actions: A,B;

loc startL: invariant v>=0

Expand All @@ -240,7 +240,7 @@ end (*channelL*)
(************************************************************)
automaton Sclient
(************************************************************)
synclabs: Sin, Sout_OK, Sout_DK, Sout_NOK;
actions: Sin, Sout_OK, Sout_DK, Sout_NOK;

loc startSC: invariant ys<=SYNC (*invariant ys>=0*)

Expand All @@ -259,7 +259,7 @@ end (*Sclient*)
(************************************************************)
automaton Rclient
(************************************************************)
synclabs: Rout_FST, Rout_OK, Rout_INC, Rout_NOK;
actions: Rout_FST, Rout_OK, Rout_INC, Rout_NOK;

loc startRC: invariant yr>=0

Expand Down
6 changes: 3 additions & 3 deletions benchmarks/CSMACD/CSMACD-bc1.imi
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var
(************************************************************)
automaton medium
(************************************************************)
synclabs: send1, send2, end1, end2, busy1, busy2, cd;
actions: send1, send2, end1, end2, busy1, busy2, cd;

loc Init: invariant True
when True sync send1 do {y := 0} goto Transmit;
Expand All @@ -68,7 +68,7 @@ end (* medium *)
(************************************************************)
automaton sender1
(************************************************************)
synclabs: send1, end1, busy1, cd, prob1;
actions: send1, end1, busy1, cd, prob1;

loc Init1: invariant True
when True sync send1 do {} goto Transmit1;
Expand Down Expand Up @@ -110,7 +110,7 @@ end (* sender1 *)
(************************************************************)
automaton sender2
(************************************************************)
synclabs: send2, end2, busy2, cd, prob2;
actions: send2, end2, busy2, cd, prob2;

loc Init2: invariant x2 = 0
when x2 = 0 sync send2 do {} goto Transmit2;
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/CSMACD/CSMACD-bc10.imi
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var
(************************************************************)
automaton medium
(************************************************************)
synclabs: send1, send2, end1, end2, busy1, busy2, cd;
actions: send1, send2, end1, end2, busy1, busy2, cd;

loc Init: invariant True
when True sync send1 do {y := 0} goto Transmit;
Expand All @@ -69,7 +69,7 @@ end (* medium *)
(************************************************************)
automaton sender1
(************************************************************)
synclabs: send1, end1, busy1, cd, prob1;
actions: send1, end1, busy1, cd, prob1;

loc Init1: invariant True
when True sync send1 do {} goto Transmit1;
Expand Down Expand Up @@ -20584,7 +20584,7 @@ end (* sender1 *)
(************************************************************)
automaton sender2
(************************************************************)
synclabs: send2, end2, busy2, cd, prob2;
actions: send2, end2, busy2, cd, prob2;

loc Init2: invariant x2 = 0
when x2 = 0 sync send2 do {} goto Transmit2;
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/CSMACD/CSMACD-bc5.imi
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var
(************************************************************)
automaton medium
(************************************************************)
synclabs: send1, send2, end1, end2, busy1, busy2, cd;
actions: send1, send2, end1, end2, busy1, busy2, cd;

loc Init: invariant True
when True sync send1 do {y := 0} goto Transmit;
Expand All @@ -66,7 +66,7 @@ end (* medium *)
(************************************************************)
automaton sender1
(************************************************************)
synclabs: send1, end1, busy1, cd, prob1;
actions: send1, end1, busy1, cd, prob1;

loc Init1: invariant True
when True sync send1 do {} goto Transmit1;
Expand Down Expand Up @@ -725,7 +725,7 @@ end (* sender1 *)
(************************************************************)
automaton sender2
(************************************************************)
synclabs: send2, end2, busy2, cd, prob2;
actions: send2, end2, busy2, cd, prob2;

loc Init2: invariant x2 = 0
when x2 = 0 sync send2 do {} goto Transmit2;
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/CSMACD/CSMACD-bc6.imi
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var
(************************************************************)
automaton medium
(************************************************************)
synclabs: send1, send2, end1, end2, busy1, busy2, cd;
actions: send1, send2, end1, end2, busy1, busy2, cd;

loc Init: invariant True
when True sync send1 do {y := 0} goto Transmit;
Expand All @@ -69,7 +69,7 @@ end (* medium *)
(************************************************************)
automaton sender1
(************************************************************)
synclabs: send1, end1, busy1, cd, prob1;
actions: send1, end1, busy1, cd, prob1;

loc Init1: invariant True
when True sync send1 do {} goto Transmit1;
Expand Down Expand Up @@ -1371,7 +1371,7 @@ end (* sender1 *)
(************************************************************)
automaton sender2
(************************************************************)
synclabs: send2, end2, busy2, cd, prob2;
actions: send2, end2, busy2, cd, prob2;

loc Init2: invariant x2 = 0
when x2 = 0 sync send2 do {} goto Transmit2;
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/CSMACD/CSMACD-bc9.imi
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var
(************************************************************)
automaton medium
(************************************************************)
synclabs: send1, send2, end1, end2, busy1, busy2, cd;
actions: send1, send2, end1, end2, busy1, busy2, cd;

loc Init: invariant True
when True sync send1 do {y := 0} goto Transmit;
Expand All @@ -69,7 +69,7 @@ end (* medium *)
(************************************************************)
automaton sender1
(************************************************************)
synclabs: send1, end1, busy1, cd, prob1;
actions: send1, end1, busy1, cd, prob1;

loc Init1: invariant True
when True sync send1 do {} goto Transmit1;
Expand Down Expand Up @@ -10340,7 +10340,7 @@ end (* sender1 *)
(************************************************************)
automaton sender2
(************************************************************)
synclabs: send2, end2, busy2, cd, prob2;
actions: send2, end2, busy2, cd, prob2;

loc Init2: invariant x2 = 0
when x2 = 0 sync send2 do {} goto Transmit2;
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/Coffee/Coffee/coffee.imi
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var
(************************************************************)
automaton machine
(************************************************************)
synclabs: press, cup, coffee, sleep;
actions: press, cup, coffee, sleep;

loc idle: invariant True
when True sync press do {x := 0, y := 0} goto add_sugar;
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/Coffee/CoffeeDrinker/coffeeDrinker.imi
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var
(************************************************************)
automaton machine
(************************************************************)
synclabs: press, cup, coffee, sleep;
actions: press, cup, coffee, sleep;

loc idle: invariant True
when True sync press do {x1 := 0, x2 := 0} goto add_sugar;
Expand All @@ -83,7 +83,7 @@ end (* machine *)
(************************************************************)
automaton researcher
(************************************************************)
synclabs: press, coffee;
actions: press, coffee;

loc researching: invariant y1 <= p_work_max
when y1 >= p_work_min sync press do {y1 := 0, y2 := 0, nb_sugar := 0} goto add_sugar;
Expand Down
Loading

0 comments on commit 4f542fb

Please sign in to comment.