by T2Cert
0 | 0 | 1: | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − j_post + j_post ≤ 0 ∧ j_post − j_post ≤ 0 ∧ − j_0 + j_0 ≤ 0 ∧ j_0 − j_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 | |
0 | 1 | 1: | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − j_post + j_post ≤ 0 ∧ j_post − j_post ≤ 0 ∧ − j_0 + j_0 ≤ 0 ∧ j_0 − j_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 | |
1 | 2 | 2: | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − j_post + j_post ≤ 0 ∧ j_post − j_post ≤ 0 ∧ − j_0 + j_0 ≤ 0 ∧ j_0 − j_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 | |
3 | 3 | 0: | 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ 0 ≤ 0 ∧ i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 − i_post ≤ 0 ∧ − i_0 + i_post ≤ 0 ∧ j_0 − j_post ≤ 0 ∧ − j_0 + j_post ≤ 0 ∧ tmp_0 − tmp_post ≤ 0 ∧ − tmp_0 + tmp_post ≤ 0 | |
4 | 4 | 3: | − tmp_post + tmp_post ≤ 0 ∧ tmp_post − tmp_post ≤ 0 ∧ − tmp_0 + tmp_0 ≤ 0 ∧ tmp_0 − tmp_0 ≤ 0 ∧ − j_post + j_post ≤ 0 ∧ j_post − j_post ≤ 0 ∧ − j_0 + j_0 ≤ 0 ∧ j_0 − j_0 ≤ 0 ∧ − i_post + i_post ≤ 0 ∧ i_post − i_post ≤ 0 ∧ − i_0 + i_0 ≤ 0 ∧ i_0 − i_0 ≤ 0 |
The following invariants are asserted.
0: | i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 ≤ 0 ∧ − i_0 ≤ 0 ∧ −1 + j_0 ≤ 0 ∧ 1 − j_0 ≤ 0 |
1: | i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 ≤ 0 ∧ − i_0 ≤ 0 ∧ −1 + j_0 ≤ 0 ∧ 1 − j_0 ≤ 0 |
2: | i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 ≤ 0 ∧ − i_0 ≤ 0 ∧ −1 + j_0 ≤ 0 ∧ 1 − j_0 ≤ 0 |
3: | TRUE |
4: | TRUE |
The invariants are proved as follows.
0 | (0) | i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 ≤ 0 ∧ − i_0 ≤ 0 ∧ −1 + j_0 ≤ 0 ∧ 1 − j_0 ≤ 0 | ||
1 | (1) | i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 ≤ 0 ∧ − i_0 ≤ 0 ∧ −1 + j_0 ≤ 0 ∧ 1 − j_0 ≤ 0 | ||
2 | (2) | i_post ≤ 0 ∧ − i_post ≤ 0 ∧ −1 + j_post ≤ 0 ∧ 1 − j_post ≤ 0 ∧ i_0 ≤ 0 ∧ − i_0 ≤ 0 ∧ −1 + j_0 ≤ 0 ∧ 1 − j_0 ≤ 0 | ||
3 | (3) | TRUE | ||
4 | (4) | TRUE |
0 | 0 1 | |
0 | 1 1 | |
1 | 2 2 | |
3 | 3 0 | |
4 | 4 3 |
We remove transitions
, , , , using the following ranking functions, which are bounded by −12.4: | 0 |
3: | 0 |
0: | 0 |
1: | 0 |
2: | 0 |
: | −6 |
: | −7 |
: | −8 |
: | −9 |
: | −10 |
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, 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, 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, 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] ] |
There exist no SCC in the program graph.
T2Cert