The rewrite relation of the following TRS is considered.
minus(x,0) | → | x | (1) |
minus(s(x),s(y)) | → | minus(x,y) | (2) |
le(0,y) | → | true | (3) |
le(s(x),0) | → | false | (4) |
le(s(x),s(y)) | → | le(x,y) | (5) |
quot(0,s(y)) | → | 0 | (6) |
quot(s(x),s(y)) | → | s(quot(minus(s(x),s(y)),s(y))) | (7) |
minus#(s(x),s(y)) | → | minus#(x,y) | (8) |
le#(s(x),s(y)) | → | le#(x,y) | (9) |
quot#(s(x),s(y)) | → | quot#(minus(s(x),s(y)),s(y)) | (10) |
quot#(s(x),s(y)) | → | minus#(s(x),s(y)) | (11) |
The dependency pairs are split into 3 components.
quot#(s(x),s(y)) | → | quot#(minus(s(x),s(y)),s(y)) | (10) |
We restrict the rewrite rules to the following usable rules of the DP problem.
minus(s(x),s(y)) | → | minus(x,y) | (2) |
minus(x,0) | → | x | (1) |
We restrict the innermost strategy to the following left hand sides.
minus(x0,0) |
minus(s(x0),s(x1)) |
→ |
prec(s) | = | 0 | weight(s) | = | 1 |
π(quot#) | = | 1 |
π(s) | = | [1] |
π(minus) | = | 1 |
quot#(s(x),s(y)) | → | quot#(minus(x,y),s(y)) | (12) |
There are no pairs anymore.
minus#(s(x),s(y)) | → | minus#(x,y) | (8) |
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.
There are no lhss.
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
minus#(s(x),s(y)) | → | minus#(x,y) | (8) |
1 | > | 1 | |
2 | > | 2 |
As there is no critical graph in the transitive closure, there are no infinite chains.
le#(s(x),s(y)) | → | le#(x,y) | (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.
There are no lhss.
Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.
le#(s(x),s(y)) | → | le#(x,y) | (9) |
1 | > | 1 | |
2 | > | 2 |
As there is no critical graph in the transitive closure, there are no infinite chains.