Mechanised Verification Patterns for Dafny

被引:1
|
作者
Grov, Gudmund [1 ]
Lin, Yuhui [1 ]
Tumas, Vytautas [1 ]
机构
[1] Heriot Watt Univ, Edinburgh, Midlothian, Scotland
来源
FM 2016: FORMAL METHODS | 2016年 / 9995卷
基金
英国工程与自然科学研究理事会;
关键词
TACTIC LANGUAGE; SYSTEM;
D O I
10.1007/978-3-319-48989-6_20
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:326 / 343
页数:18
相关论文
共 50 条
  • [1] Accessible Software Verification with Dafny
    Leino, K. Rustan M.
    [J]. IEEE SOFTWARE, 2017, 34 (06) : 94 - 97
  • [2] Deductive Verification of Smart Contracts with Dafny
    Cassez, Franck
    Fuller, Joanne
    Quiles, Horacio Mijail Anton
    [J]. FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS (FMICS 2022), 2022, 13487 : 50 - 66
  • [3] Automatic Verification of Dafny Programs with Traits
    Ahmadi, Reza
    Leino, K. Rustan M.
    Nummenmaa, Jyrki
    [J]. 17TH WORKSHOP ON FORMAL TECHNIQUES FOR JAVA-LIKE PROGRAMS (FTFJP 2015), 2015,
  • [4] Deductive verification of smart contracts with Dafny
    Cassez, Franck
    Fuller, Joanne
    Quiles, Horacio Mijail Anton
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2024, 26 (02) : 131 - 145
  • [5] Dafny Meets the Verification Benchmarks Challenge
    Leino, K. Rustan M.
    Monahan, Rosemary
    [J]. VERIFIED SOFTWARE: THEORIES, TOOLS, EXPERIMENTS, 2010, 6217 : 112 - +
  • [6] Verification of Scapegoat Trees Using Dafny
    Wang, Jiapeng
    Chen, Sini
    Zhu, Huibiao
    [J]. NASA FORMAL METHODS, NFM 2024, 2024, 14627 : 118 - 135
  • [7] Deductive verification of smart contracts with Dafny
    Franck Cassez
    Joanne Fuller
    Horacio Mijail Antón Quiles
    [J]. International Journal on Software Tools for Technology Transfer, 2024, 26 : 131 - 145
  • [8] Verification of the Incremental Merkle Tree Algorithm with Dafny
    Cassez, Franck
    [J]. FORMAL METHODS, FM 2021, 2021, 13047 : 445 - 462
  • [9] DIONE: A Protocol Verification System Built with DAFNY for I/O Automata
    Hsieh, Chiao
    Mitra, Sayan
    [J]. INTEGRATED FORMAL METHODS, IFM 2019, 2019, 11918 : 227 - 245
  • [10] Verification of mutable linear data structures and iterator-based algorithms in Dafny
    Blazquez, Jorge
    Montenegro, Manuel
    Segura, Clara
    [J]. JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2023, 134