LTS Termination Proof

by T2Cert

Input

Integer Transition System

Proof

1 Invariant Updates

The following invariants are asserted.

0: arg1P ≤ 08 − arg2P ≤ 0−1 + arg5P ≤ 01 − arg5P ≤ 0arg6P ≤ 0arg6P ≤ 0arg7P ≤ 0arg7P ≤ 0arg1 ≤ 08 − arg2 ≤ 0−1 + arg5 ≤ 01 − arg5 ≤ 0arg6 ≤ 0arg6 ≤ 0arg7 ≤ 0arg7 ≤ 0
1: arg1P ≤ 010 − arg2P ≤ 0arg3P ≤ 0arg3P ≤ 0arg4P ≤ 0arg4P ≤ 0arg8P ≤ 0arg8P ≤ 0arg9P ≤ 0arg9P ≤ 0arg10P ≤ 0arg10P ≤ 0−1 + arg19P ≤ 0arg20P ≤ 0arg21P ≤ 0arg1 ≤ 010 − arg2 ≤ 0arg3 ≤ 0arg3 ≤ 0arg4 ≤ 0arg4 ≤ 0arg8 ≤ 0arg8 ≤ 0arg9 ≤ 0arg9 ≤ 0arg10 ≤ 0arg10 ≤ 0−1 + arg19 ≤ 0arg20 ≤ 0arg21 ≤ 0
2: TRUE
3: 6 − arg1P ≤ 06 − arg1 ≤ 0x20 ≤ 0
5: 1 − arg1P ≤ 0arg12P ≤ 0arg12P ≤ 01 − arg1 ≤ 0arg12 ≤ 0arg12 ≤ 0
6: TRUE

The invariants are proved as follows.

IMPACT Invariant Proof

2 Switch to Cooperation Termination Proof

We consider the following cutpoint-transitions:
5 8 5: x99 + x99 ≤ 0x99x99 ≤ 0x62 + x62 ≤ 0x62x62 ≤ 0x20 + x20 ≤ 0x20x20 ≤ 0x131 + x131 ≤ 0x131x131 ≤ 0x100 + x100 ≤ 0x100x100 ≤ 0arg9P + arg9P ≤ 0arg9Parg9P ≤ 0arg9 + arg9 ≤ 0arg9arg9 ≤ 0arg8P + arg8P ≤ 0arg8Parg8P ≤ 0arg8 + arg8 ≤ 0arg8arg8 ≤ 0arg7P + arg7P ≤ 0arg7Parg7P ≤ 0arg7 + arg7 ≤ 0arg7arg7 ≤ 0arg6P + arg6P ≤ 0arg6Parg6P ≤ 0arg6 + arg6 ≤ 0arg6arg6 ≤ 0arg5P + arg5P ≤ 0arg5Parg5P ≤ 0arg5 + arg5 ≤ 0arg5arg5 ≤ 0arg4P + arg4P ≤ 0arg4Parg4P ≤ 0arg4 + arg4 ≤ 0arg4arg4 ≤ 0arg3P + arg3P ≤ 0arg3Parg3P ≤ 0arg3 + arg3 ≤ 0arg3arg3 ≤ 0arg2P + arg2P ≤ 0arg2Parg2P ≤ 0arg23P + arg23P ≤ 0arg23Parg23P ≤ 0arg23 + arg23 ≤ 0arg23arg23 ≤ 0arg22P + arg22P ≤ 0arg22Parg22P ≤ 0arg22 + arg22 ≤ 0arg22arg22 ≤ 0arg21P + arg21P ≤ 0arg21Parg21P ≤ 0arg21 + arg21 ≤ 0arg21arg21 ≤ 0arg20P + arg20P ≤ 0arg20Parg20P ≤ 0arg20 + arg20 ≤ 0arg20arg20 ≤ 0arg2 + arg2 ≤ 0arg2arg2 ≤ 0arg1P + arg1P ≤ 0arg1Parg1P ≤ 0arg19P + arg19P ≤ 0arg19Parg19P ≤ 0arg19 + arg19 ≤ 0arg19arg19 ≤ 0arg18P + arg18P ≤ 0arg18Parg18P ≤ 0arg18 + arg18 ≤ 0arg18arg18 ≤ 0arg17P + arg17P ≤ 0arg17Parg17P ≤ 0arg17 + arg17 ≤ 0arg17arg17 ≤ 0arg16P + arg16P ≤ 0arg16Parg16P ≤ 0arg16 + arg16 ≤ 0arg16arg16 ≤ 0arg15P + arg15P ≤ 0arg15Parg15P ≤ 0arg15 + arg15 ≤ 0arg15arg15 ≤ 0arg14P + arg14P ≤ 0arg14Parg14P ≤ 0arg14 + arg14 ≤ 0arg14arg14 ≤ 0arg13P + arg13P ≤ 0arg13Parg13P ≤ 0arg13 + arg13 ≤ 0arg13arg13 ≤ 0arg12P + arg12P ≤ 0arg12Parg12P ≤ 0arg12 + arg12 ≤ 0arg12arg12 ≤ 0arg11P + arg11P ≤ 0arg11Parg11P ≤ 0arg11 + arg11 ≤ 0arg11arg11 ≤ 0arg10P + arg10P ≤ 0arg10Parg10P ≤ 0arg10 + arg10 ≤ 0arg10arg10 ≤ 0arg1 + arg1 ≤ 0arg1arg1 ≤ 0
and for every transition t, a duplicate t is considered.

