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)> 0))> 0)> main_x, main_oldy -> main_y}> (main_oldx - 1), main_y -> main_oldx}> (main_oldy - 2), main_y -> (main_oldx + 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}> 0)> 0))> 0)> 0))> main_x, main_oldy -> main_y}> ¿functionCall(__VERIFIER_nondet_int)}> (main_oldx - 1), main_y -> main_oldx}> (main_oldy - 2), main_y -> (main_oldx + 1)}> 0}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: 12, 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 | | oldx | local variable | integer | | oldy | local variable | integer | | Main function: main Preprocessed LLVMGraph Init Location: 0 Transitions: 0) /\ (main_y > 0) /\ (undef6 = 0), par{main_x -> (main_y - 2), main_y -> (main_x + 1)}> 0) /\ (main_y > 0) /\ (undef6 = 1), par{main_x -> (main_x - 1), main_y -> main_x}> 0) /\ not((main_y > 0))> 0))> Fresh variables: undef4, undef5, undef6, Undef variables: undef4, undef5, undef6, Abstraction variables: Exit nodes: 12, Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, 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 ) ( 12 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.00184 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000599s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.007193s [25138 : 25140] [25138 : 25141] Successful child: 25140 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> New Graphs: LOG: CALL check - Post:1 + main_x <= 0 - Process 1 * Exit transition: * Postcondition : 1 + main_x <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000240s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000276s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_x <= 0 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000543s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.007260s [25138 : 25145] [25138 : 25146] Successful child: 25145 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> New Graphs: LOG: CALL check - Post:main_y <= 0 - Process 2 * Exit transition: * Postcondition : main_y <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000299s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000339s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_y <= 0 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000534s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.007303s [25138 : 25150] [25138 : 25151] Successful child: 25150 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> New Graphs: LOG: CALL check - Post:main_x <= 0 - Process 3 * Exit transition: * Postcondition : main_x <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000318s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000367s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_x <= 0 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000526s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.007258s [25138 : 25155] [25138 : 25156] Successful child: 25155 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> Ranking function: main_x + main_y New Graphs: Transitions: -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000472s Ranking function: -1 + main_x New Graphs: LOG: CALL check - Post:main_x + main_y <= 3 - Process 4 * Exit transition: * Postcondition : main_x + main_y <= 3 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000255s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000299s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_x + main_y <= 3 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000608s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.011434s [25138 : 25160] [25138 : 25161] Successful child: 25160 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> Ranking function: main_x + main_y New Graphs: LOG: CALL check - Post:2*main_x + main_y <= 6 - Process 5 * Exit transition: * Postcondition : 2*main_x + main_y <= 6 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000288s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000338s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 2*main_x + main_y <= 6 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000747s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.022146s [25138 : 25165] [25138 : 25166] Successful child: 25165 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> Ranking function: -10 + 3*main_x + 2*main_y New Graphs: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003032s Ranking function: -1 + main_x + main_y New Graphs: [25138 : 25170] [25138 : 25171] INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_x <= 1 + main_y , main_x + main_y <= 6 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 2 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 2 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.004455s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.160829s [25138 : 25172] [25138 : 25173] Successful child: 25172 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> New Graphs: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001381s Ranking function: (~(21) / 2) + (7 / 2)*main_x New Graphs: [25138 : 25177] [25138 : 25178] INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 2*main_x + main_y <= 7 , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + main_x, main_y -> main_x, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001932s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.194405s [25138 : 25179] [25138 : 25180] Successful child: 25179 [ 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_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + main_x, main_y -> main_x, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> New Graphs: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003336s Ranking function: -5 + main_x + main_y New Graphs: Transitions: -1 + main_x, main_y -> main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001605s Ranking function: -1 + main_x New Graphs: [25138 : 25185] [25138 : 25186] INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_x <= 1 + main_y , main_y <= 4 + main_x , Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 2 Narrowing transition: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> LOG: Narrow transition size 2 It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> It's unfeasible. Removing transition: -1 + main_x, main_y -> main_x, rest remain the same}> invGraph after Narrowing: Transitions: -2 + main_y, main_y -> 1 + main_x, rest remain the same}> -2 + main_y, main_y -> 1 + main_x, rest remain the same}> Variables: main_x, main_y Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002659s Ranking function: (~(9) / 2) + main_x + main_y New Graphs: Proving termination of subgraph 2 Analyzing SCC {l12}... No cycles found. Program Terminates