We consider the TRS containing the following rules:
f(g(x,a,b)) | → | x | (1) |
p(a) | → | c | (2) |
g(f(h(c,d)),x,y) | → | h(p(x),q(x)) | (3) |
q(b) | → | d | (4) |
The underlying signature is as follows:
{f/1, g/3, a/0, b/0, p/1, c/0, h/2, d/0, q/1}t0 | = | f(g(f(h(c,d)),a,b)) |
→ | f(h(p(a),q(a))) | |
= | t1 |
t0 | = | f(g(f(h(c,d)),a,b)) |
→ | f(h(c,d)) | |
= | t1 |
Automaton 1
final states:
{1}
transitions:
h(5,3) | → | 6 |
c | → | 5 |
q(2) | → | 3 |
p(4) | → | 5 |
a | → | 2 |
a | → | 4 |
f(6) | → | 1 |
Automaton 2
final states:
{7}
transitions:
h(9,8) | → | 10 |
c | → | 9 |
f(10) | → | 7 |
d | → | 8 |