Term Rewriting System R:
[X, L, X1, X2]
aincr(nil) -> nil
aincr(cons(X, L)) -> cons(s(mark(X)), incr(L))
aincr(X) -> incr(X)
aadx(nil) -> nil
aadx(cons(X, L)) -> aincr(cons(mark(X), adx(L)))
aadx(X) -> adx(X)
anats -> aadx(azeros)
anats -> nats
azeros -> cons(0, zeros)
azeros -> zeros
ahead(cons(X, L)) -> mark(X)
ahead(X) -> head(X)
atail(cons(X, L)) -> mark(L)
atail(X) -> tail(X)
mark(incr(X)) -> aincr(mark(X))
mark(adx(X)) -> aadx(mark(X))
mark(nats) -> anats
mark(zeros) -> azeros
mark(head(X)) -> ahead(mark(X))
mark(tail(X)) -> atail(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(0) -> 0

Innermost Termination of R to be shown.



   R
Dependency Pair Analysis



R contains the following Dependency Pairs:

AINCR(cons(X, L)) -> MARK(X)
AADX(cons(X, L)) -> AINCR(cons(mark(X), adx(L)))
AADX(cons(X, L)) -> MARK(X)
ANATS -> AADX(azeros)
ANATS -> AZEROS
AHEAD(cons(X, L)) -> MARK(X)
ATAIL(cons(X, L)) -> MARK(L)
MARK(incr(X)) -> AINCR(mark(X))
MARK(incr(X)) -> MARK(X)
MARK(adx(X)) -> AADX(mark(X))
MARK(adx(X)) -> MARK(X)
MARK(nats) -> ANATS
MARK(zeros) -> AZEROS
MARK(head(X)) -> AHEAD(mark(X))
MARK(head(X)) -> MARK(X)
MARK(tail(X)) -> ATAIL(mark(X))
MARK(tail(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)

Furthermore, R contains one SCC.


   R
DPs
       →DP Problem 1
Remaining Obligation(s)




The following remains to be proven:
Dependency Pairs:

MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(tail(X)) -> MARK(X)
ATAIL(cons(X, L)) -> MARK(L)
MARK(tail(X)) -> ATAIL(mark(X))
MARK(head(X)) -> MARK(X)
AHEAD(cons(X, L)) -> MARK(X)
MARK(head(X)) -> AHEAD(mark(X))
ANATS -> AADX(azeros)
MARK(nats) -> ANATS
MARK(adx(X)) -> MARK(X)
AADX(cons(X, L)) -> MARK(X)
AADX(cons(X, L)) -> AINCR(cons(mark(X), adx(L)))
MARK(adx(X)) -> AADX(mark(X))
MARK(incr(X)) -> MARK(X)
MARK(incr(X)) -> AINCR(mark(X))
AINCR(cons(X, L)) -> MARK(X)


Rules:


aincr(nil) -> nil
aincr(cons(X, L)) -> cons(s(mark(X)), incr(L))
aincr(X) -> incr(X)
aadx(nil) -> nil
aadx(cons(X, L)) -> aincr(cons(mark(X), adx(L)))
aadx(X) -> adx(X)
anats -> aadx(azeros)
anats -> nats
azeros -> cons(0, zeros)
azeros -> zeros
ahead(cons(X, L)) -> mark(X)
ahead(X) -> head(X)
atail(cons(X, L)) -> mark(L)
atail(X) -> tail(X)
mark(incr(X)) -> aincr(mark(X))
mark(adx(X)) -> aadx(mark(X))
mark(nats) -> anats
mark(zeros) -> azeros
mark(head(X)) -> ahead(mark(X))
mark(tail(X)) -> atail(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
mark(0) -> 0


Strategy:

innermost



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