Certification Problem

Input (TPDB TRS_Standard/Strategy_removed_CSR_05/Ex2_Luc03b)

The rewrite relation of the following TRS is considered.

fst(0,Z) nil (1)
fst(s(X),cons(Y,Z)) cons(Y,fst(X,Z)) (2)
from(X) cons(X,from(s(X))) (3)
add(0,X) X (4)
add(s(X),Y) s(add(X,Y)) (5)
len(nil) 0 (6)
len(cons(X,Z)) s(len(Z)) (7)

Property / Task

Prove or disprove termination.

Answer / Result

No.

Proof (by ttt2 @ termCOMP 2023)

1 Loop

The following loop proves nontermination.

t0 = from(X)
cons(X,from(s(X)))
= t1
where t1 = C[t0σ] and σ = {X/s(X)} and C = cons(X,)