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