Witnesses: List appending (magic wand)

This example shows how to use the _given_ keyword to pass verification level arguments and also how to use a magic wand to prove the iterative implementation of list append correct.

General Information

  • Backend: Silicon
  • Language: Java
  • Features: Sequences, Witnesses, Lists, Magic wands
  • Path to Example File: witnesses/ListAppend.java
  • Should Verify: Yes
  • Date: 2017-06-21
  • Lines of Code: 108 (comments not included)
  • Lines of Specification: 62 (57.4% of total)
  • Computation Time: 25.6 seconds