We consider two TRSs R and S where R contains the rules
f(f(a)) | → | f(f(f(a))) | (1) |
f(f(a)) | → | f(a) | (2) |
and S contains the following rules:
f(g(f(x))) | → | x | (3) |
f(g(x)) | → | g(f(x)) | (4) |
The underlying signature is as follows:
{a/0, f/1, g/1}t0 | = | f(g(f(f(a)))) |
→S | f(a) | |
= | s1 |
t0 | = | f(g(f(f(a)))) |
→R | f(g(f(a))) | |
= | t1 |
Automaton 1
final states:
{q_1}
transitions:
a | → | q_0 |
a | → | q_{*} |
a | → | q_{a} |
a | → | q_{f(*)} |
f(q_{g(f(a))}) | → | q_0 |
f(q_{*}) | → | q_{*} |
f(q_{*}) | → | q_{f(*)} |
f(q_{a}) | → | q_1 |
f(q_{a}) | → | q_{f(a)} |
g(q_{*}) | → | q_{*} |
g(q_{*}) | → | q_{f(*)} |
g(q_{f(*)}) | → | q_0 |
g(q_{f(*)}) | → | q_{f(*)} |
g(q_{f(a)}) | → | q_{g(f(a))} |
Automaton 2
final states:
{q_0}
transitions:
a | → | q_0 |
a | → | q_{*} |
a | → | q_{a} |
a | → | q_{f(*)} |
f(q_{g(f(a))}) | → | q_0 |
f(q_{*}) | → | q_{*} |
f(q_{*}) | → | q_{f(*)} |
f(q_{a}) | → | q_1 |
f(q_{a}) | → | q_{f(a)} |
g(q_{*}) | → | q_{*} |
g(q_{*}) | → | q_{f(*)} |
g(q_{f(*)}) | → | q_0 |
g(q_{f(*)}) | → | q_{f(*)} |
g(q_{f(a)}) | → | q_{g(f(a))} |