The rewrite relation of the following TRS is considered.
half(0) | → | 0 | (1) |
half(s(0)) | → | 0 | (2) |
half(s(s(x))) | → | s(half(x)) | (3) |
bits(0) | → | 0 | (4) |
bits(s(x)) | → | s(bits(half(s(x)))) | (5) |
bits#(s(x)) | → | half#(s(x)) | (6) |
half#(s(s(x))) | → | half#(x) | (7) |
bits#(s(x)) | → | bits#(half(s(x))) | (8) |
The dependency pairs are split into 2 components.
bits#(s(x)) | → | bits#(half(s(x))) | (8) |
prec(s) | = | 1 | status(s) | = | [1] | list-extension(s) | = | Lex | ||
prec(half#) | = | 0 | status(half#) | = | [] | list-extension(half#) | = | Lex | ||
prec(half) | = | 1 | status(half) | = | [] | list-extension(half) | = | Lex | ||
prec(0) | = | 0 | status(0) | = | [] | list-extension(0) | = | Lex | ||
prec(bits#) | = | 0 | status(bits#) | = | [1] | list-extension(bits#) | = | Lex | ||
prec(bits) | = | 0 | status(bits) | = | [] | list-extension(bits) | = | Lex |
[s(x1)] | = | x1 + 1 |
[half#(x1)] | = | 1 |
[half(x1)] | = | x1 + 0 |
[0] | = | 20653 |
[bits#(x1)] | = | x1 + 1 |
[bits(x1)] | = | 1 |
half(0) | → | 0 | (1) |
half(s(s(x))) | → | s(half(x)) | (3) |
half(s(0)) | → | 0 | (2) |
bits#(s(x)) | → | bits#(half(s(x))) | (8) |
The dependency pairs are split into 0 components.
half#(s(s(x))) | → | half#(x) | (7) |
[s(x1)] | = | x1 + 1 |
[half#(x1)] | = | x1 + 0 |
[half(x1)] | = | x1 + 41141 |
[0] | = | 20163 |
[bits#(x1)] | = | 0 |
[bits(x1)] | = | 0 |
half#(s(s(x))) | → | half#(x) | (7) |
The dependency pairs are split into 0 components.