(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)

Q is empty.