Input/output parameters (succeeding)

Function contracts allow for input- and output parameters, in this case a fractional permission. The `drop` function takes as input a fractional permission `p` and gives as output a fractional permission `q` that is at most `p` (so that `q <= p`). This verification example shows how to handle such input/output parameters.

General Information

  • Backend: Silicon
  • Language: PVL
  • Features:
  • Path to Example File: manual/parameters2.pvl
  • Should Verify: Yes
  • Date: 2017-06-20
  • Lines of Code: 18 (comments not included)
  • Lines of Specification: 4 (22.2% of total)
  • Computation Time: 14.5 seconds