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