YES We show the termination of the TRS R: f(a(),a()) -> f(a(),b()) f(a(),b()) -> f(s(a()),c()) f(s(X),c()) -> f(X,c()) f(c(),c()) -> f(a(),a()) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: f#(a(),a()) -> f#(a(),b()) p2: f#(a(),b()) -> f#(s(a()),c()) p3: f#(s(X),c()) -> f#(X,c()) p4: f#(c(),c()) -> f#(a(),a()) and R consists of: r1: f(a(),a()) -> f(a(),b()) r2: f(a(),b()) -> f(s(a()),c()) r3: f(s(X),c()) -> f(X,c()) r4: f(c(),c()) -> f(a(),a()) 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: f#(a(),a()) -> f#(a(),b()) p2: f#(a(),b()) -> f#(s(a()),c()) p3: f#(s(X),c()) -> f#(X,c()) p4: f#(c(),c()) -> f#(a(),a()) and R consists of: r1: f(a(),a()) -> f(a(),b()) r2: f(a(),b()) -> f(s(a()),c()) r3: f(s(X),c()) -> f(X,c()) r4: f(c(),c()) -> f(a(),a()) 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,x2) = ((0,1),(0,1)) x1 + ((1,0),(1,0)) x2 a_A() = (2,1) b_A() = (2,1) s_A(x1) = ((0,0),(0,1)) x1 + (1,0) c_A() = (2,2) precedence: f# > c > a > b = s partial status: pi(f#) = [] pi(a) = [] pi(b) = [] pi(s) = [] pi(c) = [] The next rules are strictly ordered: p4 We remove them from the problem. -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: f#(a(),a()) -> f#(a(),b()) p2: f#(a(),b()) -> f#(s(a()),c()) p3: f#(s(X),c()) -> f#(X,c()) and R consists of: r1: f(a(),a()) -> f(a(),b()) r2: f(a(),b()) -> f(s(a()),c()) r3: f(s(X),c()) -> f(X,c()) r4: f(c(),c()) -> f(a(),a()) The estimated dependency graph contains the following SCCs: {p3} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: f#(s(X),c()) -> f#(X,c()) and R consists of: r1: f(a(),a()) -> f(a(),b()) r2: f(a(),b()) -> f(s(a()),c()) r3: f(s(X),c()) -> f(X,c()) r4: f(c(),c()) -> f(a(),a()) 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,x2) = x1 + (1,2) s_A(x1) = x1 + (2,2) c_A() = (4,1) precedence: f# = s = c partial status: pi(f#) = [1] pi(s) = [1] pi(c) = [] The next rules are strictly ordered: p1 We remove them from the problem. Then no dependency pair remains.