YES
by ttt2 (version ttt2 1.15)
The rewrite relation of the following TRS is considered.
f(s(x0)) | → | s(s(f(p(s(x0))))) |
f(0(x0)) | → | 0(x0) |
p(s(x0)) | → | x0 |
[f(x1)] | = | 4 · x1 + -∞ |
[0(x1)] | = | 1 · x1 + -∞ |
[s(x1)] | = | 0 · x1 + -∞ |
[p(x1)] | = | 0 · x1 + -∞ |
f(s(x0)) | → | s(s(f(p(s(x0))))) |
p(s(x0)) | → | x0 |
final states:
{2, 1}
transitions:
1 | → | 5 |
2 | → | 4 |
f0(4) | → | 5 |
f40 | → | 2 |
p0(3) | → | 4 |
s0(6) | → | 1 |
s0(5) | → | 6 |
s0(2) | → | 3 |