Input TRS: 1: rev(nil) -> nil 2: rev(cons(x,l)) -> cons(rev1(x,l),rev2(x,l)) 3: rev1(0,nil) -> 0 4: rev1(s(x),nil) -> s(x) 5: rev1(x,cons(y,l)) -> rev1(y,l) 6: rev2(x,nil) -> nil 7: rev2(x,cons(y,l)) -> rev(cons(x,rev2(y,l))) Dependency Pairs: #1: #rev(cons(x,l)) -> #rev1(x,l) #2: #rev(cons(x,l)) -> #rev2(x,l) #3: #rev1(x,cons(y,l)) -> #rev1(y,l) #4: #rev2(x,cons(y,l)) -> #rev(cons(x,rev2(y,l))) #5: #rev2(x,cons(y,l)) -> #rev2(y,l) Number of SCCs: 2 SCC { #3 } QKBOPS(sum)... removes: #3 I(cons) = 1 + x2 \pi(cons) = [2] I(#rev1) = x2 \pi(#rev1) = [] PREC: cons = #rev1 USABLE RULES: { } Number of SCCs: 1 SCC { #2 #4 #5 } QKBOPS(sum)... removes: #2 #4 #5 I(cons) = 2 + x2 \pi(cons) = [] I(rev1) = x1 \pi(rev1) = 1 I(rev2) = x2 \pi(rev2) = [] I(0) = 4 I(s) = 2 \pi(s) = [] I(nil) = 3 I(rev) = x1 \pi(rev) = 1 I(#rev) = x1 \pi(#rev) = [] I(#rev2) = 1 + x2 \pi(#rev2) = [2] PREC: #rev > 0 > cons = rev2 = s = nil = #rev2 USABLE RULES: { 7 6 2 1 } Number of SCCs: 0