YES We show the termination of the TRS R: f(c(a(),z,x)) -> b(a(),z) b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) b(y,z) -> z -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: f#(c(a(),z,x)) -> b#(a(),z) p2: b#(x,b(z,y)) -> f#(b(f(f(z)),c(x,z,y))) p3: b#(x,b(z,y)) -> b#(f(f(z)),c(x,z,y)) p4: b#(x,b(z,y)) -> f#(f(z)) p5: b#(x,b(z,y)) -> f#(z) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> z The estimated dependency graph contains the following SCCs: {p1, p2, p4, p5} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: f#(c(a(),z,x)) -> b#(a(),z) p2: b#(x,b(z,y)) -> f#(z) p3: b#(x,b(z,y)) -> f#(f(z)) p4: b#(x,b(z,y)) -> f#(b(f(f(z)),c(x,z,y))) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> z The set of usable rules consists of r1, r2, r3 Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: standard order interpretations: f#_A(x1) = ((0,1),(0,0)) x1 + (1,2) c_A(x1,x2,x3) = ((0,0),(1,1)) x2 + (1,3) a_A() = (2,1) b#_A(x1,x2) = ((1,1),(0,0)) x2 + (3,2) b_A(x1,x2) = ((1,1),(0,0)) x1 + ((1,0),(1,1)) x2 + (17,4) f_A(x1) = ((0,1),(0,1)) x1 + (25,15) precedence: f# = a = b# = b = f > c partial status: pi(f#) = [] pi(c) = [] pi(a) = [] pi(b#) = [] pi(b) = [] pi(f) = [] The next rules are strictly ordered: p3 We remove them from the problem. -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: f#(c(a(),z,x)) -> b#(a(),z) p2: b#(x,b(z,y)) -> f#(z) p3: b#(x,b(z,y)) -> f#(b(f(f(z)),c(x,z,y))) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> 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: f#(c(a(),z,x)) -> b#(a(),z) p2: b#(x,b(z,y)) -> f#(b(f(f(z)),c(x,z,y))) p3: b#(x,b(z,y)) -> f#(z) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> z The set of usable rules consists of r1, r2, r3 Take the reduction pair: weighted path order base order: matrix interpretations: carrier: N^2 order: standard order interpretations: f#_A(x1) = ((1,0),(1,0)) x1 + (1,4) c_A(x1,x2,x3) = ((1,1),(0,0)) x2 + ((0,1),(0,0)) x3 + (3,0) a_A() = (1,2) b#_A(x1,x2) = ((0,1),(0,0)) x1 + ((1,1),(1,1)) x2 + (2,4) b_A(x1,x2) = ((0,0),(1,1)) x1 + ((1,1),(1,1)) x2 + (2,3) f_A(x1) = ((1,0),(1,0)) x1 + (2,3) precedence: b = f > c = a > f# = b# partial status: pi(f#) = [] pi(c) = [] pi(a) = [] pi(b#) = [] pi(b) = [] pi(f) = [] 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: f#(c(a(),z,x)) -> b#(a(),z) p2: b#(x,b(z,y)) -> f#(z) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> 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: f#(c(a(),z,x)) -> b#(a(),z) p2: b#(x,b(z,y)) -> f#(z) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> 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: standard order interpretations: f#_A(x1) = ((1,0),(1,1)) x1 + (0,1) c_A(x1,x2,x3) = ((0,0),(1,1)) x1 + x2 + ((1,1),(1,1)) x3 + (3,0) a_A() = (1,1) b#_A(x1,x2) = x1 + x2 + (1,1) b_A(x1,x2) = ((1,1),(1,1)) x1 + ((1,1),(1,0)) x2 + (0,1) precedence: c > b# > f# = a = b partial status: pi(f#) = [1] pi(c) = [3] pi(a) = [] pi(b#) = [1] pi(b) = [1] 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: f#(c(a(),z,x)) -> b#(a(),z) and R consists of: r1: f(c(a(),z,x)) -> b(a(),z) r2: b(x,b(z,y)) -> f(b(f(f(z)),c(x,z,y))) r3: b(y,z) -> z The estimated dependency graph contains the following SCCs: (no SCCs)