Certification Problem
Input (TPDB SRS_Relative/Waldmann_23/size-10-alpha-2-num-69)
The relative rewrite relation R/S is considered where R is the following TRS
and S is the following TRS.
a(a(x)) |
→ |
a(a(b(a(x)))) |
(2) |
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(b(a(x)))) |
→ |
x |
(1) |
a(a(x)) |
→ |
a(b(a(a(x)))) |
(3) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{a(☐), b(☐)}
We obtain the transformed TRS
a(a(b(b(a(x))))) |
→ |
a(x) |
(4) |
b(a(b(b(a(x))))) |
→ |
b(x) |
(5) |
a(a(x)) |
→ |
a(b(a(a(x)))) |
(3) |
1.1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
aa(ab(bb(ba(aa(x))))) |
→ |
aa(x) |
(6) |
aa(ab(bb(ba(ab(x))))) |
→ |
ab(x) |
(7) |
ba(ab(bb(ba(aa(x))))) |
→ |
ba(x) |
(8) |
ba(ab(bb(ba(ab(x))))) |
→ |
bb(x) |
(9) |
aa(aa(x)) |
→ |
ab(ba(aa(aa(x)))) |
(10) |
aa(ab(x)) |
→ |
ab(ba(aa(ab(x)))) |
(11) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[aa(x1)] |
= |
1 + 1 · x1
|
[ab(x1)] |
= |
1 · x1
|
[bb(x1)] |
= |
1 · x1
|
[ba(x1)] |
= |
1 · x1
|
all of the following rules can be deleted.
aa(ab(bb(ba(aa(x))))) |
→ |
aa(x) |
(6) |
aa(ab(bb(ba(ab(x))))) |
→ |
ab(x) |
(7) |
ba(ab(bb(ba(aa(x))))) |
→ |
ba(x) |
(8) |
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(ba(ab(x))))) |
→ |
bb(x) |
(9) |
1.1.1.1.1.1 R is empty
There are no rules in the TRS. Hence, it is terminating.