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:
• Dependency Pair:

+'(x, s(y)) -> +'(x, y)

Rules:

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))

• Dependency Pair:

DOUBLE(s(x)) -> DOUBLE(x)

Rules:

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))

• Dependency Pair:

SQR(s(x)) -> SQR(x)

Rules:

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))

`   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:
• Dependency Pair:

+'(x, s(y)) -> +'(x, y)

Rules:

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))

• Dependency Pair:

DOUBLE(s(x)) -> DOUBLE(x)

Rules:

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))

• Dependency Pair:

SQR(s(x)) -> SQR(x)

Rules:

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))

`   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:
• Dependency Pair:

+'(x, s(y)) -> +'(x, y)

Rules:

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))

• Dependency Pair:

DOUBLE(s(x)) -> DOUBLE(x)

Rules:

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))

• Dependency Pair:

SQR(s(x)) -> SQR(x)

Rules:

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 could not be shown.
Duration:
0:01 minutes