Certification Problem

Input (TPDB TRS_Standard/Transformed_CSR_04/OvConsOS_nosorts_Z)

The rewrite relation of the following TRS is considered.

zeros cons(0,n__zeros) (1)
and(tt,X) activate(X) (2)
length(nil) 0 (3)
length(cons(N,L)) s(length(activate(L))) (4)
take(0,IL) nil (5)
take(s(M),cons(N,IL)) cons(N,n__take(M,activate(IL))) (6)
zeros n__zeros (7)
take(X1,X2) n__take(X1,X2) (8)
activate(n__zeros) zeros (9)
activate(n__take(X1,X2)) take(X1,X2) (10)
activate(X) X (11)

Property / Task

Prove or disprove termination.

Answer / Result

No.

Proof (by ttt2 @ termCOMP 2023)

1 Loop

The following loop proves nontermination.

t0 = length(cons(N,n__zeros))
s(length(activate(n__zeros)))
s(length(zeros))
s(length(cons(0,n__zeros)))
= t3
where t3 = C[t0σ] and σ = {N/0} and C = s()