YES
The TRS could be proven terminating. The proof took 20 ms.
Problem 1 was processed with processor DependencyGraph (2ms). | Problem 2 was processed with processor SubtermCriterion (1ms).
and#(tt, X) | → | activate#(X) | plus#(N, s(M)) | → | plus#(N, M) |
and(tt, X) | → | activate(X) | plus(N, 0) | → | N | |
plus(N, s(M)) | → | s(plus(N, M)) | activate(X) | → | X |
Termination of terms over the following signature is verified: activate, plus, 0, s, tt, and
plus#(N, s(M)) → plus#(N, M) |
plus#(N, s(M)) | → | plus#(N, M) |
and(tt, X) | → | activate(X) | plus(N, 0) | → | N | |
plus(N, s(M)) | → | s(plus(N, M)) | activate(X) | → | X |
Termination of terms over the following signature is verified: activate, plus, 0, s, tt, and
The following projection was used:
Thus, the following dependency pairs are removed:
plus#(N, s(M)) | → | plus#(N, M) |