Certification Problem

Input (TPDB TRS_Innermost/Mixed_innermost/test10)

The rewrite relation of the following TRS is considered.

h(X,Z) f(X,s(X),Z) (1)
f(X,Y,g(X,Y)) h(0,g(X,Y)) (2)
g(0,Y) 0 (3)
g(X,s(Y)) g(X,Y) (4)
The evaluation strategy is innermost.

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the linear polynomial interpretation over the naturals
[h(x1, x2)] = 2 · x1 + 1 · x2
[f(x1, x2, x3)] = 1 · x1 + 1 · x2 + 1 · x3
[s(x1)] = 1 · x1
[g(x1, x2)] = 2 + 2 · x1 + 1 · x2
[0] = 0
all of the following rules can be deleted.
g(0,Y) 0 (3)

1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
h#(X,Z) f#(X,s(X),Z) (5)
f#(X,Y,g(X,Y)) h#(0,g(X,Y)) (6)
g#(X,s(Y)) g#(X,Y) (7)

1.1.1 Dependency Graph Processor

The dependency pairs are split into 1 component.