Certification Problem
Input (TPDB TRS_Standard/SK90/2.46)
The rewrite relation of the following TRS is considered.
a(a(x)) |
→ |
b(b(x)) |
(1) |
b(b(a(x))) |
→ |
a(b(b(x))) |
(2) |
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(x)) |
→ |
b(b(x)) |
(1) |
a(b(b(x))) |
→ |
b(b(a(x))) |
(3) |
1.1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(b) |
= |
0 |
|
weight(b) |
= |
2 |
|
|
|
prec(a) |
= |
1 |
|
weight(a) |
= |
2 |
|
|
|
all of the following rules can be deleted.
a(a(x)) |
→ |
b(b(x)) |
(1) |
a(b(b(x))) |
→ |
b(b(a(x))) |
(3) |
1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.