The rewrite relation of the following TRS is considered.
f(0(x1)) | → | s(0(x1)) | (1) |
d(0(x1)) | → | 0(x1) | (2) |
d(s(x1)) | → | s(s(d(p(s(x1))))) | (3) |
f(s(x1)) | → | d(f(p(s(x1)))) | (4) |
p(s(x1)) | → | x1 | (5) |
0(f(x1)) | → | 0(s(x1)) | (6) |
0(d(x1)) | → | 0(x1) | (7) |
s(d(x1)) | → | s(p(d(s(s(x1))))) | (8) |
s(f(x1)) | → | s(p(f(d(x1)))) | (9) |
s(p(x1)) | → | x1 | (10) |
[p(x1)] | = | 0 · x1 + -∞ |
[f(x1)] | = | 13 · x1 + -∞ |
[d(x1)] | = | 0 · x1 + -∞ |
[0(x1)] | = | 4 · x1 + -∞ |
[s(x1)] | = | 0 · x1 + -∞ |
0(f(x1)) | → | 0(s(x1)) | (6) |
[p(x1)] | = |
|
||||||||||||||||||||||||
[f(x1)] | = |
|
||||||||||||||||||||||||
[d(x1)] | = |
|
||||||||||||||||||||||||
[0(x1)] | = |
|
||||||||||||||||||||||||
[s(x1)] | = |
|
0(d(x1)) | → | 0(x1) | (7) |
s#(d(x1)) | → | s#(x1) | (11) |
s#(d(x1)) | → | s#(s(x1)) | (12) |
s#(d(x1)) | → | s#(p(d(s(s(x1))))) | (13) |
s#(f(x1)) | → | s#(p(f(d(x1)))) | (14) |
The dependency pairs are split into 1 component.
s#(d(x1)) | → | s#(s(x1)) | (12) |
s#(d(x1)) | → | s#(x1) | (11) |
[p(x1)] | = | 0 · x1 + 0 |
[f(x1)] | = | -∞ · x1 + 1 |
[d(x1)] | = | 2 · x1 + 3 |
[s#(x1)] | = | 0 · x1 + 0 |
[s(x1)] | = | 0 · x1 + 1 |
s(d(x1)) | → | s(p(d(s(s(x1))))) | (8) |
s(f(x1)) | → | s(p(f(d(x1)))) | (9) |
s(p(x1)) | → | x1 | (10) |
s#(d(x1)) | → | s#(s(x1)) | (12) |
s#(d(x1)) | → | s#(x1) | (11) |
There are no pairs anymore.