YES We show the termination of R/S, where R is f(a,g(y),z) -> f(b,g(y),g(y)) f(b,g(y),z) -> f(a,y,z) a -> b and S is: f(x,y,z) -> f(x,y,g(z)) Since R almost dominates S and S is non-duplicating, it is enough to show finiteness of (P, Q). Here P consists of the dependency pairs f#(a,g(y),z) -> f#(b,g(y),g(y)) f#(b,g(y),z) -> f#(a,y,z) f#(b,g(y),z) -> a# and Q consists of the rules: f(a,g(y),z) -> f(b,g(y),g(y)) f(b,g(y),z) -> f(a,y,z) a -> b f(x,y,z) -> f(x,y,g(z)) f#(x,y,z) -> f#(x,y,g(z)) The weakly monotone algebra (N^3, >_lex) with f#_A((x1,y1,z1),(x2,y2,z2),(x3,y3,z3)) = (x2, y2, z2) a_A = (2, 1, 1) g_A((x1,y1,z1)) = (x1 + 1, y1 + 1, z1 + 1) b_A = (1, 2, 2) a#_A = (0, 1, 1) f_A((x1,y1,z1),(x2,y2,z2),(x3,y3,z3)) = (x2, y2, z2) strictly orients the following dependency pairs: f#(b,g(y),z) -> f#(a,y,z) f#(b,g(y),z) -> a# We remove them from the set of dependency pairs. The weakly monotone algebra (N^3, >_lex) with f#_A((x1,y1,z1),(x2,y2,z2),(x3,y3,z3)) = (x1, y1, 0) a_A = (2, 2, 1) g_A((x1,y1,z1)) = (1, 0, 0) b_A = (1, 1, 1) f_A((x1,y1,z1),(x2,y2,z2),(x3,y3,z3)) = (0, 0, 0) strictly orients the following dependency pairs: f#(a,g(y),z) -> f#(b,g(y),g(y)) We remove them from the set of dependency pairs. No dependency pair remains.