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(f(g(g(f(h(c,d)),a,b),a,b))) |
→ | f(g(f(h(c,d)),a,b)) | |
→ | f(h(p(a),q(a))) | |
→ | f(h(c,q(a))) | |
= | t3 |
t0 | = | f(f(g(g(f(h(c,d)),a,b),a,b))) |
→ | f(g(f(h(c,d)),a,b)) | |
→ | f(h(c,d)) | |
= | t2 |
π(a) | = | [] |
π(c) | = | [] |
π(d) | = | [] |
π(f) | = | [1] |
π(h) | = | [1,2] |
π(q) | = | 1 |