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