The rewrite relation of the following TRS is considered.
gcd(x,0) | → | x | (1) |
gcd(0,y) | → | y | (2) |
gcd(s(x),s(y)) | → | if(<(x,y),gcd(s(x),-(y,x)),gcd(-(x,y),s(y))) | (3) |
gcd#(s(x),s(y)) | → | gcd#(-(x,y),s(y)) | (4) |
gcd#(s(x),s(y)) | → | gcd#(s(x),-(y,x)) | (5) |
The dependency pairs are split into 0 components.