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