Mechanised Verification Patterns for Dafny

Gudmund Grov, Yuhui Lin, Vytautas Tumas

Research output: Chapter in Book/Report/Conference proceedingConference contribution


In Dafny, the program text is used to both specify and implement programs in the same language [24]. It then uses a fully automated theorem prover to verify that the implementation satisfies the specification. However, the prover often needs further guidance from the user, and another role of the language is to provide such necessary hints and guidance. In this paper, we present a set of verification patterns to support this process. In previous work, we have developed a tactic language for Dafny, where users can encode their verification patterns and re-apply them for several proof tasks [16]. We extend this language with new features, implement our patterns in this tactic language and show, through experiments, generality of the patterns, and applicability of the tactic language.
Original languageEnglish
Title of host publicationFM 2016: Formal Methods - 21st International Symposium, Limassol, Cyprus, November 9-11, 2016, Proceedings
PublisherSpringer, Cham
Number of pages18
ISBN (Electronic)978-3-319-48989-6
ISBN (Print)978-3-319-48988-9
Publication statusPublished - 8 Nov 2016
Event21st International Symposium on Formal Methods - Limassol, Cyprus
Duration: 7 Nov 201611 Nov 2016

Publication series

NameLecture Notes in Computer Science
PublisherSpringer, Cham
ISSN (Print)0302-9743


Conference21st International Symposium on Formal Methods
Abbreviated titleFM 2016
Internet address


Dive into the research topics of 'Mechanised Verification Patterns for Dafny'. Together they form a unique fingerprint.

Cite this