Array zipping

Zipping the contents of two given arrays `a` and `b` of equal length into an array of length `|a| + |b|`. This is also the answer to question 4 of the FMSE exam on April 16, 2015 (University of Twente). Also some other verification examples are added (such as shifting elements of the array to the left/right).

General Information

  • Backend: Silicon
  • Language: Java
  • Features: Iteration contracts, Arrays, Loop parallelisations
  • Path to Example File: arrays/JavaArrayExamples.java
  • Should Verify: Yes
  • Date: 2017-06-12
  • Lines of Code: 109 (comments not included)
  • Lines of Specification: 35 (32.1% of total)
  • Computation Time: 61.5 seconds