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