Leveraging Large Language Models to Boost Dafny's Developers Productivity

dc.contributor.author Alexandra Sofia Mendes en
dc.contributor.other 7344 en
dc.date.accessioned 2025-01-22T00:59:19Z
dc.date.available 2025-01-22T00:59:19Z
dc.date.issued 2024 en
dc.description.abstract This research idea paper proposes leveraging Large Language Models (LLMs) to enhance the productivity of Dafny developers. Although the use of verification-aware languages, such as Dafny, has increased considerably in the last decade, these are still not widely adopted. Often the cost of using such languages is too high, due to the level of expertise required from the developers and challenges that they often face when trying to prove a program correct. Even though Dafny automates a lot of the verification process, sometimes there are steps that are too complex for Dafny to perform on its own. One such case is that of missing lemmas, i.e. Dafny is unable to prove a result without being given further help in the form of a theorem that can assist it in the proof of the step. In this paper, we describe preliminary work on using LLMs to assist developers by generating suggestions for relevant lemmas that Dafny is unable to discover and use. Moreover, for the lemmas that cannot be proved automatically, we attempt to provide accompanying calculational proofs. We also discuss ideas for future work by describing a research agenda on using LLMs to increase the adoption of verification-aware languages in general, by increasing developers productivity and by reducing the level of expertise required for crafting formal specifications and proving program properties. en
dc.identifier P-00Z-X71 en
dc.identifier.uri https://repositorio.inesctec.pt/handle/123456789/15273
dc.language eng en
dc.rights info:eu-repo/semantics/openAccess en
dc.title Leveraging Large Language Models to Boost Dafny's Developers Productivity en
dc.type en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
P-00Z-X71.pdf
Size:
496.42 KB
Format:
Adobe Portable Document Format
Description: