by AProVE
f1_0_main_Load | 1 | f74_0_main_LE: | x1 = _arg1 ∧ x2 = _arg2 ∧ x1 = _arg1P ∧ x2 = _arg2P ∧ 0 ≤ _arg1 − 1 ∧ −1 ≤ _arg1P − 1 ∧ −1 ≤ _arg2 − 1 | |
f74_0_main_LE | 2 | f138_0_main_GE: | x1 = _x ∧ x2 = _x1 ∧ x1 = _x2 ∧ x2 = _x3 ∧ _x = _x3 ∧ 0 = _x2 ∧ 0 ≤ _x − 1 | |
f138_0_main_GE | 3 | f74_0_main_LE: | x1 = _x4 ∧ x2 = _x5 ∧ x1 = _x6 ∧ x2 = _x7 ∧ _x5 − 1 = _x6 ∧ _x5 ≤ _x4 | |
f138_0_main_GE | 4 | f138_0_main_GE: | x1 = _x8 ∧ x2 = _x9 ∧ x1 = _x10 ∧ x2 = _x11 ∧ _x9 = _x11 ∧ _x8 + 1 = _x10 ∧ _x8 ≤ _x9 − 1 | |
__init | 5 | f1_0_main_Load: | x1 = _x12 ∧ x2 = _x13 ∧ x1 = _x14 ∧ x2 = _x15 ∧ 0 ≤ 0 |
f138_0_main_GE | f138_0_main_GE | : | x1 = x1 ∧ x2 = x2 |
f74_0_main_LE | f74_0_main_LE | : | x1 = x1 ∧ x2 = x2 |
f1_0_main_Load | f1_0_main_Load | : | x1 = x1 ∧ x2 = x2 |
__init | __init | : | 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.: | x1 |
: | −1 + x2 |
We remove transition
using the following ranking functions, which are bounded by 0.: | 0 |
: | −1 |
We remove transition
using the following ranking functions, which are bounded by 0.: | − x1 + x2 |
There are no more "sharp" transitions in the cooperation program. Hence the cooperation termination is proved.