Term Rewriting System R:
[Z, X, Y, X1, X2]
fst(0, Z) -> nil
fst(s(X), cons(Y, Z)) -> cons(Y, nfst(activate(X), activate(Z)))
fst(X1, X2) -> nfst(X1, X2)
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
add(0, X) -> X
add(s(X), Y) -> s(nadd(activate(X), Y))
add(X1, X2) -> nadd(X1, X2)
len(nil) -> 0
len(cons(X, Z)) -> s(nlen(activate(Z)))
len(X) -> nlen(X)
s(X) -> ns(X)
activate(nfst(X1, X2)) -> fst(activate(X1), activate(X2))
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(X)
activate(nadd(X1, X2)) -> add(activate(X1), activate(X2))
activate(nlen(X)) -> len(activate(X))
activate(X) -> X

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

FST(s(X), cons(Y, Z)) -> ACTIVATE(X)
FST(s(X), cons(Y, Z)) -> ACTIVATE(Z)
ADD(s(X), Y) -> S(nadd(activate(X), Y))
ADD(s(X), Y) -> ACTIVATE(X)
LEN(cons(X, Z)) -> S(nlen(activate(Z)))
LEN(cons(X, Z)) -> ACTIVATE(Z)
ACTIVATE(nfst(X1, X2)) -> FST(activate(X1), activate(X2))
ACTIVATE(nfst(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(nfst(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(nfrom(X)) -> FROM(activate(X))
ACTIVATE(nfrom(X)) -> ACTIVATE(X)
ACTIVATE(ns(X)) -> S(X)
ACTIVATE(nadd(X1, X2)) -> ADD(activate(X1), activate(X2))
ACTIVATE(nadd(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(nadd(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(nlen(X)) -> LEN(activate(X))
ACTIVATE(nlen(X)) -> ACTIVATE(X)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Remaining Obligation(s)




The following remains to be proven:
Dependency Pairs:

ACTIVATE(nlen(X)) -> ACTIVATE(X)
ACTIVATE(nlen(X)) -> LEN(activate(X))
ACTIVATE(nadd(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(nadd(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(nfrom(X)) -> ACTIVATE(X)
ACTIVATE(nfst(X1, X2)) -> ACTIVATE(X2)
ACTIVATE(nfst(X1, X2)) -> ACTIVATE(X1)
LEN(cons(X, Z)) -> ACTIVATE(Z)


Rules:


fst(0, Z) -> nil
fst(s(X), cons(Y, Z)) -> cons(Y, nfst(activate(X), activate(Z)))
fst(X1, X2) -> nfst(X1, X2)
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
add(0, X) -> X
add(s(X), Y) -> s(nadd(activate(X), Y))
add(X1, X2) -> nadd(X1, X2)
len(nil) -> 0
len(cons(X, Z)) -> s(nlen(activate(Z)))
len(X) -> nlen(X)
s(X) -> ns(X)
activate(nfst(X1, X2)) -> fst(activate(X1), activate(X2))
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(X)
activate(nadd(X1, X2)) -> add(activate(X1), activate(X2))
activate(nlen(X)) -> len(activate(X))
activate(X) -> X


Strategy:

innermost



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