The rewrite relation of the following TRS is considered.
f(f(X)) | → | f(a(b(f(X)))) | (1) |
f(a(g(X))) | → | b(X) | (2) |
b(X) | → | a(X) | (3) |
final states:
{0, 1, 2, 3}
transitions:
f0(0) | → | 0 |
f0(1) | → | 0 |
f0(2) | → | 0 |
f0(3) | → | 0 |
a0(0) | → | 1 |
a0(1) | → | 1 |
a0(2) | → | 1 |
a0(3) | → | 1 |
b0(0) | → | 2 |
b0(1) | → | 2 |
b0(2) | → | 2 |
b0(3) | → | 2 |
g0(0) | → | 3 |
g0(1) | → | 3 |
g0(2) | → | 3 |
g0(3) | → | 3 |
f1(0) | → | 6 |
b1(6) | → | 5 |
a1(5) | → | 4 |
f1(4) | → | 0 |
f1(1) | → | 6 |
f1(2) | → | 6 |
f1(3) | → | 6 |
b1(0) | → | 0 |
b1(1) | → | 0 |
b1(2) | → | 0 |
b1(3) | → | 0 |
a1(0) | → | 2 |
a1(1) | → | 2 |
a1(2) | → | 2 |
a1(3) | → | 2 |
f2(4) | → | 9 |
b2(9) | → | 8 |
a2(8) | → | 7 |
f2(7) | → | 6 |
a2(0) | → | 0 |
a2(1) | → | 0 |
a2(3) | → | 0 |
a2(6) | → | 5 |
a3(9) | → | 8 |
2 | → | 4 |
4 | → | 0 |
0 | → | 6 |
0 | → | 5 |
5 | → | 9 |