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)}> 0))> 0)> ((main_x + main_y) - 5), main_y -> (~(2) * main_y)}> 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}> 0)> 0))> ((main_x + main_y) - 5), main_y -> (~(2) * main_y)}> 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 [4 idents]: __VERIFIER_nondet_int | function | [integer, ()] | | main | function | [integer, ()] | x | local variable | integer | | y | local variable | integer | | Main function: main Preprocessed LLVMGraph Init Location: 0 Transitions: 0), par{main_x -> ((main_x + main_y) - 5), main_y -> (~(2) * main_y)}> 0))> 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: -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> Variables: main_x, main_y Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 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.001034 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000264s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000756s [8998 : 8999] [8998 : 9001] Successful child: 8999 [ 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: -5 + main_x + main_y, main_y -> -2*main_y, 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: -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> New Graphs: LOG: CALL check - Post:main_x <= 0 - Process 1 * Exit transition: * Postcondition : main_x <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000226s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000265s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_x <= 0 , Narrowing transition: -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000244s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000795s [8998 : 9005] [8998 : 9006] Successful child: 9005 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -5 + main_x + main_y, main_y -> -2*main_y, 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): -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> Ranking function: main_x New Graphs: LOG: CALL check - Post:3*main_x + main_y <= 7 - Process 2 * Exit transition: * Postcondition : 3*main_x + main_y <= 7 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000252s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000294s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 3*main_x + main_y <= 7 , Narrowing transition: -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -5 + main_x + main_y, main_y -> -2*main_y, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000383s Ranking function: (~(8) / 15) + (1 / 5)*main_x + (1 / 15)*main_y New Graphs: Proving termination of subgraph 2 Analyzing SCC {l6}... No cycles found. Program Terminates