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