Dafny is an imperative programming language that allows software to be verified through preconditions, postconditions, and invariants. Designed by Rustan Leino and developed by Microsoft since 2009, Dafny is used in academia and the industry and is regularly used in software verification competitions.
As a programming language, Dafny shares many features with languages from the “imperative” family or paradigm, such as C, C++, and Java. There are functions and procedures (methods), ...