Input TRS: 1: fst(0,Z) -> nil 2: fst(s(X),cons(Y,Z)) -> cons(Y,n__fst(activate(X),activate(Z))) 3: from(X) -> cons(X,n__from(n__s(X))) 4: add(0,X) -> X 5: add(s(X),Y) -> s(n__add(activate(X),Y)) 6: len(nil) -> 0 7: len(cons(X,Z)) -> s(n__len(activate(Z))) 8: fst(X1,X2) -> n__fst(X1,X2) 9: from(X) -> n__from(X) 10: s(X) -> n__s(X) 11: add(X1,X2) -> n__add(X1,X2) 12: len(X) -> n__len(X) 13: activate(n__fst(X1,X2)) -> fst(activate(X1),activate(X2)) 14: activate(n__from(X)) -> from(activate(X)) 15: activate(n__s(X)) -> s(X) 16: activate(n__add(X1,X2)) -> add(activate(X1),activate(X2)) 17: activate(n__len(X)) -> len(activate(X)) 18: activate(X) -> X Dependency Pairs: #1: #fst(s(X),cons(Y,Z)) -> #activate(X) #2: #fst(s(X),cons(Y,Z)) -> #activate(Z) #3: #add(s(X),Y) -> #s(n__add(activate(X),Y)) #4: #add(s(X),Y) -> #activate(X) #5: #len(cons(X,Z)) -> #s(n__len(activate(Z))) #6: #len(cons(X,Z)) -> #activate(Z) #7: #activate(n__fst(X1,X2)) -> #fst(activate(X1),activate(X2)) #8: #activate(n__fst(X1,X2)) -> #activate(X1) #9: #activate(n__fst(X1,X2)) -> #activate(X2) #10: #activate(n__from(X)) -> #from(activate(X)) #11: #activate(n__from(X)) -> #activate(X) #12: #activate(n__s(X)) -> #s(X) #13: #activate(n__add(X1,X2)) -> #add(activate(X1),activate(X2)) #14: #activate(n__add(X1,X2)) -> #activate(X1) #15: #activate(n__add(X1,X2)) -> #activate(X2) #16: #activate(n__len(X)) -> #len(activate(X)) #17: #activate(n__len(X)) -> #activate(X) Number of SCCs: 1 SCC { #1 #2 #4 #6 #7 #8 #9 #11 #13 #14 #15 #16 #17 } QKBOPS(sum)... removes: #1 #2 #4 #7 #8 #9 #11 #13 #14 #15 #16 #17 I(n__fst) = 5 + x1 + x2 \pi(n__fst) = [] I(cons) = x2 \pi(cons) = 2 I(n__add) = 2 + x1 + x2 \pi(n__add) = [] I(n__len) = 1 + x1 \pi(n__len) = [1] I(from) = 1 + x1 \pi(from) = [] I(0) = 1 I(n__s) = x1 \pi(n__s) = [] I(fst) = 5 + x1 + x2 \pi(fst) = [] I(s) = x1 \pi(s) = [] I(#fst) = x1 + x2 \pi(#fst) = [] I(nil) = 2 I(activate) = x1 \pi(activate) = [] I(n__from) = 1 + x1 \pi(n__from) = [1] I(add) = 2 + x1 + x2 \pi(add) = [] I(len) = 1 + x1 \pi(len) = [1] I(#add) = 1 + x1 + x2 \pi(#add) = [] I(#len) = x1 \pi(#len) = 1 I(#activate) = x1 \pi(#activate) = 1 PREC: activate > n__len = len > n__fst = n__add = fst = #fst = add = #add > from > n__s = s = nil > 0 = n__from USABLE RULES: { 18..1 } Number of SCCs: 0