Certification Problem

Input (TPDB SRS_Relative/Mixed_relative_SRS/zr11)

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

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

and S is the following TRS.

b(x1) → c(b(x1)) (3)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by matchbox @ termCOMP 2023)

1 Split

We split R in the relative problem D/R-D and R-D, where the rules D

a(a(x1)) → a(c(b(a(x1)))) (2)
are deleted.

1.1 Closure Under Flat Contexts

Using the flat contexts

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

We obtain the transformed TRS
c(a(a(x1))) → c(a(c(b(a(x1))))) (4)
b(a(a(x1))) → b(a(c(b(a(x1))))) (5)
a(a(a(x1))) → a(a(c(b(a(x1))))) (6)
c(b(c(a(x1)))) → c(a(b(a(b(x1))))) (7)
c(b(x1)) → c(c(b(x1))) (8)
b(b(c(a(x1)))) → b(a(b(a(b(x1))))) (9)
b(b(x1)) → b(c(b(x1))) (10)
a(b(c(a(x1)))) → a(a(b(a(b(x1))))) (11)
a(b(x1)) → a(c(b(x1))) (12)

1.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
b2(a2(a1(x1))) → b2(a0(c1(b2(a1(x1))))) (13)
b2(a2(a0(x1))) → b2(a0(c1(b2(a0(x1))))) (14)
b2(a2(a2(x1))) → b2(a0(c1(b2(a2(x1))))) (15)
c2(a2(a1(x1))) → c2(a0(c1(b2(a1(x1))))) (16)
c2(a2(a0(x1))) → c2(a0(c1(b2(a0(x1))))) (17)
c2(a2(a2(x1))) → c2(a0(c1(b2(a2(x1))))) (18)
a2(a2(a1(x1))) → a2(a0(c1(b2(a1(x1))))) (19)
a2(a2(a0(x1))) → a2(a0(c1(b2(a0(x1))))) (20)
a2(a2(a2(x1))) → a2(a0(c1(b2(a2(x1))))) (21)
b1(b0(c2(a1(x1)))) → b2(a1(b2(a1(b1(x1))))) (22)
b1(b0(c2(a0(x1)))) → b2(a1(b2(a1(b0(x1))))) (23)
b1(b0(c2(a2(x1)))) → b2(a1(b2(a1(b2(x1))))) (24)
c1(b0(c2(a1(x1)))) → c2(a1(b2(a1(b1(x1))))) (25)
c1(b0(c2(a0(x1)))) → c2(a1(b2(a1(b0(x1))))) (26)
c1(b0(c2(a2(x1)))) → c2(a1(b2(a1(b2(x1))))) (27)
a1(b0(c2(a1(x1)))) → a2(a1(b2(a1(b1(x1))))) (28)
a1(b0(c2(a0(x1)))) → a2(a1(b2(a1(b0(x1))))) (29)
a1(b0(c2(a2(x1)))) → a2(a1(b2(a1(b2(x1))))) (30)
b1(b1(x1)) → b0(c1(b1(x1))) (31)
b1(b0(x1)) → b0(c1(b0(x1))) (32)
b1(b2(x1)) → b0(c1(b2(x1))) (33)
c1(b1(x1)) → c0(c1(b1(x1))) (34)
c1(b0(x1)) → c0(c1(b0(x1))) (35)
c1(b2(x1)) → c0(c1(b2(x1))) (36)
a1(b1(x1)) → a0(c1(b1(x1))) (37)
a1(b0(x1)) → a0(c1(b0(x1))) (38)
a1(b2(x1)) → a0(c1(b2(x1))) (39)

1.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 +
0
[c2(x1)] = x1 +
2
[b0(x1)] = x1 +
0
[b1(x1)] = x1 +
0
[b2(x1)] = x1 +
0
[a0(x1)] = x1 +
0
[a1(x1)] = x1 +
0
[a2(x1)] = x1 +
1
all of the following rules can be deleted.
b2(a2(a1(x1))) → b2(a0(c1(b2(a1(x1))))) (13)
b2(a2(a0(x1))) → b2(a0(c1(b2(a0(x1))))) (14)
b2(a2(a2(x1))) → b2(a0(c1(b2(a2(x1))))) (15)
c2(a2(a1(x1))) → c2(a0(c1(b2(a1(x1))))) (16)
c2(a2(a0(x1))) → c2(a0(c1(b2(a0(x1))))) (17)
c2(a2(a2(x1))) → c2(a0(c1(b2(a2(x1))))) (18)
a2(a2(a1(x1))) → a2(a0(c1(b2(a1(x1))))) (19)
a2(a2(a0(x1))) → a2(a0(c1(b2(a0(x1))))) (20)
a2(a2(a2(x1))) → a2(a0(c1(b2(a2(x1))))) (21)
b1(b0(c2(a1(x1)))) → b2(a1(b2(a1(b1(x1))))) (22)
b1(b0(c2(a0(x1)))) → b2(a1(b2(a1(b0(x1))))) (23)
b1(b0(c2(a2(x1)))) → b2(a1(b2(a1(b2(x1))))) (24)
c1(b0(c2(a2(x1)))) → c2(a1(b2(a1(b2(x1))))) (27)
a1(b0(c2(a1(x1)))) → a2(a1(b2(a1(b1(x1))))) (28)
a1(b0(c2(a0(x1)))) → a2(a1(b2(a1(b0(x1))))) (29)
a1(b0(c2(a2(x1)))) → a2(a1(b2(a1(b2(x1))))) (30)

