Certification Problem

Input (TPDB TRS_Standard/AProVE_10/ex5)

The rewrite relation of the following TRS is considered.

g(0) 0 (1)
g(s(x)) f(g(x)) (2)
f(0) 0 (3)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by ttt2 @ termCOMP 2023)

1 Rule Removal

Using the Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(f) = 0 weight(f) = 2
prec(s) = 1 weight(s) = 2
prec(g) = 3 weight(g) = 2
prec(0) = 2 weight(0) = 1
all of the following rules can be deleted.
g(0) 0 (1)
g(s(x)) f(g(x)) (2)
f(0) 0 (3)

1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.