Input TRS: 1: sel(s(X),cons(Y,Z)) -> sel(X,Z) 2: sel(0,cons(X,Z)) -> X 3: first(0,Z) -> nil 4: first(s(X),cons(Y,Z)) -> cons(Y,first(X,Z)) 5: from(X) -> cons(X,from(s(X))) 6: sel1(s(X),cons(Y,Z)) -> sel1(X,Z) 7: sel1(0,cons(X,Z)) -> quote(X) 8: first1(0,Z) -> nil1 9: first1(s(X),cons(Y,Z)) -> cons1(quote(Y),first1(X,Z)) 10: quote(0) -> 01 11: quote1(cons(X,Z)) -> cons1(quote(X),quote1(Z)) 12: quote1(nil) -> nil1 13: quote(s(X)) -> s1(quote(X)) 14: quote(sel(X,Z)) -> sel1(X,Z) 15: quote1(first(X,Z)) -> first1(X,Z) 16: unquote(01) -> 0 17: unquote(s1(X)) -> s(unquote(X)) 18: unquote1(nil1) -> nil 19: unquote1(cons1(X,Z)) -> fcons(unquote(X),unquote1(Z)) 20: fcons(X,Z) -> cons(X,Z) Dependency Pairs: #1: #sel(s(X),cons(Y,Z)) -> #sel(X,Z) #2: #first(s(X),cons(Y,Z)) -> #first(X,Z) #3: #from(X) -> #from(s(X)) #4: #sel1(s(X),cons(Y,Z)) -> #sel1(X,Z) #5: #sel1(0,cons(X,Z)) -> #quote(X) #6: #first1(s(X),cons(Y,Z)) -> #quote(Y) #7: #first1(s(X),cons(Y,Z)) -> #first1(X,Z) #8: #quote1(cons(X,Z)) -> #quote(X) #9: #quote1(cons(X,Z)) -> #quote1(Z) #10: #quote(s(X)) -> #quote(X) #11: #quote(sel(X,Z)) -> #sel1(X,Z) #12: #quote1(first(X,Z)) -> #first1(X,Z) #13: #unquote(s1(X)) -> #unquote(X) #14: #unquote1(cons1(X,Z)) -> #fcons(unquote(X),unquote1(Z)) #15: #unquote1(cons1(X,Z)) -> #unquote(X) #16: #unquote1(cons1(X,Z)) -> #unquote1(Z) Number of SCCs: 8 SCC { #1 } QKBOPS(sum)... removes: #1 I(cons) = 2 + x2 \pi(cons) = [2] I(s) = x1 \pi(s) = 1 I(#sel) = 1 + x1 + x2 \pi(#sel) = [1] PREC: #sel > cons USABLE RULES: { } Number of SCCs: 7 SCC { #2 } QKBOPS(sum)... removes: #2 I(cons) = 1 + x2 \pi(cons) = [] I(#first) = x1 + x2 \pi(#first) = [] I(s) = 1 + x1 \pi(s) = [1] PREC: #first > cons = s USABLE RULES: { } Number of SCCs: 6 SCC { #3 } QKBOPS(sum)... failed.