Certification Problem
Input (TPDB TRS_Standard/Transformed_CSR_04/PALINDROME_nosorts-noand_L)
The rewrite relation of the following TRS is considered.
__(__(X,Y),Z) |
→ |
__(X,__(Y,Z)) |
(1) |
__(X,nil) |
→ |
X |
(2) |
__(nil,X) |
→ |
X |
(3) |
U11(tt) |
→ |
U12(tt) |
(4) |
U12(tt) |
→ |
tt |
(5) |
isNePal(__(I,__(P,I))) |
→ |
U11(tt) |
(6) |
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(isNePal) |
= |
3 |
|
weight(isNePal) |
= |
1 |
|
|
|
prec(U12) |
= |
0 |
|
weight(U12) |
= |
5 |
|
|
|
prec(U11) |
= |
1 |
|
weight(U11) |
= |
5 |
|
|
|
prec(tt) |
= |
6 |
|
weight(tt) |
= |
1 |
|
|
|
prec(nil) |
= |
4 |
|
weight(nil) |
= |
1 |
|
|
|
prec(__) |
= |
7 |
|
weight(__) |
= |
1 |
|
|
|
all of the following rules can be deleted.
__(__(X,Y),Z) |
→ |
__(X,__(Y,Z)) |
(1) |
__(X,nil) |
→ |
X |
(2) |
__(nil,X) |
→ |
X |
(3) |
U11(tt) |
→ |
U12(tt) |
(4) |
U12(tt) |
→ |
tt |
(5) |
isNePal(__(I,__(P,I))) |
→ |
U11(tt) |
(6) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.