YES We show the termination of the TRS R: ack(|0|(),y) -> s(y) ack(s(x),|0|()) -> ack(x,s(|0|())) ack(s(x),s(y)) -> ack(x,ack(s(x),y)) f(s(x),y) -> f(x,s(x)) f(x,s(y)) -> f(y,x) f(x,y) -> ack(x,y) ack(s(x),y) -> f(x,x) -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: ack#(s(x),|0|()) -> ack#(x,s(|0|())) p2: ack#(s(x),s(y)) -> ack#(x,ack(s(x),y)) p3: ack#(s(x),s(y)) -> ack#(s(x),y) p4: f#(s(x),y) -> f#(x,s(x)) p5: f#(x,s(y)) -> f#(y,x) p6: f#(x,y) -> ack#(x,y) p7: ack#(s(x),y) -> f#(x,x) and R consists of: r1: ack(|0|(),y) -> s(y) r2: ack(s(x),|0|()) -> ack(x,s(|0|())) r3: ack(s(x),s(y)) -> ack(x,ack(s(x),y)) r4: f(s(x),y) -> f(x,s(x)) r5: f(x,s(y)) -> f(y,x) r6: f(x,y) -> ack(x,y) r7: ack(s(x),y) -> f(x,x) The estimated dependency graph contains the following SCCs: {p1, p2, p3, p4, p5, p6, p7} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: ack#(s(x),|0|()) -> ack#(x,s(|0|())) p2: ack#(s(x),y) -> f#(x,x) p3: f#(x,y) -> ack#(x,y) p4: ack#(s(x),s(y)) -> ack#(s(x),y) p5: ack#(s(x),s(y)) -> ack#(x,ack(s(x),y)) p6: f#(x,s(y)) -> f#(y,x) p7: f#(s(x),y) -> f#(x,s(x)) and R consists of: r1: ack(|0|(),y) -> s(y) r2: ack(s(x),|0|()) -> ack(x,s(|0|())) r3: ack(s(x),s(y)) -> ack(x,ack(s(x),y)) r4: f(s(x),y) -> f(x,s(x)) r5: f(x,s(y)) -> f(y,x) r6: f(x,y) -> ack(x,y) r7: ack(s(x),y) -> f(x,x) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >G) base order 1: max/plus interpretation on natural numbers: ack#_A(x1,x2) = max{11, x1 + 7} s_A(x1) = x1 + 14 |0|_A = 6 f#_A(x1,x2) = max{x1 + 13, x2 + 10} ack_A(x1,x2) = max{13, x1 - 35, x2 - 21} base order 2: marked-algebra reduction triple (>=A, >=A!, >A!): matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: ack#_A(x1,x2) = 0 s_A(x1) = 3 |0|_A() = 1 f#_A(x1,x2) = 0 ack_A(x1,x2) = 1 ack#!_A(x1,x2) = x1 + 1 s!_A(x1) = x1 + 2 |0|!_A() = 0 f#!_A(x1,x2) = 2 ack!_A(x1,x2) = 1 partial status: pi(ack#) = [] pi(s) = [1] pi(|0|) = [] pi(f#) = [1] pi(ack) = [] The following rules are removed: p1, p2, p3, p5, p6, p7 -- SCC decomposition. Consider the dependency pair problem (P, R), where P consists of p1: ack#(s(x),s(y)) -> ack#(s(x),y) and R consists of: r1: ack(|0|(),y) -> s(y) r2: ack(s(x),|0|()) -> ack(x,s(|0|())) r3: ack(s(x),s(y)) -> ack(x,ack(s(x),y)) r4: f(s(x),y) -> f(x,s(x)) r5: f(x,s(y)) -> f(y,x) r6: f(x,y) -> ack(x,y) r7: ack(s(x),y) -> f(x,x) The estimated dependency graph contains the following SCCs: {p1} -- Reduction pair. Consider the dependency pair problem (P, R), where P consists of p1: ack#(s(x),s(y)) -> ack#(s(x),y) and R consists of: r1: ack(|0|(),y) -> s(y) r2: ack(s(x),|0|()) -> ack(x,s(|0|())) r3: ack(s(x),s(y)) -> ack(x,ack(s(x),y)) r4: f(s(x),y) -> f(x,s(x)) r5: f(x,s(y)) -> f(y,x) r6: f(x,y) -> ack(x,y) r7: ack(s(x),y) -> f(x,x) The set of usable rules consists of (no rules) Take the reduction pair: generalized weighted path order (>=MG, >G) base order 1: max/plus interpretation on natural numbers: ack#_A(x1,x2) = max{x1 - 2, x2 + 3} s_A(x1) = max{4, x1} base order 2: marked-algebra reduction triple (>=A, >=A!, >A!): matrix interpretation with standard point-wise order: carrier: N^1 order: standard order interpretations: ack#_A(x1,x2) = 0 s_A(x1) = 2 ack#!_A(x1,x2) = 1 s!_A(x1) = 2 partial status: pi(ack#) = [2] pi(s) = [1] The following rules are removed: p1 Then no dependency pair remains.