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) |
-(x,0) | → | x | (7) |
-(s(x),s(y)) | → | -(x,y) | (8) |
gcd(s(x),0) | → | s(x) | (9) |
gcd(0,s(x)) | → | s(x) | (10) |
gcd(s(x),s(y)) | → | gcd(-(max(x,y),min(x,y)),s(min(x,y))) | (11) |
gcd#(s(x),s(y)) | → | gcd#(-(max(x,y),min(x,y)),s(min(x,y))) | (12) |
gcd#(s(x),s(y)) | → | min#(x,y) | (13) |
min#(s(x),s(y)) | → | min#(x,y) | (14) |
gcd#(s(x),s(y)) | → | min#(x,y) | (13) |
gcd#(s(x),s(y)) | → | -#(max(x,y),min(x,y)) | (15) |
max#(s(x),s(y)) | → | max#(x,y) | (16) |
-#(s(x),s(y)) | → | -#(x,y) | (17) |
gcd#(s(x),s(y)) | → | max#(x,y) | (18) |
The dependency pairs are split into 4 components.
gcd#(s(x),s(y)) | → | gcd#(-(max(x,y),min(x,y)),s(min(x,y))) | (12) |
[s(x1)] | = | x1 + 35544 |
[gcd(x1, x2)] | = | max(0) |
[min#(x1, x2)] | = | max(0) |
[0] | = | 1 |
[max(x1, x2)] | = | max(x1 + 1, x2 + 2, 0) |
[max#(x1, x2)] | = | max(0) |
[-(x1, x2)] | = | max(x1 + 34723, x2 + 251, 0) |
[min(x1, x2)] | = | max(x1 + 817, 0) |
[-#(x1, x2)] | = | max(0) |
[gcd#(x1, x2)] | = | max(x1 + 818, x2 + 0, 0) |
max(x,0) | → | x | (4) |
-(s(x),s(y)) | → | -(x,y) | (8) |
min(x,0) | → | 0 | (1) |
min(s(x),s(y)) | → | s(min(x,y)) | (3) |
max(0,y) | → | y | (5) |
-(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#(-(max(x,y),min(x,y)),s(min(x,y))) | (12) |
The dependency pairs are split into 0 components.
-#(s(x),s(y)) | → | -#(x,y) | (17) |
[s(x1)] | = | x1 + 1 |
[gcd(x1, x2)] | = | 0 |
[min#(x1, x2)] | = | 0 |
[0] | = | 35232 |
[max(x1, x2)] | = | 15922 |
[max#(x1, x2)] | = | 0 |
[-(x1, x2)] | = | 0 |
[min(x1, x2)] | = | 35231 |
[-#(x1, x2)] | = | x1 + 0 |
[gcd#(x1, x2)] | = | 0 |
-#(s(x),s(y)) | → | -#(x,y) | (17) |
The dependency pairs are split into 0 components.
max#(s(x),s(y)) | → | max#(x,y) | (16) |
[s(x1)] | = | x1 + 1 |
[gcd(x1, x2)] | = | 0 |
[min#(x1, x2)] | = | 0 |
[0] | = | 35232 |
[max(x1, x2)] | = | 52868 |
[max#(x1, x2)] | = | x2 + 0 |
[-(x1, x2)] | = | 0 |
[min(x1, x2)] | = | 35231 |
[-#(x1, x2)] | = | 0 |
[gcd#(x1, x2)] | = | 0 |
max#(s(x),s(y)) | → | max#(x,y) | (16) |
The dependency pairs are split into 0 components.
min#(s(x),s(y)) | → | min#(x,y) | (14) |
[s(x1)] | = | x1 + 1 |
[gcd(x1, x2)] | = | 0 |
[min#(x1, x2)] | = | x2 + 0 |
[0] | = | 35232 |
[max(x1, x2)] | = | 44364 |
[max#(x1, x2)] | = | 0 |
[-(x1, x2)] | = | 0 |
[min(x1, x2)] | = | 35231 |
[-#(x1, x2)] | = | 0 |
[gcd#(x1, x2)] | = | 0 |
min#(s(x),s(y)) | → | min#(x,y) | (14) |
The dependency pairs are split into 0 components.