Certification Problem

Input (TPDB SRS_Standard/Waldmann_19/random-486)

The rewrite relation of the following TRS is considered.

b(a(a(a(x1)))) → a(a(b(a(x1)))) (1)
b(a(b(b(x1)))) → b(a(a(a(x1)))) (2)
a(a(b(b(x1)))) → a(b(b(a(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(a(b(b(x1)))) → b(a(a(a(x1)))) (2)
a(a(b(b(x1)))) → a(b(b(a(x1)))) (3)
b(b(a(a(a(x1))))) → b(a(a(b(a(x1))))) (4)
a(b(a(a(a(x1))))) → a(a(a(b(a(x1))))) (5)

1.1 Semantic Labeling

Root-labeling is applied.

We obtain the labeled TRS
ba(ab(bb(bb(x1)))) → ba(aa(aa(ab(x1)))) (6)
ba(ab(bb(ba(x1)))) → ba(aa(aa(aa(x1)))) (7)
aa(ab(bb(bb(x1)))) → ab(bb(ba(ab(x1)))) (8)
aa(ab(bb(ba(x1)))) → ab(bb(ba(aa(x1)))) (9)
bb(ba(aa(aa(ab(x1))))) → ba(aa(ab(ba(ab(x1))))) (10)
bb(ba(aa(aa(aa(x1))))) → ba(aa(ab(ba(aa(x1))))) (11)
ab(ba(aa(aa(ab(x1))))) → aa(aa(ab(ba(ab(x1))))) (12)
ab(ba(aa(aa(aa(x1))))) → aa(aa(ab(ba(aa(x1))))) (13)

1.1.1 Rule Removal

Using the linear polynomial interpretation over the naturals
[ba(x1)] = 1 · x1
[ab(x1)] = 1 · x1 + 1
[bb(x1)] = 1 · x1 + 1
[aa(x1)] = 1 · x1
all of the following rules can be deleted.
ba(ab(bb(bb(x1)))) → ba(aa(aa(ab(x1)))) (6)
ba(ab(bb(ba(x1)))) → ba(aa(aa(aa(x1)))) (7)

1.1.1.1 Rule Removal

Using the linear polynomial interpretation over the naturals
[aa(x1)] = 1 · x1
[ab(x1)] = 1 · x1
[bb(x1)] = 1 · x1 + 1
[ba(x1)] = 1 · x1
all of the following rules can be deleted.
aa(ab(bb(bb(x1)))) → ab(bb(ba(ab(x1)))) (8)
bb(ba(aa(aa(ab(x1))))) → ba(aa(ab(ba(ab(x1))))) (10)
bb(ba(aa(aa(aa(x1))))) → ba(aa(ab(ba(aa(x1))))) (11)

1.1.1.1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
aa#(ab(bb(ba(x1)))) → ab#(bb(ba(aa(x1)))) (14)
aa#(ab(bb(ba(x1)))) → aa#(x1) (15)
ab#(ba(aa(aa(ab(x1))))) → aa#(aa(ab(ba(ab(x1))))) (16)
ab#(ba(aa(aa(ab(x1))))) → aa#(ab(ba(ab(x1)))) (17)
ab#(ba(aa(aa(ab(x1))))) → ab#(ba(ab(x1))) (18)
ab#(ba(aa(aa(aa(x1))))) → aa#(aa(ab(ba(aa(x1))))) (19)
ab#(ba(aa(aa(aa(x1))))) → aa#(ab(ba(aa(x1)))) (20)
ab#(ba(aa(aa(aa(x1))))) → ab#(ba(aa(x1))) (21)

1.1.1.1.1.1 Dependency Graph Processor

The dependency pairs are split into 2 components.