YES Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: ((0 + x^0) + (~(1) * y^0)), y^0 -> (1 + y^0)}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: ((0 + x^0) + (~(1) * y^0)), y^0 -> (1 + y^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^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> Variables: x^0, y^0 Precedence: Graph 0 Graph 1 Map Locations to Subgraph: ( 0 , 0 ) ( 1 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.001601 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000676s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001606s Trying to remove transition: x^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.004238s Time used: 0.004107 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.003324s Time used: 0.003108 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.005984s Time used: 0.005982 LOG: SAT solveNonLinear - Elapsed time: 0.009308s Cost: 1; Total time: 0.00909 Failed at location 1: x^0 <= 0 Before Improving: Quasi-invariant at l1: x^0 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000839s Remaining time after improvement: 0.999646 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l1: x^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^0 - y^0, y^0 -> 1 + y^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^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> New Graphs: Calling Safety with literal x^0 <= 0 and entry LOG: CALL check - Post:x^0 <= 0 - Process 1 * Exit transition: * Postcondition : x^0 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000143s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000167s INVARIANTS: 1: Quasi-INVARIANTS to narrow Graph: 1: x^0 <= 0 , Narrowing transition: x^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: x^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> Variables: x^0, y^0 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000314s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000773s Trying to remove transition: x^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.002342s Time used: 0.002275 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.003177s Time used: 0.002999 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.006694s Time used: 0.006692 LOG: SAT solveNonLinear - Elapsed time: 0.009870s Cost: 1; Total time: 0.009691 Failed at location 1: 1 <= y^0 Before Improving: Quasi-invariant at l1: 1 <= y^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000795s Remaining time after improvement: 0.999659 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l1: 1 <= y^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^0 - y^0, y^0 -> 1 + y^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^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> Ranking function: x^0 New Graphs: Calling Safety with literal 1 <= y^0 and entry LOG: CALL check - Post:1 <= y^0 - Process 2 * Exit transition: * Postcondition : 1 <= y^0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000146s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000173s INVARIANTS: 1: Quasi-INVARIANTS to narrow Graph: 1: 1 <= y^0 , Narrowing transition: x^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: x^0 - y^0, y^0 -> 1 + y^0, rest remain the same}> Variables: x^0, y^0 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000385s Ranking function: -y^0 New Graphs: Program Terminates