Can LLMs Enable Verification in Mainstream Programming?
Shefer, Aleksandr, Engel, Igor, Alekseev, Stanislav, Berezun, Daniil, Verbitskaia, Ekaterina, Podkopaev, Anton
–arXiv.org Artificial Intelligence
Although formal methods are capable of producing reliable software, they have seen minimal adoption in everyday programming. Automatic code generation using large language models is becoming increasingly widespread, but it rarely considers producing strong correctness guarantees. In this study, we explore the ability of LLMs to produce verified code in three verification languages (Dafny, Nagini, and Verus). To do so, we use manually curated datasets derived from the state-of-the-art Python benchmark, HumanEval. We also assess what types of information are sufficient to achieve good-quality results.
arXiv.org Artificial Intelligence
Mar-18-2025
- Country:
- Europe
- Germany > Bremen
- Bremen (0.04)
- Middle East > Cyprus (0.04)
- Netherlands > North Holland
- Amsterdam (0.04)
- United Kingdom > England
- Oxfordshire > Oxford (0.04)
- Germany > Bremen
- North America > United States
- Florida > Pinellas County > St. Petersburg (0.04)
- Europe
- Genre:
- Research Report (1.00)
- Technology: