Input TRS: 1: f(true,x,y) -> f(gt(x,y),double(x),s(y)) 2: gt(s(x),0) -> true 3: gt(0,y) -> false 4: gt(s(x),s(y)) -> gt(x,y) 5: double(x) -> doubleAkk(x,0) 6: doubleAkk(0,y) -> y 7: doubleAkk(s(x),y) -> doubleAkk(x,s(s(y))) Dependency Pairs: #1: #f(true,x,y) -> #f(gt(x,y),double(x),s(y)) #2: #f(true,x,y) -> #gt(x,y) #3: #f(true,x,y) -> #double(x) #4: #gt(s(x),s(y)) -> #gt(x,y) #5: #double(x) -> #doubleAkk(x,0) #6: #doubleAkk(s(x),y) -> #doubleAkk(x,s(s(y))) Number of SCCs: 3 SCC { #4 } QKBOS(sum)... removes: #4 I(s) = 1 + x1 \pi(s) = [1] I(#gt) = x1 + x2 \pi(#gt) = [2,1] PREC: #gt > s USABLE RULES: { } Number of SCCs: 2 SCC { #6 } QKBOS(sum)... removes: #6 I(#doubleAkk) = x1 \pi(#doubleAkk) = 1 I(s) = x1 \pi(s) = [1] PREC: s USABLE RULES: { } Number of SCCs: 1 SCC { #1 } QKBOS(sum)... failed.