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