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