Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z114)
The rewrite relation of the following TRS is considered.
a(c(x1)) |
→ |
c(b(x1)) |
(1) |
a(x1) |
→ |
b(b(b(x1))) |
(2) |
b(c(b(x1))) |
→ |
a(c(x1)) |
(3) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[a(x1)] |
= |
1 · x1 + 16 |
[c(x1)] |
= |
16 · x1 + 17 |
[b(x1)] |
= |
1 · x1 + 1 |
all of the following rules can be deleted.
a(x1) |
→ |
b(b(b(x1))) |
(2) |
b(c(b(x1))) |
→ |
a(c(x1)) |
(3) |
1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(b) |
= |
0 |
|
weight(b) |
= |
2 |
|
|
|
prec(a) |
= |
3 |
|
weight(a) |
= |
2 |
|
|
|
prec(c) |
= |
2 |
|
weight(c) |
= |
2 |
|
|
|
all of the following rules can be deleted.
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.