YES Termination proof succeeded Initially, performed program simplifications using lexicographic rank functions: * Removed transitions 74, 76, 77 using the following rank functions: - Rank function 1: RF for loc. 11: 1+2*arg1 RF for loc. 20: 2*arg1 Bound for (chained) transitions 76: 2 Bound for (chained) transitions 77: 2 - Rank function 2: RF for loc. 11: 0 RF for loc. 20: -1 Bound for (chained) transitions 74: 0 * Removed transitions 28, 30, 31, 36, 37, 51, 52, 53, 54, 55, 56, 57, 67, 68, 69, 70, 71, 72, 73 using the following rank functions: - Rank function 1: RF for loc. 9: -3*arg2+3*arg4 RF for loc. 10: -3*arg2+3*arg4 RF for loc. 12: 1-3*arg2+3*arg3 RF for loc. 16: -3*arg2+3*arg4 Bound for (chained) transitions 30: 1 Bound for (chained) transitions 31: 1 Bound for (chained) transitions 54: 0 Bound for (chained) transitions 70: 0 - Rank function 2: RF for loc. 9: 0 RF for loc. 10: 0 RF for loc. 12: -arg1P RF for loc. 16: 0 Bound for (chained) transitions 28, 36: 0 - Rank function 3: RF for loc. 9: 2-3*arg3+3*arg4 RF for loc. 10: -3*arg3+3*arg4 RF for loc. 16: 1-3*arg3+3*arg4 Bound for (chained) transitions 51: 1 Bound for (chained) transitions 52: 1 Bound for (chained) transitions 53: 1 Bound for (chained) transitions 55: 1 Bound for (chained) transitions 56: 1 Bound for (chained) transitions 57: 1 Bound for (chained) transitions 67: 0 Bound for (chained) transitions 68: 0 Bound for (chained) transitions 69: 0 Bound for (chained) transitions 71: 0 Bound for (chained) transitions 72: 0 Bound for (chained) transitions 73: 0 - Rank function 4: RF for loc. 9: 1 RF for loc. 16: 0 Bound for (chained) transitions 37: 1 Errors: