Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3464971.3468422acmconferencesArticle/Chapter ViewAbstractPublication PagesecoopConference Proceedingsconference-collections
research-article
Open access

Using dafny to solve the VerifyThis 2021 challenges

Published: 11 July 2021 Publication History
  • Get Citation Alerts
  • Abstract

    This paper provides an experience report of using the Dafny program verifier, at the VerifyThis 2021 program verification competition. The competition aims to evaluate the usability of logic-based program verification tools in a controlled experiment, challenging both the verification tools and the users of those tools. We present the two challenges that we tackled during the competition and discuss our solutions. As a result, we identify strengths and weaknesses of Dafny in the verification of relatively complex algorithms, and report on our experience of applying Dafny in this setting.

    References

    [1]
    Mike Barnett, Bor-Yuh Evan Chang, Robert DeLine, Bart Jacobs, and K Rustan M Leino. 2005. Boogie: A modular reusable verifier for object-oriented programs. In Formal Methods for Components and Objects (LNCS, Vol. 4111). 364–387. https://doi.org/10.1007/11804192_17
    [2]
    Thorsten Bormer, Marc Brockschmidt, Dino Distefano, Gidon Ernst, Jean-Christophe Filliâtre, Radu Grigore, Marieke Huisman, Vladimir Klebanov, Claude Marché, Rosemary Monahan, Wojciech Mostowski, Nadia Polikarpova, Christoph Scheben, Gerhard Schellhorn, Bogdan Tofan, Julian Tschannen, and Mattias Ulbrich. 2012. The COST IC0701 Verification Competition 2011. In Formal Verification of Object-Oriented Software (LNCS, Vol. 7421). Springer, 3–21. isbn:978-3-642-31762-0 https://doi.org/10.1007/978-3-642-31762-0_2
    [3]
    Leonardo De Moura and Nikolaj Bjørner. 2008. Z3: An efficient SMT solver. In Tools and Algorithms for the Construction and Analysis of Systems (LNCS, Vol. 4963). 337–340. https://doi.org/10.1007/978-3-540-78800-3_24
    [4]
    Claire Dross, Carlo A Furia, Marieke Huisman, Rosemary Monahan, and Peter Müller. 2021. VerifyThis 2019: a program verification competition. International Journal on Software Tools for Technology Transfer, 1–11. https://doi.org/10.1007/s10009-021-00619-x
    [5]
    Marie Farrell, Matthew Bradbury, Michael Fisher, Louise A Dennis, Clare Dixon, Hu Yuan, and Carsten Maple. 2019. Using Threat Tnalysis Techniques to Guide Formal Verification: A Case Study of Cooperative Awareness Messages. In International Conference on Software Engineering and Formal Methods (LNCS, Vol. 11724). 471–490. https://doi.org/10.1007/978-3-030-30446-1_25
    [6]
    Marie Farrell, Nikos Mavrakis, Clare Dixon, and Yang Gao. 2020. Formal Verification of an Autonomous Grasping Algorithm. In International Symposium on Artificial Intelligence, Robotics and Automation in Space. ESA.
    [7]
    Marieke Huisman, Vladimir Klebanov, and Rosemary Monahan. 2015. VerifyThis 2012: A Program Verification Competition. International Journal on Software Tools for Technology Transfer, 17 (2015), 647–657. https://doi.org/10.1007/s10009-015-0396-8
    [8]
    Marieke Huisman, Vladimir Klebanov, Rosemary Monahan, and Michael Tautschnig. 2017. VerifyThis 2015. International Journal on Software Tools for Technology Transfer, 19, 6 (2017), 763–771. https://doi.org/10.1007/s10009-016-0438-x
    [9]
    Marieke Huisman, Rosemary Monahan, Peter Müller, Wojciech Mostowski, and Mattias Ulbrich. 2017. VerifyThis 2017: A Program Verification Competition (Karlsruhe Reports in Informatics). Karlsruhe Institute of Technology.
    [10]
    Marieke Huisman, Rosemary Monahan, Peter Müller, Andrei Paskevich, and Gidon Ernst. 2019. VerifyThis 2018: A Program Verification Competition. Université Paris-Saclay.
    [11]
    Marieke Huisman, Rosemary Monahan, Peter Muller, and Erik Poll. 2016. VerifyThis 2016: A program verification competition.
    [12]
    Vladimir Klebanov, Peter Müller, Natarajan Shankar, Gary T. Leavens, Valentin Wüstholz, Eyad Alkassar, Rob Arthan, Derek Bronish, Rod Chapman, Ernie Cohen, Mark Hillebrand, Bart Jacobs, K. Rustan M. Leino, Rosemary Monahan, Frank Piessens, Nadia Polikarpova, Tom Ridge, Jan Smans, Stephan Tobies, Thomas Tuerk, Mattias Ulbrich, and Benjamin Weiß. 2011. The 1st Verified Software Competition: Experience Report. In International Symposium on Formal Methods (LNCS, Vol. 6664). Springer, 154–168. isbn:978-3-642-21437-0 https://doi.org/10.1007/978-3-642-21437-0_14
    [13]
    Rafael Krucker and Markus Schaden. 2017. Visual Studio Code Integration for the Dafny Language and Program Verifier. Ph.D. Dissertation. HSR Hochschule für Technik Rapperswil.
    [14]
    K Rustan M Leino. 2010. Dafny: An automatic program verifier for functional correctness. In International Conference on Logic for Programming Artificial Intelligence and Reasoning (LNCS, Vol. 6355). 348–370. https://doi.org/10.1007/978-3-642-17511-4_20

    Cited By

    View all

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    FTfJP '21: Proceedings of the 23rd ACM International Workshop on Formal Techniques for Java-like Programs
    July 2021
    67 pages
    ISBN:9781450385435
    DOI:10.1145/3464971
    This work is licensed under a Creative Commons Attribution International 4.0 License.

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 11 July 2021

    Check for updates

    Author Tags

    1. Dafny
    2. Deductive Verification
    3. Verification Challenges
    4. VerifyThis

    Qualifiers

    • Research-article

    Funding Sources

    Conference

    ISSTA '21
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 51 of 75 submissions, 68%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 695
      Total Downloads
    • Downloads (Last 12 months)120
    • Downloads (Last 6 weeks)13
    Reflects downloads up to 12 Aug 2024

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media