We consider the TRS containing the following rules:
a | → | f(a) | (1) |
a | → | g(h(a)) | (2) |
f(x) | → | h(g(x)) | (3) |
h(x) | → | f(g(x)) | (4) |
The underlying signature is as follows:
{a/0, f/1, g/1, h/1}t0 | = | a |
→ | g(h(a)) | |
= | t1 |
t0 | = | a |
→ | f(a) | |
= | t1 |
Automaton 1
final states:
{1}
transitions:
h(2) | → | 3 |
h(28) | → | 2 |
f(2) | → | 2 |
f(28) | → | 3 |
a | → | 2 |
g(28) | → | 2 |
g(2) | → | 28 |
g(3) | → | 1 |
g(3) | → | 2 |
Automaton 2
final states:
{4}
transitions:
h(5) | → | 16 |
h(27) | → | 4 |
h(27) | → | 5 |
f(27) | → | 16 |
f(5) | → | 4 |
f(5) | → | 5 |
a | → | 5 |
g(27) | → | 5 |
g(16) | → | 5 |
g(5) | → | 27 |