Lemur: Integrating Large Language Models in Automated Program Verification
2023-10-07Code Available1· sign in to hype
Haoze Wu, Clark Barrett, Nina Narodytska
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/wu-haoze/lemur-program-verificationOfficialIn papernone★ 14
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.