Term Rewriting System R:
[N, X, Y]
terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

Termination of R to be shown.

`   R`
`     ↳Dependency Pair Analysis`

R contains the following Dependency Pairs:

TERMS(N) -> SQR(N)
SQR(s(X)) -> SQR(X)
SQR(s(X)) -> DBL(X)
DBL(s(X)) -> DBL(X)

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:

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

• Dependency Pair:

DBL(s(X)) -> DBL(X)

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

• Dependency Pair:

SQR(s(X)) -> SQR(X)

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(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:

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

• Dependency Pair:

DBL(s(X)) -> DBL(X)

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

• Dependency Pair:

SQR(s(X)) -> SQR(X)

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(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:

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

• Dependency Pair:

DBL(s(X)) -> DBL(X)

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0
dbl(0) -> 0
dbl(s(X)) -> s(s(dbl(X)))
first(0, X) -> nil
first(s(X), cons(Y)) -> cons(Y)

• Dependency Pair:

SQR(s(X)) -> SQR(X)

Rules:

terms(N) -> cons(recip(sqr(N)))
sqr(0) -> 0