YES Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: 0}> (1 + l5^0)}> (1 + k4^0)}> (1 + j3^0)}> 0}> (1 + i2^0)}> 0}> 0, x1^0 -> (0 + __const_400^0)}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: (1 + i2^0), j3^0 -> 0}> 0, k4^0 -> 0}> (1 + i2^0), j3^0 -> (1 + j3^0)}> (1 + j3^0), k4^0 -> 0}> 0}> (1 + k4^0)}> (1 + l5^0)}> (1 + l5^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: 1 + i2^0, j3^0 -> 0, rest remain the same}> 0, k4^0 -> 0, rest remain the same}> 1 + i2^0, j3^0 -> 1 + j3^0, rest remain the same}> 1 + j3^0, k4^0 -> 0, rest remain the same}> 0, rest remain the same}> 1 + k4^0, rest remain the same}> 1 + l5^0, rest remain the same}> 1 + l5^0, rest remain the same}> Variables: __const_5^0, i2^0, j3^0, k4^0, l5^0 Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 Map Locations to Subgraph: ( 0 , 0 ) ( 4 , 1 ) ( 6 , 2 ) ( 7 , 1 ) ( 10 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.071281 Some transition disabled by a set of invariant(s): Invariant at l4: 0 <= i2^0 Invariant at l7: 0 <= i2^0 Invariant at l10: 0 <= i2^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + i2^0, j3^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, k4^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i2^0, j3^0 -> 1 + j3^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j3^0, k4^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k4^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> Checking unfeasibility... Time used: 0.036623 Checking conditional termination of SCC {l4, l7, l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005663s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.025643s Trying to remove transition: 1 + l5^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.032594s Time used: 0.03118 Trying to remove transition: 1 + l5^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.034330s Time used: 0.030747 Trying to remove transition: 1 + k4^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.032700s Time used: 0.029062 Trying to remove transition: 0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.033357s Time used: 0.028523 Trying to remove transition: 1 + j3^0, k4^0 -> 0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.134505s Time used: 0.129593 Trying to remove transition: 1 + i2^0, j3^0 -> 1 + j3^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.033320s Time used: 0.027689 Trying to remove transition: 0, k4^0 -> 0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.030585s Time used: 0.025485 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.244888s Time used: 0.239764 LOG: SAT solveNonLinear - Elapsed time: 0.244888s Cost: 0; Total time: 0.239764 Termination implied by a set of invariant(s): Invariant at l7: 1 + i2^0 <= __const_5^0 Invariant at l10: 1 + i2^0 <= __const_5^0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i2^0, j3^0 -> 1 + j3^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j3^0, k4^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k4^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^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 LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i2^0, j3^0 -> 1 + j3^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j3^0, k4^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k4^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> Ranking function: __const_5^0 - i2^0 New Graphs: Transitions: 1 + j3^0, k4^0 -> 0, rest remain the same}> 0, rest remain the same}> 1 + k4^0, rest remain the same}> 1 + l5^0, rest remain the same}> 1 + l5^0, rest remain the same}> Variables: __const_5^0, i2^0, j3^0, k4^0, l5^0 Checking conditional termination of SCC {l7, l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003839s Ranking function: -6 + 3*__const_5^0 - 3*j3^0 New Graphs: Transitions: 0, rest remain the same}> 1 + k4^0, rest remain the same}> 1 + l5^0, rest remain the same}> 1 + l5^0, rest remain the same}> Variables: __const_5^0, i2^0, k4^0, l5^0 Checking conditional termination of SCC {l7, l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002038s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.011753s Trying to remove transition: 1 + l5^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.028424s Time used: 0.027516 Trying to remove transition: 1 + l5^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.028686s Time used: 0.026808 Trying to remove transition: 1 + k4^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.023538s Time used: 0.021733 Trying to remove transition: 0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.020001s Time used: 0.017424 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.093581s Time used: 0.091049 LOG: SAT solveNonLinear - Elapsed time: 0.093581s Cost: 0; Total time: 0.091049 Termination implied by a set of invariant(s): Invariant at l4: 0 <= i2^0 Invariant at l7: 0 <= 1 + __const_5^0 Invariant at l10: k4^0 <= __const_5^0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, k4^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i2^0, j3^0 -> 1 + j3^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j3^0, k4^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k4^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^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): 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k4^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + l5^0, rest remain the same}> Ranking function: __const_5^0 - k4^0 New Graphs: Transitions: 1 + l5^0, rest remain the same}> 1 + l5^0, rest remain the same}> Variables: __const_5^0, i2^0, k4^0, l5^0 Checking conditional termination of SCC {l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002471s Ranking function: -1 + __const_5^0 - l5^0 New Graphs: INVARIANTS: 7: 1 + i2^0 <= __const_5^0 , 10: 1 + i2^0 <= __const_5^0 , Quasi-INVARIANTS to narrow Graph: 7: 10: INVARIANTS: 4: 0 <= i2^0 , 7: 0 <= 1 + __const_5^0 , 10: k4^0 <= __const_5^0 , Quasi-INVARIANTS to narrow Graph: 4: 7: 10: Proving termination of subgraph 2 Analyzing SCC {l6}... No cycles found. Program Terminates