Certification Problem
Input (TPDB SRS_Standard/Zantema_04/z111)
The rewrite relation of the following TRS is considered.
a(a(x1)) |
→ |
b(c(c(c(x1)))) |
(1) |
b(c(x1)) |
→ |
d(d(d(d(x1)))) |
(2) |
a(x1) |
→ |
d(c(d(x1))) |
(3) |
b(b(x1)) |
→ |
c(c(c(x1))) |
(4) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(5) |
c(d(d(x1))) |
→ |
a(x1) |
(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(d) |
= |
0 |
|
weight(d) |
= |
2 |
|
|
|
prec(b) |
= |
1 |
|
weight(b) |
= |
5 |
|
|
|
prec(c) |
= |
3 |
|
weight(c) |
= |
3 |
|
|
|
prec(a) |
= |
2 |
|
weight(a) |
= |
7 |
|
|
|
all of the following rules can be deleted.
a(a(x1)) |
→ |
b(c(c(c(x1)))) |
(1) |
b(c(x1)) |
→ |
d(d(d(d(x1)))) |
(2) |
a(x1) |
→ |
d(c(d(x1))) |
(3) |
b(b(x1)) |
→ |
c(c(c(x1))) |
(4) |
c(c(x1)) |
→ |
d(d(d(x1))) |
(5) |
c(d(d(x1))) |
→ |
a(x1) |
(6) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.