paper-with-me

Papers

Verifying LLM-Generated Code in the Context of Software Verification with Ada/SPARK

2025-02-11 · Marcos Cramer, Lucian McIntyre

Large language models (LLMs) have demonstrated remarkable code generation capabilities, but the correctness of the generated code cannot be inherently trusted. This paper explores the feasibility of using formal software verification, specifically the SPARK framework for Ada, to ensure the reliability of LLM-generated code. We present Marmaragan, a tool that leverages an LLM in order to generate SPARK annotations for existing programs, enabling formal verification of the code. The tool is benchmarked on a curated set of SPARK programs, with annotations selectively removed to test specific capabilities. The performance of Marmaragan with GPT-4o on the benchmark is promising, with correct annotations having been generated for 50.7% of the benchmark cases. The results establish a foundation for future work on combining the power of LLMs with the reliability of formal software verification.

📄 PDF Abstract BibTeX arXiv:2502.07728

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

An Empirical Study of LLM-Generated Specifications for VeriFast

2026-06-25 · Wen Fan, Minh Tran, Sanya Dod, Xin Hu 외 arxiv

Static verification tools can assure industrial scale software, but require significant human labor to write specifications. This is particularly true of static verifiers based on separation logic (SL verifiers), which e…

DeepSaucer: Unified Environment for Verifying Deep Neural Networks

2018-11-09 · Naoto Sato, Hironobu Kuruma, Masanori Kaneko, Yuichiroh Nakagawa 외

In recent years, a number of methods for verifying DNNs have been developed. Because the approaches of the methods differ and have their own limitations, we think that a number of verification methods should be applied t…

Saarthi: The First AI Formal Verification Engineer

2025-02-23 · Aman Kumar, Deepak Narayan Gadde, Keerthan Kopparam Radhakrishna, Djones Lettnin

Recently, Devin has made a significant buzz in the Artificial Intelligence (AI) community as the world's first fully autonomous AI software engineer, capable of independently developing software code. Devin uses the conc…

Towards Repository-Level Program Verification with Large Language Models

2025-08-31 · Si Cheng Zhong, Xujie Si arxiv

Recent advancements in large language models (LLMs) suggest great promises in code and proof generations. However, scaling automated formal verification to real-world projects requires resolving cross-module dependencies…

Verifiable Source Code Documentation in Controlled Natural Language

2013-11-12 · Tobias Kuhn, Alexandre Bergel

Writing documentation about software internals is rarely considered a rewarding activity. It is highly time-consuming and the resulting documentation is fragile when the software is continuously evolving in a multi-devel…