Term Rewriting System R: [X, Y, Z] from(X) -> cons(X, n__from(s(X))) from(X) -> n__from(X) sel(0, cons(X, Y)) -> X sel(s(X), cons(Y, Z)) -> sel(X, activate(Z)) activate(n__from(X)) -> from(X) activate(X) -> X Termination of R to be shown. R contains the following Dependency Pairs: SEL(s(X), cons(Y, Z)) -> SEL(X, activate(Z)) SEL(s(X), cons(Y, Z)) -> ACTIVATE(Z) ACTIVATE(n__from(X)) -> FROM(X) Furthermore, R contains one SCC. SCC1: SEL(s(X), cons(Y, Z)) -> SEL(X, activate(Z)) By using a polynomial ordering, at least one Dependency Pair of this SCC can be strictly oriented. No rules need to be oriented. Used ordering: Polynomial ordering with Polynomial interpretation: POL(n__from(x_1)) = 0 POL(activate(x_1)) = 0 POL(s(x_1)) = 1 + x_1 POL(SEL(x_1, x_2)) = x_1 POL(from(x_1)) = 0 POL(cons(x_1, x_2)) = 0 resulting in no subcycles. Termination of R successfully shown. Duration: 0.546 seconds.