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