Certification Problem

Input (TPDB SRS_Relative/Waldmann_19/random-35)

The rewrite relation of the following TRS is considered.

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

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by matchbox @ termCOMP 2023)

1 Closure Under Flat Contexts

Using the flat contexts

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

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

1.1 Semantic Labeling

The following interpretations form a model of the rules.

As carrier we take the set {0,1,2}. Symbols are labeled by the interpretation of their arguments using the interpretations (modulo 3):

[c(x1)] = 3x1 + 0
[b(x1)] = 3x1 + 1
[a(x1)] = 3x1 + 2

We obtain the labeled TRS
b1(b0(c1(b1(x1)))) → b2(a0(c0(c1(x1)))) (21)
b1(b0(c1(b0(x1)))) → b2(a0(c0(c0(x1)))) (22)
b1(b0(c1(b2(x1)))) → b2(a0(c0(c2(x1)))) (23)
c1(b0(c1(b1(x1)))) → c2(a0(c0(c1(x1)))) (24)
c1(b0(c1(b0(x1)))) → c2(a0(c0(c0(x1)))) (25)
c1(b0(c1(b2(x1)))) → c2(a0(c0(c2(x1)))) (26)
a1(b0(c1(b1(x1)))) → a2(a0(c0(c1(x1)))) (27)
a1(b0(c1(b0(x1)))) → a2(a0(c0(c0(x1)))) (28)
a1(b0(c1(b2(x1)))) → a2(a0(c0(c2(x1)))) (29)
b0(c1(b1(b1(x1)))) → b0(c0(c1(b1(x1)))) (30)
b0(c1(b1(b0(x1)))) → b0(c0(c1(b0(x1)))) (31)
b0(c1(b1(b2(x1)))) → b0(c0(c1(b2(x1)))) (32)
c0(c1(b1(b1(x1)))) → c0(c0(c1(b1(x1)))) (33)
c0(c1(b1(b0(x1)))) → c0(c0(c1(b0(x1)))) (34)
c0(c1(b1(b2(x1)))) → c0(c0(c1(b2(x1)))) (35)
a0(c1(b1(b1(x1)))) → a0(c0(c1(b1(x1)))) (36)
a0(c1(b1(b0(x1)))) → a0(c0(c1(b0(x1)))) (37)
a0(c1(b1(b2(x1)))) → a0(c0(c1(b2(x1)))) (38)
b0(c2(a2(a1(x1)))) → b0(c1(b1(b1(x1)))) (39)
b0(c2(a2(a0(x1)))) → b0(c1(b1(b0(x1)))) (40)
b0(c2(a2(a2(x1)))) → b0(c1(b1(b2(x1)))) (41)
c0(c2(a2(a1(x1)))) → c0(c1(b1(b1(x1)))) (42)
c0(c2(a2(a0(x1)))) → c0(c1(b1(b0(x1)))) (43)
c0(c2(a2(a2(x1)))) → c0(c1(b1(b2(x1)))) (44)
a0(c2(a2(a1(x1)))) → a0(c1(b1(b1(x1)))) (45)
a0(c2(a2(a0(x1)))) → a0(c1(b1(b0(x1)))) (46)
a0(c2(a2(a2(x1)))) → a0(c1(b1(b2(x1)))) (47)
b2(a0(c2(a1(x1)))) → b1(b2(a2(a1(x1)))) (48)
b2(a0(c2(a0(x1)))) → b1(b2(a2(a0(x1)))) (49)
b2(a0(c2(a2(x1)))) → b1(b2(a2(a2(x1)))) (50)
c2(a0(c2(a1(x1)))) → c1(b2(a2(a1(x1)))) (51)
c2(a0(c2(a0(x1)))) → c1(b2(a2(a0(x1)))) (52)
c2(a0(c2(a2(x1)))) → c1(b2(a2(a2(x1)))) (53)
a2(a0(c2(a1(x1)))) → a1(b2(a2(a1(x1)))) (54)
a2(a0(c2(a0(x1)))) → a1(b2(a2(a0(x1)))) (55)
a2(a0(c2(a2(x1)))) → a1(b2(a2(a2(x1)))) (56)
b2(a0(c1(b1(x1)))) → b1(b2(a0(c1(x1)))) (57)
b2(a0(c1(b0(x1)))) → b1(b2(a0(c0(x1)))) (58)
b2(a0(c1(b2(x1)))) → b1(b2(a0(c2(x1)))) (59)
c2(a0(c1(b1(x1)))) → c1(b2(a0(c1(x1)))) (60)
c2(a0(c1(b0(x1)))) → c1(b2(a0(c0(x1)))) (61)
c2(a0(c1(b2(x1)))) → c1(b2(a0(c2(x1)))) (62)
a2(a0(c1(b1(x1)))) → a1(b2(a0(c1(x1)))) (63)
a2(a0(c1(b0(x1)))) → a1(b2(a0(c0(x1)))) (64)
a2(a0(c1(b2(x1)))) → a1(b2(a0(c2(x1)))) (65)

