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