Certification Problem
Input (TPDB SRS_Relative/Waldmann_19/random-137)
The rewrite relation of the following TRS is considered.
a(c(a(x1))) |
→ |
b(a(c(x1))) |
(1) |
a(c(c(x1))) |
→ |
a(b(b(x1))) |
(2) |
c(a(a(x1))) |
→ |
a(a(a(x1))) |
(3) |
b(c(c(x1))) |
→ |
a(c(a(x1))) |
(4) |
b(a(a(x1))) |
→ |
b(c(b(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(c(a(x1))) |
→ |
c(a(b(x1))) |
(6) |
c(c(a(x1))) |
→ |
b(b(a(x1))) |
(7) |
a(a(c(x1))) |
→ |
a(a(a(x1))) |
(8) |
c(c(b(x1))) |
→ |
a(c(a(x1))) |
(9) |
a(a(b(x1))) |
→ |
b(c(b(x1))) |
(10) |
1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(b) |
= |
0 |
|
weight(b) |
= |
3 |
|
|
|
prec(c) |
= |
3 |
|
weight(c) |
= |
5 |
|
|
|
prec(a) |
= |
2 |
|
weight(a) |
= |
4 |
|
|
|
all of the following rules can be deleted.
a(c(a(x1))) |
→ |
c(a(b(x1))) |
(6) |
c(c(a(x1))) |
→ |
b(b(a(x1))) |
(7) |
a(a(c(x1))) |
→ |
a(a(a(x1))) |
(8) |
c(c(b(x1))) |
→ |
a(c(a(x1))) |
(9) |
a(a(b(x1))) |
→ |
b(c(b(x1))) |
(10) |
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.