Certification Problem

Input (TPDB TRS_Equational/Mixed_C/AC45)

The rewrite relation of the following equational TRS is considered.

eq(0,0) true (1)
eq(0,s(x)) false (2)
eq(s(x),0) false (3)
eq(s(x),s(y)) eq(x,y) (4)
rm(n,nil) nil (5)
rm(n,add(m,x)) if_rm(eq(n,m),n,add(m,x)) (6)
if_rm(true,n,add(m,x)) rm(n,x) (7)
if_rm(false,n,add(m,x)) add(m,rm(n,x)) (8)
purge(nil) nil (9)
purge(add(n,x)) add(n,purge(rm(n,x))) (10)

Commutative symbols: eq

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by NaTT @ termCOMP 2023)

1 AC Dependency Pair Transformation