YES Termination proof succeeded Initially, performed program simplifications using lexicographic rank functions: * Removed transitions 25, 28, 29, 30, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 using the following rank functions: - Rank function 1: RF for loc. 20: 5*arg3 RF for loc. 21: -3+5*arg1 RF for loc. 22: -2+5*arg1 RF for loc. 23: -4+5*arg1 RF for loc. 24: -3+5*arg1 RF for loc. 25: -1+5*arg3 Bound for (chained) transitions 28: 4 Bound for (chained) transitions 29: 4 Bound for (chained) transitions 30: 4 Bound for (chained) transitions 41: 2 Bound for (chained) transitions 42: 2 Bound for (chained) transitions 43: 1 Bound for (chained) transitions 44: 1 Bound for (chained) transitions 47: 3 Bound for (chained) transitions 48: 3 Bound for (chained) transitions 49: 2 Bound for (chained) transitions 50: 2 - Rank function 2: RF for loc. 20: 0 RF for loc. 21: arg4 RF for loc. 22: arg3 RF for loc. 25: -1 Bound for (chained) transitions 25: 0 Bound for (chained) transitions 40: 0 Bound for (chained) transitions 45: 1 Bound for (chained) transitions 46: 3 * Removed transitions 51, 54, 55, 56, 57, 58, 59, 75 using the following rank functions: - Rank function 1: RF for loc. 18: -1+3*arg1 RF for loc. 19: 3*arg2 RF for loc. 29: -2+3*arg1 Bound for (chained) transitions 54: -2 Bound for (chained) transitions 55: -2 Bound for (chained) transitions 56: -2 Bound for (chained) transitions 57: -2 Bound for (chained) transitions 58: -2 Bound for (chained) transitions 59: -2 Bound for (chained) transitions 75: 0 - Rank function 2: RF for loc. 18: 0 RF for loc. 29: -1 Bound for (chained) transitions 51: 0 Errors: