Certification Problem

Input (TPDB SRS_Relative/Waldmann_19/random-221)

The relative rewrite relation R/S is considered where R is the following TRS

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

and S is the following TRS.

c(b(c(x1))) → b(c(c(x1))) (5)
b(b(b(x1))) → c(a(c(x1))) (6)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Closure Under Flat Contexts

Using the flat contexts

{a(☐), c(☐), b(☐)}

We obtain the transformed TRS
a(c(a(x1))) → a(b(b(x1))) (1)
a(c(a(x1))) → a(c(b(x1))) (2)
a(a(c(c(x1)))) → a(b(b(c(x1)))) (7)
c(a(c(c(x1)))) → c(b(b(c(x1)))) (8)
b(a(c(c(x1)))) → b(b(b(c(x1)))) (9)
a(b(c(a(x1)))) → a(c(b(a(x1)))) (10)
c(b(c(a(x1)))) → c(c(b(a(x1)))) (11)
b(b(c(a(x1)))) → b(c(b(a(x1)))) (12)
a(c(b(c(x1)))) → a(b(c(c(x1)))) (13)
c(c(b(c(x1)))) → c(b(c(c(x1)))) (14)
b(c(b(c(x1)))) → b(b(c(c(x1)))) (15)
a(b(b(b(x1)))) → a(c(a(c(x1)))) (16)
c(b(b(b(x1)))) → c(c(a(c(x1)))) (17)
b(b(b(b(x1)))) → b(c(a(c(x1)))) (18)

1.1 Semantic Labeling

Root-labeling is applied.

We obtain the labeled TRS
ac(ca(aa(x1))) → ab(bb(ba(x1))) (19)
ac(ca(ac(x1))) → ab(bb(bc(x1))) (20)
ac(ca(ab(x1))) → ab(bb(bb(x1))) (21)
ac(ca(aa(x1))) → ac(cb(ba(x1))) (22)
ac(ca(ac(x1))) → ac(cb(bc(x1))) (23)
ac(ca(ab(x1))) → ac(cb(bb(x1))) (24)
aa(ac(cc(ca(x1)))) → ab(bb(bc(ca(x1)))) (25)
aa(ac(cc(cc(x1)))) → ab(bb(bc(cc(x1)))) (26)
aa(ac(cc(cb(x1)))) → ab(bb(bc(cb(x1)))) (27)
ca(ac(cc(ca(x1)))) → cb(bb(bc(ca(x1)))) (28)
ca(ac(cc(cc(x1)))) → cb(bb(bc(cc(x1)))) (29)
ca(ac(cc(cb(x1)))) → cb(bb(bc(cb(x1)))) (30)
ba(ac(cc(ca(x1)))) → bb(bb(bc(ca(x1)))) (31)
ba(ac(cc(cc(x1)))) → bb(bb(bc(cc(x1)))) (32)
ba(ac(cc(cb(x1)))) → bb(bb(bc(cb(x1)))) (33)
ab(bc(ca(aa(x1)))) → ac(cb(ba(aa(x1)))) (34)
ab(bc(ca(ac(x1)))) → ac(cb(ba(ac(x1)))) (35)
ab(bc(ca(ab(x1)))) → ac(cb(ba(ab(x1)))) (36)
cb(bc(ca(aa(x1)))) → cc(cb(ba(aa(x1)))) (37)
cb(bc(ca(ac(x1)))) → cc(cb(ba(ac(x1)))) (38)
cb(bc(ca(ab(x1)))) → cc(cb(ba(ab(x1)))) (39)
bb(bc(ca(aa(x1)))) → bc(cb(ba(aa(x1)))) (40)
bb(bc(ca(ac(x1)))) → bc(cb(ba(ac(x1)))) (41)
bb(bc(ca(ab(x1)))) → bc(cb(ba(ab(x1)))) (42)
ac(cb(bc(ca(x1)))) → ab(bc(cc(ca(x1)))) (43)
ac(cb(bc(cc(x1)))) → ab(bc(cc(cc(x1)))) (44)
ac(cb(bc(cb(x1)))) → ab(bc(cc(cb(x1)))) (45)
cc(cb(bc(ca(x1)))) → cb(bc(cc(ca(x1)))) (46)
cc(cb(bc(cc(x1)))) → cb(bc(cc(cc(x1)))) (47)
cc(cb(bc(cb(x1)))) → cb(bc(cc(cb(x1)))) (48)
bc(cb(bc(ca(x1)))) → bb(bc(cc(ca(x1)))) (49)
bc(cb(bc(cc(x1)))) → bb(bc(cc(cc(x1)))) (50)
bc(cb(bc(cb(x1)))) → bb(bc(cc(cb(x1)))) (51)
ab(bb(bb(ba(x1)))) → ac(ca(ac(ca(x1)))) (52)
ab(bb(bb(bc(x1)))) → ac(ca(ac(cc(x1)))) (53)
ab(bb(bb(bb(x1)))) → ac(ca(ac(cb(x1)))) (54)
cb(bb(bb(ba(x1)))) → cc(ca(ac(ca(x1)))) (55)
cb(bb(bb(bc(x1)))) → cc(ca(ac(cc(x1)))) (56)
cb(bb(bb(bb(x1)))) → cc(ca(ac(cb(x1)))) (57)
bb(bb(bb(ba(x1)))) → bc(ca(ac(ca(x1)))) (58)
bb(bb(bb(bc(x1)))) → bc(ca(ac(cc(x1)))) (59)
bb(bb(bb(bb(x1)))) → bc(ca(ac(cb(x1)))) (60)

