The rewrite relation of the following TRS is considered.
f(a,b) | → | f(a,c) | (1) |
f(c,d) | → | f(b,d) | (2) |
[d] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[b] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[c] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[a] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[f(x1, x2)] | = |
|
f(a,b) | → | f(a,c) | (1) |
prec(d) | = | 1 | weight(d) | = | 1 | ||||
prec(c) | = | 3 | weight(c) | = | 1 | ||||
prec(f) | = | 0 | weight(f) | = | 0 | ||||
prec(b) | = | 2 | weight(b) | = | 1 |
f(c,d) | → | f(b,d) | (2) |
There are no rules in the TRS. Hence, it is terminating.