This modifier can be used to improve stability, as discussed in the paper "Improving the Stability of Type Safety Proofs in Dafny". Challenges:
- Decide which functions should be marked
opaque and which should not.
- Generally want potentially expensive functions to be marked
opaque.
- Need to play around with being able to
reveal them.
A good class of functions which could be revealed separately would be those related to gas. These are not needed for the majority of verification tasks. Otherwise, might include things like memory expansion and/or precompiles?
This modifier can be used to improve stability, as discussed in the paper "Improving the Stability of Type Safety Proofs in Dafny". Challenges:
opaqueand which should not.opaque.revealthem.A good class of functions which could be
revealedseparately would be those related togas. These are not needed for the majority of verification tasks. Otherwise, might include things like memory expansion and/or precompiles?