3 Transition Removal

We remove transitions 0, 1, 3, 4, 7 using the following ranking functions, which are bounded by −17.

6: 0
2: 0
3: 0
0: 0
1: 0
5: 0
6: −7
2: −8
3: −9
0: −10
1: −11
5: −12
5_var_snapshot: −12
5*: −12

4 Location Addition

The following skip-transition is inserted and corresponding redirections w.r.t. the old location are performed.

5* 11 5: x99 + x99 ≤ 0x99x99 ≤ 0x62 + x62 ≤ 0x62x62 ≤ 0x20 + x20 ≤ 0x20x20 ≤ 0x131 + x131 ≤ 0x131x131 ≤ 0x100 + x100 ≤ 0x100x100 ≤ 0arg9P + arg9P ≤ 0arg9Parg9P ≤ 0arg9 + arg9 ≤ 0arg9arg9 ≤ 0arg8P + arg8P ≤ 0arg8Parg8P ≤ 0arg8 + arg8 ≤ 0arg8arg8 ≤ 0arg7P + arg7P ≤ 0arg7Parg7P ≤ 0arg7 + arg7 ≤ 0arg7arg7 ≤ 0arg6P + arg6P ≤ 0arg6Parg6P ≤ 0arg6 + arg6 ≤ 0arg6arg6 ≤ 0arg5P + arg5P ≤ 0arg5Parg5P ≤ 0arg5 + arg5 ≤ 0arg5arg5 ≤ 0arg4P + arg4P ≤ 0arg4Parg4P ≤ 0arg4 + arg4 ≤ 0arg4arg4 ≤ 0arg3P + arg3P ≤ 0arg3Parg3P ≤ 0arg3 + arg3 ≤ 0arg3arg3 ≤ 0arg2P + arg2P ≤ 0arg2Parg2P ≤ 0arg23P + arg23P ≤ 0arg23Parg23P ≤ 0arg23 + arg23 ≤ 0arg23arg23 ≤ 0arg22P + arg22P ≤ 0arg22Parg22P ≤ 0arg22 + arg22 ≤ 0arg22arg22 ≤ 0arg21P + arg21P ≤ 0arg21Parg21P ≤ 0arg21 + arg21 ≤ 0arg21arg21 ≤ 0arg20P + arg20P ≤ 0arg20Parg20P ≤ 0arg20 + arg20 ≤ 0arg20arg20 ≤ 0arg2 + arg2 ≤ 0arg2arg2 ≤ 0arg1P + arg1P ≤ 0arg1Parg1P ≤ 0arg19P + arg19P ≤ 0arg19Parg19P ≤ 0arg19 + arg19 ≤ 0arg19arg19 ≤ 0arg18P + arg18P ≤ 0arg18Parg18P ≤ 0arg18 + arg18 ≤ 0arg18arg18 ≤ 0arg17P + arg17P ≤ 0arg17Parg17P ≤ 0arg17 + arg17 ≤ 0arg17arg17 ≤ 0arg16P + arg16P ≤ 0arg16Parg16P ≤ 0arg16 + arg16 ≤ 0arg16arg16 ≤ 0arg15P + arg15P ≤ 0arg15Parg15P ≤ 0arg15 + arg15 ≤ 0arg15arg15 ≤ 0arg14P + arg14P ≤ 0arg14Parg14P ≤ 0arg14 + arg14 ≤ 0arg14arg14 ≤ 0arg13P + arg13P ≤ 0arg13Parg13P ≤ 0arg13 + arg13 ≤ 0arg13arg13 ≤ 0arg12P + arg12P ≤ 0arg12Parg12P ≤ 0arg12 + arg12 ≤ 0arg12arg12 ≤ 0arg11P + arg11P ≤ 0arg11Parg11P ≤ 0arg11 + arg11 ≤ 0arg11arg11 ≤ 0arg10P + arg10P ≤ 0arg10Parg10P ≤ 0arg10 + arg10 ≤ 0arg10arg10 ≤ 0arg1 + arg1 ≤ 0arg1arg1 ≤ 0

