Certification Problem

Input (TPDB TRS_Standard/SK90/2.17)

The rewrite relation of the following TRS is considered.

sum(0) 0 (1)
sum(s(x)) +(sum(x),s(x)) (2)
sum1(0) 0 (3)
sum1(s(x)) s(+(sum1(x),+(x,x))) (4)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the
prec(sum) = 0 stat(sum) = lex
prec(0) = 0 stat(0) = lex
prec(s) = 1 stat(s) = lex
prec(+) = 0 stat(+) = lex
prec(sum1) = 2 stat(sum1) = lex

π(sum) = [1]
π(0) = []
π(s) = [1]
π(+) = [1,2]
π(sum1) = [1]

all of the following rules can be deleted.
sum(0) 0 (1)
sum(s(x)) +(sum(x),s(x)) (2)
sum1(0) 0 (3)
sum1(s(x)) s(+(sum1(x),+(x,x))) (4)

1.1 R is empty

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