YES Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: (~(1) + i9^0)}> (1 + j10^0), w12^0 -> undef38}> (0 + undef50), ret_ludcmp14^0 -> undef50}> (1 + i9^0), w12^0 -> undef64}> (1 + i9^0)}> (1 + j10^0), w12^0 -> undef103}> (~(1) + n8^0)}> 0, w12^0 -> undef142}> (1 + j10^0)}> (1 + k11^0), w12^0 -> undef181}> (1 + i9^0)}> 0, w12^0 -> undef207}> (1 + j10^0)}> (1 + k11^0), w12^0 -> undef259}> 0}> (1 + i9^0)}> undef350}> 1}> (1 + i9^0)}> (1 + j^0), w^0 -> undef403}> (1 + i^0)}> 0, n8^0 -> (0 + n^0), nmax7^0 -> (0 + nmax^0)}> 0, w^0 -> 0}> 0, n^0 -> 5, nmax^0 -> 50}> Fresh variables: undef38, undef50, undef64, undef103, undef142, undef181, undef207, undef259, undef350, undef403, Undef variables: undef38, undef50, undef64, undef103, undef142, undef181, undef207, undef259, undef350, undef403, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: 0}> (~(1) + n8^0), j10^0 -> (1 + i9^0)}> 1, j10^0 -> 0}> (1 + i9^0), k11^0 -> 0}> (1 + j10^0)}> 0}> 0}> (~(1) + i9^0)}> (~(1) + i9^0), j10^0 -> (1 + (~(1) + i9^0))}> (1 + j10^0)}> (1 + j10^0)}> (1 + k11^0)}> (~(1) + n8^0)}> (~(1) + n8^0), j10^0 -> (1 + (~(1) + n8^0))}> (1 + i9^0), j10^0 -> 0}> (1 + j10^0)}> (~(1) + n8^0), j10^0 -> (1 + j10^0)}> 1, j10^0 -> 0}> (1 + i9^0), j10^0 -> (1 + (1 + i9^0))}> (1 + j10^0), k11^0 -> 0}> (1 + k11^0)}> 0, i^0 -> (1 + i^0), j10^0 -> (1 + 0), n8^0 -> (0 + 5)}> (1 + i^0), j^0 -> 0}> (1 + j^0)}> (1 + j^0)}> (1 + j^0)}> Fresh variables: undef38, undef50, undef64, undef103, undef142, undef181, undef207, undef259, undef350, undef403, Undef variables: undef38, undef50, undef64, undef103, undef142, undef181, undef207, undef259, undef350, undef403, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 1 + i^0, j^0 -> 0, rest remain the same}> 1 + j^0, rest remain the same}> 1 + j^0, rest remain the same}> 1 + j^0, rest remain the same}> Variables: i^0, j^0 Graph 2: Transitions: 1 + i9^0, k11^0 -> 0, rest remain the same}> 1 + j10^0, rest remain the same}> 0, rest remain the same}> 0, rest remain the same}> 1 + j10^0, rest remain the same}> 1 + k11^0, rest remain the same}> 1 + i9^0, j10^0 -> 2 + i9^0, rest remain the same}> 1 + j10^0, k11^0 -> 0, rest remain the same}> 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, n8^0, k11^0 Graph 3: Transitions: 1 + i9^0, j10^0 -> 0, rest remain the same}> 1 + j10^0, rest remain the same}> Variables: i9^0, j10^0, n8^0 Graph 4: Transitions: -1 + i9^0, j10^0 -> i9^0, rest remain the same}> 1 + j10^0, rest remain the same}> Variables: i9^0, j10^0, n8^0 Graph 5: Transitions: Variables: Precedence: Graph 0 Graph 1 0, rest remain the same}> Graph 2 0, i^0 -> 1 + i^0, j10^0 -> 1, n8^0 -> 5, rest remain the same}> Graph 3 1, j10^0 -> 0, rest remain the same}> 1, j10^0 -> 0, rest remain the same}> Graph 4 -1 + n8^0, j10^0 -> n8^0, rest remain the same}> Graph 5 -1 + n8^0, j10^0 -> 1 + i9^0, rest remain the same}> -1 + i9^0, rest remain the same}> -1 + n8^0, rest remain the same}> -1 + n8^0, j10^0 -> 1 + j10^0, rest remain the same}> Map Locations to Subgraph: ( 0 , 0 ) ( 1 , 2 ) ( 5 , 4 ) ( 7 , 5 ) ( 8 , 2 ) ( 12 , 3 ) ( 16 , 2 ) ( 24 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.023499 Checking conditional termination of SCC {l24}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002753s Ranking function: 44 - 11*i^0 New Graphs: Transitions: 1 + j^0, rest remain the same}> 1 + j^0, rest remain the same}> 1 + j^0, rest remain the same}> Variables: i^0, j^0 Checking conditional termination of SCC {l24}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001600s Ranking function: 49 - 11*i^0 - j^0 New Graphs: Transitions: 1 + j^0, rest remain the same}> 1 + j^0, rest remain the same}> Variables: i^0, j^0 Checking conditional termination of SCC {l24}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001269s Ranking function: 65 - 12*i^0 - j^0 New Graphs: Transitions: 1 + j^0, rest remain the same}> Variables: i^0, j^0 Checking conditional termination of SCC {l24}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000887s Ranking function: -1 + i^0 - j^0 New Graphs: Proving termination of subgraph 2 Checking unfeasibility... Time used: 0.092757 Some transition disabled by a set of invariant(s): Invariant at l1: 0 <= i9^0 Invariant at l8: 1 <= i9^0 Invariant at l16: 0 <= i9^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i9^0, k11^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j10^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 + j10^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k11^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i9^0, j10^0 -> 2 + i9^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j10^0, k11^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k11^0, rest remain the same}> Checking unfeasibility... Time used: 4.00074 Checking conditional termination of SCC {l1, l8, l16}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.011953s Ranking function: -6 - 3*i9^0 + 3*n8^0 New Graphs: Transitions: 1 + j10^0, rest remain the same}> 0, rest remain the same}> 1 + j10^0, rest remain the same}> 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Transitions: 1 + j10^0, k11^0 -> 0, rest remain the same}> 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Checking conditional termination of SCC {l1, l8}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003328s Ranking function: -3*i9^0 - j10^0 + n8^0 New Graphs: Transitions: 1 + j10^0, k11^0 -> 0, rest remain the same}> 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Transitions: 0, rest remain the same}> 1 + j10^0, rest remain the same}> 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Checking conditional termination of SCC {l16}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001750s Ranking function: -j10^0 + n8^0 New Graphs: Transitions: 0, rest remain the same}> 1 + j10^0, rest remain the same}> 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Transitions: 1 + k11^0, rest remain the same}> Variables: i9^0, k11^0 Checking conditional termination of SCC {l1, l8}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001946s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.007634s Trying to remove transition: 1 + k11^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.017627s Time used: 0.017207 Trying to remove transition: 1 + j10^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.014990s Time used: 0.014217 Trying to remove transition: 0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.015219s Time used: 0.014222 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.162099s Time used: 0.160703 LOG: SAT solveNonLinear - Elapsed time: 0.162099s Cost: 0; Total time: 0.160703 Termination implied by a set of invariant(s): Invariant at l1: j10^0 <= 1 + i9^0 + n8^0 Invariant at l8: 1 + j10^0 <= i9^0 + n8^0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i9^0, k11^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j10^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 + j10^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k11^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility [ 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 + j10^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k11^0, rest remain the same}> Ranking function: i9^0 - j10^0 + n8^0 New Graphs: Transitions: 1 + k11^0, rest remain the same}> Variables: i9^0, k11^0 Transitions: 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Checking conditional termination of SCC {l16}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001210s Ranking function: i9^0 - k11^0 New Graphs: Transitions: 1 + k11^0, rest remain the same}> Variables: i9^0, j10^0, k11^0, n8^0 Checking conditional termination of SCC {l8}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001418s Ranking function: -1 + i9^0 - k11^0 New Graphs: INVARIANTS: 1: j10^0 <= 1 + i9^0 + n8^0 , 8: 1 + j10^0 <= i9^0 + n8^0 , Quasi-INVARIANTS to narrow Graph: 1: 8: Proving termination of subgraph 3 Checking unfeasibility... Time used: 0.005884 Checking conditional termination of SCC {l12}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002000s Ranking function: -2*i9^0 + 2*n8^0 New Graphs: Transitions: 1 + j10^0, rest remain the same}> Variables: i9^0, j10^0 Checking conditional termination of SCC {l12}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001335s Ranking function: -1 + i9^0 - j10^0 New Graphs: Proving termination of subgraph 4 Checking unfeasibility... Time used: 0.006613 Checking conditional termination of SCC {l5}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002037s Ranking function: -1 + i9^0 New Graphs: Transitions: 1 + j10^0, rest remain the same}> Variables: j10^0, n8^0 Checking conditional termination of SCC {l5}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001359s Ranking function: -j10^0 + n8^0 New Graphs: Proving termination of subgraph 5 Analyzing SCC {l7}... No cycles found. Program Terminates