YES Solver Timeout: 4 Global Timeout: 300 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.001539 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000452s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001308s 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.005025s Time used: 0.004897 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.003340s Time used: 0.00312 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.006167s Time used: 0.006166 LOG: SAT solveNonLinear - Elapsed time: 0.009508s Cost: 1; Total time: 0.009286 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.000899s Remaining time after improvement: 0.999643 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.000140s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000164s 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.000208s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000667s 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.002499s Time used: 0.002432 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.003083s Time used: 0.002907 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.006661s Time used: 0.00666 LOG: SAT solveNonLinear - Elapsed time: 0.009744s Cost: 1; Total time: 0.009567 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.000811s Remaining time after improvement: 0.999659 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.000139s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000165s 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.000312s Ranking function: y_15^0 New Graphs: Proving termination of subgraph 2 Analyzing SCC {l3}... No cycles found. Program Terminates