Can LLMs Enable Verification in Mainstream Programming?

Aleksandr Shefer, Igor Engel, Stanislav Alekseev, Daniil Berezun, Ekaterina Verbitskaia +1 more
3/18/2025
cs.SEcs.AIcs.PL

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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-ofthe-art Python benchmark, HumanEval. We also assess what types of information are sufficient to achieve good-quality results.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shefer2025llms,
  title  = {Can LLMs Enable Verification in Mainstream Programming?},
  author = {Aleksandr Shefer and Igor Engel and Stanislav Alekseev and Daniil Berezun and Ekaterina Verbitskaia and Anton Podkopaev},
  year   = {2025},
  eprint = {2503.14183},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.14183v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.14183.svg)](https://codeofpaper.com/paper/2503.14183)

Discussion