Go to:
Logótipo
Você está em: Start > Publications > View > Case Studies of Development of Verified Programs with Dafny for Accessibility Assessment
Map of Premises
Principal
Publication

Case Studies of Development of Verified Programs with Dafny for Accessibility Assessment

Title
Case Studies of Development of Verified Programs with Dafny for Accessibility Assessment
Type
Article in International Conference Proceedings Book
Year
2023
Authors
Rui Abreu
(Author)
FEUP
View Personal Page You do not have permissions to view the institutional email. Search for Participant Publications View Authenticus page View ORCID page
Conference proceedings International
Pages: 25-39
10th IPM International Conference on Fundamentals of Software Engineering, FSEN 2023
Tehran, 4 May 2023 through 5 May 2023
Indexing
Publicação em Scopus Scopus - 0 Citations
Other information
Authenticus ID: P-00Y-YCP
Abstract (EN): Formal verification techniques aim at formally proving the correctness of a computer program with respect to a formal specification, but the expertise and effort required for applying formal specification and verification techniques and scalability issues have limited their practical application. In recent years, the tremendous progress with SAT and SMT solvers enabled the construction of a new generation of tools that promise to make formal verification more accessible for software engineers, by automating most if not all of the verification process. The Dafny system is a prominent example of that trend. However, little evidence exists yet about its accessibility. To help fill this gap, we conducted a set of 10 case studies of developing verified implementations in Dafny of some real-world algorithms and data structures, to determine its accessibility for software engineers. We found that, on average, the amount of code written for specification and verification purposes is of the same order of magnitude as the traditional code written for implementation and testing purposes (ratio of 1.14) ¿ an ¿overhead¿ that certainly pays off for high-integrity software. The performance of the Dafny verifier was impressive, with 2.4 proof obligations generated per line of code written, and 24 ms spent per proof obligation generated and verified, on average. However, we also found that the manual work needed in writing auxiliary verification code may be significant and difficult to predict and master. Hence, further automation and systematization of verification tasks are possible directions for future advances in the field. © 2023, IFIP International Federation for Information Processing.
Language: English
Type (Professor's evaluation): Scientific
No. of pages: 14
Documents
We could not find any documents associated to the publication.
Related Publications

Of the same authors

Foreword of the 5th Portuguese software engineering doctoral symposium (SEDES'2014) (2014)
Another Publication in an International Scientific Journal
Abreu, R; Faria, JP
Automatic Generation of Loop Invariants in Dafny with Large Language Models (2025)
Article in International Conference Proceedings Book
João Pascoal Faria; Trigo, E; Rui Abreu
Recommend this page Top
Copyright 1996-2025 © Faculdade de Medicina Dentária da Universidade do Porto  I Terms and Conditions  I Acessibility  I Index A-Z
Page created on: 2025-07-20 at 14:16:34 | Privacy Policy | Personal Data Protection Policy | Whistleblowing | Electronic Yellow Book