Certification Problem
Input (TPDB SRS_Relative/Mixed_relative_SRS/zr10)
The relative rewrite relation R/S is considered where R is the following TRS
a(b(a(x1))) |
→ |
a(b(b(a(x1)))) |
(1) |
b(a(b(x1))) |
→ |
b(a(a(b(x1)))) |
(2) |
and S is the following TRS.
a(x1) |
→ |
a(a(a(x1))) |
(3) |
b(x1) |
→ |
b(b(b(x1))) |
(4) |
Property / Task
Prove or disprove termination.Answer / Result
Yes.Proof (by AProVE @ termCOMP 2023)
1 String Reversal
Since only unary symbols occur, one can reverse all terms and obtains the TRS
a(b(a(x1))) |
→ |
a(b(b(a(x1)))) |
(1) |
b(a(b(x1))) |
→ |
b(a(a(b(x1)))) |
(2) |
a(x1) |
→ |
a(a(a(x1))) |
(3) |
b(x1) |
→ |
b(b(b(x1))) |
(4) |
1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
ab(ba(aa(x1))) |
→ |
ab(bb(ba(aa(x1)))) |
(5) |
ab(ba(ab(x1))) |
→ |
ab(bb(ba(ab(x1)))) |
(6) |
ba(ab(ba(x1))) |
→ |
ba(aa(ab(ba(x1)))) |
(7) |
ba(ab(bb(x1))) |
→ |
ba(aa(ab(bb(x1)))) |
(8) |
aa(x1) |
→ |
aa(aa(aa(x1))) |
(9) |
ab(x1) |
→ |
aa(aa(ab(x1))) |
(10) |
ba(x1) |
→ |
bb(bb(ba(x1))) |
(11) |
bb(x1) |
→ |
bb(bb(bb(x1))) |
(12) |
1.1.1 Rule Removal
Using the
matrix interpretations of dimension 2 with strict dimension 1 over the integers
[ab(x1)] |
= |
+ · x1
|
[ba(x1)] |
= |
+ · x1
|
[aa(x1)] |
= |
+ · x1
|
[bb(x1)] |
= |
+ · x1
|
all of the following rules can be deleted.
ab(ba(ab(x1))) |
→ |
ab(bb(ba(ab(x1)))) |
(6) |
1.1.1.1 Rule Removal
Using the
matrix interpretations of dimension 2 with strict dimension 1 over the integers
[ab(x1)] |
= |
+ · x1
|
[ba(x1)] |
= |
+ · x1
|
[aa(x1)] |
= |
+ · x1
|
[bb(x1)] |
= |
+ · x1
|
all of the following rules can be deleted.
ba(ab(ba(x1))) |
→ |
ba(aa(ab(ba(x1)))) |
(7) |
1.1.1.1.1 Rule Removal
Using the
matrix interpretations of dimension 2 with strict dimension 1 over the integers
[ab(x1)] |
= |
+ · x1
|
[ba(x1)] |
= |
+ · x1
|
[aa(x1)] |
= |
+ · x1
|
[bb(x1)] |
= |
+ · x1
|
all of the following rules can be deleted.
ab(ba(aa(x1))) |
→ |
ab(bb(ba(aa(x1)))) |
(5) |
1.1.1.1.1.1 Rule Removal
Using the
matrix interpretations of dimension 2 with strict dimension 1 over the integers
[ba(x1)] |
= |
+ · x1
|
[ab(x1)] |
= |
+ · x1
|
[bb(x1)] |
= |
+ · x1
|
[aa(x1)] |
= |
+ · x1
|
all of the following rules can be deleted.
ba(ab(bb(x1))) |
→ |
ba(aa(ab(bb(x1)))) |
(8) |
1.1.1.1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.