Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Java_Bytecode 2019-04-01 06.50 pair #433315777
details
property
value
status
complete
benchmark
GCD3.jar
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n048.star.cs.uiowa.edu
space
Aprove_09
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
2.93548 seconds
cpu usage
7.31855
user time
6.98528
system time
0.333269
max virtual memory
2.10233E7
max residence set size
496568.0
stage attributes
key
value
starexec-result
YES
output
6.91/2.70 YES 7.15/2.80 proof of /export/starexec/sandbox/benchmark/theBenchmark.jar 7.15/2.80 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 7.15/2.80 7.15/2.80 7.15/2.80 termination of the given Bare JBC problem could be proven: 7.15/2.80 7.15/2.80 (0) Bare JBC problem 7.15/2.80 (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] 7.15/2.80 (2) JBC problem 7.15/2.80 (3) JBCToGraph [EQUIVALENT, 352 ms] 7.15/2.80 (4) JBCTerminationGraph 7.15/2.80 (5) TerminationGraphToSCCProof [SOUND, 0 ms] 7.15/2.80 (6) JBCTerminationSCC 7.15/2.80 (7) SCCToIRSProof [SOUND, 144 ms] 7.15/2.80 (8) IRSwT 7.15/2.80 (9) IRSFormatTransformerProof [EQUIVALENT, 0 ms] 7.15/2.80 (10) IRSwT 7.15/2.80 (11) IRSwTTerminationDigraphProof [EQUIVALENT, 23 ms] 7.15/2.80 (12) IRSwT 7.15/2.80 (13) IntTRSCompressionProof [EQUIVALENT, 0 ms] 7.15/2.80 (14) IRSwT 7.15/2.80 (15) TempFilterProof [SOUND, 59 ms] 7.15/2.80 (16) IntTRS 7.15/2.80 (17) PolynomialOrderProcessor [EQUIVALENT, 6 ms] 7.15/2.80 (18) IntTRS 7.15/2.80 (19) PolynomialOrderProcessor [EQUIVALENT, 0 ms] 7.15/2.80 (20) YES 7.15/2.80 7.15/2.80 7.15/2.80 ---------------------------------------- 7.15/2.80 7.15/2.80 (0) 7.15/2.80 Obligation: 7.15/2.80 need to prove termination of the following program: 7.15/2.80 public class GCD3 { 7.15/2.80 public static int mod(int a, int b) { 7.15/2.80 if(b == 0) { 7.15/2.80 return b; 7.15/2.80 } 7.15/2.80 if(b < 0) { 7.15/2.80 a = -a; 7.15/2.80 } 7.15/2.80 if(a > 0) { 7.15/2.80 while(a>=b) { 7.15/2.80 a -= b; 7.15/2.80 } 7.15/2.80 return a; 7.15/2.80 } else { 7.15/2.80 while(a < 0) { 7.15/2.80 a -= b; 7.15/2.80 } 7.15/2.80 return a; 7.15/2.80 } 7.15/2.80 } 7.15/2.80 7.15/2.80 public static int gcd(int a, int b) { 7.15/2.80 int tmp; 7.15/2.80 while(b > 0 && a > 0) { 7.15/2.80 tmp = b; 7.15/2.80 b = mod(a, b); 7.15/2.80 a = tmp; 7.15/2.80 } 7.15/2.80 return a; 7.15/2.80 } 7.15/2.80 7.15/2.80 public static void main(String[] args) { 7.15/2.80 Random.args = args; 7.15/2.80 int x = Random.random(); 7.15/2.80 int y = Random.random(); 7.15/2.80 gcd(x, y); 7.15/2.80 } 7.15/2.80 } 7.15/2.80 7.15/2.80 7.15/2.80 public class Random { 7.15/2.80 static String[] args; 7.15/2.80 static int index = 0; 7.15/2.80 7.15/2.80 public static int random() { 7.15/2.80 String string = args[index]; 7.15/2.80 index++; 7.15/2.80 return string.length(); 7.15/2.80 } 7.15/2.80 } 7.15/2.80 7.15/2.80 7.15/2.80 7.15/2.80 ---------------------------------------- 7.15/2.80 7.15/2.80 (1) BareJBCToJBCProof (EQUIVALENT) 7.15/2.80 initialized classpath 7.15/2.80 ---------------------------------------- 7.15/2.80 7.15/2.80 (2) 7.15/2.80 Obligation: 7.15/2.80 need to prove termination of the following program: 7.15/2.80 public class GCD3 { 7.15/2.80 public static int mod(int a, int b) { 7.15/2.80 if(b == 0) {
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Java_Bytecode 2019-04-01 06.50