by AProVE
l0 | 1 | l1: | x1 = _xHAT0 ∧ x1 = _xHATpost ∧ _xHATpost = 1 ∧ _xHAT0 ≤ 0 | |
l0 | 2 | l1: | x1 = _x ∧ x1 = _x1 ∧ _x1 = 1 + _x ∧ 1 ≤ _x | |
l2 | 3 | l3: | x1 = _x2 ∧ x1 = _x3 ∧ _x2 = _x3 ∧ 4 ≤ _x2 | |
l2 | 4 | l0: | x1 = _x4 ∧ x1 = _x5 ∧ _x4 = _x5 ∧ 1 + _x4 ≤ 4 | |
l1 | 5 | l2: | x1 = _x6 ∧ x1 = _x7 ∧ _x6 = _x7 | |
l4 | 6 | l1: | x1 = _x8 ∧ x1 = _x9 ∧ _x10 = 5 ∧ _x9 = _x9 | |
l5 | 7 | l4: | x1 = _x11 ∧ x1 = _x12 ∧ _x11 = _x12 |
l5 | l5 | : | x1 = x1 |
l4 | l4 | : | x1 = x1 |
l1 | l1 | : | x1 = x1 |
l0 | l0 | : | x1 = x1 |
l2 | l2 | : | x1 = x1 |
We consider subproblems for each of the 1 SCC(s) of the program graph.
Here we consider the SCC {
, , }.We remove transition
using the following ranking functions, which are bounded by 0.: | 2 − x1 |
: | 3 − x1 |
: | 3 − x1 |
We remove transitions
, , using the following ranking functions, which are bounded by −1.: | 0 |
: | −1 |
: | −2 |
There are no more "sharp" transitions in the cooperation program. Hence the cooperation termination is proved.