English

Dafny: Statically Verifying Functional Correctness

Programming Languages 2014-12-16 v1

Abstract

This report presents the Dafny language and verifier, with a focus on describing the main features of the language, including pre- and postconditions, assertions, loop invariants, termination metrics, quantifiers, predicates and frames. Examples of Dafny code are provided to illustrate the use of each feature, and an overview of how Dafny translates programming code into a mathematical proof of functional verification is presented. The report also includes references to useful resources on Dafny, with mentions of related works in the domain of specification languages.

Keywords

Cite

@article{arxiv.1412.4395,
  title  = {Dafny: Statically Verifying Functional Correctness},
  author = {Rachel Gauci},
  journal= {arXiv preprint arXiv:1412.4395},
  year   = {2014}
}

Comments

12 pages, 1 figure

R2 v1 2026-06-22T07:30:48.980Z