Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : new properties in promela for centralized_liveness examples
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Sun, 3 Jun 2012 07:46:45 +0000 (09:46 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Sun, 3 Jun 2012 07:46:45 +0000 (09:46 +0200)
examples/msg/mc/promela2_centralized_liveness [new file with mode: 0644]
examples/msg/mc/promela_centralized_liveness

diff --git a/examples/msg/mc/promela2_centralized_liveness b/examples/msg/mc/promela2_centralized_liveness
new file mode 100644 (file)
index 0000000..94bbde2
--- /dev/null
@@ -0,0 +1,11 @@
+never { /* !(GFcs) */
+T0_init :    /* init */
+       if
+       :: (1) -> goto T0_init
+       :: (!cs) -> goto accept_S2
+       fi;
+accept_S2 :    /* 1 */
+       if
+       :: (!cs) -> goto accept_S2
+       fi;
+}
index c5169d1..5361f88 100644 (file)
@@ -1,11 +1,12 @@
-never { /* !(GFcs2) */
+never { /* !(!(GFcs)) */
 T0_init :    /* init */
        if
+       :: (cs) -> goto accept_S1
        :: (1) -> goto T0_init
-       :: (!cs2) -> goto accept_S2
        fi;
-accept_S2 :    /* 1 */
+accept_S1 :    /* 1 */
        if
-       :: (!cs2) -> goto accept_S2
+       :: (cs) -> goto accept_S1
+       :: (1) -> goto T0_init
        fi;
-}
\ No newline at end of file
+}