Certification Problem
Input (TPDB SRS_Standard/Waldmann_19/random-26)
The rewrite relation of the following TRS is considered.
a(b(b(a(x1)))) |
→ |
b(a(b(a(x1)))) |
(1) |
a(b(b(b(x1)))) |
→ |
a(a(b(a(x1)))) |
(2) |
a(a(a(a(x1)))) |
→ |
b(b(b(a(x1)))) |
(3) |
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(x1)))) |
→ |
a(b(a(b(x1)))) |
(4) |
b(b(b(a(x1)))) |
→ |
a(b(a(a(x1)))) |
(5) |
a(a(a(a(x1)))) |
→ |
a(b(b(b(x1)))) |
(6) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{a(☐), b(☐)}
We obtain the transformed TRS
a(b(b(a(x1)))) |
→ |
a(b(a(b(x1)))) |
(4) |
a(a(a(a(x1)))) |
→ |
a(b(b(b(x1)))) |
(6) |
a(b(b(b(a(x1))))) |
→ |
a(a(b(a(a(x1))))) |
(7) |
b(b(b(b(a(x1))))) |
→ |
b(a(b(a(a(x1))))) |
(8) |
1.1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
ab(bb(ba(aa(x1)))) |
→ |
ab(ba(ab(ba(x1)))) |
(9) |
ab(bb(ba(ab(x1)))) |
→ |
ab(ba(ab(bb(x1)))) |
(10) |
aa(aa(aa(aa(x1)))) |
→ |
ab(bb(bb(ba(x1)))) |
(11) |
aa(aa(aa(ab(x1)))) |
→ |
ab(bb(bb(bb(x1)))) |
(12) |
ab(bb(bb(ba(aa(x1))))) |
→ |
aa(ab(ba(aa(aa(x1))))) |
(13) |
ab(bb(bb(ba(ab(x1))))) |
→ |
aa(ab(ba(aa(ab(x1))))) |
(14) |
bb(bb(bb(ba(aa(x1))))) |
→ |
ba(ab(ba(aa(aa(x1))))) |
(15) |
bb(bb(bb(ba(ab(x1))))) |
→ |
ba(ab(ba(aa(ab(x1))))) |
(16) |
1.1.1.1 Rule Removal
Using the
linear polynomial interpretation over the naturals
[ab(x1)] |
= |
1 · x1 + 1 |
[bb(x1)] |
= |
1 · x1 + 1 |
[ba(x1)] |
= |
1 · x1
|
[aa(x1)] |
= |
1 · x1 + 1 |
all of the following rules can be deleted.
ab(bb(ba(aa(x1)))) |
→ |
ab(ba(ab(ba(x1)))) |
(9) |
aa(aa(aa(aa(x1)))) |
→ |
ab(bb(bb(ba(x1)))) |
(11) |
bb(bb(bb(ba(aa(x1))))) |
→ |
ba(ab(ba(aa(aa(x1))))) |
(15) |
bb(bb(bb(ba(ab(x1))))) |
→ |
ba(ab(ba(aa(ab(x1))))) |
(16) |
1.1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
ab#(bb(ba(ab(x1)))) |
→ |
ab#(ba(ab(bb(x1)))) |
(17) |
ab#(bb(ba(ab(x1)))) |
→ |
ab#(bb(x1)) |
(18) |
aa#(aa(aa(ab(x1)))) |
→ |
ab#(bb(bb(bb(x1)))) |
(19) |
ab#(bb(bb(ba(aa(x1))))) |
→ |
aa#(ab(ba(aa(aa(x1))))) |
(20) |
ab#(bb(bb(ba(aa(x1))))) |
→ |
ab#(ba(aa(aa(x1)))) |
(21) |
ab#(bb(bb(ba(aa(x1))))) |
→ |
aa#(aa(x1)) |
(22) |
ab#(bb(bb(ba(ab(x1))))) |
→ |
aa#(ab(ba(aa(ab(x1))))) |
(23) |
ab#(bb(bb(ba(ab(x1))))) |
→ |
ab#(ba(aa(ab(x1)))) |
(24) |
ab#(bb(bb(ba(ab(x1))))) |
→ |
aa#(ab(x1)) |
(25) |
1.1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.