The rewrite relation of the following TRS is considered.
| times(x,plus(y,1)) | → | plus(times(x,plus(y,times(1,0))),x) | (1) |
| times(x,1) | → | x | (2) |
| plus(x,0) | → | x | (3) |
| times(x,0) | → | 0 | (4) |
| times#(x,plus(y,1)) | → | times#(1,0) | (5) |
| times#(x,plus(y,1)) | → | plus#(y,times(1,0)) | (6) |
| times#(x,plus(y,1)) | → | times#(x,plus(y,times(1,0))) | (7) |
| times#(x,plus(y,1)) | → | plus#(times(x,plus(y,times(1,0))),x) | (8) |
The dependency pairs are split into 1 component.
| times#(x,plus(y,1)) | → | times#(x,plus(y,times(1,0))) | (7) |
| prec(times#) | = | 0 | stat(times#) | = | lex | |
| prec(0) | = | 0 | stat(0) | = | lex | |
| prec(times) | = | 4 | stat(times) | = | lex | |
| prec(plus) | = | 5 | stat(plus) | = | lex | |
| prec(1) | = | 5 | stat(1) | = | lex |
| π(times#) | = | 2 |
| π(0) | = | [] |
| π(times) | = | [] |
| π(plus) | = | [1,2] |
| π(1) | = | [] |
| times(x,0) | → | 0 | (4) |
| plus(x,0) | → | x | (3) |
| times#(x,plus(y,1)) | → | times#(x,plus(y,times(1,0))) | (7) |
There are no pairs anymore.