R
↳Dependency Pair Analysis
REV(ls) -> R1(ls, empty)
R1(cons(x, k), a) -> R1(k, cons(x, a))
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
R1(cons(x, k), a) -> R1(k, cons(x, a))
rev(ls) -> r1(ls, empty)
r1(empty, a) -> a
r1(cons(x, k), a) -> r1(k, cons(x, a))
R1(cons(x, k), a) -> R1(k, cons(x, a))
rev(ls) -> r1(ls, empty)
r1(empty, a) -> a
r1(cons(x, k), a) -> r1(k, cons(x, a))
POL(rev(x1)) = x1 POL(cons(x1, x2)) = 1 + x2 POL(r1(x1, x2)) = x1 + x2 POL(R1(x1, x2)) = x1 POL(empty) = 0
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Dependency Graph
rev(ls) -> r1(ls, empty)
r1(empty, a) -> a
r1(cons(x, k), a) -> r1(k, cons(x, a))