1.1.1 Rule Removal

Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[c0(x1)] = x1 +
0
[c1(x1)] = x1 +
4
[c2(x1)] = x1 +
3
[b0(x1)] = x1 +
3
[b1(x1)] = x1 +
1
[b2(x1)] = x1 +
0
[a0(x1)] = x1 +
3
[a1(x1)] = x1 +
3
[a2(x1)] = x1 +
3
all of the following rules can be deleted.
b1(b0(c1(b1(x1)))) → b2(a0(c0(c1(x1)))) (21)
b1(b0(c1(b0(x1)))) → b2(a0(c0(c0(x1)))) (22)
b1(b0(c1(b2(x1)))) → b2(a0(c0(c2(x1)))) (23)
c1(b0(c1(b1(x1)))) → c2(a0(c0(c1(x1)))) (24)
c1(b0(c1(b0(x1)))) → c2(a0(c0(c0(x1)))) (25)
c1(b0(c1(b2(x1)))) → c2(a0(c0(c2(x1)))) (26)
a1(b0(c1(b1(x1)))) → a2(a0(c0(c1(x1)))) (27)
a1(b0(c1(b0(x1)))) → a2(a0(c0(c0(x1)))) (28)
a1(b0(c1(b2(x1)))) → a2(a0(c0(c2(x1)))) (29)
b0(c1(b1(b1(x1)))) → b0(c0(c1(b1(x1)))) (30)
b0(c1(b1(b0(x1)))) → b0(c0(c1(b0(x1)))) (31)
b0(c1(b1(b2(x1)))) → b0(c0(c1(b2(x1)))) (32)
c0(c1(b1(b1(x1)))) → c0(c0(c1(b1(x1)))) (33)
c0(c1(b1(b0(x1)))) → c0(c0(c1(b0(x1)))) (34)
c0(c1(b1(b2(x1)))) → c0(c0(c1(b2(x1)))) (35)
a0(c1(b1(b1(x1)))) → a0(c0(c1(b1(x1)))) (36)
a0(c1(b1(b0(x1)))) → a0(c0(c1(b0(x1)))) (37)
a0(c1(b1(b2(x1)))) → a0(c0(c1(b2(x1)))) (38)
b0(c2(a2(a1(x1)))) → b0(c1(b1(b1(x1)))) (39)
b0(c2(a2(a0(x1)))) → b0(c1(b1(b0(x1)))) (40)
b0(c2(a2(a2(x1)))) → b0(c1(b1(b2(x1)))) (41)
c0(c2(a2(a1(x1)))) → c0(c1(b1(b1(x1)))) (42)
c0(c2(a2(a0(x1)))) → c0(c1(b1(b0(x1)))) (43)
c0(c2(a2(a2(x1)))) → c0(c1(b1(b2(x1)))) (44)
a0(c2(a2(a1(x1)))) → a0(c1(b1(b1(x1)))) (45)
a0(c2(a2(a0(x1)))) → a0(c1(b1(b0(x1)))) (46)
a0(c2(a2(a2(x1)))) → a0(c1(b1(b2(x1)))) (47)
b2(a0(c2(a1(x1)))) → b1(b2(a2(a1(x1)))) (48)
b2(a0(c2(a0(x1)))) → b1(b2(a2(a0(x1)))) (49)
b2(a0(c2(a2(x1)))) → b1(b2(a2(a2(x1)))) (50)
c2(a0(c2(a1(x1)))) → c1(b2(a2(a1(x1)))) (51)
c2(a0(c2(a0(x1)))) → c1(b2(a2(a0(x1)))) (52)
c2(a0(c2(a2(x1)))) → c1(b2(a2(a2(x1)))) (53)
a2(a0(c2(a1(x1)))) → a1(b2(a2(a1(x1)))) (54)
a2(a0(c2(a0(x1)))) → a1(b2(a2(a0(x1)))) (55)
a2(a0(c2(a2(x1)))) → a1(b2(a2(a2(x1)))) (56)
b2(a0(c1(b0(x1)))) → b1(b2(a0(c0(x1)))) (58)
c2(a0(c1(b0(x1)))) → c1(b2(a0(c0(x1)))) (61)
a2(a0(c1(b1(x1)))) → a1(b2(a0(c1(x1)))) (63)
a2(a0(c1(b0(x1)))) → a1(b2(a0(c0(x1)))) (64)
a2(a0(c1(b2(x1)))) → a1(b2(a0(c2(x1)))) (65)

