R
↳Dependency Pair Analysis
P(m, n, s(r)) -> P(m, r, n)
P(m, s(n), 0) -> P(0, n, m)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
P(m, s(n), 0) -> P(0, n, m)
P(m, n, s(r)) -> P(m, r, n)
p(m, n, s(r)) -> p(m, r, n)
p(m, s(n), 0) -> p(0, n, m)
p(m, 0, 0) -> m
P(m, s(n), 0) -> P(0, n, m)
P(m, n, s(r)) -> P(m, r, n)
p(m, n, s(r)) -> p(m, r, n)
p(m, s(n), 0) -> p(0, n, m)
p(m, 0, 0) -> m
POL(P(x1, x2, x3)) = x1 + x2 + x3 POL(0) = 0 POL(s(x1)) = 1 + x1 POL(p(x1, x2, x3)) = x1 + x2 + x3
P(x1, x2, x3) -> P(x1, x2, x3)
s(x1) -> s(x1)
p(x1, x2, x3) -> p(x1, x2, x3)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Dependency Graph
p(m, n, s(r)) -> p(m, r, n)
p(m, s(n), 0) -> p(0, n, m)
p(m, 0, 0) -> m