Leveraging Large Language Models to Boost Dafny's Developers Productivity
Not on the map. Why?
Abstract (arXiv)
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 a new Dafny plugin that leverages 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, the plugin also attempts 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.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Jan 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 3.
7 papers.
- 2024Laurel: Unblocking Automated Verification with Large Language Modelscited by 11
- 2024Specify What? Enhancing Neural Specification Synthesis by Symbolic Methodscited by 6
- 2025Inferring multiple helper Dafny assertions with LLMscited by 4
- 2025Can LLMs Enable Verification in Mainstream Programming?cited by 3
- 2026Can LLM Aid in Solving Constraints with Inductive Definitions?cited by 1
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generationcited by 0
- 2026An Empirical Study of LLM-Generated Specifications for VeriFastcited by 0
- 2026An Empirical Study of LLM-Generated Specifications for VeriFast25 Jun 2026
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation2 May 2026
- 2026Can LLM Aid in Solving Constraints with Inductive Definitions?4 Mar 2026
- 2025Inferring multiple helper Dafny assertions with LLMs31 Oct 2025
- 2025Can LLMs Enable Verification in Mainstream Programming?18 Mar 2025
- 2024Specify What? Enhancing Neural Specification Synthesis by Symbolic Methods21 Jun 2024
- 2024Laurel: Unblocking Automated Verification with Large Language Models27 May 2024