Input TRS: 1: active(2nd(cons1(X,cons(Y,Z)))) -> mark(Y) 2: active(2nd(cons(X,X1))) -> mark(2nd(cons1(X,X1))) 3: active(from(X)) -> mark(cons(X,from(s(X)))) 4: active(2nd(X)) -> 2nd(active(X)) 5: active(cons(X1,X2)) -> cons(active(X1),X2) 6: active(from(X)) -> from(active(X)) 7: active(s(X)) -> s(active(X)) 8: active(cons1(X1,X2)) -> cons1(active(X1),X2) 9: active(cons1(X1,X2)) -> cons1(X1,active(X2)) 10: 2nd(mark(X)) -> mark(2nd(X)) 11: cons(mark(X1),X2) -> mark(cons(X1,X2)) 12: from(mark(X)) -> mark(from(X)) 13: s(mark(X)) -> mark(s(X)) 14: cons1(mark(X1),X2) -> mark(cons1(X1,X2)) 15: cons1(X1,mark(X2)) -> mark(cons1(X1,X2)) 16: proper(2nd(X)) -> 2nd(proper(X)) 17: proper(cons(X1,X2)) -> cons(proper(X1),proper(X2)) 18: proper(from(X)) -> from(proper(X)) 19: proper(s(X)) -> s(proper(X)) 20: proper(cons1(X1,X2)) -> cons1(proper(X1),proper(X2)) 21: 2nd(ok(X)) -> ok(2nd(X)) 22: cons(ok(X1),ok(X2)) -> ok(cons(X1,X2)) 23: from(ok(X)) -> ok(from(X)) 24: s(ok(X)) -> ok(s(X)) 25: cons1(ok(X1),ok(X2)) -> ok(cons1(X1,X2)) 26: top(mark(X)) -> top(proper(X)) 27: top(ok(X)) -> top(active(X)) Dependency Pairs: #1: #active(2nd(cons(X,X1))) -> #2nd(cons1(X,X1)) #2: #active(2nd(cons(X,X1))) -> #cons1(X,X1) #3: #active(from(X)) -> #cons(X,from(s(X))) #4: #active(from(X)) -> #from(s(X)) #5: #active(from(X)) -> #s(X) #6: #active(2nd(X)) -> #2nd(active(X)) #7: #active(2nd(X)) -> #active(X) #8: #active(cons(X1,X2)) -> #cons(active(X1),X2) #9: #active(cons(X1,X2)) -> #active(X1) #10: #active(from(X)) -> #from(active(X)) #11: #active(from(X)) -> #active(X) #12: #active(s(X)) -> #s(active(X)) #13: #active(s(X)) -> #active(X) #14: #active(cons1(X1,X2)) -> #cons1(active(X1),X2) #15: #active(cons1(X1,X2)) -> #active(X1) #16: #active(cons1(X1,X2)) -> #cons1(X1,active(X2)) #17: #active(cons1(X1,X2)) -> #active(X2) #18: #2nd(mark(X)) -> #2nd(X) #19: #cons(mark(X1),X2) -> #cons(X1,X2) #20: #from(mark(X)) -> #from(X) #21: #s(mark(X)) -> #s(X) #22: #cons1(mark(X1),X2) -> #cons1(X1,X2) #23: #cons1(X1,mark(X2)) -> #cons1(X1,X2) #24: #proper(2nd(X)) -> #2nd(proper(X)) #25: #proper(2nd(X)) -> #proper(X) #26: #proper(cons(X1,X2)) -> #cons(proper(X1),proper(X2)) #27: #proper(cons(X1,X2)) -> #proper(X1) #28: #proper(cons(X1,X2)) -> #proper(X2) #29: #proper(from(X)) -> #from(proper(X)) #30: #proper(from(X)) -> #proper(X) #31: #proper(s(X)) -> #s(proper(X)) #32: #proper(s(X)) -> #proper(X) #33: #proper(cons1(X1,X2)) -> #cons1(proper(X1),proper(X2)) #34: #proper(cons1(X1,X2)) -> #proper(X1) #35: #proper(cons1(X1,X2)) -> #proper(X2) #36: #2nd(ok(X)) -> #2nd(X) #37: #cons(ok(X1),ok(X2)) -> #cons(X1,X2) #38: #from(ok(X)) -> #from(X) #39: #s(ok(X)) -> #s(X) #40: #cons1(ok(X1),ok(X2)) -> #cons1(X1,X2) #41: #top(mark(X)) -> #top(proper(X)) #42: #top(mark(X)) -> #proper(X) #43: #top(ok(X)) -> #top(active(X)) #44: #top(ok(X)) -> #active(X) Number of SCCs: 8 SCC { #18 #36 } QKBOPS(sum)... removes: #18 I(ok) = x1 \pi(ok) = 1 I(#2nd) = x1 \pi(#2nd) = 1 I(mark) = 1 + x1 \pi(mark) = [1] PREC: mark USABLE RULES: { } Number of SCCs: 8 SCC { #36 } QKBOPS(sum)... removes: #36 I(ok) = 1 + x1 \pi(ok) = [1] I(#2nd) = x1 \pi(#2nd) = [] PREC: ok = #2nd USABLE RULES: { } Number of SCCs: 7 SCC { #19 #37 } QKBOPS(sum)... removes: #19 #37 I(ok) = 1 + x1 \pi(ok) = [1] I(#cons) = x1 + x2 \pi(#cons) = [] I(mark) = 1 + x1 \pi(mark) = [1] PREC: #cons > mark > ok USABLE RULES: { } Number of SCCs: 6 SCC { #20 #38 } QKBOPS(sum)... removes: #20 I(#from) = x1 \pi(#from) = 1 I(ok) = x1 \pi(ok) = 1 I(mark) = 1 + x1 \pi(mark) = [1] PREC: mark USABLE RULES: { } Number of SCCs: 6 SCC { #38 } QKBOPS(sum)... removes: #38 I(#from) = x1 \pi(#from) = [] I(ok) = 1 + x1 \pi(ok) = [] PREC: #from = ok USABLE RULES: { } Number of SCCs: 5 SCC { #21 #39 } QKBOPS(sum)... removes: #21 I(ok) = x1 \pi(ok) = 1 I(#s) = x1 \pi(#s) = 1 I(mark) = 1 + x1 \pi(mark) = [1] PREC: mark USABLE RULES: { } Number of SCCs: 5 SCC { #39 } QKBOPS(sum)... removes: #39 I(ok) = 1 + x1 \pi(ok) = [1] I(#s) = x1 \pi(#s) = [] PREC: ok = #s USABLE RULES: { } Number of SCCs: 4 SCC { #41 #43 } QKBOPS(sum)... removes: #43 I(#top) = 1 + x1 \pi(#top) = [] I(cons) = x2 \pi(cons) = [] I(proper) = 1 \pi(proper) = [] I(ok) = 1 + x1 \pi(ok) = [] I(active) = x1 \pi(active) = 1 I(from) = x1 \pi(from) = 1 I(2nd) = x1 \pi(2nd) = [] I(cons1) = x1 \pi(cons1) = 1 I(#proper) = x1 \pi(#proper) = 1 I(s) = x1 \pi(s) = 1 I(#active) = 1 \pi(#active) = [] I(#cons1) = 1 \pi(#cons1) = [] I(mark) = 1 \pi(mark) = [] PREC: #active = #cons1 > cons = proper > 2nd > ok > #top = mark USABLE RULES: { 25..1 } Number of SCCs: 4 SCC { #41 } QKBOPS(sum)... removes: #41 I(#top) = x1 \pi(#top) = 1 I(cons) = 2 + x1 \pi(cons) = [] I(proper) = x1 \pi(proper) = [] I(ok) = 2 + x1 \pi(ok) = [] I(from) = x1 \pi(from) = 1 I(2nd) = x1 \pi(2nd) = 1 I(cons1) = x1 + x2 \pi(cons1) = [] I(s) = x1 \pi(s) = [] I(mark) = 3 + x1 \pi(mark) = [] PREC: cons = proper = ok = cons1 = s = mark USABLE RULES: { 25..10 } Number of SCCs: 3 SCC { #22 #23 #40 } QKBOPS(sum)... removes: #22 #23 #40 I(ok) = 1 + x1 \pi(ok) = [1] I(mark) = 1 + x1 \pi(mark) = [1] I(#cons1) = x1 + x2 \pi(#cons1) = [] PREC: #cons1 > ok = mark USABLE RULES: { } Number of SCCs: 2 SCC { #7 #9 #11 #13 #15 #17 } QKBOPS(sum)... removes: #15 #17 I(cons) = x1 \pi(cons) = 1 I(from) = x1 \pi(from) = 1 I(2nd) = x1 \pi(2nd) = 1 I(cons1) = x1 + x2 \pi(cons1) = [] I(s) = x1 \pi(s) = 1 I(#active) = x1 \pi(#active) = [] PREC: cons1 = #active USABLE RULES: { } Number of SCCs: 2 SCC { #7 #9 #11 #13 } QKBOPS(sum)... removes: #7 I(cons) = x1 \pi(cons) = 1 I(from) = x1 \pi(from) = 1 I(2nd) = x1 \pi(2nd) = [1] I(s) = x1 \pi(s) = 1 I(#active) = x1 \pi(#active) = 1 PREC: 2nd USABLE RULES: { } Number of SCCs: 2 SCC { #9 #11 #13 } QKBOPS(sum)... removes: #9 I(cons) = x1 + x2 \pi(cons) = [2,1] I(from) = x1 \pi(from) = 1 I(s) = x1 \pi(s) = 1 I(#active) = x1 \pi(#active) = [] PREC: cons = #active USABLE RULES: { } Number of SCCs: 2 SCC { #11 #13 } QKBOPS(sum)... removes: #11 I(from) = 1 + x1 \pi(from) = [1] I(s) = x1 \pi(s) = 1 I(#active) = x1 \pi(#active) = 1 PREC: from USABLE RULES: { } Number of SCCs: 2 SCC { #13 } QKBOPS(sum)... removes: #13 I(s) = 1 + x1 \pi(s) = [1] I(#active) = x1 \pi(#active) = [] PREC: s = #active USABLE RULES: { } Number of SCCs: 1 SCC { #25 #27 #28 #30 #32 #34 #35 } QKBOPS(sum)... removes: #27 #28 #34 #35 I(cons) = x1 + x2 \pi(cons) = [] I(from) = x1 \pi(from) = 1 I(2nd) = x1 \pi(2nd) = 1 I(cons1) = x1 + x2 \pi(cons1) = [] I(s) = x1 \pi(s) = 1 I(#proper) = x1 \pi(#proper) = [] PREC: cons = cons1 = #proper USABLE RULES: { } Number of SCCs: 1 SCC { #25 #30 #32 } QKBOPS(sum)... removes: #30 I(from) = x1 \pi(from) = [1] I(2nd) = x1 \pi(2nd) = 1 I(s) = x1 \pi(s) = 1 I(#proper) = x1 \pi(#proper) = 1 PREC: from USABLE RULES: { } Number of SCCs: 1 SCC { #25 #32 } QKBOPS(sum)... removes: #25 I(2nd) = 1 + x1 \pi(2nd) = [1] I(s) = x1 \pi(s) = 1 I(#proper) = x1 \pi(#proper) = 1 PREC: 2nd USABLE RULES: { } Number of SCCs: 1 SCC { #32 } QKBOPS(sum)... removes: #32 I(s) = 1 + x1 \pi(s) = [1] I(#proper) = x1 \pi(#proper) = [] PREC: s = #proper USABLE RULES: { } Number of SCCs: 0