YES Problem: active(f(f(a()))) -> mark(f(g(f(a())))) active(g(X)) -> g(active(X)) g(mark(X)) -> mark(g(X)) proper(f(X)) -> f(proper(X)) proper(a()) -> ok(a()) proper(g(X)) -> g(proper(X)) f(ok(X)) -> ok(f(X)) g(ok(X)) -> ok(g(X)) top(mark(X)) -> top(proper(X)) top(ok(X)) -> top(active(X)) Proof: DP Processor: DPs: active#(f(f(a()))) -> g#(f(a())) active#(f(f(a()))) -> f#(g(f(a()))) active#(g(X)) -> active#(X) active#(g(X)) -> g#(active(X)) g#(mark(X)) -> g#(X) proper#(f(X)) -> proper#(X) proper#(f(X)) -> f#(proper(X)) proper#(g(X)) -> proper#(X) proper#(g(X)) -> g#(proper(X)) f#(ok(X)) -> f#(X) g#(ok(X)) -> g#(X) top#(mark(X)) -> proper#(X) top#(mark(X)) -> top#(proper(X)) top#(ok(X)) -> active#(X) top#(ok(X)) -> top#(active(X)) TRS: active(f(f(a()))) -> mark(f(g(f(a())))) active(g(X)) -> g(active(X)) g(mark(X)) -> mark(g(X)) proper(f(X)) -> f(proper(X)) proper(a()) -> ok(a()) proper(g(X)) -> g(proper(X)) f(ok(X)) -> ok(f(X)) g(ok(X)) -> ok(g(X)) top(mark(X)) -> top(proper(X)) top(ok(X)) -> top(active(X)) Usable Rule Processor: DPs: active#(f(f(a()))) -> g#(f(a())) active#(f(f(a()))) -> f#(g(f(a()))) active#(g(X)) -> active#(X) active#(g(X)) -> g#(active(X)) g#(mark(X)) -> g#(X) proper#(f(X)) -> proper#(X) proper#(f(X)) -> f#(proper(X)) proper#(g(X)) -> proper#(X) proper#(g(X)) -> g#(proper(X)) f#(ok(X)) -> f#(X) g#(ok(X)) -> g#(X) top#(mark(X)) -> proper#(X) top#(mark(X)) -> top#(proper(X)) top#(ok(X)) -> active#(X) top#(ok(X)) -> top#(active(X)) TRS: active(f(f(a()))) -> mark(f(g(f(a())))) active(g(X)) -> g(active(X)) g(mark(X)) -> mark(g(X)) g(ok(X)) -> ok(g(X)) proper(f(X)) -> f(proper(X)) proper(a()) -> ok(a()) proper(g(X)) -> g(proper(X)) f(ok(X)) -> ok(f(X)) Matrix Interpretation Processor: dim=3 usable rules: active(f(f(a()))) -> mark(f(g(f(a())))) active(g(X)) -> g(active(X)) g(mark(X)) -> mark(g(X)) g(ok(X)) -> ok(g(X)) proper(f(X)) -> f(proper(X)) proper(a()) -> ok(a()) proper(g(X)) -> g(proper(X)) f(ok(X)) -> ok(f(X)) interpretation: [top#](x0) = [1 0 0]x0 + [1], [proper#](x0) = [1 0 1]x0 + [1], [f#](x0) = [1 0 0]x0 + [1], [g#](x0) = [1 0 0]x0, [active#](x0) = [1 0 0]x0, [1] [ok](x0) = x0 + [0] [0], [1 0 1] [proper](x0) = [0 1 0]x0 [0 0 1] , [1 0 1] [1] [mark](x0) = [0 0 0]x0 + [0] [0 0 0] [0], [1 0 0] [1] [g](x0) = [0 0 0]x0 + [0] [0 0 1] [0], [1 0 0] [active](x0) = [0 0 0]x0 [0 0 0] , [1 1 0] [1] [f](x0) = [0 1 1]x0 + [1] [0 0 1] [0], [0] [a] = [1] [1] orientation: active#(f(f(a()))) = 6 >= 2 = g#(f(a())) active#(f(f(a()))) = 6 >= 4 = f#(g(f(a()))) active#(g(X)) = [1 0 0]X + [1] >= [1 0 0]X = active#(X) active#(g(X)) = [1 0 0]X + [1] >= [1 0 0]X = g#(active(X)) g#(mark(X)) = [1 0 1]X + [1] >= [1 0 0]X = g#(X) proper#(f(X)) = [1 1 1]X + [2] >= [1 0 1]X + [1] = proper#(X) proper#(f(X)) = [1 1 1]X + [2] >= [1 0 1]X + [1] = f#(proper(X)) proper#(g(X)) = [1 0 1]X + [2] >= [1 0 1]X + [1] = proper#(X) proper#(g(X)) = [1 0 1]X + [2] >= [1 0 1]X = g#(proper(X)) f#(ok(X)) = [1 0 0]X + [2] >= [1 0 0]X + [1] = f#(X) g#(ok(X)) = [1 0 0]X + [1] >= [1 0 0]X = g#(X) top#(mark(X)) = [1 0 1]X + [2] >= [1 0 1]X + [1] = proper#(X) top#(mark(X)) = [1 0 1]X + [2] >= [1 0 1]X + [1] = top#(proper(X)) top#(ok(X)) = [1 0 0]X + [2] >= [1 0 0]X = active#(X) top#(ok(X)) = [1 0 0]X + [2] >= [1 0 0]X + [1] = top#(active(X)) [6] [6] active(f(f(a()))) = [0] >= [0] = mark(f(g(f(a())))) [0] [0] [1 0 0] [1] [1 0 0] [1] active(g(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = g(active(X)) [0 0 0] [0] [0 0 0] [0] [1 0 1] [2] [1 0 1] [2] g(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = mark(g(X)) [0 0 0] [0] [0 0 0] [0] [1 0 0] [2] [1 0 0] [2] g(ok(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = ok(g(X)) [0 0 1] [0] [0 0 1] [0] [1 1 1] [1] [1 1 1] [1] proper(f(X)) = [0 1 1]X + [1] >= [0 1 1]X + [1] = f(proper(X)) [0 0 1] [0] [0 0 1] [0] [1] [1] proper(a()) = [1] >= [1] = ok(a()) [1] [1] [1 0 1] [1] [1 0 1] [1] proper(g(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = g(proper(X)) [0 0 1] [0] [0 0 1] [0] [1 1 0] [2] [1 1 0] [2] f(ok(X)) = [0 1 1]X + [1] >= [0 1 1]X + [1] = ok(f(X)) [0 0 1] [0] [0 0 1] [0] problem: DPs: TRS: active(f(f(a()))) -> mark(f(g(f(a())))) active(g(X)) -> g(active(X)) g(mark(X)) -> mark(g(X)) g(ok(X)) -> ok(g(X)) proper(f(X)) -> f(proper(X)) proper(a()) -> ok(a()) proper(g(X)) -> g(proper(X)) f(ok(X)) -> ok(f(X)) Qed