1.1.1 Rule Removal

Using the Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(ac) = 5 weight(ac) = 9
prec(ca) = 4 weight(ca) = 15
prec(aa) = 0 weight(aa) = 17
prec(ab) = 2 weight(ab) = 5
prec(bb) = 3 weight(bb) = 11
prec(ba) = 7 weight(ba) = 23
prec(bc) = 1 weight(bc) = 16
prec(cb) = 6 weight(cb) = 3
prec(cc) = 8 weight(cc) = 7
all of the following rules can be deleted.
ac(ca(aa(x1))) → ab(bb(ba(x1))) (19)
ac(ca(ac(x1))) → ab(bb(bc(x1))) (20)
ac(ca(ab(x1))) → ab(bb(bb(x1))) (21)
ac(ca(aa(x1))) → ac(cb(ba(x1))) (22)
ac(ca(ac(x1))) → ac(cb(bc(x1))) (23)
ac(ca(ab(x1))) → ac(cb(bb(x1))) (24)
aa(ac(cc(ca(x1)))) → ab(bb(bc(ca(x1)))) (25)
aa(ac(cc(cc(x1)))) → ab(bb(bc(cc(x1)))) (26)
aa(ac(cc(cb(x1)))) → ab(bb(bc(cb(x1)))) (27)
ca(ac(cc(ca(x1)))) → cb(bb(bc(ca(x1)))) (28)
ca(ac(cc(cc(x1)))) → cb(bb(bc(cc(x1)))) (29)
ca(ac(cc(cb(x1)))) → cb(bb(bc(cb(x1)))) (30)
ba(ac(cc(ca(x1)))) → bb(bb(bc(ca(x1)))) (31)
ba(ac(cc(cc(x1)))) → bb(bb(bc(cc(x1)))) (32)
ba(ac(cc(cb(x1)))) → bb(bb(bc(cb(x1)))) (33)
ab(bc(ca(aa(x1)))) → ac(cb(ba(aa(x1)))) (34)
ab(bc(ca(ac(x1)))) → ac(cb(ba(ac(x1)))) (35)
ab(bc(ca(ab(x1)))) → ac(cb(ba(ab(x1)))) (36)
cb(bc(ca(aa(x1)))) → cc(cb(ba(aa(x1)))) (37)
cb(bc(ca(ac(x1)))) → cc(cb(ba(ac(x1)))) (38)
cb(bc(ca(ab(x1)))) → cc(cb(ba(ab(x1)))) (39)
bb(bc(ca(aa(x1)))) → bc(cb(ba(aa(x1)))) (40)
bb(bc(ca(ac(x1)))) → bc(cb(ba(ac(x1)))) (41)
bb(bc(ca(ab(x1)))) → bc(cb(ba(ab(x1)))) (42)
ac(cb(bc(ca(x1)))) → ab(bc(cc(ca(x1)))) (43)
ac(cb(bc(cc(x1)))) → ab(bc(cc(cc(x1)))) (44)
ac(cb(bc(cb(x1)))) → ab(bc(cc(cb(x1)))) (45)
cc(cb(bc(ca(x1)))) → cb(bc(cc(ca(x1)))) (46)
cc(cb(bc(cc(x1)))) → cb(bc(cc(cc(x1)))) (47)
cc(cb(bc(cb(x1)))) → cb(bc(cc(cb(x1)))) (48)
bc(cb(bc(ca(x1)))) → bb(bc(cc(ca(x1)))) (49)
bc(cb(bc(cc(x1)))) → bb(bc(cc(cc(x1)))) (50)
bc(cb(bc(cb(x1)))) → bb(bc(cc(cb(x1)))) (51)
ab(bb(bb(ba(x1)))) → ac(ca(ac(ca(x1)))) (52)
ab(bb(bb(bc(x1)))) → ac(ca(ac(cc(x1)))) (53)
ab(bb(bb(bb(x1)))) → ac(ca(ac(cb(x1)))) (54)
cb(bb(bb(ba(x1)))) → cc(ca(ac(ca(x1)))) (55)
cb(bb(bb(bc(x1)))) → cc(ca(ac(cc(x1)))) (56)
cb(bb(bb(bb(x1)))) → cc(ca(ac(cb(x1)))) (57)
bb(bb(bb(ba(x1)))) → bc(ca(ac(ca(x1)))) (58)
bb(bb(bb(bc(x1)))) → bc(ca(ac(cc(x1)))) (59)
bb(bb(bb(bb(x1)))) → bc(ca(ac(cb(x1)))) (60)

1.1.1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.