Certification Problem

Input (TPDB TRS_Standard/Der95/21)

The rewrite relation of the following TRS is considered.

p(s(x)) x (1)
fact(0) s(0) (2)
fact(s(x)) *(s(x),fact(p(s(x)))) (3)
*(0,y) 0 (4)
*(s(x),y) +(*(x,y),y) (5)
+(x,0) x (6)
+(x,s(y)) s(+(x,y)) (7)

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.
*#(s(x),y) +#(*(x,y),y) (8)
fact#(s(x)) p#(s(x)) (9)
fact#(s(x)) fact#(p(s(x))) (10)
*#(s(x),y) *#(x,y) (11)
+#(x,s(y)) +#(x,y) (12)
fact#(s(x)) *#(s(x),fact(p(s(x)))) (13)

1.1 Dependency Graph Processor

The dependency pairs are split into 3 components.