The rewrite relation of the following TRS is considered.
f(a,f(x,a)) | → | f(a,f(f(a,a),x)) | (1) |
The TRS is overlay and locally confluent:
10Hence, it suffices to show innermost termination in the following.
f#(a,f(x,a)) | → | f#(a,f(f(a,a),x)) | (2) |
f#(a,f(x,a)) | → | f#(f(a,a),x) | (3) |
f#(a,f(x,a)) | → | f#(a,a) | (4) |
The dependency pairs are split into 1 component.
f#(a,f(x,a)) | → | f#(a,f(f(a,a),x)) | (2) |
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
[f#(x1, x2)] | = | 0 + 0 · x1 + 1/2 · x2 |
[a] | = | 1/4 |
[f(x1, x2)] | = | 0 + 1/4 · x1 + 1/4 · x2 |
f#(a,f(x,a)) | → | f#(a,f(f(a,a),x)) | (2) |
There are no pairs anymore.