YES Termination proof succeeded Initially, performed program simplifications using lexicographic rank functions: * Removed transitions 4, 6, 7, 12, 13, 15, 16 using the following rank functions: - Rank function 1: RF for loc. 7: arg2+arg3-2*arg4 RF for loc. 8: -1-4*arg1+4*arg3 RF for loc. 12: -1+arg2+arg3-2*arg4 Bound for (chained) transitions 6: 3 Bound for (chained) transitions 7: 3 Bound for (chained) transitions 15: 1 Bound for (chained) transitions 16: 1 - Rank function 2: RF for loc. 7: 0 RF for loc. 8: -1 RF for loc. 12: -1 Bound for (chained) transitions 4, 12: 0 Bound for (chained) transitions 13: 0 Errors: