We consider termination of the LCTRS with only rule scheme Calc: Signature: div :: Int -> Int -> Int if :: Bool -> Int -> Int -> Int Rules: div(x, y) -> if(x >= y /\ y > 0, x, y) | x = x /\ y = y if(true, x, y) -> div(x - y, y) + 1 | x = x /\ y = y 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) div#(x, y) => if#(x >= y /\ y > 0, x, y) | x = x /\ y = y (2) if#(true, x, y) => div#(x - y, y) | x = x /\ y = y ***** We apply the Chaining Processor Processor on D1 = (P1, R, i, c). We chain DPs according to the following mapping: if#(true, x, y) => if#(x - y >= y /\ y > 0, x - y, y) | x = x /\ y = y /\ (x - y = x - y /\ y = y) is obtained by chaining if#(true, x, y) => div#(x - y, y) | x = x /\ y = y and div#(x', y') => if#(x' >= y' /\ y' > 0, x', y') | x' = x' /\ y' = y' The following DPs were deleted: if#(true, x, y) => div#(x - y, y) | x = x /\ y = y div#(x, y) => if#(x >= y /\ y > 0, x, y) | x = x /\ y = y By chaining, we added 1 DPs and removed 2 DPs. Processor output: { D2 = (P2, R, i, c) }, where: P2. (1) if#(true, x, y) => if#(x - y >= y /\ y > 0, x - y, y) | x = x /\ y = y /\ (x - y = x - y /\ y = y) ***** No progress could be made on DP problem D2 = (P2, R, i, c).