by AProVE
l0 | 1 | l1: | x1 = _xHAT0 ∧ x1 = _xHATpost ∧ _xHAT0 ≤ 0 ∧ _xHAT1 = _xHAT0 ∧ _xHAT2 = _xHAT1 ∧ _xHAT3 = _xHAT2 ∧ _xHATpost = _xHAT3 | |
l0 | 2 | l2: | x1 = _x ∧ x1 = _x1 ∧ 1 ≤ _x ∧ _x2 = _x ∧ _x1 = −1 + _x2 | |
l2 | 3 | l0: | x1 = _x3 ∧ x1 = _x4 ∧ _x4 = _x3 | |
l3 | 4 | l2: | x1 = _x5 ∧ x1 = _x6 ∧ _x5 = _x6 |
l3 | l3 | : | 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.: | −1 + x1 |
: | −1 + x1 |
We remove transition
using the following ranking functions, which are bounded by 0.: | 0 |
: | −1 |
There are no more "sharp" transitions in the cooperation program. Hence the cooperation termination is proved.