YES We show the termination of the TRS R: g(s(x)) -> f(x) f(|0|()) -> s(|0|()) f(s(x)) -> s(s(g(x))) g(|0|()) -> |0|() -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: g#(s(x)) -> f#(x) p2: f#(s(x)) -> g#(x) and R consists of: r1: g(s(x)) -> f(x) r2: f(|0|()) -> s(|0|()) r3: f(s(x)) -> s(s(g(x))) r4: g(|0|()) -> |0|() The estimated dependency graph contains the following SCCs: {p1, p2} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: g#(s(x)) -> f#(x) p2: f#(s(x)) -> g#(x) and R consists of: r1: g(s(x)) -> f(x) r2: f(|0|()) -> s(|0|()) r3: f(s(x)) -> s(s(g(x))) r4: g(|0|()) -> |0|() The set of usable rules consists of r1, r2, r3, r4 Take the reduction pair: generalized weighted path order (>=MG, >G) base order 1: trivial reduction triple (T x T, T x T, Φ) base order 2: model-based reduction triple (=A, >=A!, >A!): finite algebra: carrier: {0,1} interpretations: g#_A(0) = 0 g#_A(1) = 0 s_A(0) = 0 s_A(1) = 0 f#_A(0) = 0 f#_A(1) = 0 g_A(0) = 0 g_A(1) = 1 f_A(0) = 0 f_A(1) = 0 |0|_A = 1 g#!_A(0) = 0 g#!_A(1) = 0 s!_A(0) = 0 s!_A(1) = 0 f#!_A(0) = 0 f#!_A(1) = 0 g!_A(0) = 1 g!_A(1) = 1 f!_A(0) = 1 f!_A(1) = 1 |0|!_A = 1 partial status: pi(g#) = [1] pi(s) = [1] pi(f#) = [1] pi(g) = [1] pi(f) = [1] pi(|0|) = [] The following rules are removed: p2 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: g#(s(x)) -> f#(x) and R consists of: r1: g(s(x)) -> f(x) r2: f(|0|()) -> s(|0|()) r3: f(s(x)) -> s(s(g(x))) r4: g(|0|()) -> |0|() The estimated dependency graph contains the following SCCs: (no SCCs)