YES We show the termination of the TRS R: times(x,plus(y,|1|())) -> plus(times(x,plus(y,times(|1|(),|0|()))),x) times(x,|1|()) -> x plus(x,|0|()) -> x times(x,|0|()) -> |0|() -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: times#(x,plus(y,|1|())) -> plus#(times(x,plus(y,times(|1|(),|0|()))),x) p2: times#(x,plus(y,|1|())) -> times#(x,plus(y,times(|1|(),|0|()))) p3: times#(x,plus(y,|1|())) -> plus#(y,times(|1|(),|0|())) p4: times#(x,plus(y,|1|())) -> times#(|1|(),|0|()) and R consists of: r1: times(x,plus(y,|1|())) -> plus(times(x,plus(y,times(|1|(),|0|()))),x) r2: times(x,|1|()) -> x r3: plus(x,|0|()) -> x r4: times(x,|0|()) -> |0|() The estimated dependency graph contains the following SCCs: {p2} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: times#(x,plus(y,|1|())) -> times#(x,plus(y,times(|1|(),|0|()))) and R consists of: r1: times(x,plus(y,|1|())) -> plus(times(x,plus(y,times(|1|(),|0|()))),x) r2: times(x,|1|()) -> x r3: plus(x,|0|()) -> x r4: times(x,|0|()) -> |0|() The set of usable rules consists of 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: lexicographic combination of reduction triples: 1. marked-algebra reduction triple (>=A, >=A!, >A!): max/plus interpretation on natural numbers: times#_A(x1,x2) = max{0, x1 - 41, x2 - 11} plus_A(x1,x2) = max{8, x1 + 6, x2 - 4} |1|_A = 2 times_A(x1,x2) = max{14, x1 - 27, x2 - 17} |0|_A = 14 times#!_A(x1,x2) = max{79, x1 + 77, x2 + 68} plus!_A(x1,x2) = max{14, x2 - 1} |1|!_A = 38 times!_A(x1,x2) = max{x1 - 3, x2 + 23} |0|!_A = 30 2. marked-algebra reduction triple (>=A, >=A!, >A!): matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: times#_A(x1,x2) = 0 plus_A(x1,x2) = x1 + 1 |1|_A() = 1 times_A(x1,x2) = x1 + 1 |0|_A() = 1 times#!_A(x1,x2) = 4 plus!_A(x1,x2) = 0 |1|!_A() = 1 times!_A(x1,x2) = 3 |0|!_A() = 2 partial status: pi(times#) = [2] pi(plus) = [1, 2] pi(|1|) = [] pi(times) = [] pi(|0|) = [] The following rules are removed: p1 Then no dependency pair remains.