YES Termination proof succeeded Initially, performed program simplifications using lexicographic rank functions: * Removed transitions 44, 47, 48, 56, 58, 59, 60 using the following rank functions: - Rank function 1: RF for loc. 12: 2-3*arg4+3*arg8 RF for loc. 13: 3*arg10-3*arg3 RF for loc. 22: 1-3*arg4+3*arg8 RF for loc. 26: 3*arg10-3*arg3 Bound for (chained) transitions 47: 4 - Rank function 2: RF for loc. 12: -1 RF for loc. 13: 2*arg4 RF for loc. 22: -1 RF for loc. 26: -1+2*arg4 Bound for (chained) transitions 58: 0 Bound for (chained) transitions 59: 1 Bound for (chained) transitions 60: -1 - Rank function 3: RF for loc. 12: 1-2*arg4+2*arg8 RF for loc. 13: 1 RF for loc. 22: -2*arg4+2*arg8 RF for loc. 26: 0 Bound for (chained) transitions 48: 2 - Rank function 4: RF for loc. 12: 0 RF for loc. 13: 0 RF for loc. 22: -1 RF for loc. 26: -1 Bound for (chained) transitions 44: 0 Bound for (chained) transitions 56: 0 * Removed transitions 15, 20, 21, 22, 23, 24, 25, 43 using the following rank functions: - Rank function 1: RF for loc. 10: 2*arg4 RF for loc. 11: 1+2*arg9 RF for loc. 18: -1+2*arg4 Bound for (chained) transitions 20: -1 Bound for (chained) transitions 22: -1 Bound for (chained) transitions 23: -1 Bound for (chained) transitions 24: -1 Bound for (chained) transitions 25: -1 Bound for (chained) transitions 43: 1 - Rank function 2: RF for loc. 10: 0 RF for loc. 11: -arg6P RF for loc. 18: -1 Bound for (chained) transitions 15: 0 Bound for (chained) transitions 21: -1 * Removed transitions 5, 8, 9 using the following rank functions: - Rank function 1: RF for loc. 9: 1+arg3-arg4 RF for loc. 14: arg3-arg4 Bound for (chained) transitions 8: 2 Bound for (chained) transitions 9: 2 - Rank function 2: RF for loc. 9: 1 RF for loc. 14: 0 Bound for (chained) transitions 5: 1 Errors: