Certification Problem

Input (TPDB TRS_Standard/AProVE_04/fac)

The rewrite relation of the following TRS is considered.

plus(x,0) x (1)
plus(x,s(y)) s(plus(x,y)) (2)
times(0,y) 0 (3)
times(x,0) 0 (4)
times(s(x),y) plus(times(x,y),y) (5)
p(s(s(x))) s(p(s(x))) (6)
p(s(0)) 0 (7)
fac(s(x)) times(fac(p(s(x))),s(x)) (8)

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.
p#(s(s(x))) p#(s(x)) (9)
fac#(s(x)) fac#(p(s(x))) (10)
fac#(s(x)) p#(s(x)) (11)
fac#(s(x)) times#(fac(p(s(x))),s(x)) (12)
times#(s(x),y) plus#(times(x,y),y) (13)
plus#(x,s(y)) plus#(x,y) (14)
times#(s(x),y) times#(x,y) (15)

1.1 Dependency Graph Processor

The dependency pairs are split into 4 components.