Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Java_Bytecode pair #487571378
details
property
value
status
complete
benchmark
ListDuplicate.jar
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n152.star.cs.uiowa.edu
space
Aprove_09
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
3.0065009594 seconds
cpu usage
7.824535154
max memory
4.88665088E8
stage attributes
key
value
output-size
27464
starexec-result
YES
output
/export/starexec/sandbox2/solver/bin/starexec_run_standard /export/starexec/sandbox2/benchmark/theBenchmark.jar /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/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, 457 ms] (4) JBCTerminationGraph (5) TerminationGraphToSCCProof [SOUND, 0 ms] (6) AND (7) JBCTerminationSCC (8) SCCToQDPProof [SOUND, 205 ms] (9) QDP (10) QDPSizeChangeProof [EQUIVALENT, 0 ms] (11) YES (12) JBCTerminationSCC (13) SCCToIRSProof [SOUND, 104 ms] (14) IRSwT (15) IRSFormatTransformerProof [EQUIVALENT, 0 ms] (16) IRSwT (17) IRSwTTerminationDigraphProof [EQUIVALENT, 34 ms] (18) IRSwT (19) IntTRSCompressionProof [EQUIVALENT, 0 ms] (20) IRSwT (21) TempFilterProof [SOUND, 36 ms] (22) IntTRS (23) PolynomialOrderProcessor [EQUIVALENT, 12 ms] (24) YES ---------------------------------------- (0) Obligation: need to prove termination of the following program: /** * This class represents a list, where the function duplicate() can be used to * duplicate all elements in the list. * @author cotto */ public class ListDuplicate { /** * Walk through the list and, for each original element, copy it and append * this copy after the original. This transforms abc to aabbcc. */ public static void duplicate(ObjectList list) { ObjectList current = list; boolean even = true; while (current != null) { // only copy the original elements! if (even) { final ObjectList copy = new ObjectList(current.value, current.next); current.next = copy; } current = current.next; even = !even; } } public static void main(String[] args) { Random.args = args; ObjectList list = ObjectList.createList(); duplicate(list); } } public class ObjectList { Object value; ObjectList next; public ObjectList(Object value, ObjectList next) { this.value = value; this.next = next; } public static ObjectList createList() { ObjectList result = null; int length = Random.random(); while (length > 0) { result = new ObjectList(new Object(), result); length--; } return result; } } public class Random {
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Java_Bytecode