R
↳Dependency Pair Analysis
+'(s(x), s(y)) -> +'(x, y)
*'(s(x), s(y)) -> +'(*(x, y), +(x, y))
*'(s(x), s(y)) -> *'(x, y)
*'(s(x), s(y)) -> +'(x, y)
SUM(cons(x, l)) -> +'(x, sum(l))
SUM(cons(x, l)) -> SUM(l)
PROD(cons(x, l)) -> *'(x, prod(l))
PROD(cons(x, l)) -> PROD(l)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
+'(s(x), s(y)) -> +'(x, y)
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
+'(s(x), s(y)) -> +'(x, y)
trivial
+'(x1, x2) -> +'(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Argument Filtering and Ordering
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
*'(s(x), s(y)) -> *'(x, y)
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
*'(s(x), s(y)) -> *'(x, y)
trivial
*'(x1, x2) -> *'(x1, x2)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 6
↳Dependency Graph
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳Argument Filtering and Ordering
→DP Problem 4
↳AFS
SUM(cons(x, l)) -> SUM(l)
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
SUM(cons(x, l)) -> SUM(l)
trivial
SUM(x1) -> SUM(x1)
cons(x1, x2) -> cons(x1, x2)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 7
↳Dependency Graph
→DP Problem 4
↳AFS
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳Argument Filtering and Ordering
PROD(cons(x, l)) -> PROD(l)
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost
PROD(cons(x, l)) -> PROD(l)
trivial
PROD(x1) -> PROD(x1)
cons(x1, x2) -> cons(x1, x2)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 3
↳AFS
→DP Problem 4
↳AFS
→DP Problem 8
↳Dependency Graph
+(x, 0) -> x
+(0, x) -> x
+(s(x), s(y)) -> s(s(+(x, y)))
*(x, 0) -> 0
*(0, x) -> 0
*(s(x), s(y)) -> s(+(*(x, y), +(x, y)))
sum(nil) -> 0
sum(cons(x, l)) -> +(x, sum(l))
prod(nil) -> s(0)
prod(cons(x, l)) -> *(x, prod(l))
innermost