Certification Problem

Input (TPDB TRS_Standard/Transformed_CSR_04/Ex4_Zan97_FR)

The rewrite relation of the following TRS is considered.

f(X) cons(X,n__f(n__g(X))) (1)
g(0) s(0) (2)
g(s(X)) s(s(g(X))) (3)
sel(0,cons(X,Y)) X (4)
sel(s(X),cons(Y,Z)) sel(X,activate(Z)) (5)
f(X) n__f(X) (6)
g(X) n__g(X) (7)
activate(n__f(X)) f(activate(X)) (8)
activate(n__g(X)) g(activate(X)) (9)
activate(X) X (10)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by NaTT @ termCOMP 2023)

1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
activate#(n__g(X)) activate#(X) (11)
activate#(n__f(X)) f#(activate(X)) (12)
activate#(n__f(X)) activate#(X) (13)
g#(s(X)) g#(X) (14)
sel#(s(X),cons(Y,Z)) sel#(X,activate(Z)) (15)
activate#(n__g(X)) g#(activate(X)) (16)
sel#(s(X),cons(Y,Z)) activate#(Z) (17)

1.1 Dependency Graph Processor

The dependency pairs are split into 3 components.