1.1.1.1.1 R is empty

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

1.2 Closure Under Flat Contexts

Using the flat contexts

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

We obtain the transformed TRS
c(b(c(a(x1)))) → c(a(b(a(b(x1))))) (7)
b(b(c(a(x1)))) → b(a(b(a(b(x1))))) (9)
a(b(c(a(x1)))) → a(a(b(a(b(x1))))) (11)
c(b(x1)) → c(c(b(x1))) (8)
b(b(x1)) → b(c(b(x1))) (10)
a(b(x1)) → a(c(b(x1))) (12)

1.2.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(c2(a1(x1)))) → b2(a1(b2(a1(b1(x1))))) (22)
b1(b0(c2(a0(x1)))) → b2(a1(b2(a1(b0(x1))))) (23)
b1(b0(c2(a2(x1)))) → b2(a1(b2(a1(b2(x1))))) (24)
c1(b0(c2(a1(x1)))) → c2(a1(b2(a1(b1(x1))))) (25)
c1(b0(c2(a0(x1)))) → c2(a1(b2(a1(b0(x1))))) (26)
c1(b0(c2(a2(x1)))) → c2(a1(b2(a1(b2(x1))))) (27)
a1(b0(c2(a1(x1)))) → a2(a1(b2(a1(b1(x1))))) (28)
a1(b0(c2(a0(x1)))) → a2(a1(b2(a1(b0(x1))))) (29)
a1(b0(c2(a2(x1)))) → a2(a1(b2(a1(b2(x1))))) (30)
b1(b1(x1)) → b0(c1(b1(x1))) (31)
b1(b0(x1)) → b0(c1(b0(x1))) (32)
b1(b2(x1)) → b0(c1(b2(x1))) (33)
c1(b1(x1)) → c0(c1(b1(x1))) (34)
c1(b0(x1)) → c0(c1(b0(x1))) (35)
c1(b2(x1)) → c0(c1(b2(x1))) (36)
a1(b1(x1)) → a0(c1(b1(x1))) (37)
a1(b0(x1)) → a0(c1(b0(x1))) (38)
a1(b2(x1)) → a0(c1(b2(x1))) (39)

1.2.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 +
0
[c2(x1)] = x1 +
2
[b0(x1)] = x1 +
0
[b1(x1)] = x1 +
0
[b2(x1)] = x1 +
0
[a0(x1)] = x1 +
0
[a1(x1)] = x1 +
0
[a2(x1)] = x1 +
1
all of the following rules can be deleted.
b1(b0(c2(a1(x1)))) → b2(a1(b2(a1(b1(x1))))) (22)
b1(b0(c2(a0(x1)))) → b2(a1(b2(a1(b0(x1))))) (23)
b1(b0(c2(a2(x1)))) → b2(a1(b2(a1(b2(x1))))) (24)
c1(b0(c2(a2(x1)))) → c2(a1(b2(a1(b2(x1))))) (27)
a1(b0(c2(a1(x1)))) → a2(a1(b2(a1(b1(x1))))) (28)
a1(b0(c2(a0(x1)))) → a2(a1(b2(a1(b0(x1))))) (29)
a1(b0(c2(a2(x1)))) → a2(a1(b2(a1(b2(x1))))) (30)

1.2.1.1.1 Rule Removal

Using the matrix interpretations of dimension 1 with strict dimension 1 over the naturals
[c0(x1)] =
1
· x1 +
0
[c1(x1)] =
1
· x1 +
0
[c2(x1)] =
2
· x1 +
1
[b0(x1)] =
2
· x1 +
0
[b1(x1)] =
2
· x1 +
0
[b2(x1)] =
1
· x1 +
0
[a0(x1)] =
1
· x1 +
0
[a1(x1)] =
1
· x1 +
0
all of the following rules can be deleted.
c1(b0(c2(a1(x1)))) → c2(a1(b2(a1(b1(x1))))) (25)
c1(b0(c2(a0(x1)))) → c2(a1(b2(a1(b0(x1))))) (26)

1.2.1.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 +
0
[b0(x1)] = x1 +
0
[b1(x1)] = x1 +
1
[b2(x1)] = x1 +
0
[a0(x1)] = x1 +
0
[a1(x1)] = x1 +
1
all of the following rules can be deleted.
b1(b1(x1)) → b0(c1(b1(x1))) (31)
b1(b0(x1)) → b0(c1(b0(x1))) (32)
b1(b2(x1)) → b0(c1(b2(x1))) (33)
a1(b1(x1)) → a0(c1(b1(x1))) (37)
a1(b0(x1)) → a0(c1(b0(x1))) (38)
a1(b2(x1)) → a0(c1(b2(x1))) (39)

1.2.1.1.1.1.1 R is empty

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