Input TRS: 1: quot(0,s(y),s(z)) -> 0 2: quot(s(x),s(y),z) -> quot(x,y,z) 3: plus(0,y) -> y 4: plus(s(x),y) -> s(plus(x,y)) 5: quot(x,0,s(z)) -> s(quot(x,plus(z,s(0)),s(z))) Dependency Pairs: #1: #quot(s(x),s(y),z) -> #quot(x,y,z) #2: #plus(s(x),y) -> #plus(x,y) #3: #quot(x,0,s(z)) -> #quot(x,plus(z,s(0)),s(z)) #4: #quot(x,0,s(z)) -> #plus(z,s(0)) Number of SCCs: 2 SCC { #2 } QKBOPS(sum)... removes: #2 I(#plus) = x1 + x2 \pi(#plus) = [] I(s) = 1 + x1 \pi(s) = [1] PREC: #plus > s USABLE RULES: { } Number of SCCs: 1 SCC { #1 #3 } QKBOPS(sum)... removes: #1 I(0) = 3 I(s) = 3 + x1 \pi(s) = [] I(#quot) = x1 \pi(#quot) = 1 I(plus) = 2 \pi(plus) = [] PREC: s > 0 = plus USABLE RULES: { } Number of SCCs: 1 SCC { #3 } QKBOPS(sum)... removes: #3 I(0) = 4 I(s) = 2 \pi(s) = [] I(#quot) = 1 + x1 + x2 \pi(#quot) = [2] I(plus) = 1 + x2 \pi(plus) = [] PREC: 0 = s = plus > #quot USABLE RULES: { 4 3 } Number of SCCs: 0