/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.jar /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- NO proof of /export/starexec/sandbox/benchmark/theBenchmark.jar # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty termination of the given Bare JBC problem could be disproven: (0) Bare JBC problem (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] (2) JBC problem (3) JBCToGraph [EQUIVALENT, 219 ms] (4) JBCTerminationGraph (5) JBCNonTerm [COMPLETE, 82 ms] (6) NO ---------------------------------------- (0) Obligation: need to prove termination of the following program: package simple.whileNested; public class Main { /** * @param args */ public static void main(String[] args) { WhileNested.increase(args.length); } } package simple.whileNested; public class WhileNested { public static void increase(int i) { int j; while (i < 10) { j = i; while (j > 0) { j++; } i++; } } } ---------------------------------------- (1) BareJBCToJBCProof (EQUIVALENT) initialized classpath ---------------------------------------- (2) Obligation: need to prove termination of the following program: package simple.whileNested; public class Main { /** * @param args */ public static void main(String[] args) { WhileNested.increase(args.length); } } package simple.whileNested; public class WhileNested { public static void increase(int i) { int j; while (i < 10) { j = i; while (j > 0) { j++; } i++; } } } ---------------------------------------- (3) JBCToGraph (EQUIVALENT) Constructed TerminationGraph. ---------------------------------------- (4) Obligation: Termination Graph based on JBC Program: simple.whileNested.Main.main([Ljava/lang/String;)V: Graph of 27 nodes with 1 SCC. ---------------------------------------- (5) JBCNonTerm (COMPLETE) Reached a loop using the following run: 0: a32([java.lang.String...]): length 1 -->{java.lang.Object...} YES: (JL1) 1: a32([java.lang.String...]): length 1 -->{java.lang.Object...} YES: (JL1) 2: YES: (JL1) 3: YES: (JL1) 4: YES: (JL1) 5: YES: (JL1) 6: YES: (JL1) 7: YES: (JL1) 8: YES: (JL1) Start state of loop: [a12(lv_0_0)] i63: [0,9](3,2){0,+inf} i64: [0,+inf)(l3) i48: [0,+inf) a12([java.lang.String...]): length i48 -->{java.lang.Object...} YES: (JL1) In the loop head node, references [i64, i63] were interesting. All methods calls in the loop body are side-effect free, hence they can be ignored. By SMT, we could prove ((0 <= initial_i63 and initial_i63 <= 9 and 0 <= initial_i64 and 0 <= initial_i48) and (((path1_i64 = path1_i122 and path1_i125 = (path1_i122 + 1) and path1_i63 = res_i63 and path1_i125 = res_i64 and path1_i63 = initial_i63 and path1_i64 = initial_i64) and path1_i122 > 0) and ((res1_i64 = res1_i122 and res1_i125 = (res1_i122 + 1) and res_i63 = res1_i63 and res_i64 = res1_i64) and !res1_i122 > 0))) to be UNSAT. Consequently, the loop will not terminate. ---------------------------------------- (6) NO