YES We show the termination of the TRS R: not(not(x)) -> x not(or(x,y)) -> and(not(x),not(y)) not(and(x,y)) -> or(not(x),not(y)) and(x,or(y,z)) -> or(and(x,y),and(x,z)) and(or(y,z),x) -> or(and(x,y),and(x,z)) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: not#(or(x,y)) -> and#(not(x),not(y)) p2: not#(or(x,y)) -> not#(x) p3: not#(or(x,y)) -> not#(y) p4: not#(and(x,y)) -> not#(x) p5: not#(and(x,y)) -> not#(y) p6: and#(x,or(y,z)) -> and#(x,y) p7: and#(x,or(y,z)) -> and#(x,z) p8: and#(or(y,z),x) -> and#(x,y) p9: and#(or(y,z),x) -> and#(x,z) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p2, p3, p4, p5} {p6, p7, p8, p9} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) p2: not#(and(x,y)) -> not#(x) p3: not#(or(x,y)) -> not#(y) p4: not#(or(x,y)) -> not#(x) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: not#_A(x1) = max{12, x1 + 6} and_A(x1,x2) = max{56, x1 + 23, x2 + 21} or_A(x1,x2) = max{33, x1 + 7, x2 + 11} base order 2: precedence: or > and > not# partial status: pi(not#) = [1] pi(and) = [1] pi(or) = [] The following rules are removed: p4 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) p2: not#(and(x,y)) -> not#(x) p3: not#(or(x,y)) -> not#(y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p1, p2, p3} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) p2: not#(or(x,y)) -> not#(y) p3: not#(and(x,y)) -> not#(x) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of r1 Take the monotone reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: not#_A(x1) = max{28, x1 + 21} and_A(x1,x2) = max{x1 + 39, x2 + 29} or_A(x1,x2) = max{38, x1 + 8, x2 + 21} not_A(x1) = max{10, x1 + 5} base order 2: precedence: and = or > not# = not partial status: pi(not#) = [1] pi(and) = [1, 2] pi(or) = [1, 2] pi(not) = [1] The following rules are removed: p3 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) p2: not#(or(x,y)) -> not#(y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p1, p2} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) p2: not#(or(x,y)) -> not#(y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: not#_A(x1) = x1 + 10 and_A(x1,x2) = max{15, x1 - 2, x2 + 11} or_A(x1,x2) = max{x1 - 8, x2 + 13} base order 2: precedence: or > and > not# partial status: pi(not#) = [1] pi(and) = [2] pi(or) = [] The following rules are removed: p2 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p1} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: not#(and(x,y)) -> not#(y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: not#_A(x1) = x1 + 4 and_A(x1,x2) = max{20, x1 - 2, x2 + 5} base order 2: precedence: and > not# partial status: pi(not#) = [1] pi(and) = [2] The following rules are removed: p1 Then no dependency pair remains. -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) p2: and#(or(y,z),x) -> and#(x,z) p3: and#(or(y,z),x) -> and#(x,y) p4: and#(x,or(y,z)) -> and#(x,z) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: and#_A(x1,x2) = max{x1 + 5, x2 + 6} or_A(x1,x2) = max{x1 + 2, x2 + 3} base order 2: precedence: and# > or partial status: pi(and#) = [1] pi(or) = [] The following rules are removed: p3 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) p2: and#(or(y,z),x) -> and#(x,z) p3: and#(x,or(y,z)) -> and#(x,z) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p1, p2, p3} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) p2: and#(x,or(y,z)) -> and#(x,z) p3: and#(or(y,z),x) -> and#(x,z) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: and#_A(x1,x2) = max{x1 + 9, x2 + 10} or_A(x1,x2) = max{7, x1 + 3, x2 + 3} base order 2: precedence: and# > or partial status: pi(and#) = [1] pi(or) = [] The following rules are removed: p3 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) p2: and#(x,or(y,z)) -> and#(x,z) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p1, p2} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) p2: and#(x,or(y,z)) -> and#(x,z) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: and#_A(x1,x2) = max{4, x2 + 2} or_A(x1,x2) = max{x1 + 3, x2 + 10} base order 2: precedence: or > and# partial status: pi(and#) = [2] pi(or) = [] The following rules are removed: p2 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The estimated dependency graph contains the following SCCs: {p1} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: and#(x,or(y,z)) -> and#(x,y) and R consists of: r1: not(not(x)) -> x r2: not(or(x,y)) -> and(not(x),not(y)) r3: not(and(x,y)) -> or(not(x),not(y)) r4: and(x,or(y,z)) -> or(and(x,y),and(x,z)) r5: and(or(y,z),x) -> or(and(x,y),and(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >MG) base order 1: max/plus interpretation on natural numbers: and#_A(x1,x2) = max{3, x2 + 1} or_A(x1,x2) = max{15, x1 + 13, x2 + 4} base order 2: precedence: and# = or partial status: pi(and#) = [2] pi(or) = [1] The following rules are removed: p1 Then no dependency pair remains.