The rewrite relation of the following TRS is considered.
| f(g(x)) | → | g(f(f(x))) | (1) |
| f(h(x)) | → | h(g(x)) | (2) |
| f'(s(x),y,y) | → | f'(y,x,s(x)) | (3) |
| [f'(x1, x2, x3)] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| [f(x1)] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| [s(x1)] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| [g(x1)] | = |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| [h(x1)] | = |
|
| f'(s(x),y,y) | → | f'(y,x,s(x)) | (3) |
| [f(x1)] | = |
|
||||||||||||||||||||||||
| [g(x1)] | = |
|
||||||||||||||||||||||||
| [h(x1)] | = |
|
| f(h(x)) | → | h(g(x)) | (2) |
| prec(f) | = | 1 | weight(f) | = | 0 | ||||
| prec(g) | = | 0 | weight(g) | = | 2 |
| f(g(x)) | → | g(f(f(x))) | (1) |
There are no rules in the TRS. Hence, it is terminating.