Term Rewriting System R:
[x, y]
sqr(0) -> 0
sqr(s(x)) -> +(sqr(x), s(double(x)))
sqr(s(x)) -> s(+(sqr(x), double(x)))
double(0) -> 0
double(s(x)) -> s(s(double(x)))
+(x, 0) -> x
+(x, s(y)) -> s(+(x, y))

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

SQR(s(x)) -> +'(sqr(x), s(double(x)))
SQR(s(x)) -> SQR(x)
SQR(s(x)) -> DOUBLE(x)
SQR(s(x)) -> +'(sqr(x), double(x))
DOUBLE(s(x)) -> DOUBLE(x)
+'(x, s(y)) -> +'(x, y)

Furthermore, R contains three SCCs.


   R
DPs
       →DP Problem 1
Remaining Obligation(s)
       →DP Problem 2
Remaining Obligation(s)
       →DP Problem 3
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)




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)




The following remains to be proven:

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