Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z107)
The rewrite relation of the following TRS is considered.
a(a(x1)) |
→ |
b(b(b(x1))) |
(1) |
b(b(x1)) |
→ |
c(c(c(x1))) |
(2) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(3) |
b(x1) |
→ |
d(d(x1)) |
(4) |
c(d(d(x1))) |
→ |
a(x1) |
(5) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by ttt2 @ termCOMP 2023)
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
a(a(x1)) |
→ |
b(b(b(x1))) |
(1) |
b(b(x1)) |
→ |
c(c(c(x1))) |
(2) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(3) |
b(x1) |
→ |
d(d(x1)) |
(4) |
d(d(c(x1))) |
→ |
a(x1) |
(6) |
1.1 Rule Removal
Using the
linear polynomial interpretation over the arctic semiring over the integers
[b(x1)] |
= |
9 · x1 +
-∞ |
[d(x1)] |
= |
4 · x1 +
-∞ |
[a(x1)] |
= |
14 · x1 +
-∞ |
[c(x1)] |
= |
6 · x1 +
-∞ |
all of the following rules can be deleted.
a(a(x1)) |
→ |
b(b(b(x1))) |
(1) |
b(x1) |
→ |
d(d(x1)) |
(4) |
1.1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(d) |
= |
3 |
|
weight(d) |
= |
0 |
|
|
|
prec(c) |
= |
1 |
|
weight(c) |
= |
1 |
|
|
|
prec(b) |
= |
0 |
|
weight(b) |
= |
4 |
|
|
|
prec(a) |
= |
2 |
|
weight(a) |
= |
1 |
|
|
|
all of the following rules can be deleted.
b(b(x1)) |
→ |
c(c(c(x1))) |
(2) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(3) |
d(d(c(x1))) |
→ |
a(x1) |
(6) |
1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.