YES We show the termination of the TRS R: *(x,*(y,z)) -> *(otimes(x,y),z) *(|1|(),y) -> y *(+(x,y),z) -> oplus(*(x,z),*(y,z)) *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: *#(x,*(y,z)) -> *#(otimes(x,y),z) p2: *#(+(x,y),z) -> *#(x,z) p3: *#(+(x,y),z) -> *#(y,z) p4: *#(x,oplus(y,z)) -> *#(x,y) p5: *#(x,oplus(y,z)) -> *#(x,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The estimated dependency graph contains the following SCCs: {p1, p2, p3, p4, p5} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: *#(x,*(y,z)) -> *#(otimes(x,y),z) p2: *#(x,oplus(y,z)) -> *#(x,z) p3: *#(x,oplus(y,z)) -> *#(x,y) p4: *#(+(x,y),z) -> *#(y,z) p5: *#(+(x,y),z) -> *#(x,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: lexicographic order interpretations: *#_A(x1,x2) = x2 *_A(x1,x2) = x2 + (2,1) otimes_A(x1,x2) = (1,2) oplus_A(x1,x2) = ((1,0),(1,1)) x1 + x2 + (1,1) +_A(x1,x2) = (1,1) precedence: otimes > oplus > *# > * = + partial status: pi(*#) = [2] pi(*) = [2] pi(otimes) = [] pi(oplus) = [1, 2] pi(+) = [] The next rules are strictly ordered: p2 We remove them from the problem. -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: *#(x,*(y,z)) -> *#(otimes(x,y),z) p2: *#(x,oplus(y,z)) -> *#(x,y) p3: *#(+(x,y),z) -> *#(y,z) p4: *#(+(x,y),z) -> *#(x,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The estimated dependency graph contains the following SCCs: {p1, p2, p3, p4} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: *#(x,*(y,z)) -> *#(otimes(x,y),z) p2: *#(x,oplus(y,z)) -> *#(x,y) p3: *#(+(x,y),z) -> *#(x,z) p4: *#(+(x,y),z) -> *#(y,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: lexicographic order interpretations: *#_A(x1,x2) = ((1,0),(1,0)) x2 + (2,2) *_A(x1,x2) = ((1,0),(1,1)) x1 + x2 + (3,3) otimes_A(x1,x2) = (1,1) oplus_A(x1,x2) = ((1,0),(0,0)) x1 + (1,1) +_A(x1,x2) = ((0,0),(1,0)) x1 + (1,1) precedence: * = otimes = oplus > *# = + partial status: pi(*#) = [] pi(*) = [2] pi(otimes) = [] pi(oplus) = [] pi(+) = [] The next rules are strictly ordered: p2 We remove them from the problem. -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: *#(x,*(y,z)) -> *#(otimes(x,y),z) p2: *#(+(x,y),z) -> *#(x,z) p3: *#(+(x,y),z) -> *#(y,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The estimated dependency graph contains the following SCCs: {p2, p3} {p1} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: *#(+(x,y),z) -> *#(y,z) p2: *#(+(x,y),z) -> *#(x,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: lexicographic order interpretations: *#_A(x1,x2) = ((1,0),(1,1)) x1 + (1,1) +_A(x1,x2) = ((1,0),(1,1)) x1 + ((1,0),(1,1)) x2 + (2,2) precedence: + > *# partial status: pi(*#) = [] pi(+) = [2] The next rules are strictly ordered: p2 We remove them from the problem. -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: *#(+(x,y),z) -> *#(y,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(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: *#(+(x,y),z) -> *#(y,z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: lexicographic order interpretations: *#_A(x1,x2) = ((1,0),(0,0)) x1 + (1,1) +_A(x1,x2) = ((1,0),(1,1)) x1 + ((1,0),(0,0)) x2 + (2,2) precedence: *# = + partial status: pi(*#) = [] pi(+) = [1] The next rules are strictly ordered: p1 We remove them from the problem. Then no dependency pair remains. -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: *#(x,*(y,z)) -> *#(otimes(x,y),z) and R consists of: r1: *(x,*(y,z)) -> *(otimes(x,y),z) r2: *(|1|(),y) -> y r3: *(+(x,y),z) -> oplus(*(x,z),*(y,z)) r4: *(x,oplus(y,z)) -> oplus(*(x,y),*(x,z)) The set of usable rules consists of (no rules) Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: lexicographic order interpretations: *#_A(x1,x2) = x2 + (1,1) *_A(x1,x2) = x2 + (2,2) otimes_A(x1,x2) = (1,1) precedence: *# = * = otimes partial status: pi(*#) = [2] pi(*) = [] pi(otimes) = [] The next rules are strictly ordered: p1 We remove them from the problem. Then no dependency pair remains.