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