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