Certification Problem
Input (TPDB TRS_Outermost/Strategy_outermost_added_08/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) |
The evaluation strategy is outermostProperty / Task
Prove or disprove termination.Answer / Result
No.Proof (by AProVE @ 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,☐)