YES Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: ~(1)) /\ (arg2 > ~(1)) /\ (undef3 > ~(1)) /\ (arg1 > 0), par{arg1 -> undef1, arg2 -> (undef1 - 1), arg3 -> undef3}> arg2)> arg3}> ~(1)) /\ (arg2 = arg3), par{arg2 -> (arg1 - 1), arg3 -> (arg2 + 1)}> undef13, arg2 -> undef14, arg3 -> undef15}> Fresh variables: undef1, undef3, undef13, undef14, undef15, Undef variables: undef1, undef3, undef13, undef14, undef15, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: ~(1)) /\ (undef14 > ~(1)) /\ (undef3 > ~(1)) /\ (undef13 > 0)> ~(1)) /\ (arg3 = arg3), par{arg2 -> (arg1 - 1), arg3 -> (arg3 + 1)}> Fresh variables: undef1, undef3, undef13, undef14, undef15, Undef variables: undef1, undef3, undef13, undef14, undef15, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: -1 + arg1, arg3 -> 1 + arg3, rest remain the same}> Variables: arg1, arg2, arg3 Precedence: Graph 0 Graph 1 Map Locations to Subgraph: ( 0 , 0 ) ( 2 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.00213 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000586s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001762s Trying to remove transition: -1 + arg1, arg3 -> 1 + arg3, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005357s Time used: 0.005195 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005243s Time used: 0.00499 LOG: SAT solveNonLinear - Elapsed time: 0.005243s Cost: 0; Total time: 0.00499 Termination implied by a set of invariant(s): Invariant at l2: arg2 <= 1 + arg1 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + arg1, arg3 -> 1 + arg3, 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): -1 + arg1, arg3 -> 1 + arg3, rest remain the same}> Ranking function: 4 + 4*arg1 - arg2 - 3*arg3 New Graphs: INVARIANTS: 2: arg2 <= 1 + arg1 , Quasi-INVARIANTS to narrow Graph: 2: Program Terminates