0.00/0.38 YES 0.00/0.38 0.00/0.38 DP problem for innermost termination. 0.00/0.38 P = 0.00/0.38 init#(x1) -> f1#(rnd1) 0.00/0.38 f2#(I0) -> f2#(I0 + 1) [I0 <= 19 /\ 10 <= I0 - 1] 0.00/0.38 f2#(I1) -> f2#(I1 + 1) [I1 <= 19 /\ I1 <= 10] 0.00/0.38 f1#(I2) -> f2#(0) 0.00/0.38 R = 0.00/0.38 init(x1) -> f1(rnd1) 0.00/0.38 f2(I0) -> f2(I0 + 1) [I0 <= 19 /\ 10 <= I0 - 1] 0.00/0.38 f2(I1) -> f2(I1 + 1) [I1 <= 19 /\ I1 <= 10] 0.00/0.38 f1(I2) -> f2(0) 0.00/0.38 0.00/0.38 The dependency graph for this problem is: 0.00/0.38 0 -> 3 0.00/0.38 1 -> 1 0.00/0.38 2 -> 1, 2 0.00/0.38 3 -> 2 0.00/0.38 Where: 0.00/0.38 0) init#(x1) -> f1#(rnd1) 0.00/0.38 1) f2#(I0) -> f2#(I0 + 1) [I0 <= 19 /\ 10 <= I0 - 1] 0.00/0.38 2) f2#(I1) -> f2#(I1 + 1) [I1 <= 19 /\ I1 <= 10] 0.00/0.38 3) f1#(I2) -> f2#(0) 0.00/0.38 0.00/0.38 We have the following SCCs. 0.00/0.38 { 2 } 0.00/0.38 { 1 } 0.00/0.38 0.00/0.38 DP problem for innermost termination. 0.00/0.38 P = 0.00/0.38 f2#(I0) -> f2#(I0 + 1) [I0 <= 19 /\ 10 <= I0 - 1] 0.00/0.38 R = 0.00/0.38 init(x1) -> f1(rnd1) 0.00/0.38 f2(I0) -> f2(I0 + 1) [I0 <= 19 /\ 10 <= I0 - 1] 0.00/0.38 f2(I1) -> f2(I1 + 1) [I1 <= 19 /\ I1 <= 10] 0.00/0.38 f1(I2) -> f2(0) 0.00/0.38 0.00/0.38 We use the reverse value criterion with the projection function NU: 0.00/0.38 NU[f2#(z1)] = 19 + -1 * z1 0.00/0.38 0.00/0.38 This gives the following inequalities: 0.00/0.38 I0 <= 19 /\ 10 <= I0 - 1 ==> 19 + -1 * I0 > 19 + -1 * (I0 + 1) with 19 + -1 * I0 >= 0 0.00/0.38 0.00/0.38 All dependency pairs are strictly oriented, so the entire dependency pair problem may be removed. 0.00/0.38 0.00/0.38 DP problem for innermost termination. 0.00/0.38 P = 0.00/0.38 f2#(I1) -> f2#(I1 + 1) [I1 <= 19 /\ I1 <= 10] 0.00/0.38 R = 0.00/0.38 init(x1) -> f1(rnd1) 0.00/0.38 f2(I0) -> f2(I0 + 1) [I0 <= 19 /\ 10 <= I0 - 1] 0.00/0.38 f2(I1) -> f2(I1 + 1) [I1 <= 19 /\ I1 <= 10] 0.00/0.38 f1(I2) -> f2(0) 0.00/0.38 0.00/0.38 We use the reverse value criterion with the projection function NU: 0.00/0.38 NU[f2#(z1)] = 10 + -1 * z1 0.00/0.38 0.00/0.38 This gives the following inequalities: 0.00/0.38 I1 <= 19 /\ I1 <= 10 ==> 10 + -1 * I1 > 10 + -1 * (I1 + 1) with 10 + -1 * I1 >= 0 0.00/0.38 0.00/0.38 All dependency pairs are strictly oriented, so the entire dependency pair problem may be removed. 0.00/3.37 EOF