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_z -> ¿functionCall(__VERIFIER_nondet_int), main_n -> ¿functionCall(__VERIFIER_nondet_int)}> = 0))> = 0)> ((2 * main_x) + main_y), main_y -> main_z, main_z -> (main_z + 1)}> 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}> ¿functionCall(__VERIFIER_nondet_int)}> varCall_3}> ¿functionCall(__VERIFIER_nondet_int)}> varCall_4}> = 0)> = 0))> ((2 * main_x) + main_y), main_y -> main_z, main_z -> (main_z + 1)}> 0}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: 7, 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 | | n | local variable | integer | | Main function: main Preprocessed LLVMGraph Init Location: 0 Transitions: = 0) /\ (main_x <= main_n), par{main_x -> ((2 * main_x) + main_y), main_y -> main_z, main_z -> (main_z + 1)}> = 0) /\ not((main_x <= main_n))> = 0))> Fresh variables: undef5, undef6, undef7, undef8, Undef variables: undef5, undef6, undef7, undef8, Abstraction variables: Exit nodes: 7, Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 Map Locations to Subgraph: ( 0 , 0 ) ( 2 , 1 ) ( 7 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.002847 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000686s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001455s [14103 : 14105] [14103 : 14106] Successful child: 14105 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, 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): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Ranking function: -main_z - main_n New Graphs: LOG: CALL check - Post:1 + main_x + main_y + main_z + main_n <= 0 - Process 1 * Exit transition: * Postcondition : 1 + main_x + main_y + main_z + main_n <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000340s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000396s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_x + main_y + main_z + main_n <= 0 , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000411s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001416s [14103 : 14110] [14103 : 14111] Successful child: 14110 [ 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: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> New Graphs: LOG: CALL check - Post:1 + main_n <= main_x - Process 2 * Exit transition: * Postcondition : 1 + main_n <= main_x LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000318s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000374s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_n <= main_x , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000413s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001377s [14103 : 14115] [14103 : 14116] Successful child: 14115 [ 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: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, 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: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> New Graphs: LOG: CALL check - Post:1 + main_y + main_n <= 0 - Process 3 * Exit transition: * Postcondition : 1 + main_y + main_n <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000319s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000378s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_y + main_n <= 0 , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000432s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001505s [14103 : 14120] [14103 : 14121] Successful child: 14120 [ 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: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> New Graphs: LOG: CALL check - Post:1 + main_x + main_y <= 0 - Process 4 * Exit transition: * Postcondition : 1 + main_x + main_y <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000358s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000421s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_x + main_y <= 0 , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000436s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001535s [14103 : 14125] [14103 : 14126] Successful child: 14125 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, 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): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Ranking function: -main_x - main_z New Graphs: LOG: CALL check - Post:1 + 2*main_x + main_y + main_z <= 0 - Process 5 * Exit transition: * Postcondition : 1 + 2*main_x + main_y + main_z <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000311s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000382s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + 2*main_x + main_y + main_z <= 0 , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000466s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001698s [14103 : 14130] [14103 : 14131] Successful child: 14130 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, 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): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Ranking function: -1 - main_z - main_n New Graphs: LOG: CALL check - Post:1 + main_z + 2*main_n <= main_x - Process 6 * Exit transition: * Postcondition : 1 + main_z + 2*main_n <= main_x LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000344s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000421s INVARIANTS: 2: 0 <= 2*main_x + main_y + main_z , Quasi-INVARIANTS to narrow Graph: 2: 1 + main_z + 2*main_n <= main_x , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000511s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001883s [14103 : 14135] [14103 : 14136] Successful child: 14135 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, 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): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Ranking function: -main_x + main_n New Graphs: LOG: CALL check - Post:1 + main_n <= 2*main_x + main_y - Process 7 * Exit transition: * Postcondition : 1 + main_n <= 2*main_x + main_y LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000363s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000455s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_n <= 2*main_x + main_y , Narrowing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Variables: main_x, main_y, main_z, main_n Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000579s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001985s [14103 : 14140] [14103 : 14141] Successful child: 14140 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, 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): 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> Ranking function: -2*main_x - main_y + main_n New Graphs: LOG: CALL check - Post:1 + main_y <= main_z - Process 8 * Exit transition: * Postcondition : 1 + main_y <= main_z LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000386s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000470s INVARIANTS: 2: 0 <= main_x + main_y , Quasi-INVARIANTS to narrow Graph: 2: 1 + main_y <= main_z , It's unfeasible. Removing transition: 2*main_x + main_y, main_y -> main_z, main_z -> 1 + main_z, rest remain the same}> invGraph after Narrowing: Transitions: Variables: main_x, main_y, main_z, main_n Analyzing SCC {l2}... No cycles found. Proving termination of subgraph 2 Analyzing SCC {l7}... No cycles found. Program Terminates