Witnesses: Magic wand

Demo verification example that shows how magic wands can be used in verification.

General Information

  • Backend: Chalice
  • Language: Java
  • Features: Witnesses, Loop invariants, Magic wands
  • Path to Example File: witnesses/WandDemo.java
  • Should Verify: Yes
  • Date: 2017-06-21
  • Lines of Code: 54 (comments not included)
  • Lines of Specification: 31 (57.4% of total)
  • Computation Time: 9.6 seconds