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
↳Polynomial 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
R
↳DPs
→DP Problem 1
↳Polo
→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