Certification Problem

Input (TPDB TRS_Equational/Mixed_AC_and_C/AC47)

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)
or(true,y) true (5)
or(false,y) y (6)
union(empty,h) h (7)
union(edge(x,y,i),h) edge(x,y,union(i,h)) (8)
reach(x,y,empty,h) false (9)
reach(x,y,edge(u,v,i),h) if_reach_1(eq(x,u),x,y,edge(u,v,i),h) (10)
if_reach_1(true,x,y,edge(u,v,i),h) if_reach_2(eq(y,v),x,y,edge(u,v,i),h) (11)
if_reach_1(false,x,y,edge(u,v,i),h) reach(x,y,i,edge(u,v,h)) (12)
if_reach_2(true,x,y,edge(u,v,i),h) true (13)
if_reach_2(false,x,y,edge(u,v,i),h) or(reach(x,y,i,h),reach(v,y,union(i,h),empty)) (14)

Associative symbols: or

Commutative symbols: eq, or

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by NaTT @ termCOMP 2023)

1 AC Dependency Pair Transformation