The rewrite relation of the following TRS is considered.
f(x1) | → | n(c(c(x1))) | (1) |
c(f(x1)) | → | f(c(c(x1))) | (2) |
c(c(x1)) | → | c(x1) | (3) |
n(s(x1)) | → | f(s(s(x1))) | (4) |
n(f(x1)) | → | f(n(x1)) | (5) |
c#(f(x1)) | → | c#(c(x1)) | (6) |
f#(x1) | → | n#(c(c(x1))) | (7) |
n#(s(x1)) | → | f#(s(s(x1))) | (8) |
f#(x1) | → | c#(c(x1)) | (9) |
n#(f(x1)) | → | n#(x1) | (10) |
c#(f(x1)) | → | c#(x1) | (11) |
c#(f(x1)) | → | f#(c(c(x1))) | (12) |
f#(x1) | → | c#(x1) | (13) |
n#(f(x1)) | → | f#(n(x1)) | (14) |
The dependency pairs are split into 1 component.
n#(f(x1)) | → | f#(n(x1)) | (14) |
f#(x1) | → | c#(x1) | (13) |
c#(f(x1)) | → | f#(c(c(x1))) | (12) |
c#(f(x1)) | → | c#(x1) | (11) |
n#(s(x1)) | → | f#(s(s(x1))) | (8) |
f#(x1) | → | n#(c(c(x1))) | (7) |
n#(f(x1)) | → | n#(x1) | (10) |
f#(x1) | → | c#(c(x1)) | (9) |
c#(f(x1)) | → | c#(c(x1)) | (6) |
[s(x1)] | = | 20977 |
[n(x1)] | = | x1 + 0 |
[c(x1)] | = | 0 |
[f(x1)] | = | x1 + 0 |
[f#(x1)] | = | 0 |
[c#(x1)] | = | 0 |
[n#(x1)] | = | x1 + 0 |
n(s(x1)) | → | f(s(s(x1))) | (4) |
f(x1) | → | n(c(c(x1))) | (1) |
c(c(x1)) | → | c(x1) | (3) |
n(f(x1)) | → | f(n(x1)) | (5) |
c(f(x1)) | → | f(c(c(x1))) | (2) |
n#(s(x1)) | → | f#(s(s(x1))) | (8) |
The dependency pairs are split into 1 component.
f#(x1) | → | c#(x1) | (13) |
f#(x1) | → | c#(c(x1)) | (9) |
f#(x1) | → | n#(c(c(x1))) | (7) |
n#(f(x1)) | → | n#(x1) | (10) |
n#(f(x1)) | → | f#(n(x1)) | (14) |
c#(f(x1)) | → | c#(x1) | (11) |
c#(f(x1)) | → | c#(c(x1)) | (6) |
c#(f(x1)) | → | f#(c(c(x1))) | (12) |
[s(x1)] | = | 18458 |
[n(x1)] | = | x1 + 25908 |
[c(x1)] | = | x1 + 0 |
[f(x1)] | = | x1 + 25908 |
[f#(x1)] | = | x1 + 1 |
[c#(x1)] | = | x1 + 0 |
[n#(x1)] | = | x1 + 1 |
n(s(x1)) | → | f(s(s(x1))) | (4) |
f(x1) | → | n(c(c(x1))) | (1) |
c(c(x1)) | → | c(x1) | (3) |
n(f(x1)) | → | f(n(x1)) | (5) |
c(f(x1)) | → | f(c(c(x1))) | (2) |
f#(x1) | → | c#(x1) | (13) |
f#(x1) | → | c#(c(x1)) | (9) |
n#(f(x1)) | → | n#(x1) | (10) |
c#(f(x1)) | → | c#(x1) | (11) |
c#(f(x1)) | → | c#(c(x1)) | (6) |
c#(f(x1)) | → | f#(c(c(x1))) | (12) |
The dependency pairs are split into 1 component.
f#(x1) | → | n#(c(c(x1))) | (7) |
n#(f(x1)) | → | f#(n(x1)) | (14) |
[s(x1)] | = |
|
||||||||||||
[n(x1)] | = |
|
||||||||||||
[c(x1)] | = |
|
||||||||||||
[f(x1)] | = |
x1 +
|
||||||||||||
[f#(x1)] | = |
|
||||||||||||
[c#(x1)] | = |
|
||||||||||||
[n#(x1)] | = |
|
n(s(x1)) | → | f(s(s(x1))) | (4) |
f(x1) | → | n(c(c(x1))) | (1) |
c(c(x1)) | → | c(x1) | (3) |
n(f(x1)) | → | f(n(x1)) | (5) |
c(f(x1)) | → | f(c(c(x1))) | (2) |
f#(x1) | → | n#(c(c(x1))) | (7) |
n#(f(x1)) | → | f#(n(x1)) | (14) |
The dependency pairs are split into 0 components.