The rewrite relation of the following TRS is considered.
a(a(x1)) | → | b(c(x1)) | (1) |
b(b(x1)) | → | c(d(x1)) | (2) |
b(x1) | → | a(x1) | (3) |
c(c(x1)) | → | d(f(x1)) | (4) |
d(d(x1)) | → | f(f(f(x1))) | (5) |
d(x1) | → | b(x1) | (6) |
f(f(x1)) | → | g(a(x1)) | (7) |
g(g(x1)) | → | a(x1) | (8) |
a(a(x1)) | → | c(b(x1)) | (9) |
b(b(x1)) | → | d(c(x1)) | (10) |
b(x1) | → | a(x1) | (3) |
c(c(x1)) | → | f(d(x1)) | (11) |
d(d(x1)) | → | f(f(f(x1))) | (5) |
d(x1) | → | b(x1) | (6) |
f(f(x1)) | → | a(g(x1)) | (12) |
g(g(x1)) | → | a(x1) | (8) |
[f(x1)] | = |
|
||||||||||||||||||||||||
[c(x1)] | = |
|
||||||||||||||||||||||||
[d(x1)] | = |
|
||||||||||||||||||||||||
[g(x1)] | = |
|
||||||||||||||||||||||||
[a(x1)] | = |
|
||||||||||||||||||||||||
[b(x1)] | = |
|
g(g(x1)) | → | a(x1) | (8) |
prec(g) | = | 7 | weight(g) | = | 0 | ||||
prec(f) | = | 1 | weight(f) | = | 2 | ||||
prec(d) | = | 5 | weight(d) | = | 4 | ||||
prec(b) | = | 4 | weight(b) | = | 4 | ||||
prec(c) | = | 2 | weight(c) | = | 3 | ||||
prec(a) | = | 0 | weight(a) | = | 4 |
a(a(x1)) | → | c(b(x1)) | (9) |
b(b(x1)) | → | d(c(x1)) | (10) |
b(x1) | → | a(x1) | (3) |
c(c(x1)) | → | f(d(x1)) | (11) |
d(d(x1)) | → | f(f(f(x1))) | (5) |
d(x1) | → | b(x1) | (6) |
f(f(x1)) | → | a(g(x1)) | (12) |
There are no rules in the TRS. Hence, it is terminating.