5 Location Addition

The following skip-transition is inserted and corresponding redirections w.r.t. the old location are performed.

5 9 5_var_snapshot: x99 + x99 ≤ 0x99x99 ≤ 0x62 + x62 ≤ 0x62x62 ≤ 0x20 + x20 ≤ 0x20x20 ≤ 0x131 + x131 ≤ 0x131x131 ≤ 0x100 + x100 ≤ 0x100x100 ≤ 0arg9P + arg9P ≤ 0arg9Parg9P ≤ 0arg9 + arg9 ≤ 0arg9arg9 ≤ 0arg8P + arg8P ≤ 0arg8Parg8P ≤ 0arg8 + arg8 ≤ 0arg8arg8 ≤ 0arg7P + arg7P ≤ 0arg7Parg7P ≤ 0arg7 + arg7 ≤ 0arg7arg7 ≤ 0arg6P + arg6P ≤ 0arg6Parg6P ≤ 0arg6 + arg6 ≤ 0arg6arg6 ≤ 0arg5P + arg5P ≤ 0arg5Parg5P ≤ 0arg5 + arg5 ≤ 0arg5arg5 ≤ 0arg4P + arg4P ≤ 0arg4Parg4P ≤ 0arg4 + arg4 ≤ 0arg4arg4 ≤ 0arg3P + arg3P ≤ 0arg3Parg3P ≤ 0arg3 + arg3 ≤ 0arg3arg3 ≤ 0arg2P + arg2P ≤ 0arg2Parg2P ≤ 0arg23P + arg23P ≤ 0arg23Parg23P ≤ 0arg23 + arg23 ≤ 0arg23arg23 ≤ 0arg22P + arg22P ≤ 0arg22Parg22P ≤ 0arg22 + arg22 ≤ 0arg22arg22 ≤ 0arg21P + arg21P ≤ 0arg21Parg21P ≤ 0arg21 + arg21 ≤ 0arg21arg21 ≤ 0arg20P + arg20P ≤ 0arg20Parg20P ≤ 0arg20 + arg20 ≤ 0arg20arg20 ≤ 0arg2 + arg2 ≤ 0arg2arg2 ≤ 0arg1P + arg1P ≤ 0arg1Parg1P ≤ 0arg19P + arg19P ≤ 0arg19Parg19P ≤ 0arg19 + arg19 ≤ 0arg19arg19 ≤ 0arg18P + arg18P ≤ 0arg18Parg18P ≤ 0arg18 + arg18 ≤ 0arg18arg18 ≤ 0arg17P + arg17P ≤ 0arg17Parg17P ≤ 0arg17 + arg17 ≤ 0arg17arg17 ≤ 0arg16P + arg16P ≤ 0arg16Parg16P ≤ 0arg16 + arg16 ≤ 0arg16arg16 ≤ 0arg15P + arg15P ≤ 0arg15Parg15P ≤ 0arg15 + arg15 ≤ 0arg15arg15 ≤ 0arg14P + arg14P ≤ 0arg14Parg14P ≤ 0arg14 + arg14 ≤ 0arg14arg14 ≤ 0arg13P + arg13P ≤ 0arg13Parg13P ≤ 0arg13 + arg13 ≤ 0arg13arg13 ≤ 0arg12P + arg12P ≤ 0arg12Parg12P ≤ 0arg12 + arg12 ≤ 0arg12arg12 ≤ 0arg11P + arg11P ≤ 0arg11Parg11P ≤ 0arg11 + arg11 ≤ 0arg11arg11 ≤ 0arg10P + arg10P ≤ 0arg10Parg10P ≤ 0arg10 + arg10 ≤ 0arg10arg10 ≤ 0arg1 + arg1 ≤ 0arg1arg1 ≤ 0

6 SCC Decomposition

We consider subproblems for each of the 1 SCC(s) of the program graph.

6.1 SCC Subproblem 1/1

Here we consider the SCC { 5, 5_var_snapshot, 5* }.

6.1.1 Transition Removal

We remove transitions 9, 11, 6 using the following ranking functions, which are bounded by −3.

5: −1
5_var_snapshot: −2
5*: 0

6.1.2 Transition Removal

We remove transition 5 using the following ranking functions, which are bounded by 0.

5: 0
5_var_snapshot: arg2
5*: 0

6.1.3 Splitting Cut-Point Transitions

We consider 1 subproblems corresponding to sets of cut-point transitions as follows.

6.1.3.1 Cut-Point Subproblem 1/1

Here we consider cut-point transition 8.

6.1.3.1.1 Splitting Cut-Point Transitions

There remain no cut-point transition to consider. Hence the cooperation termination is trivial.

Tool configuration

T2Cert