YES O(n^3) TRS: { __(X, nil()) -> X, __(__(X, Y), Z) -> __(X, __(Y, Z)), __(nil(), X) -> X, activate(X) -> X, and(tt(), X) -> activate(X), isNePal(__(I, __(P, I))) -> tt() } DUP: We consider a non-duplicating system. Trs: { __(X, nil()) -> X, __(__(X, Y), Z) -> __(X, __(Y, Z)), __(nil(), X) -> X, activate(X) -> X, and(tt(), X) -> activate(X), isNePal(__(I, __(P, I))) -> tt() } Matrix Interpretation: Interpretation class: triangular [X2] [1 0 0][X2] [0] [isNePal]([X1]) = [0 0 0][X1] + [0] [X0] [0 0 0][X0] [0] [1] [tt] = [0] [0] [X5] [X2] [1 0 0][X5] [1 0 0][X2] [1] [and]([X4], [X1]) = [0 0 0][X4] + [0 1 0][X1] + [0] [X3] [X0] [0 0 0][X3] [0 0 1][X0] [0] [X2] [1 0 0][X2] [1] [activate]([X1]) = [0 1 0][X1] + [0] [X0] [0 0 1][X0] [0] [0] [nil] = [0] [0] [X5] [X2] [1 1 0][X5] [1 0 0][X2] [1] [__]([X4], [X1]) = [0 1 0][X4] + [0 1 0][X1] + [1] [X3] [X0] [0 0 1][X3] [0 0 1][X0] [0] Qed