IIIT-Delhi Institutional Repository

Large language models for program verification

Show simple item record

dc.contributor.author Bharti, Varun
dc.contributor.author Jalote, Pankaj (Advisor)
dc.contributor.author Kumar, Dhruv (Advisor)
dc.contributor.author Akhtar, Md. Shad (Advisor)
dc.date.accessioned 2026-04-21T08:19:49Z
dc.date.available 2026-04-21T08:19:49Z
dc.date.issued 2024-11-27
dc.identifier.uri http://repository.iiitd.edu.in/xmlui/handle/123456789/1948
dc.description.abstract Program verification is a crucial process in software engineering, ensuring that programs func- tion correctly according to their specifications. Traditional methods of program verification, such as model checking and symbolic execution, often require significant manual effort and com- putational resources. This report explores the potential of Large Language Models to address challenges in program verification by automating critical tasks such as generating loop invariants, preconditions, and post conditions, as well as directly performing verification. The research is divided into two primary objectives. The first focuses on leveraging LLMs for the generation of loop invariants, a complex yet essential component of program verification. By utilizing LLMs’ generative capabilities, we aim to reduce the manual effort involved in formal specification creation. The second objective evaluates the reliability of LLMs as standalone verifiers, comparing their performance against state-of-the-art verification tools using the SV- COMP benchmark, which includes diverse C programs and verification properties. The experiments involve testing LLMs, such as LLaMA 3.1 and 3.2, on real-world verification tasks. Results indicate promising capabilities of LLMs in generating verification components and reasoning about program correctness. However, challenges remain in fully replacing traditional techniques. This study highlights the potential of integrating LLMs into formal verification workflows, paving the way for more efficient and scalable solutions in software verification. en_US
dc.language.iso en_US en_US
dc.publisher IIIT-Delhi en_US
dc.subject Program Verification en_US
dc.subject Automation en_US
dc.subject Large Language Models en_US
dc.subject Machine Learning en_US
dc.subject Invariants Generation en_US
dc.title Large language models for program verification en_US
dc.type Other en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search Repository


Advanced Search

Browse

My Account