by T2Cert
0 | 0 | 1: | ___const_50_0 − i_0 ≤ 0 ∧ − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0 | |
0 | 1 | 2: | 0 ≤ 0 ∧ 0 ≤ 0 ∧ 1 − ___const_50_0 + i_0 ≤ 0 ∧ −1 − i_0 + i_post ≤ 0 ∧ 1 + i_0 − i_post ≤ 0 ∧ i_0 − i_post ≤ 0 ∧ − i_0 + i_post ≤ 0 ∧ − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0 | |
2 | 2 | 0: | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0 | |
3 | 3 | 2: | 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ i_1 ≤ 0 ∧ − i_1 ≤ 0 ∧ i_post ≤ 0 ∧ − i_post ≤ 0 ∧ i_0 − i_post ≤ 0 ∧ − i_0 + i_post ≤ 0 ∧ tmp_0 − tmp_post ≤ 0 ∧ − tmp_0 + tmp_post ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0 | |
4 | 4 | 3: | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0 |
The following invariants are asserted.
0: | i_1 ≤ 0 ∧ − i_1 ≤ 0 |
1: | i_1 ≤ 0 ∧ − i_1 ≤ 0 |
2: | i_1 ≤ 0 ∧ − i_1 ≤ 0 |
3: | TRUE |
4: | TRUE |
The invariants are proved as follows.
0 | (0) | i_1 ≤ 0 ∧ − i_1 ≤ 0 | ||
1 | (1) | i_1 ≤ 0 ∧ − i_1 ≤ 0 | ||
2 | (2) | i_1 ≤ 0 ∧ − i_1 ≤ 0 | ||
3 | (3) | TRUE | ||
4 | (4) | TRUE |
0 | 0 1 | |
0 | 1 2 | |
2 | 2 0 | |
3 | 3 2 | |
4 | 4 3 |
2 | 5 | : | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0 |
We remove transitions
, , using the following ranking functions, which are bounded by −13.4: | 0 |
3: | 0 |
0: | 0 |
2: | 0 |
1: | 0 |
: | −5 |
: | −6 |
: | −7 |
: | −7 |
: | −7 |
: | −7 |
: | −8 |
6 | lexWeak[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] |
lexWeak[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] | |
lexWeak[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] | |
lexStrict[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] | |
lexStrict[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] | |
lexStrict[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] |
The following skip-transition is inserted and corresponding redirections w.r.t. the old location are performed.
8 : − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0
The following skip-transition is inserted and corresponding redirections w.r.t. the old location are performed.
6 : − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_1 + i_1 ≤ 0 ∧ i_1 − i_1 ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 ∧ − ___const_50_0 + ___const_50_0 ≤ 0 ∧ ___const_50_0 − ___const_50_0 ≤ 0
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 2.: | −1 + 4⋅___const_50_0 − 4⋅i_0 |
: | 1 + 4⋅___const_50_0 − 4⋅i_0 |
: | 4⋅___const_50_0 − 4⋅i_0 |
: | 2 + 4⋅___const_50_0 − 4⋅i_0 |
6 | lexWeak[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0] ] |
8 | lexWeak[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0] ] |
lexStrict[ [0, 0, 0, 0, 0, 0, 4, 0, 4, 0, 0, 0, 0, 0, 0, 4, 0] , [0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] | |
lexWeak[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 0] ] |
We remove transitions 6, 8, using the following ranking functions, which are bounded by −1.
: | −1 |
: | 1 |
: | 0 |
: | 2 |
6 | lexStrict[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] |
8 | lexStrict[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] |
lexStrict[ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] , [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] ] |
We consider 1 subproblems corresponding to sets of cut-point transitions as follows.
There remain no cut-point transition to consider. Hence the cooperation termination is trivial.
T2Cert