Certification Problem

Input (TPDB TRS_Standard/SK90/4.13)

The rewrite relation of the following TRS is considered.

-(0,y) 0 (1)
-(x,0) x (2)
-(x,s(y)) if(greater(x,s(y)),s(-(x,p(s(y)))),0) (3)
p(0) 0 (4)
p(s(x)) x (5)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
-#(x,s(y)) -#(x,p(s(y))) (6)
-#(x,s(y)) p#(s(y)) (7)

1.1 Dependency Graph Processor

The dependency pairs are split into 1 component.