We consider termination of the LCTRS with only rule scheme Calc: Signature: f :: Int -> A g :: Int -> A h :: Int -> A Rules: f(x) -> f(x - 1) | x >= 0 g(y) -> h(y) | y = y h(y) -> g(y + 1) | y <= 0 The system is accessible function passing by a sort ordering that equates all sorts. We start by computing the initial DP problem D1 = (P1, R, i, c), where: P1. (1) f#(x) => f#(x - 1) | x >= 0 (2) g#(y) => h#(y) | y = y (3) h#(y) => g#(y + 1) | y <= 0 ***** We apply the Graph Processor on D1 = (P1, R, i, c). We compute a graph approximation with the following edges: 1: 1 2: 3 3: 2 There are 2 SCCs. Processor output: { D2 = (P2, R, i, c) ; D3 = (P3, R, i, c) }, where: P2. (1) f#(x) => f#(x - 1) | x >= 0 P3. (1) g#(y) => h#(y) | y = y (2) h#(y) => g#(y + 1) | y <= 0 ***** We apply the Integer Function Processor on D2 = (P2, R, i, c). We use the following integer mapping: J(f#) = arg_1 + 1 We thus have: (1) x >= 0 |= x + 1 > x - 1 + 1 (and x + 1 >= 0) All DPs are strictly oriented, and may be removed. Hence, this DP problem is finite. Processor output: { }. ***** We apply the Usable Rules Processor on D3 = (P3, R, i, c). We obtain 0 usable rules (out of 3 rules in the input problem). Processor output: { D4 = (P3, {}, i, c) }. ***** We apply the Usable rules with respect to an argument wiltering [with HORPO] Processor on D4 = (P3, {}, i, c). Constrained HORPO yields: g#1(y) (>=) h#1(y) | y = y h#1(y) (>) g#1(y + 1) | y <= 0 We do this using the following settings: * Monotonicity requirements: this is a strongly monotonic reduction pair (all arguments of function symbols were regarded). * Precedence and permutation: g#1 { 1 } = h#1 { 1 } * Well-founded theory orderings: [>]_{Bool} = {(true,false)} [>]_{Int} = {(x,y) | x < 1000 /\ x < y } Processor output: { D5 = (P4, {}, i, c) }, where: P4. (1) g#(y) => h#(y) | y = y ***** We apply the Graph Processor on D5 = (P4, {}, i, c). We compute a graph approximation with the following edges: 1: As there are no SCCs, this DP problem is removed. Processor output: { }.