YES Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: ~(1)) /\ (arg2 > 1) /\ (undef1 > ~(1)) /\ (arg1 > 0), par{arg1 -> undef1, arg2 -> undef2, arg3 -> undef3, arg4 -> undef4}> 0), par{arg1 -> arg2, arg2 -> arg1, arg3 -> arg2, arg4 -> arg2}> arg2, arg2 -> arg1, arg3 -> undef11, arg4 -> undef12}> (arg2 + 1), arg3 -> (arg3 + 1), arg4 -> (arg3 + 1)}> 0) /\ (arg3 < 1) /\ (arg3 = arg4), par{arg2 -> (arg2 + 1), arg3 -> (arg3 + 1), arg4 -> (arg3 + 1)}> 0) /\ (arg3 = arg4), par{arg2 -> (arg2 - 1), arg3 -> (arg3 - 1), arg4 -> (arg3 - 1)}> undef25, arg2 -> undef26, arg3 -> undef27, arg4 -> undef28}> Fresh variables: undef1, undef2, undef3, undef4, undef11, undef12, undef25, undef26, undef27, undef28, Undef variables: undef1, undef2, undef3, undef4, undef11, undef12, undef25, undef26, undef27, undef28, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: ~(1)) /\ (undef26 > 1) /\ (undef1 > ~(1)) /\ (undef25 > 0) /\ (undef2 <= undef1) /\ (undef2 > 0)> 0), par{arg1 -> arg1, arg2 -> arg2, arg3 -> arg1, arg4 -> arg1}> (arg2 + 1), arg3 -> (arg3 + 1), arg4 -> (arg3 + 1)}> 0) /\ (arg3 = arg4), par{arg2 -> (arg2 - 1), arg3 -> (arg3 - 1), arg4 -> (arg3 - 1)}> Fresh variables: undef1, undef2, undef3, undef4, undef11, undef12, undef25, undef26, undef27, undef28, Undef variables: undef1, undef2, undef3, undef4, undef11, undef12, undef25, undef26, undef27, undef28, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: arg1, arg4 -> arg1, rest remain the same}> 1 + arg2, arg3 -> 1 + arg3, arg4 -> 1 + arg3, rest remain the same}> -1 + arg2, arg3 -> -1 + arg3, arg4 -> -1 + arg3, rest remain the same}> Variables: arg1, arg2, arg3, arg4 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.011946 Some transition disabled by a set of invariant(s): Invariant at l3: 0 <= arg3 + arg4 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + arg2, arg3 -> 1 + arg3, arg4 -> 1 + arg3, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): arg1, arg4 -> arg1, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + arg2, arg3 -> -1 + arg3, arg4 -> -1 + arg3, rest remain the same}> Checking unfeasibility... Time used: 0.018088 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001821s Ranking function: 1 + 2*arg2 - arg3 New Graphs: Transitions: -1 + arg2, arg3 -> -1 + arg3, arg4 -> -1 + arg3, rest remain the same}> Variables: arg2, arg3, arg4 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000799s Ranking function: -1 + arg3 New Graphs: Program Terminates