Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Java Bytec 64199 pair #381919368
details
property
value
status
complete
benchmark
List.jar
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n036.star.cs.uiowa.edu
space
Costa_Julia_09-recursive
run statistics
property
value
solver
AProVE
configuration
standard
runtime (wallclock)
1.78756308556 seconds
cpu usage
4.019355626
max memory
2.4553472E8
stage attributes
key
value
output-size
4518
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: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty termination of the given Bare JBC problem could be proven: (0) Bare JBC problem (1) BareJBCToJBCProof [EQUIVALENT, 97 ms] (2) JBC problem (3) JBCToGraph [EQUIVALENT, 167 ms] (4) JBCTerminationGraph (5) TerminationGraphToSCCProof [SOUND, 0 ms] (6) TRUE ---------------------------------------- (0) Obligation: need to prove termination of the following program: /** * A set of functions over objects. * * All calls terminate. * * Julia + BinTerm prove that all calls terminate * * Note that cyclicity is introduced by the statement * <tt>l2.tail.tail = l2</tt>. However, this is not enough to induce * non-termination in the program. If you instead uncomment the line * <tt>l1.tail.tail = l1</tt>, most of the calls cannot be proved to terminate * anymore. * * @author <A HREF="mailto:fausto.spoto@univr.it">Fausto Spoto</A> */ public class List { private Object head; private List tail; public static void main(String[] args) { List l1 = new List(new Object(),new List(new Object(),null)); List l2 = new List(new Object(),new List(new Object(),null)); l1.alternate(l2); l2.tail.tail = l2; //l1.tail.tail = l1; l1.append(l2); l1.iter(); l1.reverseAcc(null); l1.reverse(); } public List(Object head, List tail) { this.head = head; this.tail = tail; } private void iter() { if (tail != null) tail.iter(); } private List append(List other) { if (tail == null) return new List(head,other); else return new List(head,tail.append(other)); } private List reverseAcc(List acc) { if (tail == null) return new List(head,acc); else return tail.reverseAcc(new List(head,acc)); } private List reverse() { if (tail == null) return this; else return tail.reverse().append(new List(head,null)); } private List alternate(List other) { if (other == null) return this; else return new List(head,other.alternate(tail)); } } ---------------------------------------- (1) BareJBCToJBCProof (EQUIVALENT) initialized classpath ---------------------------------------- (2) Obligation: need to prove termination of the following program: /**
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Java Bytec 64199