0.00/0.51 MAYBE 0.00/0.51 0.00/0.51 DP problem for innermost termination. 0.00/0.51 P = 0.00/0.51 init#(x1, x2) -> f1#(rnd1, rnd2) 0.00/0.51 f2#(I0, I1) -> f2#(I0 - 1, I2) [I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1] 0.00/0.51 f2#(I3, I4) -> f2#(I3 - 1, I5) [I3 - 1 <= I3 - 1 /\ I3 <= -1] 0.00/0.51 f1#(I6, I7) -> f2#(-1 * I7, I8) [0 <= I6 - 1 /\ I7 <= 4 /\ -1 <= I7 - 1 /\ -1 * I7 <= 0] 0.00/0.51 f1#(I9, I10) -> f2#(I10, I11) [4 <= I10 - 1 /\ 0 <= I9 - 1] 0.00/0.51 R = 0.00/0.51 init(x1, x2) -> f1(rnd1, rnd2) 0.00/0.51 f2(I0, I1) -> f2(I0 - 1, I2) [I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1] 0.00/0.51 f2(I3, I4) -> f2(I3 - 1, I5) [I3 - 1 <= I3 - 1 /\ I3 <= -1] 0.00/0.51 f1(I6, I7) -> f2(-1 * I7, I8) [0 <= I6 - 1 /\ I7 <= 4 /\ -1 <= I7 - 1 /\ -1 * I7 <= 0] 0.00/0.51 f1(I9, I10) -> f2(I10, I11) [4 <= I10 - 1 /\ 0 <= I9 - 1] 0.00/0.51 0.00/0.51 The dependency graph for this problem is: 0.00/0.51 0 -> 3, 4 0.00/0.51 1 -> 1 0.00/0.51 2 -> 2 0.00/0.51 3 -> 2 0.00/0.51 4 -> 1 0.00/0.51 Where: 0.00/0.51 0) init#(x1, x2) -> f1#(rnd1, rnd2) 0.00/0.51 1) f2#(I0, I1) -> f2#(I0 - 1, I2) [I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1] 0.00/0.51 2) f2#(I3, I4) -> f2#(I3 - 1, I5) [I3 - 1 <= I3 - 1 /\ I3 <= -1] 0.00/0.51 3) f1#(I6, I7) -> f2#(-1 * I7, I8) [0 <= I6 - 1 /\ I7 <= 4 /\ -1 <= I7 - 1 /\ -1 * I7 <= 0] 0.00/0.51 4) f1#(I9, I10) -> f2#(I10, I11) [4 <= I10 - 1 /\ 0 <= I9 - 1] 0.00/0.51 0.00/0.51 We have the following SCCs. 0.00/0.51 { 2 } 0.00/0.51 { 1 } 0.00/0.51 0.00/0.51 DP problem for innermost termination. 0.00/0.51 P = 0.00/0.51 f2#(I0, I1) -> f2#(I0 - 1, I2) [I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1] 0.00/0.51 R = 0.00/0.51 init(x1, x2) -> f1(rnd1, rnd2) 0.00/0.51 f2(I0, I1) -> f2(I0 - 1, I2) [I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1] 0.00/0.51 f2(I3, I4) -> f2(I3 - 1, I5) [I3 - 1 <= I3 - 1 /\ I3 <= -1] 0.00/0.51 f1(I6, I7) -> f2(-1 * I7, I8) [0 <= I6 - 1 /\ I7 <= 4 /\ -1 <= I7 - 1 /\ -1 * I7 <= 0] 0.00/0.51 f1(I9, I10) -> f2(I10, I11) [4 <= I10 - 1 /\ 0 <= I9 - 1] 0.00/0.51 0.00/0.51 We use the basic value criterion with the projection function NU: 0.00/0.51 NU[f2#(z1,z2)] = z1 0.00/0.51 0.00/0.51 This gives the following inequalities: 0.00/0.51 I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1 ==> I0 >! I0 - 1 0.00/0.51 0.00/0.51 All dependency pairs are strictly oriented, so the entire dependency pair problem may be removed. 0.00/0.51 0.00/0.51 DP problem for innermost termination. 0.00/0.51 P = 0.00/0.51 f2#(I3, I4) -> f2#(I3 - 1, I5) [I3 - 1 <= I3 - 1 /\ I3 <= -1] 0.00/0.51 R = 0.00/0.51 init(x1, x2) -> f1(rnd1, rnd2) 0.00/0.51 f2(I0, I1) -> f2(I0 - 1, I2) [I0 - 1 <= I0 - 1 /\ 0 <= I0 - 1] 0.00/0.51 f2(I3, I4) -> f2(I3 - 1, I5) [I3 - 1 <= I3 - 1 /\ I3 <= -1] 0.00/0.51 f1(I6, I7) -> f2(-1 * I7, I8) [0 <= I6 - 1 /\ I7 <= 4 /\ -1 <= I7 - 1 /\ -1 * I7 <= 0] 0.00/0.51 f1(I9, I10) -> f2(I10, I11) [4 <= I10 - 1 /\ 0 <= I9 - 1] 0.00/0.51 0.00/3.49 EOF