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