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

ID101
Articlenone
Back-endSilicon
LanguagePVL
FeaturesArrays, Loop invariants, Quantified permissions
Sources
Path to example filemanual/zero_array.pvl
Date2017-06-20

Statistical information

Lines of code17 lines (comments not included)
Lines of specification7 lines (41.18% of the total)
Computation time29037 milliseconds

Example code

Note, verification may take a while and has a time-out of 20 seconds.