sel(s(X), cons(Y)) → sel(X, Z)
from(X) → cons(X)
first(0, Z) → nil
first(s(X), cons(Y)) → cons(Y)
sel(0, cons(X)) → X
Innermost Strategy.
↳ GTRS
↳ CritRuleProof
sel(s(X), cons(Y)) → sel(X, Z)
from(X) → cons(X)
first(0, Z) → nil
first(s(X), cons(Y)) → cons(Y)
sel(0, cons(X)) → X
Innermost Strategy.
The rule sel(s(X), cons(Y)) → sel(X, Z) contains free variables in its right-hand side. Hence the TRS is not-terminating.