Term Rewriting System R:
[x, y]
min(x, 0) -> 0
min(0, y) -> 0
min(s(x), s(y)) -> s(min(x, y))
max(x, 0) -> x
max(0, y) -> y
max(s(x), s(y)) -> s(max(x, y))
-(x, 0) -> x
-(s(x), s(y)) -> -(x, y)
gcd(s(x), s(y)) -> gcd(-(s(max(x, y)), s(min(x, y))), s(min(x, y)))

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

MIN(s(x), s(y)) -> MIN(x, y)
MAX(s(x), s(y)) -> MAX(x, y)
-'(s(x), s(y)) -> -'(x, y)
GCD(s(x), s(y)) -> GCD(-(s(max(x, y)), s(min(x, y))), s(min(x, y)))
GCD(s(x), s(y)) -> -'(s(max(x, y)), s(min(x, y)))
GCD(s(x), s(y)) -> MAX(x, y)
GCD(s(x), s(y)) -> MIN(x, y)

Furthermore, R contains four SCCs.


   R
DPs
       →DP Problem 1
Remaining Obligation(s)
       →DP Problem 2
Remaining Obligation(s)
       →DP Problem 3
Remaining Obligation(s)
       →DP Problem 4
Remaining Obligation(s)




The following remains to be proven:


   R
DPs
       →DP Problem 1
Remaining Obligation(s)
       →DP Problem 2
Remaining Obligation(s)
       →DP Problem 3
Remaining Obligation(s)
       →DP Problem 4
Remaining Obligation(s)




The following remains to be proven:


   R
DPs
       →DP Problem 1
Remaining Obligation(s)
       →DP Problem 2
Remaining Obligation(s)
       →DP Problem 3
Remaining Obligation(s)
       →DP Problem 4
Remaining Obligation(s)




The following remains to be proven:


   R
DPs
       →DP Problem 1
Remaining Obligation(s)
       →DP Problem 2
Remaining Obligation(s)
       →DP Problem 3
Remaining Obligation(s)
       →DP Problem 4
Remaining Obligation(s)




The following remains to be proven:

Termination of R could not be shown.
Duration:
0:00 minutes