YES Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: (1 + j^0)}> (1 + i^0)}> undef155}> (1 + i^0), sum^0 -> undef172}> (0 + (~(1) * undef270)), tmp___4^0 -> undef269, tmp___5^0 -> undef270}> (0 + undef286), tmp___2^0 -> undef285, tmp___3^0 -> undef286}> undef302}> (1 + i^0), sum^0 -> ((0 + sum^0) + tmp___1^0)}> 0}> undef423}> (1 + i^0)}> (1 + k^0)}> 0}> (1 + i^0)}> (0 + maxarg2^0)}> (0 + maxarg1^0)}> (0 + scale^0), maxarg2^0 -> (0 + undef660), tmp^0 -> undef660}> 0}> Fresh variables: undef155, undef172, undef269, undef270, undef285, undef286, undef302, undef423, undef660, Undef variables: undef155, undef172, undef269, undef270, undef285, undef286, undef302, undef423, undef660, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: 0}> (1 + k^0)}> (1 + k^0)}> (1 + k^0), scale^0 -> 0}> (1 + i^0), scale^0 -> (0 + (0 + undef660))}> (1 + i^0), scale^0 -> (0 + (0 + scale^0))}> (1 + j^0), k^0 -> (1 + k^0)}> (1 + j^0), k^0 -> (1 + k^0)}> (1 + j^0), k^0 -> (1 + k^0), scale^0 -> 0}> (1 + j^0)}> (1 + i^0)}> (1 + i^0)}> (1 + i^0), sum^0 -> undef172}> (1 + k^0)}> (1 + k^0)}> (1 + k^0), scale^0 -> 0}> (1 + k^0)}> (1 + k^0)}> (1 + k^0), scale^0 -> 0}> (1 + i^0), sum^0 -> ((0 + sum^0) + undef302)}> (1 + i^0), sum^0 -> ((0 + sum^0) + undef302)}> (1 + i^0), sum^0 -> ((0 + sum^0) + 0)}> Fresh variables: undef155, undef172, undef269, undef270, undef285, undef286, undef302, undef423, undef660, Undef variables: undef155, undef172, undef269, undef270, undef285, undef286, undef302, undef423, undef660, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + i^0, scale^0 -> undef660, rest remain the same}> 1 + i^0, rest remain the same}> 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + j^0, rest remain the same}> 1 + i^0, rest remain the same}> 1 + i^0, rest remain the same}> 1 + i^0, sum^0 -> undef172, rest remain the same}> 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> 1 + i^0, rest remain the same}> Variables: i^0, n^0, scale^0, k^0, j^0, sum^0 Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 0, rest remain the same}> Graph 2 1 + k^0, rest remain the same}> 1 + k^0, rest remain the same}> 1 + j^0, k^0 -> 1 + k^0, rest remain the same}> 1 + j^0, k^0 -> 1 + k^0, rest remain the same}> 1 + k^0, rest remain the same}> 1 + k^0, rest remain the same}> 1 + k^0, rest remain the same}> 1 + k^0, rest remain the same}> Map Locations to Subgraph: ( 0 , 0 ) ( 4 , 2 ) ( 6 , 1 ) ( 10 , 1 ) ( 11 , 1 ) ( 14 , 1 ) ( 17 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.218446 Some transition disabled by a set of invariant(s): Invariant at l6: 0 <= scale^0 Invariant at l10: j^0 <= 1 + i^0 Invariant at l11: 1 + n^0 <= i^0 + scale^0 Invariant at l14: j^0 <= 1 + i^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, scale^0 -> undef660, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, sum^0 -> undef172, rest remain the same}> 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 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 Checking unfeasibility... Time used: 0.123424 Some transition disabled by a set of invariant(s): Invariant at l6: 1 + k^0 <= n^0 Invariant at l10: 1 + n^0 <= i^0 Invariant at l11: 1 + k^0 <= n^0 Invariant at l17: 1 + k^0 <= n^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, scale^0 -> undef660, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> 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 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> Checking unfeasibility... Time used: 0.177729 Some transition disabled by a set of invariant(s): Invariant at l6: 1 + k^0 <= n^0 Invariant at l10: 1 + n^0 <= i^0 Invariant at l11: 1 + k^0 <= n^0 Invariant at l14: 1 + n^0 <= i^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + i^0, sum^0 -> undef172, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, scale^0 -> undef660, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 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 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 Checking unfeasibility... Time used: 0.178673 Some transition disabled by a set of invariant(s): Invariant at l6: k^0 <= n^0 + scale^0 Invariant at l10: k^0 <= 1 + n^0 Invariant at l11: 1 + n^0 <= i^0 Invariant at l14: k^0 <= 1 + n^0 Invariant at l17: k^0 <= i^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, scale^0 -> undef660, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> Checking unfeasibility... Time used: 0.166749 Some transition disabled by a set of invariant(s): Invariant at l6: 1 + k^0 <= n^0 + scale^0 Invariant at l10: k^0 <= 1 + i^0 Invariant at l11: k^0 <= i^0 Invariant at l17: 1 + n^0 <= i^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, scale^0 -> undef660, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + i^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + j^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 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 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + k^0, scale^0 -> 0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + i^0, sum^0 -> sum^0 + undef302, rest remain the same}> Checking unfeasibility... Time used: 0.293937 Checking conditional termination of SCC {l6, l10, l11, l14, l17}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.015428s Ranking function: -i^0 + n^0 New Graphs: Transitions: 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + j^0, k^0 -> 1 + k^0, scale^0 -> 0, rest remain the same}> 1 + j^0, rest remain the same}> Variables: i^0, j^0, k^0, n^0, scale^0 Checking conditional termination of SCC {l6, l14}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005814s Ranking function: -2 + 3*i^0 - k^0 - 2*n^0 New Graphs: Transitions: 1 + j^0, rest remain the same}> Variables: i^0, j^0, k^0, n^0 Checking conditional termination of SCC {l14}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001833s Ranking function: -1 - j^0 + n^0 New Graphs: Proving termination of subgraph 2 Analyzing SCC {l4}... No cycles found. Program Terminates