Certification Problem

Input (TPDB TRS_Standard/TCT_12/polycounter-5)

The rewrite relation of the following TRS is considered.

f(s(x1),x2,x3,x4,x5) f(x1,x2,x3,x4,x5) (1)
f(0,s(x2),x3,x4,x5) f(x2,x2,x3,x4,x5) (2)
f(0,0,s(x3),x4,x5) f(x3,x3,x3,x4,x5) (3)
f(0,0,0,s(x4),x5) f(x4,x4,x4,x4,x5) (4)
f(0,0,0,0,s(x5)) f(x5,x5,x5,x5,x5) (5)
f(0,0,0,0,0) 0 (6)

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.
f#(0,0,0,0,s(x5)) f#(x5,x5,x5,x5,x5) (7)
f#(0,0,0,s(x4),x5) f#(x4,x4,x4,x4,x5) (8)
f#(0,0,s(x3),x4,x5) f#(x3,x3,x3,x4,x5) (9)
f#(0,s(x2),x3,x4,x5) f#(x2,x2,x3,x4,x5) (10)
f#(s(x1),x2,x3,x4,x5) f#(x1,x2,x3,x4,x5) (11)

1.1 Dependency Graph Processor

The dependency pairs are split into 1 component.