The rewrite relation of the following TRS is considered.
a(a(x1)) | → | b(b(b(x1))) | (1) |
a(x1) | → | d(c(d(x1))) | (2) |
b(b(x1)) | → | c(c(c(x1))) | (3) |
c(c(x1)) | → | d(d(d(x1))) | (4) |
c(d(d(x1))) | → | a(x1) | (5) |
a(a(x1)) | → | b(b(b(x1))) | (1) |
a(x1) | → | d(c(d(x1))) | (2) |
b(b(x1)) | → | c(c(c(x1))) | (3) |
c(c(x1)) | → | d(d(d(x1))) | (4) |
d(d(c(x1))) | → | a(x1) | (6) |
[a(x1)] | = | 1 · x1 + 53 |
[b(x1)] | = | 1 · x1 + 35 |
[d(x1)] | = | 1 · x1 + 15 |
[c(x1)] | = | 1 · x1 + 23 |
a(a(x1)) | → | b(b(b(x1))) | (1) |
b(b(x1)) | → | c(c(c(x1))) | (3) |
c(c(x1)) | → | d(d(d(x1))) | (4) |
The TRS is overlay and locally confluent:
10Hence, it suffices to show innermost termination in the following.
a#(x1) | → | d#(c(d(x1))) | (7) |
a#(x1) | → | d#(x1) | (8) |
d#(d(c(x1))) | → | a#(x1) | (9) |
The dependency pairs are split into 1 component.
a#(x1) | → | d#(x1) | (8) |
d#(d(c(x1))) | → | a#(x1) | (9) |
We restrict the rewrite rules to the following usable rules of the DP problem.
There are no rules.
We restrict the innermost strategy to the following left hand sides.
d(d(c(x0))) |
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
d#(d(c(x1))) | → | a#(x1) | (9) |
1 | > | 1 | |
a#(x1) | → | d#(x1) | (8) |
1 | ≥ | 1 |
As there is no critical graph in the transitive closure, there are no infinite chains.