Feature: Provide summary of all assumptions in a Dafny program #2236
Labels
difficulty: hard
Issues that will take more than a week to fix
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
part: resolver
Resolution and typechecking
Dafny programs can depend on assumptions of various forms:
{:axiom}
assume
statements{:extern}
functions and methodsThis feature would involve a new command-line flag for Dafny that would instruct it to produce a report of all such assumptions, including suggestions for mitigating the risk of each (or indicating that a mitigation has already been applied).
Mitigations could include:
{:extern}
functions and methods (see feat: Add resolver plugin that automatically creates test wrappers for contracts #2235)assume
statements with axioms, to consolidate assumptionsIt may also be useful to report on which elements of the program depend on which assumptions (through a simple, static dependency analysis) to indicate the level of certainty attributable to each top-level proof.
The text was updated successfully, but these errors were encountered: