Certification Problem
Input (TPDB SRS_Standard/Waldmann_19/random-82)
The rewrite relation of the following TRS is considered.
a(b(a(b(x1)))) |
→ |
b(b(b(a(x1)))) |
(1) |
a(b(b(b(x1)))) |
→ |
a(b(a(b(x1)))) |
(2) |
b(a(b(a(x1)))) |
→ |
b(a(a(a(x1)))) |
(3) |
a(b(b(a(x1)))) |
→ |
b(b(a(a(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
b(a(b(a(x1)))) |
→ |
a(b(b(b(x1)))) |
(5) |
b(b(b(a(x1)))) |
→ |
b(a(b(a(x1)))) |
(6) |
a(b(a(b(x1)))) |
→ |
a(a(a(b(x1)))) |
(7) |
a(b(b(a(x1)))) |
→ |
a(a(b(b(x1)))) |
(8) |
1.1 Closure Under Flat Contexts
Using the flat contexts
{b(☐), a(☐)}
We obtain the transformed TRS
b(b(b(a(x1)))) |
→ |
b(a(b(a(x1)))) |
(6) |
a(b(a(b(x1)))) |
→ |
a(a(a(b(x1)))) |
(7) |
a(b(b(a(x1)))) |
→ |
a(a(b(b(x1)))) |
(8) |
b(b(a(b(a(x1))))) |
→ |
b(a(b(b(b(x1))))) |
(9) |
a(b(a(b(a(x1))))) |
→ |
a(a(b(b(b(x1))))) |
(10) |
1.1.1 Semantic Labeling
Root-labeling is applied.
We obtain the labeled TRS
bb(bb(ba(ab(x1)))) |
→ |
ba(ab(ba(ab(x1)))) |
(11) |
bb(bb(ba(aa(x1)))) |
→ |
ba(ab(ba(aa(x1)))) |
(12) |
ab(ba(ab(bb(x1)))) |
→ |
aa(aa(ab(bb(x1)))) |
(13) |
ab(ba(ab(ba(x1)))) |
→ |
aa(aa(ab(ba(x1)))) |
(14) |
ab(bb(ba(ab(x1)))) |
→ |
aa(ab(bb(bb(x1)))) |
(15) |
ab(bb(ba(aa(x1)))) |
→ |
aa(ab(bb(ba(x1)))) |
(16) |
bb(ba(ab(ba(ab(x1))))) |
→ |
ba(ab(bb(bb(bb(x1))))) |
(17) |
bb(ba(ab(ba(aa(x1))))) |
→ |
ba(ab(bb(bb(ba(x1))))) |
(18) |
ab(ba(ab(ba(ab(x1))))) |
→ |
aa(ab(bb(bb(bb(x1))))) |
(19) |
ab(ba(ab(ba(aa(x1))))) |
→ |
aa(ab(bb(bb(ba(x1))))) |
(20) |
1.1.1.1 Dependency Pair Transformation
The following set of initial dependency pairs has been identified.
bb#(bb(ba(ab(x1)))) |
→ |
ab#(ba(ab(x1))) |
(21) |
bb#(bb(ba(aa(x1)))) |
→ |
ab#(ba(aa(x1))) |
(22) |
ab#(bb(ba(ab(x1)))) |
→ |
ab#(bb(bb(x1))) |
(23) |
ab#(bb(ba(ab(x1)))) |
→ |
bb#(bb(x1)) |
(24) |
ab#(bb(ba(ab(x1)))) |
→ |
bb#(x1) |
(25) |
ab#(bb(ba(aa(x1)))) |
→ |
ab#(bb(ba(x1))) |
(26) |
ab#(bb(ba(aa(x1)))) |
→ |
bb#(ba(x1)) |
(27) |
bb#(ba(ab(ba(ab(x1))))) |
→ |
ab#(bb(bb(bb(x1)))) |
(28) |
bb#(ba(ab(ba(ab(x1))))) |
→ |
bb#(bb(bb(x1))) |
(29) |
bb#(ba(ab(ba(ab(x1))))) |
→ |
bb#(bb(x1)) |
(30) |
bb#(ba(ab(ba(ab(x1))))) |
→ |
bb#(x1) |
(31) |
bb#(ba(ab(ba(aa(x1))))) |
→ |
ab#(bb(bb(ba(x1)))) |
(32) |
bb#(ba(ab(ba(aa(x1))))) |
→ |
bb#(bb(ba(x1))) |
(33) |
bb#(ba(ab(ba(aa(x1))))) |
→ |
bb#(ba(x1)) |
(34) |
ab#(ba(ab(ba(ab(x1))))) |
→ |
ab#(bb(bb(bb(x1)))) |
(35) |
ab#(ba(ab(ba(ab(x1))))) |
→ |
bb#(bb(bb(x1))) |
(36) |
ab#(ba(ab(ba(ab(x1))))) |
→ |
bb#(bb(x1)) |
(37) |
ab#(ba(ab(ba(ab(x1))))) |
→ |
bb#(x1) |
(38) |
ab#(ba(ab(ba(aa(x1))))) |
→ |
ab#(bb(bb(ba(x1)))) |
(39) |
ab#(ba(ab(ba(aa(x1))))) |
→ |
bb#(bb(ba(x1))) |
(40) |
ab#(ba(ab(ba(aa(x1))))) |
→ |
bb#(ba(x1)) |
(41) |
1.1.1.1.1 Dependency Graph Processor
The dependency pairs are split into 1
component.