Certification Problem

Input (TPDB SRS_Standard/Trafo_06/dup17)

The rewrite relation of the following TRS is considered.

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

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by ttt2 @ termCOMP 2023)

1 Rule Removal

Using the linear polynomial interpretation over the naturals
[b(x1)] = 1 · x1 + 16
[a(x1)] = 1 · x1 + 8
[c(x1)] = 2 · x1 + 1
all of the following rules can be deleted.
b(b(b(b(x1)))) a(a(a(a(a(a(x1)))))) (4)
c(c(a(a(x1)))) b(b(a(a(c(c(x1)))))) (5)

1.1 Rule Removal

Using the Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(c) = 2 weight(c) = 2
prec(b) = 1 weight(b) = 2
prec(a) = 0 weight(a) = 2
all of the following rules can be deleted.
a(a(a(a(x1)))) b(b(x1)) (1)
b(b(a(a(x1)))) a(a(b(b(x1)))) (2)
b(b(b(b(c(c(x1)))))) c(c(a(a(x1)))) (3)

1.1.1 R is empty

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