Certification Problem

Input (TPDB SRS_Standard/Waldmann_19/random-341)

The rewrite relation of the following TRS is considered.

b(b(a(b(x1)))) → b(a(b(b(x1)))) (1)
b(a(b(b(x1)))) → b(b(b(b(x1)))) (2)
a(b(b(a(x1)))) → b(a(a(a(x1)))) (3)
b(a(b(a(x1)))) → a(a(a(a(x1)))) (4)

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

1.1 Semantic Labeling

Root-labeling is applied.

We obtain the labeled TRS
bb(ba(ab(bb(x1)))) → ba(ab(bb(bb(x1)))) (9)
bb(ba(ab(ba(x1)))) → ba(ab(bb(ba(x1)))) (10)
ba(ab(bb(bb(x1)))) → bb(bb(bb(bb(x1)))) (11)
ba(ab(bb(ba(x1)))) → bb(bb(bb(ba(x1)))) (12)
ba(ab(bb(ba(ab(x1))))) → bb(ba(aa(aa(ab(x1))))) (13)
ba(ab(bb(ba(aa(x1))))) → bb(ba(aa(aa(aa(x1))))) (14)
aa(ab(bb(ba(ab(x1))))) → ab(ba(aa(aa(ab(x1))))) (15)
aa(ab(bb(ba(aa(x1))))) → ab(ba(aa(aa(aa(x1))))) (16)
bb(ba(ab(ba(ab(x1))))) → ba(aa(aa(aa(ab(x1))))) (17)
bb(ba(ab(ba(aa(x1))))) → ba(aa(aa(aa(aa(x1))))) (18)
ab(ba(ab(ba(ab(x1))))) → aa(aa(aa(aa(ab(x1))))) (19)
ab(ba(ab(ba(aa(x1))))) → aa(aa(aa(aa(aa(x1))))) (20)

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(ab(bb(bb(x1)))) → bb(bb(bb(bb(x1)))) (11)
ba(ab(bb(ba(x1)))) → bb(bb(bb(ba(x1)))) (12)
ba(ab(bb(ba(ab(x1))))) → bb(ba(aa(aa(ab(x1))))) (13)
ba(ab(bb(ba(aa(x1))))) → bb(ba(aa(aa(aa(x1))))) (14)
bb(ba(ab(ba(ab(x1))))) → ba(aa(aa(aa(ab(x1))))) (17)
bb(ba(ab(ba(aa(x1))))) → ba(aa(aa(aa(aa(x1))))) (18)
ab(ba(ab(ba(ab(x1))))) → aa(aa(aa(aa(ab(x1))))) (19)
ab(ba(ab(ba(aa(x1))))) → aa(aa(aa(aa(aa(x1))))) (20)

1.1.1.1 Rule Removal

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

1.1.1.1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
bb#(ba(ab(bb(x1)))) → bb#(bb(x1)) (21)
bb#(ba(ab(ba(x1)))) → bb#(ba(x1)) (22)

1.1.1.1.1.1 Size-Change Termination

Using size-change termination in combination with the subterm criterion one obtains the following initial size-change graphs.

bb#(ba(ab(bb(x1)))) → bb#(bb(x1)) (21)
1 > 1
bb#(ba(ab(ba(x1)))) → bb#(ba(x1)) (22)
1 > 1

As there is no critical graph in the transitive closure, there are no infinite chains.