The rewrite relation of the following TRS is considered.
| -(0,y) | → | 0 | (1) |
| -(x,0) | → | x | (2) |
| -(x,s(y)) | → | if(greater(x,s(y)),s(-(x,p(s(y)))),0) | (3) |
| p(0) | → | 0 | (4) |
| p(s(x)) | → | x | (5) |
| -#(x,s(y)) | → | p#(s(y)) | (6) |
| -#(x,s(y)) | → | -#(x,p(s(y))) | (7) |
The dependency pairs are split into 1 component.
| -#(x,s(y)) | → | -#(x,p(s(y))) | (7) |
| π(-#) | = | 2 |
| prec(s) | = | 0 | status(s) | = | [1] | list-extension(s) | = | Lex | ||
| prec(greater) | = | 0 | status(greater) | = | [1, 2] | list-extension(greater) | = | Lex | ||
| prec(p#) | = | 0 | status(p#) | = | [] | list-extension(p#) | = | Lex | ||
| prec(p) | = | 0 | status(p) | = | [] | list-extension(p) | = | Lex | ||
| prec(0) | = | 0 | status(0) | = | [] | list-extension(0) | = | Lex | ||
| prec(if) | = | 0 | status(if) | = | [] | list-extension(if) | = | Lex | ||
| prec(-) | = | 0 | status(-) | = | [1, 2] | list-extension(-) | = | Lex |
| [s(x1)] | = | x1 + 11293 |
| [greater(x1, x2)] | = | x1 + x2 + 1 |
| [p#(x1)] | = | 1 |
| [p(x1)] | = | x1 + 0 |
| [0] | = | 0 |
| [if(x1, x2, x3)] | = | x1 + 1 |
| [-(x1, x2)] | = | x1 + x2 + 1 |
| p(0) | → | 0 | (4) |
| p(s(x)) | → | x | (5) |
| -#(x,s(y)) | → | -#(x,p(s(y))) | (7) |
The dependency pairs are split into 0 components.