Term Rewriting System R:
[X, Y]
from(X) -> cons(X, from(s(X)))
length(nil) -> 0
length(cons(X, Y)) -> s(length1(Y))
length1(X) -> length(X)

Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

FROM(X) -> FROM(s(X))
LENGTH(cons(X, Y)) -> LENGTH1(Y)
LENGTH1(X) -> LENGTH(X)

Furthermore, R contains two SCCs.


   R
DPs
       →DP Problem 1
Instantiation Transformation
       →DP Problem 2
Remaining


Dependency Pair:

FROM(X) -> FROM(s(X))


Rules:


from(X) -> cons(X, from(s(X)))
length(nil) -> 0
length(cons(X, Y)) -> s(length1(Y))
length1(X) -> length(X)





On this DP problem, an Instantiation SCC transformation can be performed.
As a result of transforming the rule

FROM(X) -> FROM(s(X))
one new Dependency Pair is created:

FROM(s(X'')) -> FROM(s(s(X'')))

The transformation is resulting in one new DP problem:



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




The following remains to be proven:


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




The following remains to be proven:

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