YES Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: (0 + st_14^0)}> ((0 + x_13^0) + y_15^0), y_15^0 -> (~(1) + y_15^0)}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: ((0 + x_13^0) + y_15^0), y_15^0 -> (~(1) + y_15^0)}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> Variables: x_13^0, y_15^0 Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 Map Locations to Subgraph: ( 0 , 0 ) ( 2 , 1 ) ( 3 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.001818 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000481s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001460s Trying to remove transition: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005808s Time used: 0.005684 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005589s Time used: 0.005262 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.011201s Time used: 0.011195 LOG: SAT solveNonLinear - Elapsed time: 0.016790s Cost: 1; Total time: 0.016457 Failed at location 2: x_13^0 <= 0 Before Improving: Quasi-invariant at l2: x_13^0 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001636s Remaining time after improvement: 0.999266 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: x_13^0 <= 0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> New Graphs: Calling Safety with literal x_13^0 <= 0 and entry LOG: CALL check - Post:x_13^0 <= 0 - Process 1 * Exit transition: * Postcondition : x_13^0 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000295s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000356s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: x_13^0 <= 0 , Narrowing transition: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> Variables: x_13^0, y_15^0 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000427s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001425s Trying to remove transition: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005239s Time used: 0.005111 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.006481s Time used: 0.006116 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.014752s Time used: 0.014747 LOG: SAT solveNonLinear - Elapsed time: 0.021233s Cost: 1; Total time: 0.020863 Failed at location 2: 1 + y_15^0 <= 0 Before Improving: Quasi-invariant at l2: 1 + y_15^0 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001608s Remaining time after improvement: 0.999299 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: 1 + y_15^0 <= 0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, 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): x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> Ranking function: x_13^0 New Graphs: Calling Safety with literal 1 + y_15^0 <= 0 and entry LOG: CALL check - Post:1 + y_15^0 <= 0 - Process 2 * Exit transition: * Postcondition : 1 + y_15^0 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000298s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000367s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + y_15^0 <= 0 , Narrowing transition: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: x_13^0 + y_15^0, y_15^0 -> -1 + y_15^0, rest remain the same}> Variables: x_13^0, y_15^0 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000656s Ranking function: y_15^0 New Graphs: Proving termination of subgraph 2 Analyzing SCC {l3}... No cycles found. Program Terminates