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) if(true, x, y) -> div(x - y, y) + 1 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, f, c), where: P1. (1) div#(x, y) => if#(x >= y /\ y > 0, x, y) (2) if#(true, x, y) => div#(x - y, y) ***** We apply the Theory Arguments Processor on D1 = (P1, R, f, c). We use the following theory arguments function: div# : [1, 2] if# : [1, 2, 3] Processor output: { D2 = (P2, R, f, c) ; D3 = (P3, R, f, c) }, where: P2. (1) div#(x, y) => if#(x >= y /\ y > 0, x, y) (2) if#(true, x, y) => div#(x - y, y) { x, y } P3. (1) if#(true, x, y) => div#(x - y, y) ***** We apply the Theory Arguments Processor on D2 = (P2, R, f, c). We use the following theory arguments function: div# : [1, 2] if# : [1, 2, 3] Processor output: { D4 = (P4, R, f, c) ; D5 = (P5, R, f, c) }, where: P4. (1) div#(x, y) => if#(x >= y /\ y > 0, x, y) { x, y } (2) if#(true, x, y) => div#(x - y, y) { x, y } P5. (1) div#(x, y) => if#(x >= y /\ y > 0, x, y) ***** We apply the Graph Processor on D3 = (P3, R, f, c). We compute a graph approximation with the following edges: 1: As there are no SCCs, this DP problem is removed. Processor output: { }. ***** No progress could be made on DP problem D4 = (P4, R, f, c).