The rewrite relation of the following TRS is considered.
and(tt) | → | X | (1) |
plus(N,0) | → | N | (2) |
plus(N,s(M)) | → | s(plus(N,M)) | (3) |
x(N,0) | → | 0 | (4) |
x(N,s(M)) | → | plus(x(N,M),N) | (5) |
The TRS violates one of the two variable conditions. Thus, it is not terminating.