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