YES O(n^5) TRS: {f(f(x)) -> g(f(x))} DUP: We consider a non-duplicating system. Trs: {f(f(x)) -> g(f(x))} Matrix Interpretation: Interpretation class: triangular [X4] [1 0 0 0 1][X4] [0] [X3] [0 0 0 0 1][X3] [0] [f]([X2]) = [0 0 0 0 0][X2] + [0] [X1] [0 0 0 0 0][X1] [0] [X0] [0 0 0 0 1][X0] [1] [X4] [1 0 0 0 0][X4] [0] [X3] [0 0 0 0 0][X3] [0] [g]([X2]) = [0 0 0 0 0][X2] + [0] [X1] [0 0 0 0 0][X1] [0] [X0] [0 0 0 0 0][X0] [0] Qed