The rewrite relation of the following TRS is considered.
app(app(F,app(app(F,f),x)),x) | → | app(app(F,app(G,app(app(F,f),x))),app(f,x)) | (1) |
app#(app(F,app(app(F,f),x)),x) | → | app#(f,x) | (2) |
app#(app(F,app(app(F,f),x)),x) | → | app#(G,app(app(F,f),x)) | (3) |
app#(app(F,app(app(F,f),x)),x) | → | app#(F,app(G,app(app(F,f),x))) | (4) |
app#(app(F,app(app(F,f),x)),x) | → | app#(app(F,app(G,app(app(F,f),x))),app(f,x)) | (5) |
The dependency pairs are split into 1 component.
app#(app(F,app(app(F,f),x)),x) | → | app#(f,x) | (2) |
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
app#(app(F,app(app(F,f),x)),x) | → | app#(f,x) | (2) |
2 | ≥ | 2 | |
1 | > | 2 | |
1 | > | 1 |
As there is no critical graph in the transitive closure, there are no infinite chains.