MAYBE DP problem for innermost termination. P = eval#(x) -> eval#(-2 * x + 10) [x >= 0] R = eval(x) -> eval(-2 * x + 10) [x >= 0]