1.1.1.1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
b1(c1(a0(b2(x1)))) → c1(a0(b2(b1(x1)))) (66)
b2(c1(a0(b2(x1)))) → c2(a0(b2(b1(x1)))) (67)
b1(c1(a0(c2(x1)))) → c1(a0(b2(c1(x1)))) (68)
b2(c1(a0(c2(x1)))) → c2(a0(b2(c1(x1)))) (69)

1.1.1.1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
b1#(c1(a0(c2(x1)))) → b2#(c1(x1)) (70)
b1#(c1(a0(b2(x1)))) → b1#(x1) (71)
b1#(c1(a0(b2(x1)))) → b2#(b1(x1)) (72)
b2#(c1(a0(c2(x1)))) → b2#(c1(x1)) (73)
b2#(c1(a0(b2(x1)))) → b1#(x1) (74)
b2#(c1(a0(b2(x1)))) → b2#(b1(x1)) (75)

1.1.1.1.1.1 Monotonic Reduction Pair Processor with Usable Rules

Using the matrix interpretations of dimension 1 with strict dimension 1 over the rationals with delta = 1
[c1(x1)] = x1 +
0
[c2(x1)] = x1 +
0
[b1(x1)] = x1 +
0
[b2(x1)] = x1 +
0
[a0(x1)] = x1 +
1
[b1#(x1)] = x1 +
0
[b2#(x1)] = x1 +
0
together with the usable rules
b1(c1(a0(b2(x1)))) → c1(a0(b2(b1(x1)))) (66)
b2(c1(a0(b2(x1)))) → c2(a0(b2(b1(x1)))) (67)
b1(c1(a0(c2(x1)))) → c1(a0(b2(c1(x1)))) (68)
b2(c1(a0(c2(x1)))) → c2(a0(b2(c1(x1)))) (69)
(w.r.t. the implicit argument filter of the reduction pair), the pairs
b1#(c1(a0(c2(x1)))) → b2#(c1(x1)) (70)
b1#(c1(a0(b2(x1)))) → b1#(x1) (71)
b1#(c1(a0(b2(x1)))) → b2#(b1(x1)) (72)
b2#(c1(a0(c2(x1)))) → b2#(c1(x1)) (73)
b2#(c1(a0(b2(x1)))) → b1#(x1) (74)
b2#(c1(a0(b2(x1)))) → b2#(b1(x1)) (75)
and no rules could be deleted.

1.1.1.1.1.1.1 Dependency Graph Processor

The dependency pairs are split into 0 components.