Certification Problem
Input (TPDB TRS_Outermost/Strategy_outermost_added_08/Ex1_Luc02b)
The rewrite relation of the following TRS is considered.
from(X) |
→ |
cons(X,from(s(X))) |
(1) |
first(0,Z) |
→ |
nil |
(2) |
first(s(X),cons(Y,Z)) |
→ |
cons(Y,first(X,Z)) |
(3) |
sel(0,cons(X,Z)) |
→ |
X |
(4) |
sel(s(X),cons(Y,Z)) |
→ |
sel(X,Z) |
(5) |
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,☐)