Certification Problem

Input (TPDB TRS_Standard/SK90/2.12)

The rewrite relation of the following TRS is considered.

+(0,y) y (1)
+(s(x),y) s(+(x,y)) (2)
+(p(x),y) p(+(x,y)) (3)
minus(0) 0 (4)
minus(s(x)) p(minus(x)) (5)
minus(p(x)) s(minus(x)) (6)
*(0,y) 0 (7)
*(s(x),y) +(*(x,y),y) (8)
*(p(x),y) +(*(x,y),minus(y)) (9)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the
prec(+) = 2 stat(+) = mul
prec(0) = 3 stat(0) = mul
prec(s) = 0 stat(s) = mul
prec(p) = 1 stat(p) = mul
prec(minus) = 3 stat(minus) = mul
prec(*) = 3 stat(*) = mul

π(+) = [1,2]
π(0) = []
π(s) = [1]
π(p) = [1]
π(minus) = [1]
π(*) = [1,2]

all of the following rules can be deleted.
+(0,y) y (1)
+(s(x),y) s(+(x,y)) (2)
+(p(x),y) p(+(x,y)) (3)
minus(0) 0 (4)
minus(s(x)) p(minus(x)) (5)
minus(p(x)) s(minus(x)) (6)
*(0,y) 0 (7)
*(s(x),y) +(*(x,y),y) (8)
*(p(x),y) +(*(x,y),minus(y)) (9)

1.1 R is empty

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