YES
The TRS could be proven terminating. The proof took 127 ms.
Problem 1 was processed with processor PolynomialLinearRange4iUR (103ms).
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 |
Termination of terms over the following signature is verified: 0, s, p
There are no usable rules
The following dependency pairs are strictly oriented by an ordering on the given polynomial interpretation, thus they are removed:
p#(m, s(n), 0) | → | p#(0, n, m) | p#(m, n, s(r)) | → | p#(m, r, n) |