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