Input TRS: 1: add(true,x,xs) -> add(and(isNat(x),isList(xs)),x,Cons(tt,xs)) 2: isList(Cons(x,xs)) -> isList(xs) 3: isList(nil) -> true 4: isNat(s(x)) -> isNat(x) 5: isNat(0) -> true 6: and(true,true) -> true 7: and(false,x) -> false 8: and(x,false) -> false Dependency Pairs: #1: #add(true,x,xs) -> #add(and(isNat(x),isList(xs)),x,Cons(tt,xs)) #2: #add(true,x,xs) -> #and(isNat(x),isList(xs)) #3: #add(true,x,xs) -> #isNat(x) #4: #add(true,x,xs) -> #isList(xs) #5: #isList(Cons(x,xs)) -> #isList(xs) #6: #isNat(s(x)) -> #isNat(x) Number of SCCs: 3 SCC { #6 } QKBOPS(sum)... removes: #6 I(s) = 1 + x1 \pi(s) = [1] I(#isNat) = x1 \pi(#isNat) = [] PREC: s = #isNat USABLE RULES: { } Number of SCCs: 2 SCC { #5 } QKBOPS(sum)... removes: #5 I(Cons) = x1 + x2 \pi(Cons) = [2,1] I(#isList) = x1 \pi(#isList) = [] PREC: Cons = #isList USABLE RULES: { } Number of SCCs: 1 SCC { #1 } QKBOPS(sum)... failed.