Zero Array (PVL)

Simple verification example in which an array is "cleared" (all its elements set to `0`) using a while-loop. This example shows the use of quantified permissions and iteration contracts.

General Information

  • Backend: Silicon
  • Language: PVL
  • Features: Arrays, Loop invariants, Quantified permissions
  • Path to Example File: manual/zero_array.pvl
  • Should Verify: Yes
  • Date: 2017-06-20
  • Lines of Code: 17 (comments not included)
  • Lines of Specification: 7 (41.2% of total)
  • Computation Time: 29.0 seconds