YES Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: ~(1)) /\ (undef1 > ~(1)) /\ (arg1 > 0), par{arg1 -> undef1, arg2 -> undef2}> 1), par{arg1 -> 0, arg2 -> arg1}> undef6}> 1), par{arg1 -> (arg1 + 1), arg2 -> (arg2 - 2)}> undef9, arg2 -> undef10}> Fresh variables: undef1, undef2, undef6, undef9, undef10, Undef variables: undef1, undef2, undef6, undef9, undef10, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: ~(1)) /\ (undef1 > ~(1)) /\ (undef9 > 0) /\ (undef1 > 1)> 1), par{arg1 -> 0, arg2 -> arg1}> 1), par{arg1 -> (arg1 + 1), arg2 -> (arg2 - 2)}> Fresh variables: undef1, undef2, undef6, undef9, undef10, Undef variables: undef1, undef2, undef6, undef9, undef10, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 0, arg2 -> arg1, rest remain the same}> 1 + arg1, arg2 -> -2 + arg2, rest remain the same}> Variables: arg1, arg2 Precedence: Graph 0 Graph 1 Map Locations to Subgraph: ( 0 , 0 ) ( 3 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.024275 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000527s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005893s Trying to remove transition: 1 + arg1, arg2 -> -2 + arg2, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.024727s Time used: 0.024638 Trying to remove transition: 0, arg2 -> arg1, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.008122s Time used: 0.007758 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.006854s Time used: 0.006596 LOG: SAT solveNonLinear - Elapsed time: 0.006854s Cost: 0; Total time: 0.006596 Termination implied by a set of invariant(s): Invariant at l3: 0 <= arg2 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, arg2 -> arg1, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + arg1, arg2 -> -2 + arg2, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, arg2 -> arg1, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + arg1, arg2 -> -2 + arg2, rest remain the same}> Ranking function: 3*arg1 + 2*arg2 New Graphs: Transitions: 1 + arg1, arg2 -> -2 + arg2, rest remain the same}> Variables: arg1, arg2 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000298s Ranking function: -1 + (1 / 2)*arg2 New Graphs: INVARIANTS: 3: 0 <= arg2 , Quasi-INVARIANTS to narrow Graph: 3: Program Terminates