by AProVE
l0 | 1 | l1: | x1 = _iHAT0 ∧ x2 = _tmpHAT0 ∧ x1 = _iHATpost ∧ x2 = _tmpHATpost ∧ _tmpHAT0 = _tmpHATpost ∧ _iHAT0 = _iHATpost ∧ 50 ≤ _iHAT0 | |
l0 | 2 | l2: | x1 = _x ∧ x2 = _x1 ∧ x1 = _x2 ∧ x2 = _x3 ∧ _x1 = _x3 ∧ _x2 = 1 + _x ∧ 1 + _x ≤ 50 | |
l2 | 3 | l0: | x1 = _x4 ∧ x2 = _x5 ∧ x1 = _x6 ∧ x2 = _x7 ∧ _x5 = _x7 ∧ _x4 = _x6 | |
l3 | 4 | l2: | x1 = _x8 ∧ x2 = _x9 ∧ x1 = _x10 ∧ x2 = _x11 ∧ _x12 = 0 ∧ _x11 = _x11 ∧ _x10 = 0 | |
l4 | 5 | l3: | x1 = _x13 ∧ x2 = _x14 ∧ x1 = _x15 ∧ x2 = _x16 ∧ _x14 = _x16 ∧ _x13 = _x15 |
l4 | l4 | : | x1 = x1 ∧ x2 = x2 |
l3 | l3 | : | x1 = x1 ∧ x2 = x2 |
l0 | l0 | : | x1 = x1 ∧ x2 = x2 |
l2 | l2 | : | x1 = x1 ∧ x2 = x2 |
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.: | 49 − x1 |
: | 49 − 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.