Certification Problem

Input (TPDB SRS_Standard/Secret_05_SRS/aprove2)

The rewrite relation of the following TRS is considered.

g(h(x1)) g(f(s(x1))) (1)
f(s(s(s(x1)))) h(f(s(h(x1)))) (2)
f(h(x1)) h(f(s(h(x1)))) (3)
h(x1) x1 (4)
f(f(s(s(x1)))) s(s(s(f(f(x1))))) (5)
b(a(x1)) a(b(x1)) (6)
a(a(a(x1))) b(a(a(b(x1)))) (7)
b(b(b(b(x1)))) a(x1) (8)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by ttt2 @ termCOMP 2023)

1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
h(g(x1)) s(f(g(x1))) (9)
s(s(s(f(x1)))) h(s(f(h(x1)))) (10)
h(f(x1)) h(s(f(h(x1)))) (11)
h(x1) x1 (4)
s(s(f(f(x1)))) f(f(s(s(s(x1))))) (12)
a(b(x1)) b(a(x1)) (13)
a(a(a(x1))) b(a(a(b(x1)))) (7)
b(b(b(b(x1)))) a(x1) (8)

1.1 Rule Removal

Using the linear polynomial interpretation over the arctic semiring over the integers
[a(x1)] = 8 · x1 + -∞
[g(x1)] = 0 · x1 + -∞
[f(x1)] = 0 · x1 + -∞
[b(x1)] = 2 · x1 + -∞
[h(x1)] = 0 · x1 + -∞
[s(x1)] = 0 · x1 + -∞
all of the following rules can be deleted.
a(a(a(x1))) b(a(a(b(x1)))) (7)

1.1.1 Rule Removal

Using the linear polynomial interpretation over the arctic semiring over the integers
[a(x1)] = 0 · x1 + -∞
[g(x1)] = 5 · x1 + -∞
[f(x1)] = 0 · x1 + -∞
[b(x1)] = 6 · x1 + -∞
[h(x1)] = 0 · x1 + -∞
[s(x1)] = 0 · x1 + -∞
all of the following rules can be deleted.
b(b(b(b(x1)))) a(x1) (8)

1.1.1.1 Rule Removal

Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1 over the naturals
[a(x1)] =
1 1 1
0 1 1
0 1 0
· x1 +
0 0 0
0 0 0
1 0 0
[g(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[f(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[b(x1)] =
1 0 0
0 1 1
0 1 0
· x1 +
0 0 0
0 0 0
1 0 0
[h(x1)] =
1 0 0
0 1 0
0 0 1
· x1 +
0 0 0
0 0 0
0 0 0
[s(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
all of the following rules can be deleted.
a(b(x1)) b(a(x1)) (13)

1.1.1.1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
h#(g(x1)) s#(f(g(x1))) (14)
s#(s(s(f(x1)))) h#(x1) (15)
s#(s(s(f(x1)))) s#(f(h(x1))) (16)
s#(s(s(f(x1)))) h#(s(f(h(x1)))) (17)
h#(f(x1)) h#(x1) (18)
h#(f(x1)) s#(f(h(x1))) (19)
h#(f(x1)) h#(s(f(h(x1)))) (20)
s#(s(f(f(x1)))) s#(x1) (21)
s#(s(f(f(x1)))) s#(s(x1)) (22)
s#(s(f(f(x1)))) s#(s(s(x1))) (23)

1.1.1.1.1.1 Dependency Graph Processor

The dependency pairs are split into 2 components.