Input TRS: 1: active(f(g(X),Y)) -> mark(f(X,f(g(X),Y))) 2: active(f(X1,X2)) -> f(active(X1),X2) 3: active(g(X)) -> g(active(X)) 4: f(mark(X1),X2) -> mark(f(X1,X2)) 5: g(mark(X)) -> mark(g(X)) 6: proper(f(X1,X2)) -> f(proper(X1),proper(X2)) 7: proper(g(X)) -> g(proper(X)) 8: f(ok(X1),ok(X2)) -> ok(f(X1,X2)) 9: g(ok(X)) -> ok(g(X)) 10: top(mark(X)) -> top(proper(X)) 11: top(ok(X)) -> top(active(X)) Dependency Pairs: #1: #active(f(g(X),Y)) -> #f(X,f(g(X),Y)) #2: #active(f(g(X),Y)) -> #f(g(X),Y) #3: #active(f(g(X),Y)) -> #g(X) #4: #active(f(X1,X2)) -> #f(active(X1),X2) #5: #active(f(X1,X2)) -> #active(X1) #6: #active(g(X)) -> #g(active(X)) #7: #active(g(X)) -> #active(X) #8: #f(mark(X1),X2) -> #f(X1,X2) #9: #g(mark(X)) -> #g(X) #10: #proper(f(X1,X2)) -> #f(proper(X1),proper(X2)) #11: #proper(f(X1,X2)) -> #proper(X1) #12: #proper(f(X1,X2)) -> #proper(X2) #13: #proper(g(X)) -> #g(proper(X)) #14: #proper(g(X)) -> #proper(X) #15: #f(ok(X1),ok(X2)) -> #f(X1,X2) #16: #g(ok(X)) -> #g(X) #17: #top(mark(X)) -> #top(proper(X)) #18: #top(mark(X)) -> #proper(X) #19: #top(ok(X)) -> #top(active(X)) #20: #top(ok(X)) -> #active(X) Number of SCCs: 5 SCC { #8 #15 } QKBOS(sum)... removes: #8 I(ok) = x1 \pi(ok) = 1 I(mark) = 2 + x1 \pi(mark) = [1] I(#f) = 1 + x1 \pi(#f) = [1] PREC: mark = #f USABLE RULES: { } Number of SCCs: 5 SCC { #15 } QKBOS(sum)... removes: #15 I(ok) = 1 + x1 \pi(ok) = [1] I(#f) = x1 + x2 \pi(#f) = [2,1] PREC: #f > ok USABLE RULES: { } Number of SCCs: 4 SCC { #9 #16 } QKBOS(sum)... removes: #9 I(#g) = x1 \pi(#g) = 1 I(ok) = x1 \pi(ok) = 1 I(mark) = x1 \pi(mark) = [1] PREC: mark USABLE RULES: { } Number of SCCs: 4 SCC { #16 } QKBOS(sum)... removes: #16 I(#g) = x1 \pi(#g) = 1 I(ok) = 1 + x1 \pi(ok) = [1] PREC: ok USABLE RULES: { } Number of SCCs: 3 SCC { #5 #7 } QKBOS(sum)... removes: #5 I(f) = x1 \pi(f) = [1] I(g) = x1 \pi(g) = 1 I(#active) = x1 \pi(#active) = [1] PREC: f = #active USABLE RULES: { } Number of SCCs: 3 SCC { #7 } QKBOS(sum)... removes: #7 I(g) = 1 + x1 \pi(g) = [1] I(#active) = x1 \pi(#active) = 1 PREC: g USABLE RULES: { } Number of SCCs: 2 SCC { #17 #19 } QKBOS(sum)... removes: #17 #19 I(#top) = x1 \pi(#top) = 1 I(f) = x1 \pi(f) = 1 I(g) = x1 \pi(g) = 1 I(proper) = 3 \pi(proper) = [] I(ok) = 6 + x1 \pi(ok) = [1] I(active) = 5 \pi(active) = [] I(#proper) = 1 \pi(#proper) = [] I(mark) = 4 \pi(mark) = [] PREC: ok = active = mark > proper > #proper USABLE RULES: { 9..1 } Number of SCCs: 1 SCC { #11 #12 #14 } QKBOS(sum)... removes: #11 #12 I(f) = x1 + x2 \pi(f) = [1,2] I(g) = x1 \pi(g) = 1 I(#proper) = x1 \pi(#proper) = [1] PREC: f = #proper USABLE RULES: { } Number of SCCs: 1 SCC { #14 } QKBOS(sum)... removes: #14 I(g) = 1 + x1 \pi(g) = [1] I(#proper) = x1 \pi(#proper) = 1 PREC: g USABLE RULES: { } Number of SCCs: 0