Certification Problem

Input (TPDB SRS_Standard/Waldmann_19/random-387)

The rewrite relation of the following TRS is considered.

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

1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
a#(b(b(b(x1)))) → b#(a(a(b(x1)))) (7)
a#(b(b(b(x1)))) → a#(a(b(x1))) (8)
a#(b(b(b(x1)))) → a#(b(x1)) (9)
a#(b(a(b(x1)))) → b#(a(a(a(x1)))) (10)
a#(b(a(b(x1)))) → a#(a(a(x1))) (11)
a#(b(a(b(x1)))) → a#(a(x1)) (12)
a#(b(a(b(x1)))) → a#(x1) (13)
b#(b(a(a(x1)))) → a#(b(b(b(x1)))) (14)
b#(b(a(a(x1)))) → b#(b(b(x1))) (15)
b#(b(a(a(x1)))) → b#(b(x1)) (16)
b#(b(a(a(x1)))) → b#(x1) (17)

1.1.1 Reduction Pair Processor

Using the linear polynomial interpretation over the naturals
[a#(x1)] = 1 + 1 · x1
[b(x1)] = 1 + 1 · x1
[b#(x1)] = 1 + 1 · x1
[a(x1)] = 1 + 1 · x1
the pairs
a#(b(b(b(x1)))) → a#(a(b(x1))) (8)
a#(b(b(b(x1)))) → a#(b(x1)) (9)
a#(b(a(b(x1)))) → a#(a(a(x1))) (11)
a#(b(a(b(x1)))) → a#(a(x1)) (12)
a#(b(a(b(x1)))) → a#(x1) (13)
b#(b(a(a(x1)))) → b#(b(b(x1))) (15)
b#(b(a(a(x1)))) → b#(b(x1)) (16)
b#(b(a(a(x1)))) → b#(x1) (17)
could be deleted.

1.1.1.1 Reduction Pair Processor

Using the linear polynomial interpretation over the rationals with delta = 1/16
[a#(x1)] = 5/2 + 4 · x1
[b(x1)] = 1/4 + 3/4 · x1
[b#(x1)] = 4 + 4 · x1
[a(x1)] = 0 + 3/4 · x1
the pairs
a#(b(b(b(x1)))) → b#(a(a(b(x1)))) (7)
a#(b(a(b(x1)))) → b#(a(a(a(x1)))) (10)
b#(b(a(a(x1)))) → a#(b(b(b(x1)))) (14)
could be deleted.

1.1.1.1.1 P is empty

There are no pairs anymore.