Certification Problem
Input (TPDB SRS_Standard/Trafo_06/dup16)
The rewrite relation of the following TRS is considered.
a(a(a(a(x1)))) |
→ |
b(b(b(b(b(b(x1)))))) |
(1) |
b(b(b(b(x1)))) |
→ |
c(c(c(c(c(c(x1)))))) |
(2) |
c(c(c(c(x1)))) |
→ |
d(d(d(d(d(d(x1)))))) |
(3) |
b(b(x1)) |
→ |
d(d(d(d(x1)))) |
(4) |
c(c(d(d(d(d(x1)))))) |
→ |
a(a(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 naturals
[b(x1)] |
= |
1 · x1 + 18 |
[d(x1)] |
= |
1 · x1 + 8 |
[a(x1)] |
= |
1 · x1 + 28 |
[c(x1)] |
= |
1 · x1 + 12 |
all of the following rules can be deleted.
a(a(a(a(x1)))) |
→ |
b(b(b(b(b(b(x1)))))) |
(1) |
b(b(x1)) |
→ |
d(d(d(d(x1)))) |
(4) |
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) |
= |
2 |
|
weight(c) |
= |
1 |
|
|
|
prec(b) |
= |
0 |
|
weight(b) |
= |
2 |
|
|
|
prec(a) |
= |
1 |
|
weight(a) |
= |
1 |
|
|
|
all of the following rules can be deleted.
b(b(b(b(x1)))) |
→ |
c(c(c(c(c(c(x1)))))) |
(2) |
c(c(c(c(x1)))) |
→ |
d(d(d(d(d(d(x1)))))) |
(3) |
c(c(d(d(d(d(x1)))))) |
→ |
a(a(x1)) |
(5) |
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.