Input TRS: 1: active(and(tt,X)) -> mark(X) 2: active(plus(N,0)) -> mark(N) 3: active(plus(N,s(M))) -> mark(s(plus(N,M))) 4: active(x(N,0)) -> mark(0) 5: active(x(N,s(M))) -> mark(plus(x(N,M),N)) 6: mark(and(X1,X2)) -> active(and(mark(X1),X2)) 7: mark(tt) -> active(tt) 8: mark(plus(X1,X2)) -> active(plus(mark(X1),mark(X2))) 9: mark(0) -> active(0) 10: mark(s(X)) -> active(s(mark(X))) 11: mark(x(X1,X2)) -> active(x(mark(X1),mark(X2))) 12: and(mark(X1),X2) -> and(X1,X2) 13: and(X1,mark(X2)) -> and(X1,X2) 14: and(active(X1),X2) -> and(X1,X2) 15: and(X1,active(X2)) -> and(X1,X2) 16: plus(mark(X1),X2) -> plus(X1,X2) 17: plus(X1,mark(X2)) -> plus(X1,X2) 18: plus(active(X1),X2) -> plus(X1,X2) 19: plus(X1,active(X2)) -> plus(X1,X2) 20: s(mark(X)) -> s(X) 21: s(active(X)) -> s(X) 22: x(mark(X1),X2) -> x(X1,X2) 23: x(X1,mark(X2)) -> x(X1,X2) 24: x(active(X1),X2) -> x(X1,X2) 25: x(X1,active(X2)) -> x(X1,X2) Dependency Pairs: #1: #active(and(tt,X)) -> #mark(X) #2: #active(plus(N,0)) -> #mark(N) #3: #active(plus(N,s(M))) -> #mark(s(plus(N,M))) #4: #active(plus(N,s(M))) -> #s(plus(N,M)) #5: #active(plus(N,s(M))) -> #plus(N,M) #6: #active(x(N,0)) -> #mark(0) #7: #active(x(N,s(M))) -> #mark(plus(x(N,M),N)) #8: #active(x(N,s(M))) -> #plus(x(N,M),N) #9: #active(x(N,s(M))) -> #x(N,M) #10: #mark(and(X1,X2)) -> #active(and(mark(X1),X2)) #11: #mark(and(X1,X2)) -> #and(mark(X1),X2) #12: #mark(and(X1,X2)) -> #mark(X1) #13: #mark(tt) -> #active(tt) #14: #mark(plus(X1,X2)) -> #active(plus(mark(X1),mark(X2))) #15: #mark(plus(X1,X2)) -> #plus(mark(X1),mark(X2)) #16: #mark(plus(X1,X2)) -> #mark(X1) #17: #mark(plus(X1,X2)) -> #mark(X2) #18: #mark(0) -> #active(0) #19: #mark(s(X)) -> #active(s(mark(X))) #20: #mark(s(X)) -> #s(mark(X)) #21: #mark(s(X)) -> #mark(X) #22: #mark(x(X1,X2)) -> #active(x(mark(X1),mark(X2))) #23: #mark(x(X1,X2)) -> #x(mark(X1),mark(X2)) #24: #mark(x(X1,X2)) -> #mark(X1) #25: #mark(x(X1,X2)) -> #mark(X2) #26: #and(mark(X1),X2) -> #and(X1,X2) #27: #and(X1,mark(X2)) -> #and(X1,X2) #28: #and(active(X1),X2) -> #and(X1,X2) #29: #and(X1,active(X2)) -> #and(X1,X2) #30: #plus(mark(X1),X2) -> #plus(X1,X2) #31: #plus(X1,mark(X2)) -> #plus(X1,X2) #32: #plus(active(X1),X2) -> #plus(X1,X2) #33: #plus(X1,active(X2)) -> #plus(X1,X2) #34: #s(mark(X)) -> #s(X) #35: #s(active(X)) -> #s(X) #36: #x(mark(X1),X2) -> #x(X1,X2) #37: #x(X1,mark(X2)) -> #x(X1,X2) #38: #x(active(X1),X2) -> #x(X1,X2) #39: #x(X1,active(X2)) -> #x(X1,X2) Number of SCCs: 5 SCC { #34 #35 } QKBOPS(sum)... removes: #34 #35 I(active) = x1 \pi(active) = [1] I(#s) = x1 \pi(#s) = [1] I(mark) = 1 + x1 \pi(mark) = [] PREC: active = #s = mark USABLE RULES: { } Number of SCCs: 4 SCC { #26 #27 #28 #29 } QKBOPS(sum)... removes: #28 #29 I(active) = 1 + x1 \pi(active) = [] I(#and) = 2 + x1 + x2 \pi(#and) = [1] I(mark) = x1 \pi(mark) = [] PREC: mark > #and > active USABLE RULES: { } Number of SCCs: 4 SCC { #26 #27 } QKBOPS(sum)... removes: #26 #27 I(#and) = 1 + x1 + x2 \pi(#and) = [1] I(mark) = 2 + x1 \pi(mark) = [] PREC: #and > mark USABLE RULES: { } Number of SCCs: 3 SCC { #30 #31 #32 #33 } QKBOPS(sum)... removes: #32 #33 I(active) = 1 + x1 \pi(active) = [] I(#plus) = 2 + x1 + x2 \pi(#plus) = [1] I(mark) = x1 \pi(mark) = [] PREC: mark > #plus > active USABLE RULES: { } Number of SCCs: 3 SCC { #30 #31 } QKBOPS(sum)... removes: #30 #31 I(#plus) = 1 + x1 + x2 \pi(#plus) = [1] I(mark) = 2 + x1 \pi(mark) = [] PREC: #plus > mark USABLE RULES: { } Number of SCCs: 2 SCC { #36 #37 #38 #39 } QKBOPS(sum)... removes: #38 #39 I(active) = 1 + x1 \pi(active) = [] I(#x) = 2 + x1 + x2 \pi(#x) = [1] I(mark) = x1 \pi(mark) = [] PREC: mark > #x > active USABLE RULES: { } Number of SCCs: 2 SCC { #36 #37 } QKBOPS(sum)... removes: #36 #37 I(#x) = 1 + x1 + x2 \pi(#x) = [1] I(mark) = 2 + x1 \pi(mark) = [] PREC: #x > mark USABLE RULES: { } Number of SCCs: 1 SCC { #1 #2 #3 #7 #10 #12 #14 #16 #17 #19 #21 #22 #24 #25 } QKBOPS(sum)... removes: #19 I(active) = x1 \pi(active) = 1 I(#mark) = 3 \pi(#mark) = [] I(tt) = 1 I(0) = 2 I(s) = 1 \pi(s) = [] I(#active) = x1 \pi(#active) = 1 I(and) = 3 \pi(and) = [] I(x) = 3 \pi(x) = [] I(mark) = 4 \pi(mark) = [] I(plus) = 3 \pi(plus) = [] PREC: #mark = and = x = mark = plus > tt = 0 = s USABLE RULES: { 25..12 } Number of SCCs: 1 SCC { #1 #2 #3 #7 #10 #12 #14 #16 #17 #21 #22 #24 #25 } QKBOPS(sum)... failed.