YES

The TRS could be proven terminating. The proof took 57 ms.

The following DP Processors were used


Problem 1 was processed with processor DependencyGraph (5ms).
 | – Problem 2 was processed with processor SubtermCriterion (1ms).

Problem 1: DependencyGraph



Dependency Pair Problem

Dependency Pairs

sel#(s(X), cons(Y, Z))activate#(Z)activate#(n__from(X))from#(X)
sel#(s(X), cons(Y, Z))sel#(X, activate(Z))

Rewrite Rules

from(X)cons(X, n__from(s(X)))sel(0, cons(X, Y))X
sel(s(X), cons(Y, Z))sel(X, activate(Z))from(X)n__from(X)
activate(n__from(X))from(X)activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, n__from, from, sel, cons

Strategy


The following SCCs where found

sel#(s(X), cons(Y, Z)) → sel#(X, activate(Z))

Problem 2: SubtermCriterion



Dependency Pair Problem

Dependency Pairs

sel#(s(X), cons(Y, Z))sel#(X, activate(Z))

Rewrite Rules

from(X)cons(X, n__from(s(X)))sel(0, cons(X, Y))X
sel(s(X), cons(Y, Z))sel(X, activate(Z))from(X)n__from(X)
activate(n__from(X))from(X)activate(X)X

Original Signature

Termination of terms over the following signature is verified: activate, 0, s, n__from, from, sel, cons

Strategy


Projection

The following projection was used:

Thus, the following dependency pairs are removed:

sel#(s(X), cons(Y, Z))sel#(X, activate(Z))