English

Lemur: Integrating Large Language Models in Automated Program Verification

Formal Languages and Automata Theory 2024-04-26 v5 Artificial Intelligence Machine Learning Logic in Computer Science

Abstract

The demonstrated code-understanding capability of LLMs raises the question of whether they can be used for automated program verification, a task that demands high-level abstract reasoning about program properties that is challenging for verification tools. We propose a general methodology to combine the power of LLMs and automated reasoners for automated program verification. We formally describe this methodology as a set of transition rules and prove its soundness. We instantiate the calculus as a sound automated verification procedure and demonstrate practical improvements on a set of synthetic and competition benchmarks.

Keywords

Cite

@article{arxiv.2310.04870,
  title  = {Lemur: Integrating Large Language Models in Automated Program Verification},
  author = {Haoze Wu and Clark Barrett and Nina Narodytska},
  journal= {arXiv preprint arXiv:2310.04870},
  year   = {2024}
}

Comments

Accepted at ICLR'24

R2 v1 2026-06-28T12:43:29.330Z