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