Input TRS: 1: le(0,y) -> true 2: le(s(x),0) -> false 3: le(s(x),s(y)) -> le(x,y) 4: zero(0) -> true 5: zero(s(x)) -> false 6: id(0) -> 0 7: id(s(x)) -> s(id(x)) 8: minus(x,0) -> x 9: minus(s(x),s(y)) -> minus(x,y) 10: mod(x,y) -> if_mod(zero(x),zero(y),le(y,x),id(x),id(y)) 11: if_mod(true,b1,b2,x,y) -> 0 12: if_mod(false,b1,b2,x,y) -> if2(b1,b2,x,y) 13: if2(true,b2,x,y) -> 0 14: if2(false,b2,x,y) -> if3(b2,x,y) 15: if3(true,x,y) -> mod(minus(x,y),s(y)) 16: if3(false,x,y) -> x Dependency Pairs: #1: #le(s(x),s(y)) -> #le(x,y) #2: #id(s(x)) -> #id(x) #3: #minus(s(x),s(y)) -> #minus(x,y) #4: #mod(x,y) -> #if_mod(zero(x),zero(y),le(y,x),id(x),id(y)) #5: #mod(x,y) -> #zero(x) #6: #mod(x,y) -> #zero(y) #7: #mod(x,y) -> #le(y,x) #8: #mod(x,y) -> #id(x) #9: #mod(x,y) -> #id(y) #10: #if_mod(false,b1,b2,x,y) -> #if2(b1,b2,x,y) #11: #if2(false,b2,x,y) -> #if3(b2,x,y) #12: #if3(true,x,y) -> #mod(minus(x,y),s(y)) #13: #if3(true,x,y) -> #minus(x,y) Number of SCCs: 4 SCC { #1 } QKBOPS(sum)... removes: #1 I(#le) = x1 + x2 \pi(#le) = [] I(s) = 1 + x1 \pi(s) = [1] PREC: #le > s USABLE RULES: { } Number of SCCs: 3 SCC { #2 } QKBOPS(sum)... removes: #2 I(#id) = x1 \pi(#id) = [] I(s) = 1 + x1 \pi(s) = [] PREC: #id = s USABLE RULES: { } Number of SCCs: 2 SCC { #3 } QKBOPS(sum)... removes: #3 I(#minus) = x1 + x2 \pi(#minus) = [] I(s) = 1 + x1 \pi(s) = [1] PREC: #minus > s USABLE RULES: { } Number of SCCs: 1 SCC { #4 #10 #11 #12 } QKBOPS(sum)... failed.