YES Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: (1 + op1^0), op2^0 -> (~(1) + op2^0)}> (~(1) + op1^0), op2^0 -> (1 + op2^0)}> (~(1) + op2^0)}> (~(1) + op1^0), op2^0 -> (1 + op2^0)}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: (~(1) + op1^0), op2^0 -> (1 + op2^0)}> (1 + op1^0), op2^0 -> (~(1) + op2^0)}> (~(1) + op1^0), op2^0 -> (1 + op2^0)}> (~(1) + op2^0)}> (~(1) + op1^0), op2^0 -> (1 + op2^0)}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 1 + op1^0, op2^0 -> -1 + op2^0, rest remain the same}> -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> -1 + op2^0, rest remain the same}> -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Variables: op1^0, op2^0 Precedence: Graph 0 Graph 1 -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Map Locations to Subgraph: ( 0 , 0 ) ( 3 , 1 ) ( 5 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.00828 Checking conditional termination of SCC {l3, l5}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000928s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.006125s Trying to remove transition: -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.009029s Time used: 0.00889 Trying to remove transition: -1 + op2^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005070s Time used: 0.004582 Trying to remove transition: -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.007364s Time used: 0.007048 Trying to remove transition: 1 + op1^0, op2^0 -> -1 + op2^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.006379s Time used: 0.00591 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.000724s Time used: 4.00014 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.009647s Time used: 4.00011 Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.151377s Time used: 0.13561 LOG: SAT solveNonLinear - Elapsed time: 0.151377s Cost: 0; Total time: 0.13561 Termination implied by a set of invariant(s): Invariant at l3: 0 <= op2^0 Invariant at l3: 0 <= 1 + op1^0 + op2^0 Invariant at l3: 0 <= op1^0 + op2^0 Invariant at l5: 1 <= op1^0 + op2^0 Invariant at l5: 0 <= 1 + op1^0 + op2^0 Invariant at l5: 1 <= op2^0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + op1^0, op2^0 -> -1 + op2^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + op2^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + op1^0, op2^0 -> 1 + op2^0, 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 + op1^0, op2^0 -> -1 + op2^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + op2^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Ranking function: 2 + 2*op1^0 + 2*op2^0 New Graphs: Transitions: 1 + op1^0, op2^0 -> -1 + op2^0, rest remain the same}> Variables: op1^0, op2^0 Transitions: -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Variables: op1^0, op2^0 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000436s Ranking function: -1 + op2^0 New Graphs: Transitions: -1 + op1^0, op2^0 -> 1 + op2^0, rest remain the same}> Variables: op1^0, op2^0 Checking conditional termination of SCC {l5}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000486s Ranking function: -1 + op1^0 New Graphs: INVARIANTS: 3: 0 <= op1^0 + op2^0 , 0 <= op2^0 , 0 <= 1 + op1^0 + op2^0 , 5: 1 <= op1^0 + op2^0 , 1 <= op2^0 , 0 <= 1 + op1^0 + op2^0 , Quasi-INVARIANTS to narrow Graph: 3: 5: Program Terminates