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