Input TRS: 1: from(X) -> cons(X,n__from(s(X))) 2: 2ndspos(0,Z) -> rnil 3: 2ndspos(s(N),cons(X,n__cons(Y,Z))) -> rcons(posrecip(activate(Y)),2ndsneg(N,activate(Z))) 4: 2ndsneg(0,Z) -> rnil 5: 2ndsneg(s(N),cons(X,n__cons(Y,Z))) -> rcons(negrecip(activate(Y)),2ndspos(N,activate(Z))) 6: pi(X) -> 2ndspos(X,from(0)) 7: plus(0,Y) -> Y 8: plus(s(X),Y) -> s(plus(X,Y)) 9: times(0,Y) -> 0 10: times(s(X),Y) -> plus(Y,times(X,Y)) 11: square(X) -> times(X,X) 12: from(X) -> n__from(X) 13: cons(X1,X2) -> n__cons(X1,X2) 14: activate(n__from(X)) -> from(X) 15: activate(n__cons(X1,X2)) -> cons(X1,X2) 16: activate(X) -> X Dependency Pairs: #1: #from(X) -> #cons(X,n__from(s(X))) #2: #2ndspos(s(N),cons(X,n__cons(Y,Z))) -> #activate(Y) #3: #2ndspos(s(N),cons(X,n__cons(Y,Z))) -> #2ndsneg(N,activate(Z)) #4: #2ndspos(s(N),cons(X,n__cons(Y,Z))) -> #activate(Z) #5: #2ndsneg(s(N),cons(X,n__cons(Y,Z))) -> #activate(Y) #6: #2ndsneg(s(N),cons(X,n__cons(Y,Z))) -> #2ndspos(N,activate(Z)) #7: #2ndsneg(s(N),cons(X,n__cons(Y,Z))) -> #activate(Z) #8: #pi(X) -> #2ndspos(X,from(0)) #9: #pi(X) -> #from(0) #10: #plus(s(X),Y) -> #plus(X,Y) #11: #times(s(X),Y) -> #plus(Y,times(X,Y)) #12: #times(s(X),Y) -> #times(X,Y) #13: #square(X) -> #times(X,X) #14: #activate(n__from(X)) -> #from(X) #15: #activate(n__cons(X1,X2)) -> #cons(X1,X2) Number of SCCs: 3 SCC { #10 } QKBOPS(sum)... removes: #10 I(#plus) = x1 + x2 \pi(#plus) = [] I(s) = 1 + x1 \pi(s) = [1] PREC: #plus > s USABLE RULES: { } Number of SCCs: 2 SCC { #12 } QKBOPS(sum)... removes: #12 I(#times) = x1 + x2 \pi(#times) = [] I(s) = 1 + x1 \pi(s) = [1] PREC: #times > s USABLE RULES: { } Number of SCCs: 1 SCC { #3 #6 } QKBOPS(sum)... removes: #3 #6 I(cons) = 2 + x1 \pi(cons) = [] I(from) = x1 \pi(from) = 1 I(n__cons) = 2 \pi(n__cons) = [] I(#2ndspos) = 4 + x1 \pi(#2ndspos) = [1] I(s) = 3 + x1 \pi(s) = [] I(#2ndsneg) = 4 + x1 \pi(#2ndsneg) = [1] I(activate) = 3 \pi(activate) = [] I(n__from) = 2 \pi(n__from) = [] PREC: s > cons = n__cons = #2ndspos = #2ndsneg = activate = n__from USABLE RULES: { 13 } Number of SCCs: 0