YES Problem: f(a(),f(a(),x)) -> f(x,f(a(),f(f(a(),a()),a()))) Proof: DP Processor: DPs: f#(a(),f(a(),x)) -> f#(a(),a()) f#(a(),f(a(),x)) -> f#(f(a(),a()),a()) f#(a(),f(a(),x)) -> f#(a(),f(f(a(),a()),a())) f#(a(),f(a(),x)) -> f#(x,f(a(),f(f(a(),a()),a()))) TRS: f(a(),f(a(),x)) -> f(x,f(a(),f(f(a(),a()),a()))) Usable Rule Processor: DPs: f#(a(),f(a(),x)) -> f#(a(),a()) f#(a(),f(a(),x)) -> f#(f(a(),a()),a()) f#(a(),f(a(),x)) -> f#(a(),f(f(a(),a()),a())) f#(a(),f(a(),x)) -> f#(x,f(a(),f(f(a(),a()),a()))) TRS: Matrix Interpretation Processor: dim=4 usable rules: interpretation: [f#](x0, x1) = [0 0 1 0]x0 + [1 0 0 1]x1, [0 0 1 0] [0 0 1 0] [1 0 0 0] [1 1 0 0] [f](x0, x1) = [0 0 0 0]x0 + [0 0 0 0]x1 [0 0 1 0] [0 0 0 0] , [0] [0] [a] = [1] [0] orientation: f#(a(),f(a(),x)) = [0 0 1 0]x + [3] >= [1] = f#(a(),a()) f#(a(),f(a(),x)) = [0 0 1 0]x + [3] >= [0] = f#(f(a(),a()),a()) f#(a(),f(a(),x)) = [0 0 1 0]x + [3] >= [2] = f#(a(),f(f(a(),a()),a())) f#(a(),f(a(),x)) = [0 0 1 0]x + [3] >= [0 0 1 0]x + [2] = f#(x,f(a(),f(f(a(),a()),a()))) problem: DPs: TRS: Qed