Certification Problem

Input (TPDB TRS_Standard/Transformed_CSR_04/Ex6_Luc98_L)

The rewrite relation of the following TRS is considered.

first(0,X) nil (1)
first(s(X),cons(Y)) cons(Y) (2)
from(X) cons(X) (3)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by ttt2 @ termCOMP 2023)

1 Rule Removal

Using the Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(from) = 3 weight(from) = 2
prec(cons) = 2 weight(cons) = 2
prec(s) = 5 weight(s) = 2
prec(nil) = 0 weight(nil) = 5
prec(first) = 1 weight(first) = 0
prec(0) = 7 weight(0) = 4
all of the following rules can be deleted.
first(0,X) nil (1)
first(s(X),cons(Y)) cons(Y) (2)
from(X) cons(X) (3)

1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.