Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Java_Bytecode pair #487571408
details
property
value
status
complete
benchmark
Take.jar
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n149.star.cs.uiowa.edu
space
Aprove_09
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
2.86890411377 seconds
cpu usage
6.971148692
max memory
4.40774656E8
stage attributes
key
value
output-size
16925
starexec-result
YES
output
/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.jar /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES 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 proven: (0) Bare JBC problem (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] (2) JBC problem (3) JBCToGraph [EQUIVALENT, 336 ms] (4) JBCTerminationGraph (5) TerminationGraphToSCCProof [SOUND, 0 ms] (6) JBCTerminationSCC (7) SCCToIRSProof [SOUND, 94 ms] (8) IRSwT (9) IRSFormatTransformerProof [EQUIVALENT, 0 ms] (10) IRSwT (11) IRSwTTerminationDigraphProof [EQUIVALENT, 6 ms] (12) IRSwT (13) IntTRSCompressionProof [EQUIVALENT, 0 ms] (14) IRSwT (15) TempFilterProof [SOUND, 47 ms] (16) IntTRS (17) PolynomialOrderProcessor [EQUIVALENT, 8 ms] (18) YES ---------------------------------------- (0) Obligation: need to prove termination of the following program: /** * Java can do infinite data objects, too. * Here we take the first n elements from an * ascending infinite list of integer numbers. * * @author Carsten Fuhs */ public class Take { public static int[] take(int n, MyIterator f) { int[] result = new int[n]; for (int i = 0; i < n; ++i) { if (f.hasNext()) { result[i] = f.next(); } else { break; } } return result; } public static void main(String args[]) { int start = args[0].length(); int howMany = args[1].length(); From f = new From(start); int[] firstHowMany = take(howMany, f); } } interface MyIterator { boolean hasNext(); int next(); } class From implements MyIterator { private int current; public From(int start) { this.current = start; } public boolean hasNext() { return true; } public int next() { return current++; } } ---------------------------------------- (1) BareJBCToJBCProof (EQUIVALENT) initialized classpath ----------------------------------------
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Java_Bytecode