YES Solver Timeout: 4 Global Timeout: 300 Maximum number of concurrent processes: 900 ******************************************************************************************* *********************** UNPROCESSED TRANSITION SYSTEMS PER FUNCTION *********************** ******************************************************************************************* List of LLVMGraphs + assumeNodes + staticAssertNodes [1] : +++++++++++++++++++++++++++++++ main +++++++++++++++++++++++++++++++ + + Init Location: 0 Transitions: 0, main_x -> ¿functionCall(__VERIFIER_nondet_int), main_y -> ¿functionCall(__VERIFIER_nondet_int), main_res -> 0}> 0))> 0)> main_x, main_x -> (main_y - 1), main_y -> main_z, main_res -> (main_res + 1)}> (main_res + main_x), main__func_return_ -> 0}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: + Assume Nodes [0]: ++++++++++++++++++++++++++++++++++++++++++++++++ + Static Assert Nodes [0]: +++++++++++++++++++++++++++++++++++++++++ + After preprocess (paralelization): ++++++++++++++++++++++++++++++ Init Location: 0 Transitions: 0}> ¿functionCall(__VERIFIER_nondet_int)}> varCall_1}> ¿functionCall(__VERIFIER_nondet_int)}> varCall_2, main_res -> 0}> 0)> 0))> main_x, main_x -> (main_y - 1), main_y -> main_z, main_res -> (main_res + 1)}> (main_res + main_x), main__func_return_ -> 0}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: 6, Accepting locations: Asserts: + + +++++++++++++++++++++++++++++++ main +++++++++++++++++++++++++++++++ Function Return and Parameters Information [2 functions]: function name: __VERIFIER_nondet_int [1 return + 0 parameters] demangled: __VERIFIER_nondet_int __VERIFIER_nondet_int__func_return_ [function result] : int function name: main [1 return + 0 parameters] demangled: main main__func_return_ [function result] : int AST Ident Scanner Information [6 idents]: __VERIFIER_nondet_int | function | [integer, ()] | | main | function | [integer, ()] | x | local variable | integer | | y | local variable | integer | | z | local variable | integer | | res | local variable | integer | | Main function: main Preprocessed LLVMGraph Init Location: 0 Transitions: 0), par{main_x -> (main_y - 1), main_y -> main_x, main_res -> (main_res + 1)}> 0)), par{main_res -> (main_res + main_x)}> Fresh variables: undef3, undef4, Undef variables: undef3, undef4, Abstraction variables: Exit nodes: 6, Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> Variables: main_x, main_y, main_res Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 main_x + main_res, rest remain the same}> Map Locations to Subgraph: ( 0 , 0 ) ( 2 , 1 ) ( 6 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.002175 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000407s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001186s [23486 : 23488] [23486 : 23489] Successful child: 23488 [ 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: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, 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: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> New Graphs: LOG: CALL check - Post:main_y <= main_res - Process 1 * Exit transition: * Postcondition : main_y <= main_res LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000249s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000292s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_y <= main_res , main_res <= 0 , Narrowing transition: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> LOG: Narrow transition size 2 invGraph after Narrowing: Transitions: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> Variables: main_x, main_y, main_res Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000540s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002644s [23486 : 23493] [23486 : 23494] Successful child: 23493 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, 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): -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> Ranking function: 751 + main_x + main_y - main_res New Graphs: Transitions: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> Variables: main_x, main_y, main_res Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000528s Ranking function: 751 + main_x + main_y New Graphs: LOG: CALL check - Post:0 <= 752 + main_x - Process 2 * Exit transition: * Postcondition : 0 <= 752 + main_x LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000318s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000360s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 0 <= 752 + main_x , It's unfeasible. Removing transition: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> It's unfeasible. Removing transition: -1 + main_y, main_y -> main_x, main_res -> 1 + main_res, rest remain the same}> invGraph after Narrowing: Transitions: Variables: main_x, main_y, main_res Analyzing SCC {l2}... No cycles found. Proving termination of subgraph 2 Analyzing SCC {l6}... No cycles found. Program Terminates