The rewrite relation of the following TRS is considered.
min(x,0) | → | 0 | (1) |
min(0,y) | → | 0 | (2) |
min(s(x),s(y)) | → | s(min(x,y)) | (3) |
max(x,0) | → | x | (4) |
max(0,y) | → | y | (5) |
max(s(x),s(y)) | → | s(max(x,y)) | (6) |
minus(x,0) | → | x | (7) |
minus(s(x),s(y)) | → | s(minus(x,any(y))) | (8) |
gcd(s(x),s(y)) | → | gcd(minus(max(x,y),min(x,y)),s(min(x,y))) | (9) |
any(s(x)) | → | s(s(any(x))) | (10) |
any(x) | → | x | (11) |
gcd#(s(x),s(y)) | → | gcd#(minus(max(x,y),min(x,y)),s(min(x,y))) | (12) |
gcd#(s(x),s(y)) | → | min#(x,y) | (13) |
minus#(s(x),s(y)) | → | minus#(x,any(y)) | (14) |
any#(s(x)) | → | any#(x) | (15) |
minus#(s(x),s(y)) | → | any#(y) | (16) |
gcd#(s(x),s(y)) | → | min#(x,y) | (13) |
gcd#(s(x),s(y)) | → | minus#(max(x,y),min(x,y)) | (17) |
max#(s(x),s(y)) | → | max#(x,y) | (18) |
min#(s(x),s(y)) | → | min#(x,y) | (19) |
gcd#(s(x),s(y)) | → | max#(x,y) | (20) |
The dependency pairs are split into 5 components.
gcd#(s(x),s(y)) | → | gcd#(minus(max(x,y),min(x,y)),s(min(x,y))) | (12) |
[s(x1)] | = | x1 + 30911 |
[minus(x1, x2)] | = | max(x1 + 1, 0) |
[gcd(x1, x2)] | = | max(0) |
[any(x1)] | = | 44022 |
[min#(x1, x2)] | = | max(0) |
[any#(x1)] | = | 0 |
[0] | = | 1 |
[max(x1, x2)] | = | max(x1 + 10088, x2 + 10089, 0) |
[max#(x1, x2)] | = | max(0) |
[minus#(x1, x2)] | = | max(0) |
[min(x1, x2)] | = | max(x1 + 20819, 0) |
[gcd#(x1, x2)] | = | max(x1 + 20820, x2 + 0, 0) |
max(x,0) | → | x | (4) |
minus(s(x),s(y)) | → | s(minus(x,any(y))) | (8) |
min(x,0) | → | 0 | (1) |
min(s(x),s(y)) | → | s(min(x,y)) | (3) |
max(0,y) | → | y | (5) |
minus(x,0) | → | x | (7) |
max(s(x),s(y)) | → | s(max(x,y)) | (6) |
min(0,y) | → | 0 | (2) |
gcd#(s(x),s(y)) | → | gcd#(minus(max(x,y),min(x,y)),s(min(x,y))) | (12) |
The dependency pairs are split into 0 components.
minus#(s(x),s(y)) | → | minus#(x,any(y)) | (14) |
[s(x1)] | = | x1 + 1 |
[minus(x1, x2)] | = | x1 + 34725 |
[gcd(x1, x2)] | = | 0 |
[any(x1)] | = | 28882 |
[min#(x1, x2)] | = | 0 |
[any#(x1)] | = | 0 |
[0] | = | 10317 |
[max(x1, x2)] | = | 3081 |
[max#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | x1 + 0 |
[min(x1, x2)] | = | 10316 |
[gcd#(x1, x2)] | = | 0 |
minus#(s(x),s(y)) | → | minus#(x,any(y)) | (14) |
The dependency pairs are split into 0 components.
any#(s(x)) | → | any#(x) | (15) |
[s(x1)] | = | x1 + 1 |
[minus(x1, x2)] | = | x1 + 34725 |
[gcd(x1, x2)] | = | 0 |
[any(x1)] | = | 40519 |
[min#(x1, x2)] | = | 0 |
[any#(x1)] | = | x1 + 0 |
[0] | = | 10317 |
[max(x1, x2)] | = | 33855 |
[max#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[min(x1, x2)] | = | 10316 |
[gcd#(x1, x2)] | = | 0 |
any#(s(x)) | → | any#(x) | (15) |
The dependency pairs are split into 0 components.
max#(s(x),s(y)) | → | max#(x,y) | (18) |
[s(x1)] | = | x1 + 1 |
[minus(x1, x2)] | = | x1 + 49485 |
[gcd(x1, x2)] | = | 0 |
[any(x1)] | = | 27463 |
[min#(x1, x2)] | = | 0 |
[any#(x1)] | = | 0 |
[0] | = | 10317 |
[max(x1, x2)] | = | 40436 |
[max#(x1, x2)] | = | x2 + 0 |
[minus#(x1, x2)] | = | 0 |
[min(x1, x2)] | = | 10316 |
[gcd#(x1, x2)] | = | 0 |
max#(s(x),s(y)) | → | max#(x,y) | (18) |
The dependency pairs are split into 0 components.
min#(s(x),s(y)) | → | min#(x,y) | (19) |
[s(x1)] | = | x1 + 1 |
[minus(x1, x2)] | = | x1 + 41684 |
[gcd(x1, x2)] | = | 0 |
[any(x1)] | = | 17067 |
[min#(x1, x2)] | = | x1 + 0 |
[any#(x1)] | = | 0 |
[0] | = | 21136 |
[max(x1, x2)] | = | 40436 |
[max#(x1, x2)] | = | 0 |
[minus#(x1, x2)] | = | 0 |
[min(x1, x2)] | = | 21135 |
[gcd#(x1, x2)] | = | 0 |
min#(s(x),s(y)) | → | min#(x,y) | (19) |
The dependency pairs are split into 0 components.