Certification Problem

Input (TPDB TRS_Standard/AG01/#3.36)

The rewrite relation of the following TRS is considered.

minus(x,0) x (1)
minus(s(x),s(y)) minus(x,y) (2)
f(0) s(0) (3)
f(s(x)) minus(s(x),g(f(x))) (4)
g(0) 0 (5)
g(s(x)) minus(s(x),f(g(x))) (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.
g#(s(x)) minus#(s(x),f(g(x))) (7)
f#(s(x)) g#(f(x)) (8)
f#(s(x)) f#(x) (9)
f#(s(x)) minus#(s(x),g(f(x))) (10)
g#(s(x)) f#(g(x)) (11)
minus#(s(x),s(y)) minus#(x,y) (12)
g#(s(x)) g#(x) (13)

1.1 Dependency Graph Processor

The dependency pairs are split into 2 components.