Input TRS: 1: from(X) -> cons(X,n__from(n__s(X))) 2: first(0,Z) -> nil 3: first(s(X),cons(Y,Z)) -> cons(Y,n__first(X,activate(Z))) 4: sel(0,cons(X,Z)) -> X 5: sel(s(X),cons(Y,Z)) -> sel(X,activate(Z)) 6: from(X) -> n__from(X) 7: s(X) -> n__s(X) 8: first(X1,X2) -> n__first(X1,X2) 9: activate(n__from(X)) -> from(activate(X)) 10: activate(n__s(X)) -> s(activate(X)) 11: activate(n__first(X1,X2)) -> first(activate(X1),activate(X2)) 12: activate(X) -> X Dependency Pairs: #1: #first(s(X),cons(Y,Z)) -> #activate(Z) #2: #sel(s(X),cons(Y,Z)) -> #sel(X,activate(Z)) #3: #sel(s(X),cons(Y,Z)) -> #activate(Z) #4: #activate(n__from(X)) -> #from(activate(X)) #5: #activate(n__from(X)) -> #activate(X) #6: #activate(n__s(X)) -> #s(activate(X)) #7: #activate(n__s(X)) -> #activate(X) #8: #activate(n__first(X1,X2)) -> #first(activate(X1),activate(X2)) #9: #activate(n__first(X1,X2)) -> #activate(X1) #10: #activate(n__first(X1,X2)) -> #activate(X2) Number of SCCs: 2 SCC { #2 } QKBOS(sum)... removes: #2 I(cons) = 6 + x1 \pi(cons) = [1] I(n__first) = 4 + x1 \pi(n__first) = [1] I(first) = 5 + x1 \pi(first) = [1] I(from) = 3 \pi(from) = [] I(0) = 2 I(#first) = x2 \pi(#first) = 2 I(n__s) = 1 \pi(n__s) = [] I(s) = x1 \pi(s) = [1] I(nil) = 2 I(#sel) = x1 \pi(#sel) = 1 I(activate) = 4 \pi(activate) = [] I(n__from) = 2 \pi(n__from) = [] I(#activate) = 1 \pi(#activate) = [] PREC: cons = n__first = first = from = n__s = s = activate = n__from = #activate > 0 = nil USABLE RULES: { } Number of SCCs: 1 SCC { #1 #5 #7 #8 #9 #10 } QKBOS(sum)... removes: #1 #5 #8 #9 #10 I(cons) = x2 \pi(cons) = 2 I(n__first) = 1 + x1 + x2 \pi(n__first) = [2,1] I(first) = 1 + x1 + x2 \pi(first) = [2,1] I(from) = 1 + x1 \pi(from) = [1] I(0) = 2 I(#first) = 3 + x2 \pi(#first) = [2] I(n__s) = x1 \pi(n__s) = 1 I(s) = x1 \pi(s) = 1 I(nil) = 2 I(#sel) = x1 \pi(#sel) = 1 I(activate) = x1 \pi(activate) = [1] I(n__from) = 1 + x1 \pi(n__from) = [1] I(#activate) = 2 + x1 \pi(#activate) = [1] PREC: first = from = activate = n__from > n__first = #first = #activate > 0 = nil USABLE RULES: { 12..6 3..1 } Number of SCCs: 1 SCC { #7 } QKBOS(sum)... removes: #7 I(n__s) = 1 + x1 \pi(n__s) = [1] I(#activate) = x1 \pi(#activate) = 1 PREC: n__s USABLE RULES: { } Number of SCCs: 0