The rewrite relation of the following TRS is considered.
g(0) | → | 0 | (1) |
g(s(x)) | → | f(g(x)) | (2) |
f(0) | → | 0 | (3) |
final states:
{0, 1, 2, 3}
transitions:
g0(0) | → | 0 |
g0(1) | → | 0 |
g0(2) | → | 0 |
g0(3) | → | 0 |
00 | → | 1 |
s0(0) | → | 2 |
s0(1) | → | 2 |
s0(2) | → | 2 |
s0(3) | → | 2 |
f0(0) | → | 3 |
f0(1) | → | 3 |
f0(2) | → | 3 |
f0(3) | → | 3 |
01 | → | 0 |
g1(0) | → | 4 |
f1(4) | → | 0 |
g1(1) | → | 4 |
g1(2) | → | 4 |
g1(3) | → | 4 |
02 | → | 0 |
0 | → | 3 |
0 | → | 4 |