YES We show the termination of the TRS R: xor(x,F()) -> x xor(x,neg(x)) -> F() and(x,T()) -> x and(x,F()) -> F() and(x,x) -> x and(xor(x,y),z) -> xor(and(x,z),and(y,z)) xor(x,x) -> F() impl(x,y) -> xor(and(x,y),xor(x,T())) or(x,y) -> xor(and(x,y),xor(x,y)) equiv(x,y) -> xor(x,xor(y,T())) neg(x) -> xor(x,T()) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: and#(xor(x,y),z) -> xor#(and(x,z),and(y,z)) p2: and#(xor(x,y),z) -> and#(x,z) p3: and#(xor(x,y),z) -> and#(y,z) p4: impl#(x,y) -> xor#(and(x,y),xor(x,T())) p5: impl#(x,y) -> and#(x,y) p6: impl#(x,y) -> xor#(x,T()) p7: or#(x,y) -> xor#(and(x,y),xor(x,y)) p8: or#(x,y) -> and#(x,y) p9: or#(x,y) -> xor#(x,y) p10: equiv#(x,y) -> xor#(x,xor(y,T())) p11: equiv#(x,y) -> xor#(y,T()) p12: neg#(x) -> xor#(x,T()) and R consists of: r1: xor(x,F()) -> x r2: xor(x,neg(x)) -> F() r3: and(x,T()) -> x r4: and(x,F()) -> F() r5: and(x,x) -> x r6: and(xor(x,y),z) -> xor(and(x,z),and(y,z)) r7: xor(x,x) -> F() r8: impl(x,y) -> xor(and(x,y),xor(x,T())) r9: or(x,y) -> xor(and(x,y),xor(x,y)) r10: equiv(x,y) -> xor(x,xor(y,T())) r11: neg(x) -> xor(x,T()) The estimated dependency graph contains the following SCCs: {p2, p3} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: and#(xor(x,y),z) -> and#(x,z) p2: and#(xor(x,y),z) -> and#(y,z) and R consists of: r1: xor(x,F()) -> x r2: xor(x,neg(x)) -> F() r3: and(x,T()) -> x r4: and(x,F()) -> F() r5: and(x,x) -> x r6: and(xor(x,y),z) -> xor(and(x,z),and(y,z)) r7: xor(x,x) -> F() r8: impl(x,y) -> xor(and(x,y),xor(x,T())) r9: or(x,y) -> xor(and(x,y),xor(x,y)) r10: equiv(x,y) -> xor(x,xor(y,T())) r11: neg(x) -> xor(x,T()) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >G) base order 1: max/plus interpretation on natural numbers: and#_A(x1,x2) = x2 + 1 xor_A(x1,x2) = max{7, x1 + 2} base order 2: marked-algebra reduction triple (>=A, >=A!, >A!): max/plus interpretation on natural numbers: and#_A(x1,x2) = 0 xor_A(x1,x2) = max{x1, x2 + 4} and#!_A(x1,x2) = max{5, x1 + 2} xor!_A(x1,x2) = max{4, x1 - 6, x2 - 8} partial status: pi(and#) = [] pi(xor) = [1] The following rules are removed: p2 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: and#(xor(x,y),z) -> and#(x,z) and R consists of: r1: xor(x,F()) -> x r2: xor(x,neg(x)) -> F() r3: and(x,T()) -> x r4: and(x,F()) -> F() r5: and(x,x) -> x r6: and(xor(x,y),z) -> xor(and(x,z),and(y,z)) r7: xor(x,x) -> F() r8: impl(x,y) -> xor(and(x,y),xor(x,T())) r9: or(x,y) -> xor(and(x,y),xor(x,y)) r10: equiv(x,y) -> xor(x,xor(y,T())) r11: neg(x) -> xor(x,T()) The estimated dependency graph contains the following SCCs: {p1} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: and#(xor(x,y),z) -> and#(x,z) and R consists of: r1: xor(x,F()) -> x r2: xor(x,neg(x)) -> F() r3: and(x,T()) -> x r4: and(x,F()) -> F() r5: and(x,x) -> x r6: and(xor(x,y),z) -> xor(and(x,z),and(y,z)) r7: xor(x,x) -> F() r8: impl(x,y) -> xor(and(x,y),xor(x,T())) r9: or(x,y) -> xor(and(x,y),xor(x,y)) r10: equiv(x,y) -> xor(x,xor(y,T())) r11: neg(x) -> xor(x,T()) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >G) base order 1: max/plus interpretation on natural numbers: and#_A(x1,x2) = x1 + 13 xor_A(x1,x2) = max{x1 + 14, x2 - 11} base order 2: marked-algebra reduction triple (>=A, >=A!, >A!): max/plus interpretation on natural numbers: and#_A(x1,x2) = 0 xor_A(x1,x2) = max{10, x1 - 12, x2 - 11} and#!_A(x1,x2) = x2 + 5 xor!_A(x1,x2) = max{3, x1 - 8, x2 - 16} partial status: pi(and#) = [1] pi(xor) = [1] The following rules are removed: p1 Then no dependency pair remains.