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