Certification Problem
Input (TPDB SRS_Relative/Waldmann_19/random-164)
The relative rewrite relation R/S is considered where R is the following TRS
b(a(b(x1))) |
→ |
a(b(a(x1))) |
(1) |
c(c(a(x1))) |
→ |
b(a(c(x1))) |
(2) |
c(a(c(x1))) |
→ |
b(b(c(x1))) |
(3) |
b(a(c(x1))) |
→ |
a(c(c(x1))) |
(4) |
and S is the following TRS.
b(c(b(x1))) |
→ |
a(b(a(x1))) |
(5) |
b(a(a(x1))) |
→ |
a(c(c(x1))) |
(6) |
c(a(b(x1))) |
→ |
a(b(c(x1))) |
(7) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 Rule Removal
Using the
Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(b) |
= |
1 |
|
weight(b) |
= |
1 |
|
|
|
prec(a) |
= |
0 |
|
weight(a) |
= |
1 |
|
|
|
prec(c) |
= |
2 |
|
weight(c) |
= |
1 |
|
|
|
all of the following rules can be deleted.
b(a(b(x1))) |
→ |
a(b(a(x1))) |
(1) |
c(c(a(x1))) |
→ |
b(a(c(x1))) |
(2) |
c(a(c(x1))) |
→ |
b(b(c(x1))) |
(3) |
b(a(c(x1))) |
→ |
a(c(c(x1))) |
(4) |
b(c(b(x1))) |
→ |
a(b(a(x1))) |
(5) |
b(a(a(x1))) |
→ |
a(c(c(x1))) |
(6) |
c(a(b(x1))) |
→ |
a(b(c(x1))) |
(7) |
1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.