YES We show the termination of R/S, where R is f(c(s(x),y)) -> f(c(x,s(y))) f(c(s(x),s(y))) -> g(c(x,y)) g(c(x,s(y))) -> g(c(s(x),y)) g(c(s(x),s(y))) -> f(c(x,y)) and S is: rand(x) -> x rand(x) -> rand(s(x)) 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#(c(s(x),y)) -> f#(c(x,s(y))) f#(c(s(x),s(y))) -> g#(c(x,y)) g#(c(x,s(y))) -> g#(c(s(x),y)) g#(c(s(x),s(y))) -> f#(c(x,y)) and Q consists of the rules: f(c(s(x),y)) -> f(c(x,s(y))) f(c(s(x),s(y))) -> g(c(x,y)) g(c(x,s(y))) -> g(c(s(x),y)) g(c(s(x),s(y))) -> f(c(x,y)) rand(x) -> x rand(x) -> rand(s(x)) The weakly monotone algebra (N^3, >_lex) with f#_A((x1,y1,z1)) = (x1, y1, 0) c_A((x1,y1,z1),(x2,y2,z2)) = (x1 + x2, y1 + y2 + 1, z2 + 1) s_A((x1,y1,z1)) = (x1, y1 + 1, z1 + 1) g#_A((x1,y1,z1)) = (x1, y1 + 1, z1) f_A((x1,y1,z1)) = (x1, 0, 0) g_A((x1,y1,z1)) = (x1, 0, 0) rand_A((x1,y1,z1)) = (x1 + 1, 1, 0) strictly orients the following dependency pairs: f#(c(s(x),s(y))) -> g#(c(x,y)) g#(c(x,s(y))) -> g#(c(s(x),y)) g#(c(s(x),s(y))) -> f#(c(x,y)) We remove them from the set of dependency pairs. The weakly monotone algebra (N^3, >_lex) with f#_A((x1,y1,z1)) = (x1, y1, z1) c_A((x1,y1,z1),(x2,y2,z2)) = (x1 + x2 + 1, y1 + 1, 1) s_A((x1,y1,z1)) = (x1, y1 + 1, z1 + 1) f_A((x1,y1,z1)) = (x1, 0, 0) g_A((x1,y1,z1)) = (x1, 0, 0) rand_A((x1,y1,z1)) = (x1 + 1, 1, 0) strictly orients the following dependency pairs: f#(c(s(x),y)) -> f#(c(x,s(y))) We remove them from the set of dependency pairs. No dependency pair remains.